Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
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.
HI. I am having a problem with a failing hard drive on my laptop. I decided to give a LiveCD a try as a last resort on recovering data. The partion on the drive is reiser4, so I went with the Gentoo LiveCD that supports reiserfs4. The problem is that I cannot run the mount command to mount hda1 because I am not logged in as root. I have no way of knowing what the root password is on this livecd. Can someone tell me what it is or how to get around this problem.
The root password is a random password,what I would do is follow this; http://www.gentoo.org/doc/en/handboo...?part=1&chap=4
and don't create any filesystems just mount the partition just like it says,We do it all the time to change something we mess up like grub or fstab or forget to install something important,and we have to mount then chroot to change something,hope this helps
Do you have any other partitions on hda with the same distro,what I'm thinking is mount your home lets say chroot to it and log in as root and then mount it.Just a guess!
I'm actually using Yoper. Gentoo is the only LiveCD I could find with reiserfs4 support. At this point, all I want to do is mount the partion and get as much data as I can off of it. So any LiveCD that allows me to mount the partition and move the data across a network will do.
Originally posted by kmeehl
thanks for the response! I have tried this and this is where the problem is. The result is: tecnico@lxnaycd /mnt/gentoo $ mount /dev/hda1 /mnt/gentoo
mount: only root can do that
So I need to find a way to become superuser or find another way to mount the partition.
Looks like you already have /mnt/gentoo mounted.
Try at a different mount-point - say mkdir /mnt/gentoo/deaddisk, and mount it there ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.