dual booting XP and ubuntu with ubuntu being installed first
I have a problem that apparently many dont have. I have just been baptised into the linux religion and abandoned windows. Then my programming lecturer tells us we're learning Visual Basic 6 so i need to install xp again. I told him i'd use Gambas instead of VB but he refused. So here's the problem:
Running Ubuntu Edgy on 40GB HDD without partitions, ext3 runs till the end of the drive.i want to go 50-50 and resize my ubuntu installation to 20GB then give 20Gb to XP. First step i know is to resize ubuntu which i tried with gparted and qtparted but realised that it wont resize (option to resize is grayed out). I've read up and some say that i need to use the liveCD somehow and it'll work. how do i use the livecd? do you mean click install then partition using the dialog that we faced when installing ubuntu from the livecd in the first place? Is there a better way?... I also know that if thats succesful installing windows on the extra space might destroy grub and i need super grub... i've already got the supergrubCD but what do i do with it?... Any guidance on that?... Pls help this newcomer linux newbie. |
GRUB problem
I finally managed it... I used my UBUNTU livecd to resize my ext3 using gparted from the system menu. I installed windows and now i have both OS's running. But i still have one problem:
After installing windows it destroyed grub on the MBR. Thats normal. So i fixed grub with the SuperGrubDisk. After that i could boot ubuntu. then i realised it only boots ubuntu! I couldn't get a grub menu that had both XP and ubuntu boot options. So i used SuperGrubDisk again to fix windows bootloader. This time i could only boot XP and not Ubuntu. I can do this continuously to boot either XP or ubuntu but i can never get a menu with both. How do i solve this? |
I don't believe this.
Next time when you are in Ubuntu add these lines to its /boot/grub/menu.lst Code:
title My windows If you don't know where is XP then at the Ubuntu's Grub boot screen press "c" to drop into a Grub prompt. You then shout at Grub's face "Show the partition layout of my first hard disk (hd0)" by command Code:
geometry (hd0) Code:
root (hd0,2) Remeber there is no PC system that a Grub prompt cannot boot! |
I recommend you also look at VMWare server. That way you can run Windows natively in Linux as a virtual machine. That's what I do, and it's much nicer than my old dual-boot option, as both OS' are running at the same time. Good luck!
|
registering,
Should also tell each system runs at 50% of the ram and 1/4 if 4 systems are loaded. |
Resolved the issue!!
Quote:
LILO!! Lilo managed to find xp and ubuntu and with the lilo-config i finally could dual boot in peace. Actually i installed windows on hda2 which is (hdo,1) And i actually tried editing the menu.lst but it wouldn't work although i typed in just what you said. I know the issue is resolved but i still want to know what went wrong with my procedure. Can someone tell me? First i installed linux from start to finish on my 40GB drive with no partitions. In gparted it will show two automatic partitions which is ext3 on hda1 and extended partition containing linux swap on another partition (not sure what the name is). Then i resized ext3 with the livecd which created free space between ext3 and the extended partition. I then went on to create a fat32 partition in the free space. Finally i had ext3 on hda1, fat32 on hda2, extended on hda3 which contained the linux swap on hda5. I installed xp on the fat32 by doing a quick format into fat during xp install. Then i could boot straight into windows. XP didnt recognise the other linux partition in 'my computer'. I used SUPERGRUBDISK and fixed grub boot on the MBR. I could then boot straight into ubuntu. Ubuntu didn't recognise the windows partition in 'computer'. There was only filesystem. I used SGD again to fix windows bootloader so i could now boot straight into windows and i was back at square one apparently and so it continued like that. I always needed SGD to boot into the other OS. Then i installed LILO and config'd it and im good. But windows still cant see linux and linux cant see windows which is something i'd like to fix. So tell me guys, what went wrong from the start? PS: thank you all so much for your help, i really appreciate it. Is my new problem something fixable?... |
You can also do like this:
Quote:
And so: Quote:
|
All times are GMT -5. The time now is 08:48 PM. |