On Sun, Jul 18, 2010 at 13:39, Andrei Popescu <andreimpope...@gmail.com>wrote:
> On Sb, 17 iul 10, 23:10:39, Anand Sivaram wrote: > > > > > > Could you please elaborate on that? How can UUID fail if you have > > > modules compiled in the kernel, since UUID is a property of the > > > filesystem? > > > > Even if every driver is compiled into the kernel, an initrd may be > required > > to > > use root=UUID=....format. > > That is what my experience too, finally I swithed to root=/dev/sda2 > > There are many suggestions that root=/dev/disk/by-uuid/.... > > could be used instead without an initrd. > > > > See the link, > > https://bbs.archlinux.org/viewtopic.php?id=61451 > > The link only talks about /dev/disk/by-uuid/... which is correct. Those > are actually symlinks created by udev and I'm guessing they are not > present if you don't have an initrd. But passing root=UUID=... should > not require an initrd, because it doesn't rely on /dev being present. > > Regards, > Andrei > -- > Offtopic discussions among Debian users and developers: > http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEcBAEBCAAGBQJMQra/AAoJEHNWs3jeoi3pQLcH/iaFfF7w6oqspQuqlODIk1v6 > lIHoL/bTED1XhsADh+mfIOpEnEbT09UILN5RsoCZhxzwDU6LtBz1XQiR4sJLGqvZ > IPY4mwxSquJCBPZBs3RO1UxSsGlzyULNLnHFoUXLLYzApUYNMVbIfNGdOj2Db5vb > aWThBHPXfQczfh/0dITU7kkycH43uGhiZ5mjtrct61ZLRc8yzPQ1C6V89+h0p9bs > Jze55L5UZAGm2Jsttic0RlrWz0UWP1OYVbyS0dn/jr32OWVswZEuh7SbhuyZij3z > yuLU2IB08Lkzky0oVAkVWFMFGZyd8S1vn31RMvSgIhIG12+M0WQ8AGKH2eU4kq0= > =nCgD > -----END PGP SIGNATURE----- > > I am using a custom 2.6.34 kernel with every driver built in. Currently it is booted with root=/dev/sda2 option. Just to see how it works, I changed that to 1) linux /boot/vmlinuz-2.6.34 root=UUID=ddc23ac8-37bf-4e89-a1cd-d77aefc011c8 ro quiet and 2) linux /boot/vmlinuz-2.6.34 root=/dev/disk/by-uuid/ddc23ac8-37bf-4e89-a1cd-d77aefc011c8 In both cases the system did not boot up. The error was unable to mount root device. So finally, to use uuid option in either way, it is required to use initrd.