PDA

View Full Version : [ubuntu] Switch from Dual boot to Single boot



ajdrew06
August 16th, 2010, 05:46 AM
Hi All,

I use Ubuntu 9.04 as my main OS, and I wanted to try 10.04 a try. I installed 10.04 side-by-side, so I opt which version I want when I boot. Now, I am satisfied with 10.04, and I was wondering if there is a way to get rid of 9.04 without reformatting the entire drive.

Thank you!

diablo75
August 16th, 2010, 06:53 AM
Best thing to do is download a copy of Gparted and use it to delete the partition that houses your copy of 9.04. Be sure you delete the correct one. Then use Gparted to stretch the size of your 10.04 partition out to fill in the gap created by deleting the old system.

This will likely take Grub out for the count when you do this and you'll need to reinstall grub using a 10.04 Live CD.

http://gparted.sourceforge.net/

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Having said that... if I were you, I'd format and start from scratch because it will take far less time to do that, not counting the time to backup personal data before starting from scratch. If you need motivation for formatting instead of deleting the old and resizing the new, just take a look at that second link above. Just my opinion, but setting grub up after it's been wiped out is kind of a pain. Sometimes the easiest route is also the best, but it's up to you.

ajdrew06
August 17th, 2010, 02:41 AM
Hi diablo75,

I downloaded GParted, and I deleted the partition with 9.04. I don't know how to stretch the partition with 10.04. Perhaps, you could help me with this further! Thank you!

wilee-nilee
August 17th, 2010, 03:19 AM
Hi diablo75,

I downloaded GParted, and I deleted the partition with 9.04. I don't know how to stretch the partition with 10.04. Perhaps, you could help me with this further! Thank you!

Post a screenshot of gparted.

oldfred
August 17th, 2010, 04:44 AM
I would suggest converting the space to /home or /data and not moving your existing install.

To move /home uses rsync (cp with -a should also work):
https://help.ubuntu.com/community/Partitioning/Home/Moving
Uses cp -ax
http://www.ivankuznetsov.com/2008/04/moving-home-to-its-own-partition.html
cp without -a and copying as sudo root takes ownership

Partitioning basics with some info on /data older but still relevant
http://ubuntuforums.org/showthread.php?t=282018&highlight=separate+%2Fdata+partition