LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 01-14-2014, 05:31 AM   #1
nattydread69
LQ Newbie
 
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10

Rep: Reputation: 1
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
 
Old 01-14-2014, 05:41 AM   #2
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
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.
Old 01-14-2014, 05:52 AM   #3
nattydread69
LQ Newbie
 
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10

Original Poster
Rep: Reputation: 1
thanks gengisdave, and if I want it to mount each time automatically? Do I edit fstab?
 
Old 01-14-2014, 05:57 AM   #4
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
yes, but i think you have a user tool to mount partitions, like udisks
 
Old 01-14-2014, 05:58 AM   #5
nattydread69
LQ Newbie
 
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10

Original Poster
Rep: Reputation: 1
thanks for your help ;oD
 
Old 01-14-2014, 06:39 PM   #6
nattydread69
LQ Newbie
 
Registered: Oct 2009
Distribution: mint, manjaro, centos
Posts: 10

Original Poster
Rep: Reputation: 1
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.
 
Old 01-14-2014, 09:30 PM   #7
hiero2
LQ Newbie
 
Registered: May 2010
Posts: 26

Rep: Reputation: 2
Quote:
Originally Posted by nattydread69 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I prevent an ssh user from viewing anything but his home directory? SentralOrigin Linux - Security 4 12-20-2011 11:04 AM
Firefox viewing problem dangold Slackware 2 09-16-2008 04:58 PM
Good program for viewing music from home slayt12 Linux - Networking 1 12-01-2005 10:29 AM
dvd viewing problem unionjak SUSE / openSUSE 2 10-23-2005 11:51 AM
Disable Viewing Users in /home gsoft Linux - Security 2 09-09-2005 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration