
merge disk in ubuntu
merge disk in ubuntu
Hi , I'm fresh about Linux .I find my 8G ubuntu 64bit's space is not enough . So I follow vkov_tinsky's method(viewtopic.php?t=10348) to resize to 16G . But I get a new disk below and don't know how to merge them . Please help me by an easy way .


-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: merge disk in ubuntu
VBox_tinsky's method is from 2008 and long obsolete.
Start again, this time read the user manual section on "VBoxManage modifyhd --resize". Make sure you are not using snapshots.
Start again, this time read the user manual section on "VBoxManage modifyhd --resize". Make sure you are not using snapshots.
Re: merge disk in ubuntu
mpack wrote:VBox_tinsky's method is from 2008 and long obsolete.
Start again, this time read the user manual section on "VBoxManage modifyhd --resize". Make sure you are not using snapshots.
Hi mpack,
Sorry for the late reply because of busing work . I use the new method and resize the disk to 16G (it's a very good method):
Code: Select all
D:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd "E:\project\Linux\ubuntu12 64bit\ubuntu 12 64bit.vdi" --resize 16384Really thanks .
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: merge disk in ubuntu
Next step is to use GParted as you did above: use the mouse to grab the right end of the existing partition, and drag to the right to fill the unallocated space.
Re: merge disk in ubuntu
It seems it's not very easy :http://www.netzgewitter.com/2011/08/res ... partition/mpack wrote:Next step is to use GParted as you did above: use the mouse to grab the right end of the existing partition, and drag to the right to fill the unallocated space.
Because I can't resize or unamount /dev/sda1
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: merge disk in ubuntu
You need to download the Gparted Live CD and boot the guest with the Live CD.
Re: merge disk in ubuntu
Solved ! Thank you every one .Perryg wrote:You need to download the Gparted Live CD and boot the guest with the Live CD.
My steps :
1.Resize the disk size from 8G to 16G using VBoxManage command .
Code: Select all
D:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd "E:\project\Linux\ubuntu12 64bit\ubuntu 12 64bit.vdi" --resize 163842.1 Down load GPared live CD : http://gparted.sourceforge.net/livecd.php
2.2 Power off Ubuntu .
2.3 Right click Ubuntu virtual machine -> setting ->storage -> IDE controller , click on the right side "add virtual CD-ROM" icon and select Gparted live CD (such as gparted-live-0.13.1-2.iso).
2.4 Start up Ubuntu and chose start with GParted . Then select something(I select default one) and language to start GParted and then you can resize /dev/sda1 now .