Hello can someone give me short tutorial how to:
- Remove Windows 7 from my dual boot system (Ubuntu/Windows7)
- Let me use free space as new partition for data (so I don't need to extend Ubuntu itself here)
- Remove windows 7 option from boot screen
Update:
Thanks to Lekensteyn answer I successfully deleted windows. Now I created new partition (formatted to ext4), but I can not use it. I cannot copy files there, only as root.
Also when booting, Ubuntu complains it didn't find /windows partition (of course it didn't, I removed it). I feel like I should update some tables or what, any ideas?
Best Answer
These instructions are only valid if you're not using a Wubi installation
ext*
filesystem, you're wrong. A partition with the NTFS filesystem is more likely to be your windows partition)ext4
filesystemIf you're using Gnome Partition Manager, you will be offered to take the ownership of the partition. Otherwise, close the partition manager, mount the partition, open a terminal and run:
Since the windows partition is missing, GRUB's OS prober won't find it when detecting OSes. To remove the windows boot entry, open a terminal and run:
This assumes that GRUB is your bootloader which is always the case if you installed Ubuntu after windows 7.
If you've previously configured Ubuntu to auto-mount your Windows partition, you need to remove that. Edit the
/etc/fstab
file as root and remove the line regarding windows. Beware that you do not remove other lines as it may render your system unbootable which can be recovered with a Live CD only! Such a line may look like: