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 am having problems getting dual boot to work with windows XP.
My PC came configured with Windows XP as the main OS and a small "recovery area" which contains a copy of the OS for loading if the main install breaks - this can be reinstalled if need be - but rubs out all your data. It is an HP Pavillion. I have been using it for some time and it has all my data on it.
I installed 9.1 Professional straight out of the box. There seems to be a well known bug with Grub and the 2.6 kernal which prevent dual boot - the system hangs with a chainloader error. I followed the instructions on this site regarding updating the parted install, setting the bios to LBA and reinstalling.
After a little editing of the menu.lst file I can get the system to boot into the XP recovery partition: However this just offers me the option of reinstalling XP. I cant seem to get my machine to boot to XP.
Ideally I want to be able to dual boot XP and Linux.
I'm stuck now. Can you give me some ideas? The Suse guys aren't interested because the distro is > 90 days old.
Regards
Tom
> ==================================================
> menu.lst file:
> > # Modified by YaST2. Last modification on Sun May 1 01:16:17 2005
> > > color white/blue black/light-gray
> default 0
> timeout 8
> gfxmenu (hd0,2)/message
> > ###Don't change this comment - YaST2 identifier: Original name: linux###
> title Linux
> kernel (hd0,2)/vmlinuz root=/dev/hda5 vga=0x314 splash=silent fixpart=1 acpi=off desktop resume=/dev/hda6 showopts > initrd (hd0,2)/initrd
> > ###Don't change this comment - YaST2 identifier: Original name: windows###
> title Windows
> rootnoverify (hd0,0)
> chainloader +1
> > ###Don't change this comment - YaST2 identifier: Original name: floppy### > title Floppy
> root (fd0)
> chainloader +1
> > ###Don't change this comment - YaST2 identifier: Original name: failsafe###
> title Failsafe
> kernel (hd0,2)/vmlinuz root=/dev/hda5 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
> initrd (hd0,2)/initrd
> >
I have also tried:
> title Windows
> rootnoverify (hd0,1)
> chainloader +1
Didn't work either.
===================================================
> > output from fdisk -l
> > Disk /dev/hda: 120.0 GB, 120034123776 bytes 240 heads, 63 sectors/track, 15505 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes
> > Device Boot Start End Blocks Id System
> /dev/hda1 1 648 4898848+ b W95 FAT32
> /dev/hda2 * 649 10697 75966408 7 HPFS/NTFS
> /dev/hda3 10698 10710 96390 83 Linux
> /dev/hda4 10711 15506 36250672+ f W95 Ext'd (LBA)
> /dev/hda5 10711 15436 35728528+ 83 Linux
> /dev/hda6 15437 15506 522081 82 Linux swap
I'm starting to wonder if some of the issue is because most of the dual boot faqs assume that you have XP on partition 1 of disk 1 and I dont - that's my "recoverey setup" I have my XP on what looks like partition 2 of disk 1.
I have tried the "frig" or remapping the disks like this in my menu.lst
title MS on NON-FIRST partition
root (hd0,1)
map (hd0,1) (hd0,0)
map (hd0,0) (hd0,1)
makeactive
chainloader +1
But still get the error "Filesystem type unknown, partition type 0x7"
I'm pretty much at my wits end now - all ideas very gratefully recieved.
This part is correct for your setup because you have Windows on (hd0,1) . So, I would leave that part of the grub config alone.
title Windows
rootnoverify (hd0,1)
chainloader +1
The error is strange because, grub does see (hd0,4) . That means it sees (hd0) so I don't know why it is acting stupid.
It's possible that you have the problem caused by early 2.6 kernels where linux partitioning badly disagreed with windows partitioning.
I would make a grub boot disk so you can get back into Linux. Then boot up with a Windows WinMe boot disk and type the command: fdisk /mbr
That should at least get you into Windows. If not, you may need to read up on that 2.6 kernel thingy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.