Dual boot problem - Ubuntu is fine, but XP doesn't work any more.
Linux - NewbieThis 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
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.
Dual boot problem - Ubuntu is fine, but XP doesn't work any more.
I sincerely hope that someone can help me with the following dual boot problem.
I have installed Ubuntu 8.04 on a separate partition (formatted as a Linux partition with a separate swap partition by Partition Magic 8.0 under Windows). Ubuntu works flawlessly, but when I try to select Windows at the start up menu I get a two tone blue screen with a series of error messages (which disappear too fast to read) and then the system boots back automatically into the opening operating system choice menu again. So I am back where I started.
Having rooted around the site for similar dual boot problems, several folks have asked to see the contents of the file menu.lst below and also grub.conf, which I can't find.
Any help to get this set up properly would be gratefully appreciated.
Menu.lst and grub.conf are the same file so you don't need to look for grub.conf. Your entry for xp shows root (hd0,0), generally this should be rootnoverify (hd0,0). That's assuming xp is on the first partition of the first drive. Don't think this is the problem though based on what you say happens as you will usually get an error message from Grub. Have you tried hitting the 'Pause' key to see what these error messages are?
All I did was to resize my current partition and install onto the unused partition that was now available.
ALL of this is available during the install, including resizing of the partition.....CAREFULLY read the dialogs during the install, you will have the opportunity to reduce the current partition as well as install it in the unused space.
Also, let Ubuntu set up the partitions....Every thread that I have read where difficulties were happening with partitioning is because of someone trying to create the partitions themselves.
Here is the output of entering sudo fdisk -l
in a terminal window as suggested:
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b915dcc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 17895 143741556 17 Hidden HPFS/NTFS
/dev/sda2 17963 24321 51078667+ 83 Linux
/dev/sda3 17896 17962 538177+ 82 Linux swap / Solaris
O.K., this is Partition Magic screwing things again - trying to be "helpful" no doubt. In the Microsoft way of doing things. Windoze won't boot a hidden partition - and there's no need to have it hidden. In future let the installers manage the partitions - NTFS included. From a Linux terminal you need to change the type of that NTFS partition
Code:
sudo fdisk /dev/sda
t
1
7
w
q
See how useful [code] tags are ???. Please use them in future.
Very many thanks for your help with the fdisk solution. It has worked a treat and has saved me a huge amount of time.
I also now realise what code tags are...
Thanks again
David
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.