Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed FC3 over old linux partitions, not messing with the windows partitions at all. After the reboot, i had selected windows as default in the installation, it booted to a screen like this:
_________________________
Booting 'Windows XP'
rootnoverify (hd0,0)
chainloader +1
_________________________
After coming to this screen, it just stops.
Here's my hardware situation:
HDD 1-master:
20gig that used to be slave before install (windows xp boot drive "C:")
HDD 2-slave:
120gig that used to be master before install (80 gigs for windows storage, the rest are linux)
Here is my grub.conf file:
What do I do?
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,1)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Windows XP Home SP2
rootnoverify (hd0,0)
chainloader +1
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315
Rep:
It appears you installed grub as a boot loader .. generally speaking xp has issues with it.
Most folks in dual boot systems will install xp first and then linux .. and in all install don't let it install the boot loader.
Other folks might have different suggestions, but the easiest thing might be do reinstall the default MBR so Xp boots properly and then
enter the boot option in the windows loader to load FC ..
According to your GRUB configuration file, both windows and Linux are on the same hard drive (hd0).
Are you sure you set the jumpers on the hard disks correctly ?
My guess is that your 120GB (Linux) is the master and your 20GB (windows) is the slave.
Since Linux still works, boot into Linux and take a look at your partition table. You will need to be root.
Code:
fdisk -l
If I'm right, your windows part should look like this
I tried changing the windows part of the grub code and that didn't work so i guess my next choice is changing the BIOS to LBA. I'll post as soon as i know if this works or not.
Disk /dev/hda: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 162540 81920128+ 7 HPFS/NTFS
/dev/hda2 162547 162738 96390 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3 162738 235875 36861142+ 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/hda4 235876 238202 1172745 5 Extended
Partition 4 does not end on cylinder boundary.
/dev/hda5 235876 237900 1020096 82 Linux swap
Disk /dev/hdb: 20.4 GB, 20411080704 bytes
16 heads, 63 sectors/track, 39549 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 39541 19928601 7 HPFS/NTFS
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
If that dowsn't work, you can always do the following:
- Create a Linux boot disk.
- Boot from the windows CD.
- Use the recovery mode to re-install the windows bootloader (fdisk /mbr)
- Boot with the Linux boot disk.
- Re-install GRUB back into the MBR (/sbin/grub-install /dev/hda)
grrrrrr. Mathieu, that add in didn't work.
if i reinstall grub, won't it just do the same thing? is there any way i can get an old version of grub...would that work? this is a problem which i have run into several times; the only way i could solve it was to format both drives which is a major pain. help?
If that dowsn't work, you can always do the following:
- Create a Linux boot disk.
- Boot from the windows CD.
- Use the recovery mode to re-install the windows bootloader (fdisk /mbr)
- Boot with the Linux boot disk.
- Re-install GRUB back into the MBR (/sbin/grub-install /dev/hda)
My second solution does not require a full re-installation.
By using the windows CD, windows will re-install its bootloader and re-configure itself.
When done, windows will boot correctly (unless the windows repair tool finds errors).
Then, take your Linux boot disk, and install GRUB.
GRUB will take the functionning windows portion and install itself.
Hopefully everything will go well.
I tried doing what you said, Mathieu, and it's back to exactly how it was before. i attempted to boot to windows directly after installing the windows boot record part and it said "disk read error", same as before.
any ideas? the only thing i can think of doing is backing up to a separate hard drive and reinstalling everything, with better hard drive configuration, running linux as slave, on the 20 gig, and running windows on the 120 gig completely unrestricted. what do you think?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.