LinuxQuestions.org
Help answer threads with 0 replies.
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 01-10-2005, 11:14 AM   #1
brius
LQ Newbie
 
Registered: Aug 2004
Location: Asuncion, Paraguay
Distribution: Fedora Core 4
Posts: 17

Rep: Reputation: 0
dualboot XP and Core 3


Ok, here's my problem, I just got 2 new Seagate Barracuda 120gb SATA drives, and i cant get fedora core 3 to dualboot with windows. Fedora is on a separate Maxtor 40gb IDE drive, and windows is running with my 2 SATA drives, running raid 0. My specs are as follows.
-Athlon XP 3000+
-ASUS A7N8X-E Deluxe
-512 Kingston Dual Channel HyperX
-128mb eVGA geForce FX5700 Ultra w/ DDR2
-2 Seagate Barracuda 120gb SATA II w/ NCQ drives, on the SI3112
-40gb maxtor IDE (7200 rpm)
-LG 52x24x52x16 CD-RW/DVD Drive
-ASUS QuieTrack 52x cdrom
-Kingwin AWC-1 water cooler with a TT Volcano 12 on the second radiator
I don't get any errors when trying to do it, i just wondered if there was some special way i needed to do it, cuz i haven't tried it yet. I know that there were some problems with core 2 screwing up my partitions, though i fixed that, but i've never tried to install a distro dualbooting with a raid 0 system.
Thanx
--Brius
 
Old 01-10-2005, 12:09 PM   #2
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
my idea

Hi,
I have been fooling around trying to get windows 2000 Pro to dual boot with fedora core 3. Win xp and 2k are both similiar. Now I did an experiment and came pretty close. Try loading windows first, imagining it already is. Load Fc3 where you want it. And on the install it will ask you under the grub boot loader settings about the other OS /dev/something. As far as I know that should work depending on your BIOS, if it goes past cylinder 1024. If not then both fedora and xp need to be before cylinder 1024. Hopefully this will lead you on the right track. As far as I see this is raid independent, just bring ambiguity out of grub so it knows which windows xp copy to load.
 
Old 01-10-2005, 04:47 PM   #3
Petra9
LQ Newbie
 
Registered: Jan 2005
Location: Belgrade, Serbia
Distribution: SuSE 9.2
Posts: 15

Rep: Reputation: 0
Try this, it worked for me: (I got it from fedora forum, but it's been saved on my comp for some time, so I don't remember link)

"You probably installed GRUB on the MBR (Master Boot Record).
It's better to install GRUP on the linux partition (/boot), and use de Windows boot manager.

Follow these steps to make it work:
- During fedora installation, install GRUB on the linux partition (you have to check something like 'Additional bootloader settings...' during installation, and the next page will allow you to choose the grup partition).
- After installation boot using the fedora rescue mode (type 'linux rescue' followed bij ENTER on the boot prompt of the fedora installation CD/DVD.
- If you have no floppy drive (my laptop has none) or available FAT/FAT32 partition it might be handy to use an USB Memory stick. Make sure it is plugged in while booting fedora rescue mode.
- In de rescue installatie menu appears choose the options to go to the command line (choose skip and something else?!?)
- first mount any FAT/FAT32 partitions or USB memory stick (i.e. with mount -t vfat /dev/sda1 /mnt/usbflash)
- On the shell prompt type te following:
dd if=<linux partition device (where you installed GRUB)> of=<mount location>/linux.bin bs=512 count=1
For example: dd if=/dev/hda5 of=/mnt/usbflash/linux.bin bs=512 count=1
- Now boot Windows 2000 (see a fix for your 'error 12' below)
- Run 'cmd'
- type: attrib -R -S -H C:\boot.ini
- type: notepad C:\boot.ini
- Append the following line:
c:\linux.bin="Linux"
- Save the file boot.ini and close notepad
- type (on cmd): attrib +R +S +H C:\boot.ini
- Now copy the earlier copied file 'linux.bin' to C:\

Now you can boot linux from the Windows 2000 boot menu.

Although I read somewhere (see http://www.geocities.com/epark/linu...-w2k-HOWTO.html) that the boot partition should be below <8.5 GB. I placed linux (using the Windows 2000 boot menu) and the end of a 30GB harddisk drive without a /boot partition."
 
Old 01-18-2005, 10:12 AM   #4
brius
LQ Newbie
 
Registered: Aug 2004
Location: Asuncion, Paraguay
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
i tried the step by step instructions that you gave me, but i ran into 2 problems.
1. When i'm in rescue mode, it won't mount any of my drives, except my hard drive.
2. When i run the command dd if=/dev/hdb1 of=/mnt/usbflash/linux.bin bs=512 count=1, it tells me that the directory does not exist. when i run it like this, dd if=/dev/hdb1 of=/mnt/fd0/linux.bin bs=512 count=1, it tells me that "linux.bin is not a valid directory".
I downloaded vmware's virtual machine software, and tried to make a setup that is as close to mine as possible, so now i have full access to the /boot directory, but will this help me. i tried about every file in that directory, renaming it as linux.bin, but as i though, it didn't work. i also tried running initrd-2.6.9-1.667.img from the boot.ini, but that didn't work either. All i get is a blinking white _ on a black screen. Any suggestions? I'm also wondering if there is some way i can get the files off hdb1, if i can access it somehow while in fedora.
Thanx
--Ryan
 
Old 01-20-2005, 07:40 AM   #5
Petra9
LQ Newbie
 
Registered: Jan 2005
Location: Belgrade, Serbia
Distribution: SuSE 9.2
Posts: 15

Rep: Reputation: 0
You said that you can't mount any device other then your hard drives (I really don't know why, I could mount any device I head), but where did this come from: "/mnt/usbflash" or "/mnt/fd0" ? That's probably why you get that message directory doesn't exist.

Can you mount your hda while in rescue mode? I suppose you have your Win installed on hda. Do you have any FAT partitions there, if you don't try make one small with Partition Magic and use it instead of floppy:
Code:
$mkdir /mnt/fat
$mount -vfat /dev/hda5 /mnt/fat
$dd if=/dev/hdb1 of=/mnt/fat/linux.bin bs=512 count=1
where hda5 is your fat partition (it could be on your hdb as well).
 
Old 01-20-2005, 02:49 PM   #6
brius
LQ Newbie
 
Registered: Aug 2004
Location: Asuncion, Paraguay
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
no, i can't mount my windows partition when in rescue mode, because it is a raid partition, and fedora doesn't recognize it. I'll try the commans you gave me though, and post again later today.
--Brius
 
Old 01-20-2005, 05:40 PM   #7
brius
LQ Newbie
 
Registered: Aug 2004
Location: Asuncion, Paraguay
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
Still didn't work. all the mkdir /mnt/fd0 did was make a directory under the mnt directory, it didn't actually make linux realize i had a floppy drive. So when i did the dd if=/dev/hdb1 of=/mnt/fat/linux.bin bs=512 count=1 it didn't work. It just said that /mnt/fd0/linux.bin was not a valid directory. Any suggestions on what i'm doing wrong?
Thanx again
--Brius
 
Old 01-21-2005, 02:20 PM   #8
Petra9
LQ Newbie
 
Registered: Jan 2005
Location: Belgrade, Serbia
Distribution: SuSE 9.2
Posts: 15

Rep: Reputation: 0
You don't have to use name /mnt/fd0 for your floppy directory, you can call it /mnt/floppy or even /floppy (if you want you can call it /mnt/cdrom but that doesn't make much sense), as long as you specify it correctly in your mount command. But /dev/fd0 is always name of your floppy device.

I think Fedora is doing automatic mounting of devices when inserted, so when you insert a floppy, before you try to mount it, run mount command with no arguments:
Code:
$ mount
and if there is a line that contains /dev/fd0, then you already have it mounted, and all you have to do is look for the directory name in that line, and then use it in dd command:
Code:
$ dd if=/dev/hdb1 of = <dir name for floppy>/linux.bin bs=512 count=1
where dir name could be /mnt/floppy, /media/floppy, /floppy or what ever.

If there is no line containing /dev/fd0, then you have to first make mount point with mkdir, and then mount your floppy. mkdir command just makes the directory, it's the mount command you have to use after you made /mnt/fd0 or any other mount point:
Code:
$ mkdir <dir name for floppy>
$ mount /dev/fd0 <dir name for floppy>
Then you run the dd command the same way.

Don't forget to unmount it, after you are finished, with umount command.

One more thing - be sure that your floppy is empty before you use dd command.
 
Old 07-25-2005, 03:45 PM   #9
brius
LQ Newbie
 
Registered: Aug 2004
Location: Asuncion, Paraguay
Distribution: Fedora Core 4
Posts: 17

Original Poster
Rep: Reputation: 0
sorry i haven't posted for so long

sorry i haven't posted for quite a while , but i've been caught up in school and work lately. Anyways, i'll try it tonight, and post the results hopefully tomorrow.
 
  


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
Kernel dualboot zenith_zth Linux - General 3 01-07-2005 06:28 PM
Fedora Core 2 and windows xp dualboot question (not the hd geometry problem) justintime32 Fedora 3 09-25-2004 08:42 AM
Dualboot: Windows XP and Fedora Core 2 Vectrox Fedora 1 06-07-2004 02:12 PM
cannot dualboot w/Suse incapearl01 Linux - Distributions 3 01-25-2004 02:00 PM
Dualboot w/ Windows XP mm18050 Linux - General 6 11-22-2003 12:32 PM


All times are GMT -5. The time now is 04:01 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