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-09-2006, 04:51 PM   #1
kevygee
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
Password mess


I recently was unable to add a new user to my fedora core three system and was reading a thread in a different forum about a possible fix. Basically, I should have researched the advice before I meddled, because when they told me to delete the /etc/shadow file and run pwconv (which ran with no errors) I didn't expect that to destroy any way of me logging onto my system.

So now, I can't logon to my system, because it can't recognize any passwords. I made a backup file of my /etc/shadow and /etc/passwords file, so I know of a fix, I just can't get to it.

I am using Knoppix (Linux on CD) to try and access those files and replace them with the backup copies. When knoppix loads up, it can mount all my partitions except the one I need. When I try issuing a mount command

mount /dev/hdc2 /mnt/hdc2

it tells me I need to specify the filesystem type. So I used fdisk to see what the file system type of hdc was. It gave me

/dev/hdc2 ..... Linux LVM

I can't seem to find any information on how to mount a linux logical volume management partition, and frankly, I'm not really sure what that is.

Any help on mounting this with Knoppix? Thanks in advance to anyone who can help.
 
Old 01-09-2006, 05:00 PM   #2
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
possible solution

I have a small bit of info for you. Try editing the grub.conf but I dont know how you would using a live linux cd. If not maybe try a diff live linux cd, or a bootable win cd.
 
Old 01-09-2006, 05:07 PM   #3
kevygee
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I'm not quite sure I get where you are going with grub. How is the boot loader going to help with my linux passwords? Or mounting a linux lvm paritition?
 
Old 01-09-2006, 11:36 PM   #4
kevygee
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I'm still confused about how to do this. I just need to copy two files back to their original locations, and I can't seem to mount this. I mean it's a linux hard drive, I assume it should be able to be mounted, and I don't know what Linux LVM means in terms of file systems or mounting. I've racking my brain for hours, any ideas???
 
Old 01-10-2006, 09:04 AM   #5
kevygee
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Original Poster
Rep: Reputation: 0
For anyone wondering, I solved the problem. I just needed to learn a little bit more about LVM. Turns out, you don't mount the hard drive specifically, instead you need to look for the volume group name (should be a directory in you /dev directory) and then inside that are the logical volumes created within the volume group. These are just easily mounted and then you can browse and change as necesary.
 
  


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
fstab mess please help!! john_active Ubuntu 2 12-01-2005 12:40 PM
cleaning up the mess Shade00 Linux - Newbie 3 05-10-2004 12:20 AM
booting mess! zeppelin Linux - Newbie 6 09-08-2003 10:14 AM
Partition mess Tristan Sharp Linux - Software 3 02-10-2003 12:45 AM
mess with some pointers... raven Programming 5 06-24-2002 10:18 AM

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

All times are GMT -5. The time now is 06:16 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