Linux - GeneralThis 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.
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.
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.
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.
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?
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???
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.