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

Re: GRUB & Rieserfs



On Wed, Jul 11, 2001 at 04:30:40PM -0400, Chuck Stickelman wrote:
| 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
| >           ^^^^
| >
| 
| Well... it does... I did set up a symbolic link to .  (boot -> .)
| I've also tried doing
| root (hd0,0)
| kernel /vmliuz-2.4.5 root=/dev/hda3 single

Hmm.

| I'll try it again tonight... but I'm sure I've exhausted every possible
| combination.
| 
| I'm also sure it IS something as simple as this...
| 
| > 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
| 
| I could use some clarification on this one point:
| Under GRUB 'root"  (as in root (hd0,0)) means exactly what?
| I am assuming it DOES NOT mean what drive is going to endup being / (root)
| once the OS is running but rather the root of all GRUB operations.  Is this
| true?

I think this is a good explanation.  The "root=" argument to the
kernel specifies the root directory once the kernel (OS) is running.

| What is the significant difference between:
| root (hd0,0)
| kernel /vmlinuz-2.4.5 root=/dev/hda3 single
| 
| and:
| root (hd0,2)
| kernel (hd0,0)/vmlinuz-2.4.5 root=/dev/hda3 single

The difference is that in the first one you are implying that '/' is
(hd0,0) because of the "root" line.  In the second one you are
explictly stating which drive to use as the root of that path.

What does the "single" argument to the kernel mean?  (check Linux
docs, not grub).  I am not familiar with it and that may be causing
the problem.

Just to start over, and since I didn't pay much attention to the
beginning of the thread, where does the booting fail and what message
do you get?  Does grub manage to load the menu.lst file?  Did you
include Resierfs support in the kernel, not as a module?  

HTH,
-D



Reply to: