[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: still no luck with grub
From: |
James Courtier-Dutton |
Subject: |
Re: still no luck with grub |
Date: |
Fri, 23 Jan 2004 23:54:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031208 Thunderbird/0.4 |
Daniel Senderowicz wrote:
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
It is not working because you are using the syntax wrongs.
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
- still no luck with grub, Daniel Senderowicz, 2004/01/05
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/06
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/22
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/22
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/23
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/23
- Re: still no luck with grub,
James Courtier-Dutton <=
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/24
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/31
- Re: still no luck with grub, Daniel Senderowicz, 2004/01/31