Friday, December 4, 2015

dual boot - Hard-Disk Partitioning: Please Help Me! :(



Guys i am new to linux and all that stuff. I installed ubuntu alongside windows 8.1 a few days ago and i am not happy with the hard disk partition so i installed gparted, i want to add the unallocated part to sda5. Is there anyway i can do it without shutting down my computer?
I was going to add a picture for more info but apparently my rep isn't high enough :) But here some info from gparted:







  • Partition ......... File System ....... Mount Point ........... Label ................... Size ............ Flags

  • /dev/sda1 ........ ntfs .............................. * ............. System Reserved ..... 350.00 MiB ...... boot


  • /dev/sda2 ........ ntfs ...............................* .......................... * ................... 81.93 GiB ............ *

  • unallocated ..... unallocated ..................* .......................... * ................... 18.54 GiB ............ *

  • /dev/sda3 ........ extended ......................* .......................... * ................... 18.42 GiB ............ *


    • /dev/sda5 ........ ext4 ....................... / .......................... * ................... 14.51 GiB ............ *

    • /dev/sda6 ........ linux-swap ............* .......................... * ..................... 3.91 GiB ............. *








i used (*) for empty






And if it's important there was a key symbol next to sda 3-5-6




  1. Boot from Ubuntu LiveUSB. Choose "Try Ubuntu" and start gparted.



  2. Run in terminal sudo swapoff -a


  3. Resize sda3 partition left.


  4. Resize sda5 partition left.


  5. Run in terminal



    sudo mount /dev/sda5 /mnt
    sudo chroot /mnt
    sudo grub-install /dev/sda

  6. Reboot.




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 (...