LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-05-2006, 10:08 PM   #1
VA3OG
Member
 
Registered: Apr 2005
Location: Ontario, Canada
Distribution: Ubuntu 10.10
Posts: 31

Rep: Reputation: 15
A twist on a dual boot system. My problem ...


Here's my situation. I have 2 hard drives on my computer. The first drive is entirely Windows XP (FAT 32). The 2nd drive is split; 10 G with Windows NTFS; and 10 G with UBUNTU Linux. This second drive is a removeable HD.

I have GRUB set up to give me dual boot capabilties - that is working just fine, as long as these two drives are installed in the computer.

Now, when I take out the 2nd drive and replace it with a windows FAT32 drive that I need data from, Grub doesn't work. I expected it to show me the boot options, and would still let me choose the Windows boot, even though the Linux stuff wasn't available on the system. Then I could read my replacement 2nd drive. No such luck. I get errors and then the system goes on to try to boot from other devices based on my BIOS sequence, I guess.

I wonder if there is an easy way around my boot problem, for the few times I need to install the replacement (Windows only) 2nd HD. Do I need to make a bootable floppy? (If so, how?)

Any ideas would be appreciated.

B.
 
Old 04-06-2006, 12:19 AM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
I think you'll find that Grub is keeping it's configuration files on the Linux partition and when pull the second drive from the system, you've pulled the Grub config files with it. That is why you can't boot without the Linux drive installed in the system.
 
Old 04-06-2006, 08:05 AM   #3
VA3OG
Member
 
Registered: Apr 2005
Location: Ontario, Canada
Distribution: Ubuntu 10.10
Posts: 31

Original Poster
Rep: Reputation: 15
That's what I suspected. Makes sense. Is there anything I can do, like creating a boot floppy with the needed boot commands? I don't know how to set up Grub. Ubuntu did it for me when I first installed Linux. BTW, my system is running Ubuntu 5.10.

Thanks for your reply.
B.
 
Old 04-06-2006, 08:21 AM   #4
geeman2.0
Member
 
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
You could make a bootable grub floppy.

Another option would be to install lilo instead of grub into the master boot record of the first hard drive.
Lilo writes all of it's configuration data onto the master boot record, so it will have no need of external config files and should boot no matter what you have as your second hard drive.

There's another option if you have any unpartitioned space left on the first hard drive. You won't need much.
You could make a linux partition with that free space and use that as your /boot instead. It would then store all the config files that are currently stored on your second hard drive.
 
Old 04-06-2006, 08:22 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Put grub on a floppy.
Use the Windows install CD --recovery mode-- when you get to a console, type "fixmbr".

Now drive 1 will always boot windows. If the floppy is installed, and the 2nd drive is installed, then grub will find what it needs on drive 2.

You can also configure the Windows bootloader to boot Linux. Instructions somewhere on this site--search on windows boot, ntldr, or boot.ini.

There are some alternatives as to how to configure you system---why do you need to remove the 2nd drive?
 
Old 04-06-2006, 08:24 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
Or use the windows to boot linux. Basically your create a boot file on your c: drive and add an entry to the boot.ini file. Then restore the windows boot loader back to the MBR.

http://www.highlandsun.com/hyc/linuxboot.html
 
Old 04-06-2006, 10:18 PM   #7
VA3OG
Member
 
Registered: Apr 2005
Location: Ontario, Canada
Distribution: Ubuntu 10.10
Posts: 31

Original Poster
Rep: Reputation: 15
Thank you all for your help. I finally figured out ow to make a Grub Boot floppy, and it is doing exactly what I want. And I learned a bit more about Linux along the way. A great forum!
B.
 
  


Reply


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
Problem on dual boot system dmaul Linux - General 1 11-20-2004 07:18 AM
Problem with a dual-boot system ragingchihuahua Linux - Newbie 2 07-25-2004 06:13 AM
Dual boot with BIOS twist Question Dobie Linux - Newbie 6 06-12-2004 07:13 AM
Dual boot MD9.1 / Win2k with a twist Dobie Mandriva 1 11-30-2003 09:48 PM
yet another dual boot question...but with a twist infamous41md Linux - Newbie 9 04-03-2003 11:13 PM


All times are GMT -5. The time now is 12:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration