To delete windows from my laptop(with ubuntu installed already)

Asked by Julianchu on 2007-05-26

Hi
I installed unbuntu a few weeks ago, and now I completely don't wan't to go back to windows anymore. Ubuntu is so cool and useful to me.
I want to delete windows from my laptop. I have partition C: windows, and D: data in windows. And I can see them from ubuntu.
How can I delete windows so that I can let ubuntu have the whole disk partition? (I already had the windows useful data backed up)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Markus Thielmann
Solved:
2007-05-30
Last query:
2007-05-30
Last reply:
2007-05-26
Hanusz leszek (leszek-skynet) said : #1

Hello,

You can install gparted from Add/Remove
then go to system->administration->gnome partition editor

BE VERY CAREFUL WHEN DELETING PARTITIONS (make backups of important data)

find the ntfs or fat32 partitions, delete them
create an ext3 partition in the space liberated.
note the name of the partition created, something like /dev/sdb1

next, in the terminal: create a directory:
sudo mkdir -p /mnt/disk

next you need to modify the /etc/fstab file:
sudo gedit /etc/fstab

and add this line (replace /dev/sdb1 by the name of the partition you created)
/dev/sdb1 /mnt/disk ext3 defaults 0 2

then you can reboot your computer and your disk should be mounted on /mnt/disk

Best Markus Thielmann (thielmann) said : #2

If you want *one* big disk for Ubuntu (it's the way I prefer my PCs), then you might want to download the "GParted Live-CD" (http://gparted.sourceforge.net/livecd.php).

Then do the following:

1) Download the GParted Live-CD, burn it, boot it
2) Start GParted (it's on the desktop
3) Delete your NTFS partition
4) Resize you ext3 "/" Partition

The last step isn't possible when running GParted on your "real" Ubuntu system, as you can't unmount your root partition. So you may prefer this solution for your problem.

Julianchu (lingzedong) said : #3

Thanks Markus Thielmann, that solved my question.

Julianchu (lingzedong) said : #4

wow, GParted live-CD kicks ass!!
thanks

You can also do this using the Ubuntu install cd. it have gparted on it...!

Hope this helps