Wednesday, March 2, 2016

dual boot - Increase Ubuntu disk space/partition size


I'm reasonably new to all this, and I have already checked for previous answers but none of them seem to fit with my GParted analysis (below), as other people's results don't really look anything like mine... Moreover, when GParted doesn't seem to allow me to resize anything by the dragging process recommended in other answers.


Essentially, my Ubuntu root hard disk (partition) is only 30GB, and I really need more space to be able to install some new software.


As you can see from the screenshot below, I have 900GB on on my Windows partition; this is completely unused, and there is nothing saved on there.


Would someone be able to briefly explain the simplest way I can transfer some of this hard disk space to my Ubuntu partition?


Many thanks in advance!


My GParted analysis



You can't resize /dev/sda3 because gparted thinks the partition is in an unknown state... as seen by the red icon.


Boot into Windows. Run chkdsk /f C:. You'll need to reboot to do this. Also turn off FAST BOOT and HIBERNATION...


- boot into Windows
- open the Power control panel
- choose `change what the power buttons do`
- choose `change options that are unavailable`
- uncheck `fast startup`
- close the Power control panel
- open an administrative command prompt window
- type `powercfg /h off`
- type `chkdsk /f c:`
- approve to run chkdsk at next reboot
- type `chkdsk /f x:` (replacing "x" with drive letters of other **visible** NTFS partitions)
- reboot into Windows to let chkdsk run on drive C:

To resize your partitions...


NOTE: MAKE GOOD BACKUPS OF YOUR IMPORTANT WINDOWS/UBUNTU FILES FIRST!



  • resize /dev/sda3 (your C: drive) USING A WINDOWS APPLICATION like Disk Manager or a third party tool.


  • move /dev/sda4 and /dev/sda5 all the way left using the same WINDOWS app.


  • reboot Windows to assure that it still boots.


  • then boot to a Ubuntu Live DVD/USB and use gparted to move the /dev/sda6 partition left, and resize the right side of the /dev/sda6 partition to the right.



Keep these things in mind when using gparted:



  • always start the entire procedure with issuing a swapoff on any mounted swap partitions, and end the entire procedure with issuing a swapon on that same swap partition


  • a move is done by pointing the mouse pointer at the center of a partition and dragging it left/right with the hand cursor


  • a resize is done by dragging the left/right side of a partition to the left/right with the directional arrow cursor


  • if any partition can't be moved/resized graphically, you may have to manually enter the specific required numeric data (don't do this unless I instruct you to)


  • you begin any move/resize by right-clicking on the partition in the lower pane of the main window, and selecting the desired action from the popup menu, then finishing that action in the new move/resize window



No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...