[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: howto boot from harddrive

On Sun, 3 Jun 2012, David Pottage wrote:

On 03/06/12 22:01, mick wrote:
On Sun, 3 Jun 2012 15:51:27 -0500 (CDT)
kqt4at5v@gmail.com allegedly wrote:
I think your problem may be here:

ALERT!  /dev/disk/by-uuid/b29e5aa2-0978-4acc-ac1b-0025cd403a80 does
not exist.  Dropping to a shell!
If you moved from a USB flash drive to a SATA disk, then the disk UUID
will have changed. You need to update fstab to reflect that.

I had the same problem myself recently. (On a Qnap box)

Don't update the fstab to the new UUID, you need to change the UUID on your hard drive to match the UUID that the kernel expects. (Use tune2fs -U <UUID> <device> )

The reason is that the kernel command line includes the UUID of the partition containing the root filing system. If it can't find it, then the kernel won't be able to mount the root filing system and will fail to boot.

Also, you need to make sure that the root filing system is in a format that the kernel can read, so now it probably not a good time to try out btrfs, xfs or whatever, unless your kernel has that compiled in.

I had previously changed fstab to use LABEL instead of UUID. As you suggested if I had forced harddrive partitions to same UUID as flash I would not have had this problem, but I would not have learned how to fix it.


Reply to: