I was trying to install Ubuntu along with windows but accidentally I got my entire hard disk wiped out and ubuntu remained. Now, Ubuntu is installed as considering my entire 500 gb as one drive (that too root ) with some space allocated to swap and all... Now , is there any option so that I could make some drives out of the situation...
Any help will be great.. thanks Piyush
Yes! :D but you'd have to do it from your live USB or CD. you can't resize an active partition! (an active partition is one that is being used)
Just boot from your USB/CD then open gparted and resize it :) you can follow these steps or this question. Tell me if there's something you don't understand :)
Yes, of course, you can use
gparted
. But the problem is that you can not edit a partition when it is mounted so you have to make a usb startup disk first (using e.g. startup disk creator which is also calledusb-creator-gtk
). If your computer has access to a DVD drive you can burn the ubuntu disk image onto a DVD as well.When you started the computer with the live disk, open a terminal and enter
When prompted for password, just press enter and then you can edit the partition table.
One general hint (which may not be applicable to your situation) is that it takes much less time if the new partition you create, lies at the end of the original partition and not the beginning (because otherwise gparted has to move all the original partition bit-by-bit). So, just resize the original partition and do not move it, otherwise the job can take a few hours.
If you want, you may be able to recover your windows partition using testdisk (before repartitioning of course).