View previous topic :: View next topic |
Author |
Message |
john-doe Tux's lil' helper
Joined: 15 May 2012 Posts: 123
|
Posted: Tue May 15, 2012 2:13 pm Post subject: [SOLVED] forgot to mount /home... |
|
|
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 |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Tue May 15, 2012 2:31 pm Post subject: |
|
|
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.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue May 15, 2012 6:21 pm Post subject: |
|
|
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.
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Tue May 15, 2012 9:20 pm Post subject: Re: forgot to mount /home... |
|
|
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 |
|
|
john-doe Tux's lil' helper
Joined: 15 May 2012 Posts: 123
|
Posted: Tue May 15, 2012 11:11 pm Post subject: |
|
|
solved! how? just added /home to /etc/fstab... |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|