Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
two days ago i had a power supply problem in linux box running Red Hat EL 4.4. I got it repaired and now when I try to boot the system, I get the message
mkrootdev: label /1 not found
mount: error 2 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
unmount /initrd/dev failed:2
kernal panic not syncing attempted to kill init!
I have three STAT hard disks having very important data, how can i recover the os or at least recover data,
At grub, press 'e' to edit boot parameters, then change the root=LABEL=/1 to root=/dev/something (where something is your root partition), then press 'b' to boot.
Thanks for your reply, I will do that but tell me if i had to copy data from those hard disks to some other machine, how to go for that, please suggest any tutorial for that and explain me these lines and from where is this system booting
This system is booting from a partition that has the label specified.
To copy the data from that machine, you need to connect another machine in some way.
You can do that with scp for instance.
Use the tar command to create one big file with all the files you want to copy:
tar -cvf mytar.tar /where/is/my/data
And copy it with scp
scp mytar.tar some_user@some_remote_machine:/where/to/put/my/data
sorry for bothering you again, now the problem is the hardware is gone down compeletely and i have 3 disks attached with that system, if i attached these disks to some other linux box one by one, what is the way to view the data
You mount the partitions with the mount command:
mount /dev/sdxn /mount/point
man mount for more informations about mount.
Then you can access the data in your mount point.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.