Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-14-2014, 05:31 AM
|
#1
|
LQ Newbie
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10
Rep:
|
Problem viewing /home
I have a old sata hard drive with Linux mint, a / partition and a /home partition (amongst others), I recently put this hard drive into a machine which also has another linux distro on and did a update-grub from that machine to see the old / filesystem.
Problem is when I load the old linux system it doesn't map /home correctly and I can't see my old home folder.
What is the solution to this?
Thanks!
Nat
|
|
|
01-14-2014, 05:41 AM
|
#2
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
if your old disk has separated / and /home partition, you just need to mount old /; type 'mount' or 'lsblk' to see if old /home is already mounted, or do it yourself: 'mount -t ext2/3/4 /dev/sdXY /mount/where/you/want' where -t define old /home fs type (ext4 by default, for very old system is ext2), /dev/sdXY (usually X=b, as you have only one disk installed and the old one is the second disk connected, otherwise X=c or d... pendrives count too; Y is the ordinal for partitions inside the disk, 1 is for first parition, usually /, /home could be 2 or 5, look at lsblk command)
|
|
1 members found this post helpful.
|
01-14-2014, 05:52 AM
|
#3
|
LQ Newbie
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10
Original Poster
Rep:
|
thanks gengisdave, and if I want it to mount each time automatically? Do I edit fstab?
|
|
|
01-14-2014, 05:57 AM
|
#4
|
Member
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328
Rep:
|
yes, but i think you have a user tool to mount partitions, like udisks
|
|
|
01-14-2014, 05:58 AM
|
#5
|
LQ Newbie
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10
Original Poster
Rep:
|
thanks for your help ;oD
|
|
|
01-14-2014, 06:39 PM
|
#6
|
LQ Newbie
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10
Original Poster
Rep:
|
actually the problem was to do with UUID's not being recognised correctly. Actually I had not enabled the sata drives in the BIOS (the other drives all being SCSI), this fixed it.
|
|
|
01-14-2014, 09:30 PM
|
#7
|
LQ Newbie
Registered: May 2010
Posts: 26
Rep:
|
Quote:
Originally Posted by nattydread69
actually the problem was to do with UUID's not being recognised correctly. Actually I had not enabled the sata drives in the BIOS (the other drives all being SCSI), this fixed it.
|
Even tho UUID's are SUPPOSED to be more robust and reliable, trying to use them has always given me more headaches than sticking with the old-fashioned ways.
However, what I am adding a note for is to add a cautionary note. You should not mount /home from another distro, or an older distro, or from another machine (even the same distro), at /home. This is because there are many configuration files in /home, and it is quite probable your distro will gag on the foreign configs. Of course, you can mount it in some other location, no prob.
And fstab to make it a regular thing, right.
|
|
|
All times are GMT -5. The time now is 04:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|