Results 1 to 8 of 8

Thread: How to extend /dev/sda1 disk space from 50 Gb to 100GB

Hybrid View

  1. #1
    Join Date
    May 2012
    Beans
    5

    How to extend /dev/sda1 disk space from 50 Gb to 100GB

    Hi, I am new to Ubuntu 11.04.

    I created a vm with Ubuntu 11.04 OS.

    allocated disk space of 50 GB. But now, i want to increase the disk space of sda1 from 50 GB to 100GB.

    So what are the steps to do that.

    Please help me to extend disk space..

    Thanks In advance

  2. #2
    Join Date
    Jan 2010
    Location
    Kolkata India
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    IF you are using virtualBox ,
    Open a terminal and navigate to the folder with the VirtualBox disk image, then use the following command .
    Code:
    VBoxManage modifyhd YOUR_HARD_DISK.vdi --resize SIZE_IN_MB
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

  3. #3
    Join Date
    May 2012
    Beans
    5

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    I dont have virtualBox installed.

    How can i do?

  4. #4
    Join Date
    Jan 2010
    Location
    Kolkata India
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    Quote Originally Posted by GuruPrasad123 View Post
    I created a vm with Ubuntu 11.04 OS.
    Then what virtualization software you are running ?
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

  5. #5
    Join Date
    May 2012
    Beans
    5

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    vmware tools(vcenter,ESX).

    I can increase the disk space through vm settings. but it is not reflecting (if i enter df -h , showing old disk space values).

    After adding more GBs through vm settings, what commands i need to run ?

  6. #6
    Join Date
    Jan 2010
    Location
    Kolkata India
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    Quote Originally Posted by GuruPrasad123 View Post
    vmware tools(vcenter,ESX).

    I can increase the disk space through vm settings. but it is not reflecting (if i enter df -h , showing old disk space values).

    After adding more GBs through vm settings, what commands i need to run ?
    Sorry i have not used VMWARE before , but folks out here can surely come up with some solutions .

    Cheers and best of luck !!
    “Progress is made by lazy men looking for easier ways to do things”
    — Robert A. Heinlein

  7. #7
    Join Date
    May 2012
    Beans
    5

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    Thanks Robert.

    Yes I hope someone from ur group will help me..

  8. #8
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,256
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: How to extend /dev/sda1 disk space from 50 Gb to 100GB

    Quote Originally Posted by GuruPrasad123 View Post
    vmware tools(vcenter,ESX).

    I can increase the disk space through vm settings. but it is not reflecting (if i enter df -h , showing old disk space values).

    After adding more GBs through vm settings, what commands i need to run ?
    I think the issue is that you've increased the maximum allowed size of the system, but the partitions are still the same size and need to be increased. I believe that this can be done using gparted. I would recommend first making a copy of your current Ubuntu virtual machine folder just in case something goes wrong (assuming you have space on your harddrive).

    First shutdown your virtual machine. Then find the .ISO that you used to install Ubuntu in the virtual machine, and choose to boot from that image (just as you did when you first installed it). Choose the Try Ubuntu option, and once the OS is up and running, launch gparted. You should now see the partitions that you set up when you first installed Ubuntu, and you should see a whole bunch of unallocated space (50Gb if I'm not mistaken). Just increase the size of your partition to include that unallocated space (this might take a while), and once it's completed, reboot to your Ubuntu installation and you should be good to go.

    Hope that helps.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •