LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-15-2012, 07:03 AM   #16
rbixler1957
Member
 
Registered: Jul 2008
Location: Indianapolis, IN USA
Distribution: Mandriva 2010.1
Posts: 52

Original Poster
Rep: Reputation: 16

I used the standard mandriva partitioning scheme when I installed it. I will check the MCC for the partitioning scheme to see is the my home partition is there.
Thanks
 
Old 01-15-2012, 07:09 AM   #17
rbixler1957
Member
 
Registered: Jul 2008
Location: Indianapolis, IN USA
Distribution: Mandriva 2010.1
Posts: 52

Original Poster
Rep: Reputation: 16
I checked the partition manager in MCC and it shows the root partition and the swap partition and my home partition is greyed out and shows sda7 linux native. I am not sure how to mount it.
Thanks
 
Old 01-15-2012, 07:14 AM   #18
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try
Code:
mount /dev/sda7 /home
Do you have an entry in
Code:
/etc/fstab
for the /home partition?

Kind regards
 
Old 01-15-2012, 07:21 AM   #19
rbixler1957
Member
 
Registered: Jul 2008
Location: Indianapolis, IN USA
Distribution: Mandriva 2010.1
Posts: 52

Original Poster
Rep: Reputation: 16
When I tried mounting the partition I got [root@localhost xguest]# mount /dev/sda7 /home
mount: you must specify the filesystem type

This is what fstab information

# Entry for /dev/sda5 :
UUID=e23642fd-2da7-4a79-819f-295da44b513a / ext4 acl,noatime 1 1
# Entry for /dev/sda7 :
UUID=f42353a4-2a9a-4d25-97fb-af5e86148e3a /home ext4 acl,noatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
# Entry for /dev/sda3 :
UUID=2C6EDB496EDB0B0A /media/windows ntfs-3g defaults,umask=000 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda6 :
UUID=a5a602e3-6a72-4aeb-8bd3-1ff2dcb7079f swap swap defaults 0 0
 
Old 01-15-2012, 07:24 AM   #20
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Code:
mount -t ext4 /dev/sda7 /home
Kind regards
 
Old 01-15-2012, 07:29 AM   #21
rbixler1957
Member
 
Registered: Jul 2008
Location: Indianapolis, IN USA
Distribution: Mandriva 2010.1
Posts: 52

Original Poster
Rep: Reputation: 16
Ok whem I tried that I got
[root@localhost xguest]# ls -l /home
total 24
drwx------ 2 root root 16384 2010-07-10 08:10 lost+found/
drwxr-xr-x 62 robin robin 4096 2012-01-14 13:07 robin/
drwxr-xr-x 4 xguest xguest 4096 2012-01-15 08:29 xguest/

I will try to login to my account now.
 
Old 01-15-2012, 07:42 AM   #22
rbixler1957
Member
 
Registered: Jul 2008
Location: Indianapolis, IN USA
Distribution: Mandriva 2010.1
Posts: 52

Original Poster
Rep: Reputation: 16
I tried to log in to my home partition and the same thing happened could not open. I logged back into the xguest account and checked the home directory and it showed only the xguest account and then remounted it again and it showed my user account and the xguest account and lost and found. I am not sure what to do now.
Thanks Robin
 
Old 01-15-2012, 07:45 AM   #23
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
When it's mounted, try the chown command again.
Then try to login.

Kind regards
 
Old 01-15-2012, 08:00 AM   #24
rbixler1957
Member
 
Registered: Jul 2008
Location: Indianapolis, IN USA
Distribution: Mandriva 2010.1
Posts: 52

Original Poster
Rep: Reputation: 16
Thanks repo that worked I can now log in to my user account again. I don't know what could have caused this to happen but I now know how to fix it if it happens again.
Again Thank you very much for the help I have a lot files that I have not backed up since last week.

What I don't understand is how I could log in to the xguest account but not my home account.

Last edited by rbixler1957; 01-15-2012 at 08:02 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How does one change login passphrase (to unlock encrypted home directory) tonyfreeman Linux - Security 4 11-22-2010 08:12 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
How to protect a file/directory in your home login directory (RH Linux) jitsenho Linux - Security 9 07-03-2006 11:08 PM
How to get home directory of a login user lucky6969b Programming 5 02-20-2006 01:46 AM
login error: home directory supposedly doesn't exist jmelton Linux - General 3 11-30-2003 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:34 PM.

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