LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-30-2005, 04:42 PM   #1
peedl
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Rep: Reputation: 0
Dual boot with two drives


I didn't want to mess with repartitioning my only hard drive so I installed as slave a second drive just for Linux. I've already installed Fedora Core 4 on the new one.

Since this is the family computer, I'd like Windows XP to load as a default. From the research I did before installing, it seemed that using Window's boot loader would be good for my circumstances. But I cannot figure out how to configure it.

Most of the FAQs I've found say to make copies using this "dd" utility, but I can't start Linux to do that.

I wouldn't mind having to pop in a boot floppy every time I wanted to use Fedora, if it would save me this trouble, but I can't even figure out how to do that. What are your suggestions for this set up?
 
Old 08-30-2005, 04:51 PM   #2
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
i have the same setup - ie. windows xp on the master; debian is installed on a portion of the slave. there is
a 'boot-loader' called 'grub', which gives me the opportunity during power-up, to choose between
debian (default) or windows. default can be changed anyway you like it by modifying grub configuration
files.
 
Old 08-30-2005, 04:55 PM   #3
peedl
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Original Poster
Rep: Reputation: 0
So then GRUB is put on the master, replacing whatever is usually used by Windows?
 
Old 08-30-2005, 05:05 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
You can also use these instructions to use the xp boot loader, but first you'll have to get back into linux.
Insert the 1st cd (or the dvd) and at the prompt write 'linux rescue'. Once the system is all started up and you're at the prompt again write # chroot /mnt/sysimage (or whatever the previous instructions tell you is the name of the partition your system was mounted to) and then reinstall grub (#grub-install /dev/hda). After that it's your choice which bootloader you prefer.
 
Old 08-30-2005, 06:37 PM   #5
peedl
LQ Newbie
 
Registered: Aug 2005
Posts: 7

Original Poster
Rep: Reputation: 0
I followed those instructions, using
Code:
dd if=/dev/hdb1 of=linux.bin bs=512 count=1
I copied the linux.bin file. It was 512 bytes as expected but if I open it with a text editor it seems that it's just full of spaces, there are no strange characters like I'd expect.

If I start my computer and select linux from the boot list, the computer seems to get stuck, displaying a flashing underscore in the top left corner like it's trying to load something but can't.

I don't see what I'm doing wrong, and I'm pretty sure the created linux.bin file isn't supposed to be empty.
 
Old 08-31-2005, 12:51 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
did you install grub?

Even if you use the xp boot loader you need to use grub to get into linux. The xp boot loader points to the location of grub to start linux. The most logical place to install it is on the same partition your /boot is. After doing that try the dd stuff again.
 
Old 08-31-2005, 12:26 PM   #7
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
There's also a MUCH easier option, if you have the right BIOS. I
installed Win2k on the master and Slack on the slave. Then I switched them, and made the Slack drive master (since Win refused to install on slave). Then as it runs POST before booting, I hit F11 (or F10, can't remember...) and a menu pops up and let me choose to boot from the master drive, the slave drive, or the CD drive. So on the rare occasion I want to use Windows, I just choose the slave drive and all works perfectly. This is very convenient, I don't need to edit anything.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot...Dual Hard Drives? jc_firestorm SUSE / openSUSE 6 04-24-2005 04:54 PM
grub dual boot, dual drives... scoob8000 Linux - General 5 04-11-2005 06:54 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Dual boot, dual drives. Where to put GRUB? rgbrock1 Linux - Newbie 5 10-02-2004 10:56 AM
dual boot with dual hard drives spleef Linux - General 4 09-08-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:46 AM.

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