2

So, I was getting rid of my openSUSE to install lubuntu. In the process, I didn't manage my hard drive partitions well enough and as a result, I lost my windows 7 partition. I got over the loss, and formatted my entire hard drive by install lubuntu over all the space. (I tried first installing windows 7, but I kept getting some weird errors during the partitioning process). I was wondering now if I could resize my lubuntu partition so I can install windows 7 again.

Here is a gparted screenshot:

enter image description here

Can anyone help me out? I have all my Linux disks and my windows disks.

Thank you.

jobin
  • 28,567
de1337ed
  • 163

3 Answers3

0

You can't resize a mounted partition and since you are already in Ubuntu, the / partition is mounted. What you need to do is to boot into live by making a USB bootable with Ubuntu and launch gparted from there. In gparted, right-click your /dev/sda4 and you can resize it according to your wish.

0

In order to adjust your disc partitions with Gparted, the disc needs to be accessed from 'outside' as it were. You do this by getting Ubuntu going from the Live CD (ie 'boot into live') and then run Gparted from there. Ubuntu is then running from RAM rather than your hard disc. If dev/sda1 still exists as your screenshot shows, you should be able to reinstate your old Win7 to that ntfs partition. And yes, you can resize your Ubuntu partition, but only by using the Live CD as in paragraph 1.

Sun Dial
  • 421
0

The best thing I would suggest you, in case you can bear to lose your data(seems like you don't have much left ;-)), is first cleaning up your entire disk using gparted by inserting your Lubuntu or Windows 7 CD/DVD/USB and then installing Windows 7 followed by Lubuntu after checking what errors you are getting about partitioning while installing Windows 7.

Thomas Ward
  • 78,878
jobin
  • 28,567