LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 05-28-2009, 03:21 PM   #1
jrjone
LQ Newbie
 
Registered: May 2009
Location: UK
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
Question Wubi (ubuntu) installed with windows xp - how do i get rid of xp?


A month ago I finally got el humpo with Windows XP and so I downloaded WUBI which is an UBUNTU installer. It worked like a dream, and seems to get better every day. Q: Why did I put up with all the crap that Microsoft threw onto my laptop? A: Because I thought I had to. Now I know different.

This last week I've gradually moved all my necessary Windows files to USB drives and then transferred them onto Ubuntu. No problems.

Here comes my question: At present when I turn on the laptop I'm given a choice whether to boot into Windows XP or Ubuntu and you can guess which I pick every time. I'd like to know if
1) It's possible to now actually REMOVE XP from my laptop so my only os is Ubuntu, or 2) If I can't do that, how do I enable my laptop to just boot Ubuntu when it's switched on?
I LOVE UBUNTU!

Your help would be greatly appreciated, and thanks to everyone who helped me out with my headphones problem.

Here's hoping . . . .
 
Old 05-28-2009, 03:54 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
You should keep Windows. You never know when you are going to want to do something that is difficult on Linux and easy on Windows. Four of my five computers are dual boot with Windows as the alternate. You don't have to hate Windows when you enjoy Linux but it often works out that way.

Last edited by stress_junkie; 05-28-2009 at 03:59 PM.
 
Old 05-28-2009, 03:55 PM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Edit: Sorry; I was wrong about this; I was forgetting that Wubi installs onto the Windows partition itself. As ehawk says, you will need to transfer Ubuntu onto its own partition before following these instructions.

You can do both from within Ubuntu.

2) is easiest and I'd do that first. There's no actual GUI tool installed by default to setup the bootloader, but installing one is easy: Either run this command or install startupmanager from Synaptic:
Code:
sudo apt-get install startupmanager
To run startupmanager, either create an icon for /usr/sbin/startupmanager, or run
Code:
sudo startupmanager
Simply uncheck "Show bootloader menu" and you won't be prompted to boot Windows any more.

1) is also quite easy, but it carries a warning: if you delete the wrong partition, then you will have to re-install, so it's always a good idea to create a backup first.

All you need to do is to delete the Windows partition. Go to System/Administration/Partition Editor, and select the Windows partition (the file system type FAT32 or ntfs). Right-click on it and select "format to", then "ext3". You can also choose to mount the partition on your system to make use of the freed up space.

Hope that helps,

—Robert J Lee.

PS: stress_junkie makes a good point; Windows is actually not bad at many things. Personally, though, I haven't used Windows on my own computer for about 8 years, and there are very few times that I've ever wanted a Windows machine for anything other than compatibility testing on websites.

Last edited by rjlee; 05-29-2009 at 01:35 PM.
 
Old 05-28-2009, 04:01 PM   #4
verdeboy2k
Member
 
Registered: Jan 2004
Location: /dev/random
Distribution: Gentoo amd64, CrunchBang amd64
Posts: 350

Rep: Reputation: 32
Completely removing XP is easy. All you need to do is delete the partition. If you want to grant more room to Ubuntu, you can use a partition resizing tool to give Ubuntu WinXP's space.

If you need and or want to keep XP around, you can change the default boot entry in GRUB or if you wanted to remove the entry for Windows in its entirety, you can simply delete the lines from '/boot/grub/menu.lst' that look like this:
Code:
title=Windows XP Pro
rootnoverify (hd0,0)
makeactive
chainloader +1
This was taken from my GRUB configuration, what Ubuntu calls it may vary.

Useful Links
How-To use GParted - a GUI partition editing tool.
Howto Change Ubuntu Boot Parameters

Google turned up hundreds, there are just the best looking ones.
 
Old 05-28-2009, 09:53 PM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
I think some of the well-intentioned folks trying to help you out don't quite understand how Wubi works.

There is no Ubuntu partition with Wubi.

Wubi installs a virtual partition for Ubuntu insider of Windows (it's just one very large file inside the Windows partition) and then modifies the Windows boot loader (not Grub) to add an entry for that file.

So you cannot delete the Windows partition from Ubuntu, as Ubuntu (installed with Wubi, anyway) is dependent on the Windows partition's existence.
 
Old 05-28-2009, 10:07 PM   #6
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Yes, please see previous post. Wubi installs ubuntu WITHIN the windows partition. To remove XP you must first put ubuntu on its own partition. You can do this using LVPM from within your wubi installation.

http://lubi.sourceforge.net/lvpm.html
 
Old 05-30-2009, 07:21 AM   #7
jrjone
LQ Newbie
 
Registered: May 2009
Location: UK
Distribution: Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ehawk View Post
Yes, please see previous post. Wubi installs ubuntu WITHIN the windows partition. To remove XP you must first put ubuntu on its own partition. You can do this using LVPM from within your wubi installation.
Hi, thanks. I've installed LVPM, or I think I have because I can't find it anywhere! I even went back and did it a second time and chose "Run" instead of "Install" but nothing happened.
 
Old 05-30-2009, 09:28 AM   #8
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Hi

I have not used it myself. I thought it would be possible to use following the directions on the web page I linked. You can also read and ask about it at the ubuntu forums:

http://ubuntuforums.org/showthread.php?t=438591

There is supposedly a tutorial video here:

http://www.mefeedia.com/entry/upgrad...-lvpm/13403233

Here is the contact information for the developer of LVPM:

https://wiki.ubuntu.com/GezaKovacs

http://www.linuxhaxor.net/2008/12/06...ted-partition/

Last edited by ehawk; 05-30-2009 at 09:48 AM.
 
Old 06-03-2009, 08:01 PM   #9
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 956

Rep: Reputation: 34
probabbly the easiest way allthugh it would mean starting again is just to get a normal ubuntu cd (non wubi) pop that in the cd drive, boot and when you get to the partitioner select use whole disk
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access wubi installed ubuntu files from windows? roggggor Ubuntu 1 11-23-2011 07:39 AM
Are files in Ubuntu installed with Wubi readable by Fedora? smurthy Fedora 5 01-21-2011 11:27 AM
Need help connecting to internet through ubuntu 8.04 installed through Wubi girsdeciple Linux - Newbie 2 07-09-2009 05:39 PM
Just installed Ubuntu with Wubi. Is linux right for me? PSBubcha Linux - Newbie 7 03-29-2009 03:09 AM
how to use ubuntu wubi installed system for new clean install waynenener Ubuntu 3 03-01-2009 12:55 AM


All times are GMT -5. The time now is 04:54 PM.

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