0

I bought myself a new Acer AXC-603 computer a few months ago and, as I had been using Ubuntu for about five years, I've decided to configure my new machine in Dual Boot, keeping the majority of space for Windows, so that I can run a few games (even though it's far from being a gaming-computer). At first, the computer was set up with Windows 8. I was recommended to upgrade to Windows 10, once the initial Windows 8 configuration was done, which I did.

It's only after configuring Windows that I decided to install Ubuntu, but -not my best move- I only allocated about 18G to my main Ubuntu partition. It wasn't very long before I lacked space on it two days ago. I couldn't do the smallest thing without getting pop-up messages telling me the drive was full.

I've looked online to find out how I could simply resize my Windows partition in order to cut 20G from it and reallocate it to my Ubuntu partition. I must've done something wrong because right after resizsing my C: drive (after having defragmented it) Ubuntu won't boot. The GRUB screen appears, I select "ubuntu" (which I the first and default choice when I boot) and then, after a few seconds of Ubuntu's loading screen, everything goes blacks and I have to reboot.

I am currently on my LiveUSB. Here are some pictures of the situation, including from the Windows Disk Management (with which I cut off the 20G from the C:) and GParted.

Windows is installed on sda4, Ubuntu on my sda7. It's on the latter that I'd like to allocate the 19.53G of free space.

http://antoinemalette.com/documents/part2.jpg

http://antoinemalette.com/documents/part3.png

Thanks a million for your help. Don't hesitate to ask if you need more informations. True to my habits, I must have forgotten to specify important things. You're great.

Greetings from Montréal, Antoine

EDIT: I should also probably mention that I've started another thread (the same one, actually) on the French forums. There, I was given this advice:

Bonjour,

Tu bootes avec ton Live USB. Dans Gparted, tu désactives ta swap. Tu déplaces ta partition sda6 vers la gauche. Tu agrandis ta partition sda7 vers la gauche.

Ensuite, tu vérifies que les UUID sont correctes dans ton fstab. Tu montes la partition sda7 et :

cat /media/xxxxxxxxxxxx/etc/fstab

(tu peux aussi afficher ton fstab en graphique) Puis :

sudo blkid

Si les UUID correspondent, tu peux rebooter.

A+

which translates into something like this:

Hi,

You boot with your LiveUSB. Using GParted, you desactivate your swap. You move your sda6 partition to the left. You enlarge your sda7 partition to the left.

Then, you make sure your UUID are correct in your fstab. You mount the sda7 partition and:

cat /media/xxxxxxxxxxxx/etc/fstab

(you can also show your fstab graphically.) And:

sudo blkid

If the UUID match, you may reboot.

I haven't done it yet, not being home before tonight, but will try it as soon as I get back. I must admit that I'll have to do some preliminary readings as I don't know what UUID and fstab are... Anyway, I'll let you guys know.

  • @edward torvalds No, it's not a duplicate. He does not want to repair GRUB since it's working. He wants to repair Ubuntu. – Eduardo Cola Dec 30 '15 at 15:30
  • Note that if you want to increase sda7's size the unallocated space needs to be AFTER it, otherwise you will have data loss trouble. – Eduardo Cola Dec 30 '15 at 15:31
  • How did you resize the partition? If you resized your Windows partition with something like GParted, you made a big mistake. You should always resize Windows partitions using Disk Management in Windows. – John Scott Jan 3 '16 at 16:48
0

Bonjour Antoine,

The reason your Ubuntu is going black after boot is probably due to lack of disk space as you have mentioned. I don't think it has to do with your defragmentation nor removing 20 Gb from your windows paritions because you haven't physically allocated it to Ubuntu partition yet, reading from your GParted screenshot.

I believe your Ubuntu will be running normally after properly allocating that 20 Gb.

From your live usb, do the following:

  1. Right click sda6 and select Swapoff
  2. Right click sda6 again and select Resize/Move
  3. Drag (do not resize) the block all the way to the left, then click Resize/Move
  4. Right click sda7 and select Resize/Move
  5. Resize to include the unallocated 20 Gb into the sda7 partition, then click Resize/Move
  6. Click on apply all operations (check mark)

Restart Ubuntu and let us know!

|improve this answer|||||
  • Sorry to make my question emerge again but I have experienced the same problem again. 20Gb were apparently not enough space. My Ubuntu crashed again and I had to delete some useless packages to free enough space to boot again. I have repeated the operation you told me the last time, starting by liberating 200 additional Gb from my Windows partition (sda4). Once in Gparted though, I can't resize my sda7 by adding it the freed 200 Gb. antoinemalette.com/aide/sda7.png I'm stuck here: antoinemalette.com/aide/sda7_2.png Any ideas? Thanks a lot! Antoine – Antoine May 29 '16 at 13:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.