Increasing size of a virtualmachine using only the command line

Clash Royale CLAN TAG#URR8PPP up vote
1
down vote
favorite
There are countless guides and SO questions related to this question, but as far as I can find, they all use a GUI for at least some part of the answer.
I have an Ubuntu 14.4 server, to which I only have SSH access. I use this Ubuntu 14.04 as host to run a Ubuntu 12.04 guest. As such, I only use the command line for both the guest and host.
The guest is running out of disk space, and as such I whish to increase the current 200gb to 400gb.
VBoxManage modifyhd /data_nfs/VM/Ubuntu.vdi --resize 400000
Increasing the vdi size is easy, but for the next steps, I can only find instructions on how to do it using a GUI, like in this question. How can I do this from the command line?
command-line partitioning virtualbox
add a comment |Â
up vote
1
down vote
favorite
There are countless guides and SO questions related to this question, but as far as I can find, they all use a GUI for at least some part of the answer.
I have an Ubuntu 14.4 server, to which I only have SSH access. I use this Ubuntu 14.04 as host to run a Ubuntu 12.04 guest. As such, I only use the command line for both the guest and host.
The guest is running out of disk space, and as such I whish to increase the current 200gb to 400gb.
VBoxManage modifyhd /data_nfs/VM/Ubuntu.vdi --resize 400000
Increasing the vdi size is easy, but for the next steps, I can only find instructions on how to do it using a GUI, like in this question. How can I do this from the command line?
command-line partitioning virtualbox
See askubuntu.com/a/119458/799387. There will be no safeguards like there are ingparted, so don't mess up.
â dsstorefile1
May 9 at 10:28
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
There are countless guides and SO questions related to this question, but as far as I can find, they all use a GUI for at least some part of the answer.
I have an Ubuntu 14.4 server, to which I only have SSH access. I use this Ubuntu 14.04 as host to run a Ubuntu 12.04 guest. As such, I only use the command line for both the guest and host.
The guest is running out of disk space, and as such I whish to increase the current 200gb to 400gb.
VBoxManage modifyhd /data_nfs/VM/Ubuntu.vdi --resize 400000
Increasing the vdi size is easy, but for the next steps, I can only find instructions on how to do it using a GUI, like in this question. How can I do this from the command line?
command-line partitioning virtualbox
There are countless guides and SO questions related to this question, but as far as I can find, they all use a GUI for at least some part of the answer.
I have an Ubuntu 14.4 server, to which I only have SSH access. I use this Ubuntu 14.04 as host to run a Ubuntu 12.04 guest. As such, I only use the command line for both the guest and host.
The guest is running out of disk space, and as such I whish to increase the current 200gb to 400gb.
VBoxManage modifyhd /data_nfs/VM/Ubuntu.vdi --resize 400000
Increasing the vdi size is easy, but for the next steps, I can only find instructions on how to do it using a GUI, like in this question. How can I do this from the command line?
command-line partitioning virtualbox
asked May 9 at 9:19
Mitchell van Zuylen
1354
1354
See askubuntu.com/a/119458/799387. There will be no safeguards like there are ingparted, so don't mess up.
â dsstorefile1
May 9 at 10:28
add a comment |Â
See askubuntu.com/a/119458/799387. There will be no safeguards like there are ingparted, so don't mess up.
â dsstorefile1
May 9 at 10:28
See askubuntu.com/a/119458/799387. There will be no safeguards like there are in
gparted, so don't mess up.â dsstorefile1
May 9 at 10:28
See askubuntu.com/a/119458/799387. There will be no safeguards like there are in
gparted, so don't mess up.â dsstorefile1
May 9 at 10:28
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033949%2fincreasing-size-of-a-virtualmachine-using-only-the-command-line%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
See askubuntu.com/a/119458/799387. There will be no safeguards like there are in
gparted, so don't mess up.â dsstorefile1
May 9 at 10:28