Weird Network

Archive for the ‘Linux’ Category

Linux --> Linux + Windows
Linux –> Linux + Windows

For all enthutiasts of Linux, here is a post for dual booting from Linux –> Linux + Windows XP.

Personally, I have been using Ubuntu Intrepid from past month and I’m quite enjoying it too. All those work which I considered as loopholes or ‘the things I wanted’ in Windows XP are available to serve on Ubuntu. Many of you must be thinking that I should have post another way around, that is ‘Windows –> Windows + Linxu’ but why I’m doing it’s reciprocal. Well the answer is simple, I wish to have Ubuntu as my primary OS then Windows as secondary (that too for work of my sisters). So I feel that I should install XP as secondary OS in my HDD (will tweak whenever I will get time).

So here the step goes:

Step 1:
Scenario: You want to install XP on your machine alongside your existing Linux installation on the same physical drive which already has Ubuntu 8.04 installed.
Tutorial Summary: We’ll create space on the Linux partition to install Windows XP. XP bootloader is fairly clumsy when it comes to dualbooting and will overwrite GRUB completely. We’ll reinstall GRUB to the MBR and configure it to dualboot both Ubuntu and XP.

Disclaimer: Do at your own risk, I will not be responsible for any kind of data loss or for the fate of your system

Grub Backup
Grub Backup : Click to zoom

Step 2:
Back up the GRUB boot menu
Regardless of which bootloader you end up using, it’s a very good move to first back up the GRUB bootloader. It’s easy to lose it and unless you know how to re-write it from scratch then you’re generally facing a full reinstallation of Ubuntu.

Firstly, boot into Ubuntu and go to Applications –> Accessories –> Terminal. Then, type in sudo gedit /boot/grub/menu.lst.

This text file contains all the information GRUB uses to configure various boot options. Scroll down and the entries between “## ## End Default Options ##” and “### END DEBIAN AUTOMATIC KERNELS LIST” are the Linux boot options.

Step 4 : ... continue              [//made being offline]
click to zoom.

Make a backup of the file by going to File, Save As and selecting a different location. Or take a full copy of the contents and place it into a new text file. If you can, create the backup on a removable disk or networked location.
Step 3:
Make space for XP
Now we need to create space on the hard drive for XP, so this will involve resizing the main Ubuntu partition. Restart the system using the Ubuntu Live CD as this gives you access to GNOME Partition Editor. When the CD loads, select “Try Ubuntu without any change to your computer”.
Editing Partition using Partition Editor
Once the CD loads, go to System, Administration, Partition Editor.
Handling the drives: scrshot from Ankur's Ubuntu
Right-click on the main data partition which has been formatted with ext3 – it should be /dev/sda1 – and select “Resize/Move”
Resizing the partition: making space for XP
Move the slider from the right to shrink the ext3 partition and create free space on the hard drive, which will take the NTFS XP partition. Make sure that the free space is sufficient to hold XP (at least 2GB – preferably 5GB). Then click “Resize/Move” to confirm the selection, and “Apply” back in the main screen to carry out the pending change.

Step 5:
Offline DB
Offline DB 2
Offline DB 3

Thta’s it! Now you have been upgraded from Linux (Ubuntu) to Ubuntu + Windows XP..

Do comment.


For Admin