I cannot mount a partition as the home directory
![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
1
down vote
favorite
My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???
home-directory
add a comment |Â
up vote
1
down vote
favorite
My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???
home-directory
Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
â koni_raid
May 8 at 13:33
1
Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
â oldfred
May 8 at 14:34
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???
home-directory
My problem is that I installed ubuntu 14 and I forgot to make a special part for home directory, so how can I mount it???
home-directory
asked May 8 at 13:21
Karam Abo Raiif
62
62
Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
â koni_raid
May 8 at 13:33
1
Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
â oldfred
May 8 at 14:34
add a comment |Â
Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
â koni_raid
May 8 at 13:33
1
Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
â oldfred
May 8 at 14:34
Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
â koni_raid
May 8 at 13:33
Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
â koni_raid
May 8 at 13:33
1
1
Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
â oldfred
May 8 at 14:34
Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
â oldfred
May 8 at 14:34
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab
.
To resize and create partitions, it would be easiest to use GParted Live.
To add the newly created home partition to
/etc/fstab
, add a line that looks like this:UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2
Check the output of
blkid
to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.See the
fstab
manual for more information.
add a comment |Â
up vote
0
down vote
I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.
I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).
But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.
To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.
If all Users Data is transferred to the new partition, you can reboot.
I do that and now I would have my home partition at /dev/sda2 .
mount | grep dev/sda
/dev/sda1 on / type ext4 ...
/dev/sda2 on /home type ext4 ...
br
wikrie
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab
.
To resize and create partitions, it would be easiest to use GParted Live.
To add the newly created home partition to
/etc/fstab
, add a line that looks like this:UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2
Check the output of
blkid
to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.See the
fstab
manual for more information.
add a comment |Â
up vote
1
down vote
If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab
.
To resize and create partitions, it would be easiest to use GParted Live.
To add the newly created home partition to
/etc/fstab
, add a line that looks like this:UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2
Check the output of
blkid
to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.See the
fstab
manual for more information.
add a comment |Â
up vote
1
down vote
up vote
1
down vote
If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab
.
To resize and create partitions, it would be easiest to use GParted Live.
To add the newly created home partition to
/etc/fstab
, add a line that looks like this:UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2
Check the output of
blkid
to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.See the
fstab
manual for more information.
If you did not create a home partition, there is nothing to mount. If you want to create a home partition, you will need to resize your root partition, create the home partition, and edit /etc/fstab
.
To resize and create partitions, it would be easiest to use GParted Live.
To add the newly created home partition to
/etc/fstab
, add a line that looks like this:UUID=XXXXXXXXXXXXX /home ext4 defaults 0 2
Check the output of
blkid
to replace XXXXXX with the uuid of your home partition. Change ext4 to correspond to the filesystem of your partition.See the
fstab
manual for more information.
edited May 8 at 14:33
xiota
1,0561422
1,0561422
answered May 8 at 13:36
solsTiCe
4,90221642
4,90221642
add a comment |Â
add a comment |Â
up vote
0
down vote
I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.
I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).
But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.
To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.
If all Users Data is transferred to the new partition, you can reboot.
I do that and now I would have my home partition at /dev/sda2 .
mount | grep dev/sda
/dev/sda1 on / type ext4 ...
/dev/sda2 on /home type ext4 ...
br
wikrie
add a comment |Â
up vote
0
down vote
I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.
I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).
But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.
To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.
If all Users Data is transferred to the new partition, you can reboot.
I do that and now I would have my home partition at /dev/sda2 .
mount | grep dev/sda
/dev/sda1 on / type ext4 ...
/dev/sda2 on /home type ext4 ...
br
wikrie
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.
I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).
But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.
To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.
If all Users Data is transferred to the new partition, you can reboot.
I do that and now I would have my home partition at /dev/sda2 .
mount | grep dev/sda
/dev/sda1 on / type ext4 ...
/dev/sda2 on /home type ext4 ...
br
wikrie
I would say he had no home partition. So he needs to resize the full partition of / and then create a new one and mount it as home.
I recommend doing that with GParted or KDE Partition manager (included in Kubuntu Install image).
But to do that you need to boot your system from a live CD, because you cannot change the root partition if it is still mounted. I use the Kubuntu Install Image for that.
To get it up and running first move all data from the original /home folder to the new partition, that must be done in the live system.
If all Users Data is transferred to the new partition, you can reboot.
I do that and now I would have my home partition at /dev/sda2 .
mount | grep dev/sda
/dev/sda1 on / type ext4 ...
/dev/sda2 on /home type ext4 ...
br
wikrie
answered May 8 at 14:28
WiKrIe
384129
384129
add a comment |Â
add a comment |Â
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%2f1033577%2fi-cannot-mount-a-partition-as-the-home-directory%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
Can you login into Ubuntu? and if yes what to you get? What username did you choose? Your home-dir should be /home/<username>
â koni_raid
May 8 at 13:33
1
Best to just follow the step by step instructions. You need an ext4 partition, and copy files from /home into partition, then edit fstab. Details: To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions help.ubuntu.com/community/Partitioning/Home/Moving But if new install, it may just be easier to reinstall. But you have to use Something Else to choose the partition you want as /home.
â oldfred
May 8 at 14:34