It is not working because you are using the syntax wrongs.OK, I did a bit of progress here. I manage to boot the system with the kernel of the hard disk by simply typing the same commands written in the "grub.conf" file, that is:
grub> root (hd0,0) grub> kernel /vmlinuz-2.4.20-28.9smp ro root=LABEL=/ grub> initrd /initrd-2.4.20-28.9smp.img
But my question still remains: why doesn't it do it automatically?
Dan
root (hd0,0) <- This is telling grub the device and partition that the vmlinuz is stored on. This is "NOT your linux root partition". It depends which partition the /boot directory is stored. vmlinuz should really be in the /boot directory.
grub then finds the grub config by looking in (hd0,0)/grub.
So, if you don't have a root partition, and the /boot directory is on the root partition, the grub root command should be: -
root (hd0,0)/boot
kernel (hd0,0)/vmlinuz root=/dev/hdc6 ^....(1).............^ ^.....(2)....^
1) This is telling grub where to find vmlinuz 2) Are linux kernel parameters, and are not used by grub at all.
Cheers James
_______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub
