LinuxQuestions.org
Visit Jeremy's Blog.
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 06-30-2005, 11:26 PM   #1
richardg
LQ Newbie
 
Registered: Jul 2003
Location: Southwest USA
Distribution: FC4 2.6.14-1.1644_FC4
Posts: 19

Rep: Reputation: 0
so close to dual booting xp and FC4!


I think I am frustratingly close to getting the configuration I want.

I have AMD-64 and giga-byte MB (GAK8NSC-939) to replace a MB that died, and supported a xp disk and an FC3 disk ( 2 maxtor 80g drives ).
Winxp is on the first drive, boots and runs normally, although the base volume is e:
Ultimately, I removed the first disk, and the second drive boots and runs FC4 normally ( though I haven't done much with it yet ).

I added this line to boot.ini in windows,

e:boot.lnx="Fedora Core 4"

where I made boot.lnx with

dd if=/dev/hda1 of=/media/floppy/boot.lnx bs=512 count=1

and moved boot.lnx to the root directory of e: under xp.

Now, when grub.conf looks like this,

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hdb1
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img


and I select "Fedora Core 4" from the menu, the system reboots ( seems to be a bios option, reboot on error), BUT

When grub.conf looks like *this*,

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hdb1
default=0
timeout=5
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title Fedora Core (2.6.11-1.1369_FC4)
root (hd1,0)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img

I get the error ( when I select Fedora from the boot menu )

"Windows can not start because of a computer hard disk configuration error. Could not read from the selected boot disk"


The difference is the designation of the boot disk (hd0,0) or (hd1,0)

under FC4, fdisk -l gives


Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 9728 78140128+ 7 HPFS/NTFS

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1912 15358108+ 83 Linux
/dev/hdb2 1913 2039 1020127+ 82 Linux swap / Solaris
/dev/hdb3 2040 9729 61769925 83 Linux


(when 2 disks are in, and I use the rescueCD) All my installation disks passed sha1sum and mediacheck.

What am I doing wrong?
 
Old 07-01-2005, 12:52 AM   #2
lone-warrior
LQ Newbie
 
Registered: Jul 2005
Distribution: LDIOS
Posts: 4

Rep: Reputation: 0
well i cant help much on fedora or grub (as i only use LDIOS or slackware and always use lilo). but i do know, in my trials with linux and windows (dual booting them), its a good idea to install windows first and linux second and install the bootloader toi the MBR (BE SURE to make a backup of whatever that will be overwritten and make sure u also install a copy of the bootloader to a floppy disk in case something goes wrong.

when i installed slackware at least it autoconfigured lilo to show up the windows partition, not sure what happens with grub. also never tried a dualboot with a seperate hard drive (as i cant get a second drive to work with my pc).

good luck
 
Old 07-01-2005, 07:04 AM   #3
infinity42
Member
 
Registered: Apr 2005
Location: England
Distribution: Gentoo
Posts: 142

Rep: Reputation: 16
I could never get the Windoze boot loader to boot Linux for me. If you would be happy to use GRUB to boot windoze then this thread might be some help: http://www.linuxquestions.org/questi...hreadid=132552

Bear in mind that you don't alter your windoze bootloader, as it is on a different drive. All you do is set the linux drive as primary and get GRUB to chainload the windoze boot loader.

Hope that helps
 
Old 07-01-2005, 09:55 AM   #4
Gkarfield
Member
 
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123

Rep: Reputation: 15
hello,

I just have lilo to do the choise of the operating system, not the windows, (windows are on the 3rd partition of the disk )
 
  


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
Dual Boot Windows XP & FC4 with FC4 already installed kt8993 Linux - General 8 10-18-2006 04:26 PM
Problems dual booting FC4 and Slack 10.2 bmccorm2 Linux - General 3 11-01-2005 11:13 AM
dual booting with FC4 Digital Surgeon Fedora - Installation 1 10-12-2005 10:06 PM
Dual-Booting FC4 and WinXP 3t3rnal Linux - Newbie 8 08-05-2005 08:31 PM
No luck dual-booting FC4 and XP nicomachean Linux - Newbie 6 07-19-2005 08:08 AM


All times are GMT -5. The time now is 09:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration