how to increase /home partition located in disk0 using unallocated partition in disk1?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
My laptop has 1TB of space. I have windows in it and then installed Ubuntu 16
both windows and Ubuntu with its partitions(two partitions: /(59GB) and /home(7GB)) are on disk 0 with 119GB space. The other disk (disk1) has 930 GB and is pretty much empty.
I want more space for my Ubuntu. I made a partition in disk1 of size 480GB of "unallocated space"
Now how do I move whole Ubuntu there? or at least /home partition?
I saw many tutorial but the majority have the unallocated space in the same disk while I want to move Ubuntu to another disk THEN expand it without losing any data
I also found a tutorial here, but many comments said it was "outdated" and I am not exactly an expert to be able to know what to do especially that any mistake could mean permanent data loss.
Here are screenshots of Gparted from my installed Ubuntu 16.04
And the same screenshots from Windows disk manager and from Gparted on an Ubuntu live usb (disk0 and disk1)
Which partitions should I move and how?
EDIT
I used @Byte Commander 's advice and copied my home partition to disk1.
enter image description here
Now the next steo was to edit /etc/fstab file but I dont know how to do so
I didnt know how to do it from the liveUSB so I just rebooted and did it from ubuntu.. what happened is literally this
The line I added:
enter image description here
I added it first in liveusb but nothing happened so I did it in ubuntu
I used the best answer there and erased the line I added
now what should I do? and how to edit /etc/fstab file? what to edit/add and in livrusb or from ubuntu?
thanks!
partitioning windows gparted partitions
add a comment |Â
up vote
0
down vote
favorite
My laptop has 1TB of space. I have windows in it and then installed Ubuntu 16
both windows and Ubuntu with its partitions(two partitions: /(59GB) and /home(7GB)) are on disk 0 with 119GB space. The other disk (disk1) has 930 GB and is pretty much empty.
I want more space for my Ubuntu. I made a partition in disk1 of size 480GB of "unallocated space"
Now how do I move whole Ubuntu there? or at least /home partition?
I saw many tutorial but the majority have the unallocated space in the same disk while I want to move Ubuntu to another disk THEN expand it without losing any data
I also found a tutorial here, but many comments said it was "outdated" and I am not exactly an expert to be able to know what to do especially that any mistake could mean permanent data loss.
Here are screenshots of Gparted from my installed Ubuntu 16.04
And the same screenshots from Windows disk manager and from Gparted on an Ubuntu live usb (disk0 and disk1)
Which partitions should I move and how?
EDIT
I used @Byte Commander 's advice and copied my home partition to disk1.
enter image description here
Now the next steo was to edit /etc/fstab file but I dont know how to do so
I didnt know how to do it from the liveUSB so I just rebooted and did it from ubuntu.. what happened is literally this
The line I added:
enter image description here
I added it first in liveusb but nothing happened so I did it in ubuntu
I used the best answer there and erased the line I added
now what should I do? and how to edit /etc/fstab file? what to edit/add and in livrusb or from ubuntu?
thanks!
partitioning windows gparted partitions
You can not directly span one partition across multiple disks (you can using LVM, but setting that up is unnecessarily complex for your use case, I believe). So instead, I would recommend you to create a new ext4 partition on the sdb disk, then copy all files from your old /home there and edit your/etc/fstab
file to use the new partition as home instead. After a reboot you can then delete the old home partition and expand your Ubuntu root partition with the now unallocated space on sda. How does that sound?
â Byte Commander
Feb 20 at 13:01
brilliant! so it is actually possible to have /home and / in different disks! I thought it was impossible :D. I will try your solution. Thank you!
â RRR
Feb 20 at 13:06
Some more details on moving /home. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
â oldfred
Feb 20 at 14:58
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
My laptop has 1TB of space. I have windows in it and then installed Ubuntu 16
both windows and Ubuntu with its partitions(two partitions: /(59GB) and /home(7GB)) are on disk 0 with 119GB space. The other disk (disk1) has 930 GB and is pretty much empty.
I want more space for my Ubuntu. I made a partition in disk1 of size 480GB of "unallocated space"
Now how do I move whole Ubuntu there? or at least /home partition?
I saw many tutorial but the majority have the unallocated space in the same disk while I want to move Ubuntu to another disk THEN expand it without losing any data
I also found a tutorial here, but many comments said it was "outdated" and I am not exactly an expert to be able to know what to do especially that any mistake could mean permanent data loss.
Here are screenshots of Gparted from my installed Ubuntu 16.04
And the same screenshots from Windows disk manager and from Gparted on an Ubuntu live usb (disk0 and disk1)
Which partitions should I move and how?
EDIT
I used @Byte Commander 's advice and copied my home partition to disk1.
enter image description here
Now the next steo was to edit /etc/fstab file but I dont know how to do so
I didnt know how to do it from the liveUSB so I just rebooted and did it from ubuntu.. what happened is literally this
The line I added:
enter image description here
I added it first in liveusb but nothing happened so I did it in ubuntu
I used the best answer there and erased the line I added
now what should I do? and how to edit /etc/fstab file? what to edit/add and in livrusb or from ubuntu?
thanks!
partitioning windows gparted partitions
My laptop has 1TB of space. I have windows in it and then installed Ubuntu 16
both windows and Ubuntu with its partitions(two partitions: /(59GB) and /home(7GB)) are on disk 0 with 119GB space. The other disk (disk1) has 930 GB and is pretty much empty.
I want more space for my Ubuntu. I made a partition in disk1 of size 480GB of "unallocated space"
Now how do I move whole Ubuntu there? or at least /home partition?
I saw many tutorial but the majority have the unallocated space in the same disk while I want to move Ubuntu to another disk THEN expand it without losing any data
I also found a tutorial here, but many comments said it was "outdated" and I am not exactly an expert to be able to know what to do especially that any mistake could mean permanent data loss.
Here are screenshots of Gparted from my installed Ubuntu 16.04
And the same screenshots from Windows disk manager and from Gparted on an Ubuntu live usb (disk0 and disk1)
Which partitions should I move and how?
EDIT
I used @Byte Commander 's advice and copied my home partition to disk1.
enter image description here
Now the next steo was to edit /etc/fstab file but I dont know how to do so
I didnt know how to do it from the liveUSB so I just rebooted and did it from ubuntu.. what happened is literally this
The line I added:
enter image description here
I added it first in liveusb but nothing happened so I did it in ubuntu
I used the best answer there and erased the line I added
now what should I do? and how to edit /etc/fstab file? what to edit/add and in livrusb or from ubuntu?
thanks!
partitioning windows gparted partitions
partitioning windows gparted partitions
edited Feb 21 at 14:56
asked Feb 20 at 12:42
RRR
112
112
You can not directly span one partition across multiple disks (you can using LVM, but setting that up is unnecessarily complex for your use case, I believe). So instead, I would recommend you to create a new ext4 partition on the sdb disk, then copy all files from your old /home there and edit your/etc/fstab
file to use the new partition as home instead. After a reboot you can then delete the old home partition and expand your Ubuntu root partition with the now unallocated space on sda. How does that sound?
â Byte Commander
Feb 20 at 13:01
brilliant! so it is actually possible to have /home and / in different disks! I thought it was impossible :D. I will try your solution. Thank you!
â RRR
Feb 20 at 13:06
Some more details on moving /home. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
â oldfred
Feb 20 at 14:58
add a comment |Â
You can not directly span one partition across multiple disks (you can using LVM, but setting that up is unnecessarily complex for your use case, I believe). So instead, I would recommend you to create a new ext4 partition on the sdb disk, then copy all files from your old /home there and edit your/etc/fstab
file to use the new partition as home instead. After a reboot you can then delete the old home partition and expand your Ubuntu root partition with the now unallocated space on sda. How does that sound?
â Byte Commander
Feb 20 at 13:01
brilliant! so it is actually possible to have /home and / in different disks! I thought it was impossible :D. I will try your solution. Thank you!
â RRR
Feb 20 at 13:06
Some more details on moving /home. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
â oldfred
Feb 20 at 14:58
You can not directly span one partition across multiple disks (you can using LVM, but setting that up is unnecessarily complex for your use case, I believe). So instead, I would recommend you to create a new ext4 partition on the sdb disk, then copy all files from your old /home there and edit your
/etc/fstab
file to use the new partition as home instead. After a reboot you can then delete the old home partition and expand your Ubuntu root partition with the now unallocated space on sda. How does that sound?â Byte Commander
Feb 20 at 13:01
You can not directly span one partition across multiple disks (you can using LVM, but setting that up is unnecessarily complex for your use case, I believe). So instead, I would recommend you to create a new ext4 partition on the sdb disk, then copy all files from your old /home there and edit your
/etc/fstab
file to use the new partition as home instead. After a reboot you can then delete the old home partition and expand your Ubuntu root partition with the now unallocated space on sda. How does that sound?â Byte Commander
Feb 20 at 13:01
brilliant! so it is actually possible to have /home and / in different disks! I thought it was impossible :D. I will try your solution. Thank you!
â RRR
Feb 20 at 13:06
brilliant! so it is actually possible to have /home and / in different disks! I thought it was impossible :D. I will try your solution. Thank you!
â RRR
Feb 20 at 13:06
Some more details on moving /home. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
â oldfred
Feb 20 at 14:58
Some more details on moving /home. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
â oldfred
Feb 20 at 14:58
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%2f1008018%2fhow-to-increase-home-partition-located-in-disk0-using-unallocated-partition-in%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
You can not directly span one partition across multiple disks (you can using LVM, but setting that up is unnecessarily complex for your use case, I believe). So instead, I would recommend you to create a new ext4 partition on the sdb disk, then copy all files from your old /home there and edit your
/etc/fstab
file to use the new partition as home instead. After a reboot you can then delete the old home partition and expand your Ubuntu root partition with the now unallocated space on sda. How does that sound?â Byte Commander
Feb 20 at 13:01
brilliant! so it is actually possible to have /home and / in different disks! I thought it was impossible :D. I will try your solution. Thank you!
â RRR
Feb 20 at 13:06
Some more details on moving /home. To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving
â oldfred
Feb 20 at 14:58