Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-28-2007, 09:34 AM   #1
LQ Newbie
Registered: Sep 2007
Distribution: SLAX, Ubuntu 7.10
Posts: 11

Rep: Reputation: 0
Dual Boot back to single boot

Changing From a Dual Boot setup (XP/LINUX) back to Single Boot (XP).
A few things before we get started, if you have important stuff on your linux partition(s) back them up because you will lose it all! Like many in this community i experimented with dual booting my machine (XP/Ubuntu 7.10). I really like Ubuntu, but that machine was my gaming rig so i didn't use Ubuntu on it except for the first week while i was screwing around with it. So i decided this setup was not functional for this particular machine. Back to Single Boot it was for me. This is just how i did it (from what i remember). There are no doubt multiple ways to get the desired effect.

What you will need:
1. Copy of XP
2. Copy of Gparted

The process:
1. Download Gparted and burn it to a disk.
2. Pop in the XP disk and reboot, set you BIOS to boot from CDROM
3. Take a look at all the partitions on your drive, delete the Linux formatted partitions. You'll know they're Linux formatted because it will say unknown for the file system. There should be at least 2, your main Linux partition and the swap partition.
4. Reboot with XP in the drive again. boot into the recovery console. type fixmbr [device_name]. if you don't know the device name you can find it using the map command. you may be asked for the administrative password so enter it.
5. Place Gparted into the drive and reboot, again set BIOS to boot from CDROM
6. You'll have to play with what kind of session you want, just find one that lets you boot into the GUI, might have to try a few.
7. Gparted is very easy to use, just select what partition and chose to extend it to use the full drive, or repartition the empty space into something else if you like.
8. Reboot your machine. Set BIOS to boot from the hard drive. If all went well you'll see that familiar XP boot screen.
9. Windows might go into a check disk scan to make sure the drive isn't damaged because of the detected changes. Windows will start and "Find new Hardware". It will install the new hardware and ask you to reboot in order to fully use the "New Hardware". This is the last time you should have to reboot.
10. enjoy XP all over again.

Other Notes:
All the files on the XP partition should be undisturbed and everything should function the same as before but the partition is larger. If i have left anything out or if i just got something flat wrong please let me know and i will update the post. If you have an alternate way to go hback to Single Boot feel free to reply to this post. Also if you have instructions on how to go back to single boot from an XP/Vista, Vista/XP, Vista/Linux, Linux/Vista dual boot please post it here as well. Happy Hacking!
Old 12-28-2007, 09:58 AM   #2
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Rep: Reputation: 15
Hi, how to do if i want to uninstall xp, cos now i just want to use linux.
Old 12-28-2007, 10:04 AM   #3
LQ Newbie
Registered: Sep 2007
Distribution: SLAX, Ubuntu 7.10
Posts: 11

Original Poster
Rep: Reputation: 0
Not sure how do to that. You'd have to screw around with GRUB or whatever boot loader you're using for Linux. If anyone knows how please post it here.
Old 12-31-2007, 04:09 AM   #4
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,356

Rep: Reputation: 76
You will want to recover the Windows partition for use in Linux. I would format it with ext3 or whatever your favourite filesystem is, create a mount point for it and an entry in fstab. Then you will be able to use it for storing data as you please.

Editing the windows lines in /boot/grub/menu/lst will remove the option of booting into windows.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XP won't boot, loops back to GRUB: dual-boot XP and Ubuntu dan2010 Linux - Newbie 4 08-08-2007 12:09 PM
Dual boot single harddrive sniderj Linux - Newbie 4 12-14-2006 07:57 AM
Dual boot on a single partition ritchies Linux - Desktop 4 11-23-2006 01:42 AM
Dual boot (with XP) on single hard drive ??? prn Linux - General 7 10-18-2006 03:19 PM
Dual boot single drive toolshed Linux - Software 2 08-21-2001 02:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration