LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-28-2009, 02:06 AM   #1
farooqnasim
Member
 
Registered: May 2009
Posts: 30

Rep: Reputation: 15
rescue problem


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,

i have a recue cd also if it could be of any help
 
Old 07-28-2009, 02:40 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
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.
 
Old 07-28-2009, 04:18 AM   #3
farooqnasim
Member
 
Registered: May 2009
Posts: 30

Original Poster
Rep: Reputation: 15
my grub looks like this

root (hd0,0)
kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet apic=noapic(arrow sign indicating to right)
initrd /initrd-2.6.9-42.ELsmp.img

i have other systems with the same grub but running fine

root (hd0,0)
kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet apic=noapic
initrd /initrd-2.6.9-42.ELsmp.im

the only difference is the system which is not working doesn't have arrow
i have tried root=LABEL=/dev/hda1 and so on but in vain

if i just have to save data on these 3 disks what to do or any other solution
 
Old 07-28-2009, 07:37 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
root=/dev/hda1

Don't put any LABEL in there
 
Old 07-28-2009, 08:23 AM   #5
farooqnasim
Member
 
Registered: May 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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

root (hd0,0)
kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet apic=noapic
initrd /initrd-2.6.9-42.ELsmp.im

Thanks again for your time
 
Old 07-28-2009, 09:01 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
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
 
Old 07-29-2009, 02:37 AM   #7
farooqnasim
Member
 
Registered: May 2009
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 07-29-2009, 07:01 AM   #8
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
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.
 
  


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
Linux Rescue script question, in rescue mode vijay_aras Linux - General 1 01-09-2008 05:03 PM
Problem in Linux Rescue p_test Linux - Enterprise 2 08-26-2005 07:23 AM
Knoppix as rescue cd problem yowi Debian 4 02-17-2004 04:32 PM
Use rescue disk to fix x problem? General Dude Linux - Newbie 2 08-14-2003 12:34 PM
Rescue Problem. Furtzi Linux - Newbie 2 03-04-2002 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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