* Brian Brunswick <[EMAIL PROTECTED]> [2006-12-14 04:58]: > I wanted to make booting more reliable for multiple devices plugged > in, and use UUIDs to find the root device, as I do on my server > system. But it appears not to boot after regenerating the initrd > with dpkg-reconfigure <kernel> with the root partition as a UUID > identified device. I had to re-flash the install image to recover > things by chrooting and undoing the change.
I just tried it myself and it worked. First I checked for the UUID of my root partition (sda1): foobar:~# ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 10 Jan 5 16:58 6a9e3c00-4dd3-4930-98cc-450b0efe517d -> ../../sda5 lrwxrwxrwx 1 root root 10 Jan 5 16:58 7750fe81-888e-4bf4-9c87-94d54bcb3291 -> ../../sda1 lrwxrwxrwx 1 root root 10 Jan 5 16:58 cf704e76-d2fb-4a49-a8f6-843d1d116019 -> ../../sda6 foobar:~# ls -l /dev/disk/by-uuid/7750fe81-888e-4bf4-9c87-94d54bcb3291 lrwxrwxrwx 1 root root 10 Jan 5 16:58 /dev/disk/by-uuid/7750fe81-888e-4bf4-9c87-94d54bcb3291 -> ../../sda1 foobar:~# Then I put /dev/disk/by-uuid/7750fe81-888e-4bf4-9c87-94d54bcb3291 into /etc/fstab. /dev/disk/by-uuid/7750fe81-888e-4bf4-9c87-94d54bcb3291 / ext3 defaults,errors=remount-ro 0 Regenerated the initramfs and flashed it. Note sure why it didn't work for you... Maybe you put in a commnt in /etc/fstab and hit #405566. If you send me your initramfs file by private mail I can see if I can see why it failed. > Is there an easy recipe for getting something telnet or ssh-able to > run from the initrd, that would make it possible to debug this sort > of thing? Not really, I'm afraid. You'd need to attach a serial console to your slug. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]