LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2006, 03:01 AM   #1
r3g
Member
 
Registered: Jan 2006
Distribution: Ubuntu 10.04 Netbook Remix
Posts: 44

Rep: Reputation: 17
Accessing an orphaned FC6 installation


I had my system installed with XP on the Primary Master HD and FC6 on the Secondary Master HD. It was happily using grub on the Primary drive MBR to boot XP/FC6. Now the Primary drive has failed (tell tale clunking noise from drive and not bootable any more), so my question is, how do I access the perfectly good FC6 installation on the other drive now that there's no boot loader?

Ideally I'd like to just create a boot floppy for now without changing the files or setup on the second drive, so that when I get my new primary drive, I can put things back as they were.

Regards,

Richard.
 
Old 11-24-2006, 06:18 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Probably the easiest thing to do is to boot into a live CD that has GRUB (such as KNOPPIX) and use it to create a generic boot floppy that at boot will get you to the GRUB command line. Use that to boot FC6 and then use the utility (mkbootdisk?) FC6 provides to create a boot floppy. You can get a little fancier and use GRUB to create a floppy that will boot directly into FC6, and then you are done.

Another alternative if you do not have a seperate partition for /boot, is to boot into a live CD, or maybe even from your install disk if it has a rescue mode, mount your FC6 partition and chroot to that partition and run mkbootdisk (or whatever your utitlity is called). I think you should be able to this even if you have a seperate /boot partition, but it gets messier. And one time when I tried something similar I ran into problems -- I quit before I solved them.
 
Old 11-24-2006, 11:18 AM   #3
r3g
Member
 
Registered: Jan 2006
Distribution: Ubuntu 10.04 Netbook Remix
Posts: 44

Original Poster
Rep: Reputation: 17
I've managed to get into FC6 via the install CD as you suggested by runniing "linux rescue" at the boot prompt.

I've yet to find the FC6 equivalent of mkbootdisk though. I'll have another look later when I've got more time.

Thanks for the pointers.

Richard.
 
Old 11-24-2006, 08:40 PM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
In the old RH distros, mkbootdisk was a script in /sbin. A quick consultation with Google leads me to believe there is something in FC6 with the same name, but I have no experience with it.

I forgot to mention in my first post that if you use chroot you need to make sure you mount your partition w/o the nodev option. At least that is the way it used to be before the days of udev (which is the way devices are handled on newer 2.6 kernels.). I don't know what, if any, kinks udev throws into this procedure.

Good luck.
 
Old 11-25-2006, 12:14 AM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
After booting with the Fedora rescue system and running the chroot command as displayed can you just run "grub-install /dev/fd0" to create a boot floppy?
 
Old 11-29-2006, 06:03 AM   #6
r3g
Member
 
Registered: Jan 2006
Distribution: Ubuntu 10.04 Netbook Remix
Posts: 44

Original Poster
Rep: Reputation: 17
Hi guys, sorry for the delay in getting back to you, had some other stuff to deal with, but now back to sort out my PC.

I tried the method of installing grub to the floppy and that worked fine, though I did have some problems in doing it.

When I first tried it, I typed "grub-install /dev/fd0" and got an error saying;

Quote:
/dev/fd0 does not have any corresponding BIOS drive.
A quick Google revealed that there was a missing entry for fd0 in /boot/grub/device.map. It only contained hd0, so after adding it (and trying to remember the commands for using VIM) I re-ran grub-install and it worked fine.

Now I can just pop the floppy in the drive and boot into FC6.

Though I have not tried the method of using mkbootdisk, I have confirmed that it does reside in /sbin as blackhole54 suggested. I think I may be missing a path reference though because when I just type mkbootdisk from the root prompt it tells me that it doesn't exist.

Thank you both for your assistance. Now I just need to sort out my XP drive :-)

Richard.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software installation FC5/FC6 Ammad Linux - General 3 11-15-2006 03:52 PM
How to remove orphaned packages? lnthai2002 Linux - Software 8 02-03-2006 09:48 PM
clearing orphaned inode... PennyroyalFrog Linux - Newbie 4 07-29-2005 06:32 PM
Deleting orphaned ports nbarraud *BSD 3 03-05-2005 11:35 AM
Feeling orphaned at RH9 stevecoh1 Linux - Distributions 3 02-01-2005 08:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration