Carlos E. R. wrote:
On 2014-11-03 01:37, Linda Walsh wrote:
Vs. -- if you use UUID, and try to boot from it (aka boot=/dev/disk/by-uuid1 root=/dev/disk/by-uuid2), the kernel won't boot as it doesn't recognize anything in /dev/disk without a system being already booted (aka an init-ramdisk that runs 'udev'(or *equiv*)) that assigns and interprets those UUID's.
[sic] WRONG.
This is my line in grub 1 menu.lst:
kernel /vmlinuz-3.11.10-21-desktop root=/dev/disk/by-label/a_main resume=/dev/disk/by-label/b_swap showopts splash=verbose console=tty0 vga=0x31a
[sic] Because there it is the *kernel* which does the reading, not grub. No matter that you thing that you need udev, it is obviously working.
On 2014-11-03 06:54, Andrei Borzenkov wrote:
It is not kernel, it is initrd.
Carlos E. R. wrote:
You mean scripts in it? Oh.
Heh. If Linda removes initrd, then that's why she thinks uuid are not supported at boot ;-)
*Ahem*, Carlos, Do you wish to retract your "WRONG" now? I.e. As the paragraph you quote, says: "the kernel won't boot as it doesn't recognize anything in /dev/disk without a system being already booted (aka an init-ramdisk that runs 'udev'(or *equiv*)) that assigns and interprets those UUID's. I.e. if linda specified that the features of fancy name booting (label, uuid, path...etc.) are not available unless your system is already booted (as from an init-RamDisk (initrd)). Linda's question was based on the premise of not prebooting with a minikernel and starting udev (or similar) off of a ramdisks (initrd). Using device names that don't require a kernel+scripts already be running and available before 'boot' was a primary goal in my choosing a reliable naming scheme for boot devices. Your systems only works if you are already booted (as from an initrd). At which point, talking about whether or not something is supported by the kernel before boot is moot (because in your case, your system is already booted -- which is not to say all normal runtime services are running). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org