Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-27-2011, 05:40 PM
|
#1
|
|
LQ Newbie
Registered: May 2011
Distribution: CentOS 6.2
Posts: 11
Rep: 
|
grub-install via Live CD to GUID partition
Hi
How to install grub in /sdb3 /media/{some-uuid} via Live CD?
# mount
# -> /dev/sd3 /media/{some-guid}
# grub-install --force --root-directory=/media/{some-guid} /dev/sda3
Thank you.
Last edited by woow; 06-27-2011 at 05:40 PM.
Reason: precition
|
|
|
|
06-27-2011, 05:56 PM
|
#2
|
|
Senior Member
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Peppermint
Posts: 3,388
|
Which Grub are you using? Grub Legacy? Grub2? Which distribution of Linux? What have you tried? What happens when you try whatever you have tried? Any output? Error messages?
|
|
|
|
06-28-2011, 03:26 AM
|
#3
|
|
LQ Newbie
Registered: May 2011
Distribution: CentOS 6.2
Posts: 11
Original Poster
Rep: 
|
I use F15, in dual boot with win7. After boot I'm prompting with grub> command line. So, I use Live CD ..
# grub-install /dev/sdb3
-> /dev/mapper/ ../dm-0 does not have any corresponding BIOS drive
# grub-install --force --root-directory=/media/{some-guid} /dev/sdb3
-> Unrecognized option `--force`
# grub-install --root-directory=/media/{some-guid} /dev/sdb3
-> /dev/sdb3 does not have any corresponding BIOS drive
# grub --version
-> grub(CNU GRUB 0.97-71.f15)
From grub> command prompt I have tried
# root (hd0,2)
-> Filesystem found
# kernel /bo[tab]
-> Could not mount filesystem
|
|
|
|
06-28-2011, 09:13 AM
|
#4
|
|
Senior Member
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Peppermint
Posts: 3,388
|
Did you have windows 7 installed and working for some time?
Is this a new installation of Fedora?
Were you ever able to boot into Fedora?
Fedora uses Grub Legacy.
How many physical hard drives do you have? Your output shows trying to install grub to sdb3 and sda3 which would be the third partition on the second hard drive and the third partition on the first hard drive. You probably did not install Grub to the master boot record? Were you planning to boot both systems with the windows bootloader?
Use the Fedora CD, open a terminal and log in as root (type: su -) and enter this command to get partition information to post: fdisk -l(that is a lower case Letter L).
Posting the contents of the grub.conf file from the installation would be helpful. Do you know how to mount partitions/filesystems?
|
|
|
|
06-28-2011, 03:03 PM
|
#5
|
|
Member
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 302
Rep:
|
I am not sure about /dev/sdb3
I think it should be
Code:
grub-install --root-directory=/media/{some-guid} /dev/sdb
to install to MBR .
/dev/sdb3 would install to superblock of the sdb3 partition and not to MBR of the sdb drive I think .
this '0' means sda and '2' partition 3
To me it looks like you want to boot the HD by the MBR of the USB pen .
Is this UUID correct ?
would show the UUIDs of all partitions of /dev/sda .
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:41 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|