-   Linux - Software (
-   -   Installing GRUB 2 (

yesglass 08-06-2007 06:54 PM

Installing GRUB 2
**Please not say about not recommending grub 2, since i know what consequence i'll have.**
I want to test grub 2, so i want to install grub 2. I followed instructions on,
but since i want to install on /dev/sda3 (hda3), and on not my root device or MBR of sda, i typed (and before, mounted grub2 on /new-s) "./configure --prefix=/new-s/grub2"
"make install"
"grub-install --grub-setup=/new-s/grub2/grub.cfg /dev/sda3"
And it shows me error of auto detection of /dev/root not found. Please insert modules.
Is there a way to install grub2 on /dev/sda3? (everything about compiling is ok)
MY partition
/dev/sda1 -xp
/dev/sda2 -security software partition
/dev/sda3 -ext3, (this is the place where i will write grub2)
/dev/sda4 -Extended
/dev/sda5 -ext3, fedora main
/dev/sda6 -swap

Or is there a way to install grub2 on CD-RW disc?

PTrenholme 08-07-2007 09:33 AM

I'd suggest that you start GRUB2 and install from the grub> prompt as described in the "testing" WiKi you referenced. Note that you must have something for GRUB to use as its boot image since, after all, all that GRUB is doing is loading a boot image and transferring control to that image. That's why grub-install complained about not finding /boot since that script looks for the (compressed) kernel image in the /boot directory of the device to which it's pointed. (You can see the details by cating the grub-install script.)

Remember, as mentioned in the WiKi, GRUB2 uses a different partition numbering (and naming) convention from that used by GRUB. That's another reason to use the GRUB command line install method, since you can then ask GRUB2 to tell you what it "sees" on your drive(s). You can also also use the command line to verify the path to your boot image file, etc., before installing.

Good luck.

P.S. - The above is just a general discussion, not from personal experience, since I've never actually tried to use GRUB2. (I've been waiting -- for some time now -- for an "official" release before trying it.)

All times are GMT -5. The time now is 10:16 PM.