Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] forgot to mount /home...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Tue May 15, 2012 2:13 pm    Post subject: [SOLVED] forgot to mount /home... Reply with quote

Hi there! just installed a few hours ago but did a little mistake: forgot to mount /home partition...any help will be appreciated...

Last edited by john-doe on Tue May 15, 2012 11:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue May 15, 2012 2:31 pm    Post subject: Reply with quote

Doesn't boot right, right? No sweat. Just
  • Boot the install media.
  • Mount all the drives.
  • Get back in the chroot. See NeddySeagoons' Rough Guide to Chrooting.
  • Modify /etc/fstab to mount your /home partition.
  • Exit the chroot, unmount all the drives, and reboot.
That's about it. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Tue May 15, 2012 6:21 pm    Post subject: Reply with quote

john-doe,

Welcomr to Gentoo.

What John R. Graham works unless you have made a normal user alread or have other things in /home

You neeed to copy them out to the real hoem before you reboot.
After the Modify
Code:
 /etc/fstab to mount your /home partition

You need to mount your real home partition somewhere, so you can copy the directory /home to it.
Add in
Code:
mount /dev/... /mnt/cdrom
your real home
Code:
cp -a /home/* /mnt/cdrom/

Verify the copy worked - I often get an extra /home.
Code:
rm -rf /home/*
to get your used /home space back. /home should be empty at the point as when you reboot the content of /mnt/cdrom will become /home

Go ahead and reboot to test.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue May 15, 2012 9:20 pm    Post subject: Re: forgot to mount /home... Reply with quote

john-doe wrote:
Hi there! just installed a few hours ago but did a little mistake: forgot to mount /home partition...any help will be appreciated...

Alright, just guessing, you didn't mount your /home before creating your user? If my guess is correct, boot up, make sure /home is not mounted, move your home somewhere safe, mount /home, move the contents of /home back.
Of course, it is hard to understand what exactly you need help with.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
john-doe
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2012
Posts: 123

PostPosted: Tue May 15, 2012 11:11 pm    Post subject: Reply with quote

solved! how? just added /home to /etc/fstab...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue May 15, 2012 11:45 pm    Post subject: Reply with quote

Yep, that will do ... :wink:
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum