Dual Boot Unbuntu and Windows XP (Unbuntu Installed First).
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 Unbuntu and Windows XP (Unbuntu Installed First).
Hi, I'm new here!
I have misunderstood my friends request and installed Unbuntu on his Desktop. Now, He wants to Dual boot Windows!! I Have Customized this Unbuntu Installation and I don't want to erase it. I've searched Multiple Forms but no awnser! So I want somebody to please give me the exact code I need to dual boot.
Here is my information
Windows XP Pro Installed on extended partion on my internal HD (SDA6) called "Windows".
Any help Would be greatly aprechiated!!
fdisk -l would be good just to verify
Because maybe you have more than one disc and so on. If you know you just have one disc continue
If windows is already installed and you are using Grub
add this line to /boot/grub/menu.lst
title Windows XP
rootnoverify (hd0,6)
chainloader +1
you can normally open menu.lst only with root...
i recommend doing
sudo kate /boot/grub/menu.lst
scroll down and add what i gave you here.. you maybe want to change the 6 to another number while i dont know how many partitions youve got!
Hi, I'm new here!
I have misunderstood my friends request and installed Unbuntu on his Desktop. Now, He wants to Dual boot Windows!! I Have Customized this Unbuntu Installation and I don't want to erase it. I've searched Multiple Forms but no awnser! So I want somebody to please give me the exact code I need to dual boot.
Here is my information
Windows XP Pro Installed on extended partion on my internal HD (SDA6) called "Windows".
Any help Would be greatly aprechiated!!
You installed Ubuntu first rite??? and now, when u installed xp, grub (boot loader of ubuntu) gone... so u need 2 re-install grub..
to do this,
1> Boot into a Live CD (any flavour... ubuntu live cd is perfect)
2> open Gnome Terminal
3> type
sudo grub
4> you'll get grub prompt. (somenth lyk grub>)
then type
find /boot/grub/stage1
5> You'll get some output like (hd0,1)
( am assuming that the output is (hd0,1) )
6> type
root (hd0,1)
setup (hd0)
quit
Remove the LiveCD and reboot... you can see the grub bootloader... if u cant see the windows entry in that,
do as nibbl3r says.. it'll work only afrer re-installing grub.....
You need to post your fdisk -l output as previously suggested. You indicated xp was on a logical partition in your extended partition and if you do a search at the microsoft site, you will find xp doesn't boot from a logical partition unless its boot files are on a primary partition.
I Put The code at the the bottom of the grub file and, Now I cant even boot Unbuntu! Ive tryed recovery mode, Doesn't work. Ive Tryed Wondows and says I'm missing hal.dll. SOmeone please help me. I'm In a Live CD right know.
Are you using the Ubuntu Live CD? If you have the Ubuntu CD, you can load it and then open a terminal window and enter the command "sudo fdisk -l' to get partition information to post here. Without knowing that, there is no way for anyone to accurately give you information.
In your first post, you indicate xp is on sda6 which would be (hd0,5) to Grub. Was xp on this computer before you installed Ubuntu? Did you install xp after Ubuntu? Your post of the menu.lst file shows windows on (hd0,0) which would be sda1, first partition of first drive. Where is it?
Seriously you gotta answer some of our questions too otherwise we can just give you general advice which will bring you in a situation which you end up beeing stuck!
do the fdisk -l "you also should be able to do this on the livedisk" and post it here..! Simply removing the entries you got in your menu.lst should work out to start ubuntu.
Please post this fdisk -l
Tell us all the things you modified/did during the first time you posted this. Maybe you even considering to post the whole menu.lst again.
The more information the more specific the answers :-)
thank you!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.