On Wed, Jul 11, 2001 at 10:05:16AM -0400, Chuck Stickelman wrote:
> >From what I've read and seen GRUB can read Reiserfs:  at least that's what I
> thought the reiserfs_stage1_5 file was to provide...
> 
> Am I far off here?  I've read MANY docs and I've seen several references to
> GRUB supporting Reiserfs.
> 
> I REALLY want to use GRUB, and I wanted to play with reiserfs as well.  The
> system got stripped down to the bare minimum packages so I could move things
> around, but I gotta get it back up and running so I can use the blasted thing 
> to

There are two processes here. The first is where GRUB loads the kernel and 
boots it. The first root line tells GRUB which fs to mount. The first argument 
to the kernel command tells grub what kernel to load. 

If your linux kernel starts booting then those settings are fine.

The second process is when the linux kernel boots. GRUB can pass arguments to 
the kernel, these are the arguments that follow the 'vmlinuz-2.4.5'.

kernel (hd0,0)/vmlinuz-2.4.5 root=/dev/hda3 ro

This second root parameter is what linux uses to mount its root fs.

On my system I have (in /boot/boot/grub/menu.lst):

title GNU/Linux
root=(hd0,4)
kernel /bzImage root=/dev/hda6 mem=128M hdc=ide-scsi

If your second root is incorrect, linux won't be able to boot. Are you sure you 
have the correct partition specified?

Check that your /etc/fstab is correct, the <type> must be reiserfs.

Make sure you have a new version of GRUB, the older ones don't read reiserfs 
(but if your kernel is booting then it's working).

If you want to find the correct partition that has your root, you can use 
different root(hd0,x) commands in grub and tab-completion to see what files are 
on each partition.

Are you using the command line directly? You can enter command-line mode by 
pushing c, this is the quickest way to find the correct settings.

The grub .info manual has a lot of useful stuff, eg:

 - Command: cat file
     Display the contents of the file FILE. This command may be useful
     to remind you of your OS's root partition:

          grub> cat /etc/fstab

- Command: find filename
     Search for the filename FILENAME in all of partitions and print
     the list of the devices which contain the file. The filename
     FILENAME should be an absolute filename like `/boot/grub/stage1'.

Good luck

John Leuner

Reply via email to