LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-28-2007, 10:49 AM   #1
tahrenyie85
Member
 
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Rep: Reputation: 15
Uninstall Windows XP


Hi, I am currently using windows xp and ubuntu. Now i just want to use ubuntu, how can i remove windows xp and release all space to ubuntu?
 
Old 12-28-2007, 10:59 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by tahrenyie85 View Post
Hi, I am currently using windows xp and ubuntu. Now i just want to use ubuntu, how can i remove windows xp and release all space to ubuntu?
Ubuntu has GUI tools like GParted for this.
In fdisk you just delete both partitions and (re)create the one from Ubuntu(usually /home) to use all space.

Post the output from "fdisk /dev/hda" (or whatever) if you need more specified info.

Last edited by jens; 12-28-2007 at 11:01 AM.
 
Old 12-28-2007, 11:06 AM   #3
tahrenyie85
Member
 
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
Oh, thx, will grub update if i use gparted to remove windows xp?
 
Old 12-28-2007, 11:18 AM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by tahrenyie85 View Post
Oh, thx, will grub update if i use gparted to remove windows xp?
This depends on where your boot files are installed.
Posting your partition table would be very helpful.

Even if it doesn't boot you can simply reinstall grub using any cd/dvd/... that has grub.
 
Old 12-28-2007, 11:35 AM   #5
tahrenyie85
Member
 
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
oic. how can i reinstall my grub if my grub is corrupted?
 
Old 12-28-2007, 11:42 AM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Quote:
Originally Posted by tahrenyie85 View Post
oic. how can i reinstall my grub if my grub is corrupted?
Assuming you only have one hard drive (using your installation/live cd):
grub-install /dev/hda (for IDE)
grub-install /dev/sda (for SATA)

Last edited by jens; 12-28-2007 at 11:45 AM.
 
Old 12-28-2007, 11:59 AM   #7
tahrenyie85
Member
 
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
oic, thx for ur help.
 
  


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 uninstall X windows wincrk Linux - Newbie 3 05-11-2006 05:43 AM
Do I Need To Uninstall Windows First? Lez Munian Linux - Newbie 11 01-28-2006 10:47 AM
Uninstall Windows mbarreto Linux - General 6 10-22-2003 07:12 PM
How do I uninstall M$ Windows? crumb Linux - Newbie 26 07-31-2003 09:03 PM
How to uninstall Linux and keep Windows ? futurist Linux - General 7 03-19-2003 07:24 PM


All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration