Categories
Android Device

Nexus 5 Not Booting: Possible Reasons & Solutions – Updated

UPDATE: There are multiple confirmations that the issue can be caused by using the wrong charger to charge the device. Nexus 5 comes with a different specification of the charger(particularly the cable for charging) and using alternate chargers might lead to the device not charging properly causing the issues.

Note: The solutions explained below can damage or brick your phone. Please exercise caution when implementing them. The author has tried most of these solutions but under expert supervision. If you are not sure about the solution please contact your Google Support

There seems to be a common problem in some Nexus 5 phones wherein the phone switches off and just refuses to start up. This happened to a colleague of mine too and here are my observations and possible solutions to the problem:

Categories
Hardware Linux Solutions Web

How to Create a Bootable SeaTools USB – SeaGate Linux

Seagate U6 3.5 inch 40 GB hard disk.
Seagate U6 3.5 inch 40 GB hard disk. (Photo credit: Wikipedia)

SeaTools is a diagnostic tool to check your hard disk for errors and failure. Its an extremely useful tool to have around as hard disks fail all the time and recognizing a failing hard disk can save you a lot of trouble in the long run.

You can get a copy of the bootable iso from here: http://www.seagate.com/support/downloads/item/seatools-dos-master/
{adinserter 3}
So here is a guide to create a bootable SeaTools USB drive for Ubuntu:

  1. Install syslinux:
    $ sudo apt-get install syslinux
  2. Format the USB drive and Repartition it as FAT
    Give it a name like  “SEATOOLS”
  3. Mark the newly created partition as bootable – You can use Gparted to do this.
  4. Copy “syslinux” master boot record to drive (The code below is assuming your drive is loacated at “sdb”):
    $ sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdb
  5. Install syslinux on the drive partition:
    $ sudo syslinux /dev/sdb1
  6. Mount drive. You can do this by reinserting the drive or by using a command like:
    $ sudo mount /dev/sdb1 /mnt
  7. Copy the MEMDISK bootloader from /usr/share/syslinux/memdisk to the drive:
    $ cp /usr/lib/syslinux/memdisk /media/SEATOOLS
  8. Copy the SeaToolsDOS223ALL.ISO to the drive
  9. Create a file named ‘syslinux.cfg’ on the drive, with this in it (use correct .iso name):
    DEFAULT SeaTools
    LABEL SeaTools
    LINUX memdisk
    INITRD SeaToolsDOS223ALL.ISO
    APPEND iso

 

Thats it you’re done 🙂  Try booting with it. Here’s what my usb stick looks like at the end of all of this:

$ ls -l
total 3136
-r--r--r-- 1 username username 32768 2013-12-22 17:44 ldlinux.sys
-rw-r--r-- 1 username username 25244 2013-12-22 17:51 memdisk
-rw-r--r-- 1 username username 3137536 2013-12-22 13:22 SeaToolsDOS223ALL.ISO
-rw-r--r-- 1 username username 97 2013-12-22 17:54 syslinux.cfg

Categories
Linux Solutions

Changing The Frequency Of StartUp Disk Checks On Linux

Opened hard drive with top magnet removed, sho...
Image via Wikipedia

Linux systems commonly run on ext2/ext3/ext4 file systems. These file-systems have a built-in feature to tell the operating system to do a disk check while booting up if the number of times the disk has been mounted exceeds a certain number. Most commonly the count is set to 30.

This is an inconvenience to anyone who regularly switches off the system, its even worse if the hard disk sizes reach 1Tb. So changing the number to suit your preference might be an excellent idea.


Changing the maximum mount count:

sudo tune2fs -c 50 /dev/sda1

Here:
tune2fs is the command that allows modification on the disk flags
-c enables the max mount count to be changed to the next parameter(50 in this case)
/dev/sda1 is the partition on which to do the operation

Changing the maximum time count:

sudo tune2fs -i 30d /dev/sda1

Here:
tune2fs is the command that allows modification on the disk flags
-i enables the max time count to be changed to the next parameter(30d in this case means the consecutive checks are scheduled 30 days apart). This parameter can be also give in terms of months(2m for 2 months) and weeks(3w for 3 weeks)
/dev/sda1 is the partition on which to do the operation

Enhanced by Zemanta