Hello, I am trying to write a script that parse /boot/grub/menu.lst. On SLES11 SP2 installed machine I observed that no "root=<device>" entry specified in menu entry of grub.However, the system boots up properly on reboots. ----------------------------------------- >8 --------------------------------------------- title SUSE Linux Enterprise Server 11 SP2 root (hd0,1) kernel /boot/vmlinuz-<version>-default resume=/dev/sda1 splash=silent showopts initrd /boot/initrd-<version>-default ----------------------------------------- >8 --------------------------------------------- Is this expected behavior for grub ? or it might be something specific for SLES11SP2 (falling on resume device)? Can anyone please help understand this? Thanks, Chaitanya
Hi Chaitanya On Mon, Jan 21, 2013 at 4:39 PM, Chaitanya Gotkhindikar <cg011235@gmail.com> wrote:
Hello,
I am trying to write a script that parse /boot/grub/menu.lst. On SLES11 SP2 installed machine I observed that no "root=<device>" entry specified in menu entry of grub.However, the system boots up properly on reboots.
I forgot where I saw it too, try to unpack the initrd and find if there is something that "helps" the kernel to find the root partition/device -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
On the Sylicon Valey Linux User Group at the "Kernel Walktrought" (you can watch it on youtube) Jim said something about kernel remembering its root devide durring compilation soo when you don't use root arg it will use that setting inside of its image. But someone might verify this G. 22 sty 2013 09:22, "Mulyadi Santosa" <mulyadi.santosa@gmail.com> napisał(a):
Hi Chaitanya
On Mon, Jan 21, 2013 at 4:39 PM, Chaitanya Gotkhindikar <cg011235@gmail.com> wrote:
Hello,
I am trying to write a script that parse /boot/grub/menu.lst. On SLES11 SP2 installed machine I observed that no "root=<device>" entry specified in menu entry of grub.However, the system boots up properly on reboots.
I forgot where I saw it too, try to unpack the initrd and find if there is something that "helps" the kernel to find the root partition/device
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
Chaitanya Gotkhindikar -
Grzegorz Dwornicki -
Mulyadi Santosa