0

Have seen a few questions regarding this but didn't help my case.

I have installed Ubuntu 17.04 alongside Windows 8 using a dual boot setup(Have to boot into ubuntu using f9 key and selecting device to boot.Have an HP laptop so grub does not show up by default.)

So i have some unallocated space and i would like to increase the size of my root partition by using the unallocated space plus it's current size.

Here is a picture of my results from Gparted using Ubuntu Live Disk Gparted Screen shot of System

The unallocated space shown in the picture needs to be added to the partition name /dev/sda9

I believe i cannot use the normal "move to left and resize approach" as shown here. Reference Question Link

Do tell me if it might be possible to resize my system in the first place.I didn't realize this that i would be facing such space shortage as i have just finished setting up the system.

6
  • 1
    @Terrance -- since sda11 can't be moved, the only way to get space into sda9 is to make a new partition, and mount it into a folder in sda9 or to reinstall. In this instance a reinstall is the best solution since Ubuntu isn't installed in EFI mode.
    – ravery
    Dec 23, 2017 at 18:24
  • @ravery You win. However, sda6 will still have to be moved to reclaim the 24GB to be used in the reinstallation of Ubuntu even in UEFI mode.
    – Terrance
    Dec 23, 2017 at 18:58
  • @Terrance -- yes sda6, not sda7 thank you for the correction. the small space after sda7 probably can't be reclaimed, unless added to sda7, because of partition alignment.
    – ravery
    Dec 23, 2017 at 19:01
  • 1
    1MB unallocated space is best just to leave it alone. superuser.com/questions/847775/…
    – Terrance
    Dec 23, 2017 at 19:04
  • @ravery, he can move sda9... might have to reinstall grub afterwords, but it can be moved. Also it is 95 mb but only needs to be 1 mb so it could be shrunk at the same time.
    – psusi
    Dec 24, 2017 at 1:33

1 Answer 1

1

Being an HP computer has nothing to do with grub not showing. The reason that you are having trouble with grub, is because you installed ubuntu in Legacy mode instead of EFI mode. If you reinstall in EFI mode then you won't have to press F9, grub will boot and allow you to choose which OS to load.

What I would do:

It is best to use Windows to manipulate Windows' partitions. Start Window and using the disk manager, move /sda6 to the right. Then delete the linux partitions.
Next, reboot while pressing the F10 to get to the system settings menu. Turn off legacy boot to insure that ubuntu boots in EFI mode.
After installing Ubuntu, Press F10 while booting and change the OS boot selection to Ubuntu. Now grub will boot and allow you to select Windows or Ubuntu.

If you don't want to reinstall:

I assume /sda9 is the root partition and sda12 is a /home partition. If this is the case, then root is large enough. You probably want to add space to the home partition (sda12).
Use windows to move /sda6 to the right. then use gparted to add the free space to /sda12.

4
  • Okay.So with my current setup i cannot add extra space to root without reinstalling right? And extra space for home will not be needed as i have mounted my other partitions and i keep all my stuff there. Dec 25, 2017 at 6:15
  • @DhruvMarwha -- correct. With a seperate /home partition, 19GB is plenty of space for root. Just remember to remove old kernels. However, I would reinstall anyway because you have both OS's in different boot modes. That is why you have to use F9 to select which to boot.
    – ravery
    Dec 25, 2017 at 8:32
  • Hmm.Ok.Maybe i might reinstall later as right now i do not have very good internet access so updating Ubuntu properly will not be possible. Dec 25, 2017 at 13:37
  • Ravery-can you help me with another issue that I am having? I did the reinstall of my Ubuntu system but when I try to set the priority of the os in bios,it does not save the settings.Even though I save and exit,it places the windows boot manager on top and Ubuntu below. Dec 25, 2017 at 20:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .