[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GRUB & Rieserfs



On Thursday 12 July 2001 00:25, D-Man wrote:
> Disclaimer : I have no experience with ReiserFS, but I do use grub.
>
> On Wed, Jul 11, 2001 at 11:54:49AM -0400, Chuck Stickelman wrote:
> | San Segkhoonthod wrote:
> | > GRUB do *support* ReiserFS. My debian boxes have
> | > ReiserFS root file system and I boot them with GRUB.
> |
> | Then I've done something wrong!
> | I'll try providing more specifics.
> | kernel 2.4.5
> | hda1    ~120MB    ext2    /boot
> | hda2    ~128MB    swap
> | hda3    ~27GB        reiserfs    /
> |
> | I've tried:
> | root (hd0,0)
> | kernel /boot/vmlinuz-2.4.5 root=/dev/hda3 single
>
>           ^^^^
>
> There's the problem.  There is no directory named "boot" on
> (hd0,0). Grub doesn't understand the OS's mount tables because it
> isn't your OS.  Every partition is called "/" by grub, or (hdn,m)/
> if you want to specify which disk/partition.
>
> Instead use
>
> root (hd0,0)
> kernel /vmlinuz-2.4.5 root=/dev/hda3 single
>
> and it should work fine.

I don't think so. The line:

kernel /vmlinuz-2.4.5 root=/dev/hda3 single

is an instruction for the OS kernel. By this time the kernel should 
have taken over. So yes, it makes a difference when you specify:

kernel /boot/vmlinuz-2.4.5 root=/dev/hda3 single

Note also that the naming scheme has changed from the un-Linux-like 
root (hd0,0) to the more familiar root=/dev/hda3. The first root is 
the GRUB root; the second root is the kernel root.

Do correct me if I'm wrong.



Reply to: