LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-06-2007, 06:54 PM   #1
yesglass
LQ Newbie
 
Registered: Jul 2007
Posts: 14

Rep: Reputation: 0
Post 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 http://grub.enbug.org/TestingOnX86,
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"
"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?

Last edited by yesglass; 08-06-2007 at 07:26 PM.
 
Old 08-07-2007, 09:33 AM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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.)
 
  


Reply

Tags
boot, copy, fedora, grub, grub2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Installing grub arpanetguru Linux - Software 2 11-30-2005 01:01 AM
installing grub sobank Linux - Newbie 4 03-07-2005 08:47 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Installing GRUB 4ohfour Linux - Newbie 2 01-24-2004 05:42 PM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration