The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Re size existing Ubuntu partition (Win 7 / Ubuntu 14.01.1 dual boot system)

    Discussion in 'Linux Compatibility and Software' started by JOSEA, Sep 10, 2014.

  1. JOSEA

    JOSEA NONE

    Reputations:
    4,013
    Messages:
    3,521
    Likes Received:
    170
    Trophy Points:
    131
    Screenshot from 2014-09-10 19:30:09.png I want to add the highlighted 97.66 GB partition to dev/sda5 (8.49 GB now). I have the entire system backed up now to an external drive. Thanks for any ideas short of a fresh install of Ubuntu
    I do have a live usb drive with U 14.04.1
     
  2. ajkula66

    ajkula66 Courage and Consequence

    Reputations:
    3,018
    Messages:
    3,198
    Likes Received:
    2,318
    Trophy Points:
    231
    GParted "live" CD?
     
  3. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Yes, gparted live on an ubuntu installer will do just fine.

    Grow the extended partition with gparted, then grow the 8.49GiB partition.
     
  4. JOSEA

    JOSEA NONE

    Reputations:
    4,013
    Messages:
    3,521
    Likes Received:
    170
    Trophy Points:
    131
    AWESOME, thanks so much guys! Only hitch was I did not know to turn swap off before resizing the extended. Boot was fine afterward also.
    Good to see you back AllufGroceries
    + 1 to all
    It is nice to have gparted on the live Ubuntu environment. Off TopicI used unetbootin (latest version) but I see 2 options to try 14.04.1 W/O ininstall
     
  5. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    Sorry - forgot about the swap keeping the partition active. To turn off swap, first find the partition/swapfile(s):
    Code:
    cat /proc/swap
    Then turn them off:
    Code:
    sudo swapoff /path/to/swapfile
     
  6. JOSEA

    JOSEA NONE

    Reputations:
    4,013
    Messages:
    3,521
    Likes Received:
    170
    Trophy Points:
    131
    Thanks Gpated let me do it from the program but good to know an alternate way. Since I have 16 GB ram I set swapiness to 10 in the /etc/sysctl.conf. Is this a good idea?
     
  7. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    I don't know - depends on how you use your system. ;)

    Many flamewars have been waged over swapiness.

    I'd recommend running htop and just keep an eye on it throughout a regular day. See how much swap gets used and take it from there.