|
I am testing the troubleshooting of missing grub.conf. I know exactly how to solve it by creating grub.conf manully in rescue mode.
My question is can I do it another way without entering the rescue mode?
Here is what I tried:
When the grub command console shows up, type several GRUB commands to test
root (hd0,0)
kernel /vmlinuz-XXXXX-img ro root=LABEL=/
initrd /initrd-XXXXX.img
All the commands work fine. Then can I just type "boot" to reboot the machine, and after machine is booted up, create the grub.conf in the normal mode?
I tested this way, but it doesn't work....I still receive "kernel panic" error.
I also tried to pass an init=/bin/sh option or single option to the kernel on the command console, same error.
Does it mean that you have to enter rescue mode and manually create grub.conf before it can boot correctly?
Does it mean that the command console is just for you to test your configuration without really passing those value to the boot process?
Maybe a very silly question , but I am really curious.... |
|