LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-24-2019, 05:35 PM   #1
cwille97
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
Post Trying to recover my dads old data from what seems to be Red Hat Linux (2.4.7-10)


So my dad has this old HP desktop and I cloned the hard drive to an SSD so I could try and access his data without an old CRT monitor. Right now it reaches a blue Red Hat screen with the option Red Hat Linux (2.4.7-10) GRUB version 0.90 and I found an old box in his room that says Red Hat Linux 7.2 with books and installations CDs. I'm not very knowledgable with Linux, only beginner experience in the newer versions of Ubuntu but I've been tinkering with computers for my whole life and I want to help him figure this out and recover his old work. When I try to boot into the Red Hat Linux (2.4.7-10) a bunch of text starts popping up like hd0 from bios ignored, hd1 from bios ignored, ide floppy drive 0.97, more text pops up fast and it ends with mount error 19 mounting ext3 and kernel panic: no init found. try passing init= option to kernel. I tried this a year ago on the original machine (I only cloned this drive today) and I vaguely remember using the command line option (c instead of booting directly) to get a login screen with a password prompt. I'm stuck right now on the Kernel panic but I'd really appreciate some help with this.
 
Old 07-24-2019, 06:03 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,282

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
You are much better off using a current system supported OS then mount this image to access data.

IMHO

Guess you could use qemu or other vm to mount this image/drive. However if all you want to do is get to the data then mount the image.

Last edited by jefro; 07-24-2019 at 06:04 PM.
 
2 members found this post helpful.
Old 07-25-2019, 03:32 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSuSE, Raspian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,549

Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by cwille97 View Post
So my dad has this old HP desktop and I cloned the hard drive to an SSD so I could try and access his data without an old CRT monitor.

...

... it ends with mount error 19 mounting ext3 and kernel panic: no init found.
Ouch! No init? Wonder how that happened?

First a question: You cloned the old hard disk to an SSD? Are the files on the hard disk? On the SSD? Both?

If they're stuck on the system that won't boot from the internal drive, you could try booting from a USB thumb drive and bypass the kernel on the internal drive that doesn't boot. It'd take some work but you should be able to get the critical files copied off onto either some free space on the thumb drive (if there's enough free space, of course) or transferred to another system you reach on the network.

Another option would be, if the laptop's not booting, rather than trying to re-install a new copy of Linux (where it's entirely possible to accidently allow the installer to clobber the filesystem where the files that you want to recover are residing), I would suggest looking for an external SATA drive bay. (NOTE: Assumption here: the drive where the files live uses a SATA interface.) I picked one of these up at Best Buy years ago (for maybe $30-$40) and have found it to be extremely useful. Most of them will handle desktop as well as laptop drives. Remove the laptop's hard drive, insert it into the external bay, and plug it into another Linux system's USB port. There's a good chance it'll mount automagically but mount(8) will give you the details to mount it by hand if that turns out to be necessary.

Either of these would be safer than hoping a Linux installer doesn't merrily overwrite the files you want as part of the installation process. (I've seen far too many systems where everything was installed onto /dev/sda1---OS, home directories, data, the whole shebang.) I wouldn't worry about purchasing a piece of hardware that you think you'll never use again. I've used mine for a lot of file recovery/transfer tasks, as a quick-n-dirty scratch disk, etc.---it's turned out to be a really handy item to have around. Old disks you think are too small can still be useful when you have one of these bays.

HTH...
 
2 members found this post helpful.
Old 07-25-2019, 10:04 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
You were smart to clone the drive to an SSD and work from the copy.

I agree completely with Jefro and rnturn's advice: Create a LiveUSB of a user-friendly distro like Ubuntu or Mint. Boot Linux from the thumb drive in "live" mode only (don't run the installer). Mount the cloned SSD (easiest way is to browse to it with the GUI file manager) and copy the files to a backup drive.
 
1 members found this post helpful.
Old 07-27-2019, 12:48 AM   #5
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,835

Rep: Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573Reputation: 573
I doubt that 2.4.7-10 kernel was configured with libata or SATA support, and their absence the reason for the no init found and kernel panic messages flowing from inability to mount the root filesystem. Mounting that SSD using a newer operating system is indeed a proper action plan.
 
1 members found this post helpful.
Old 07-27-2019, 02:12 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,204

Rep: Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950Reputation: 2950
Which is all well and good if the data are in a standard format. If it's proprietary or something that needs to be processed (say CAD), the OP might really need to boot it (I keep an XP system for exactly this reason).
A virtualised guest as suggested above would be the go in that case.
 
1 members found this post helpful.
Old 08-03-2019, 03:40 PM   #7
cwille97
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hey thanks for the response. Sorry it took me so long to notice, I got a message saying the post had to be approved and I thought it got caught by a spam filter or something. I'm currently trying to figure out how to mark this post as answered but don't see it under thread tools
 
Old 08-05-2019, 05:05 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,282

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
If you feel the members have helped you to the point your issue is solved then you'd select that choice. Otherwise some mods' can set it as solved also.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Red Hat powers cloud-scale DevOps with the general availability of Red Hat Cloud Suite and Red Hat OpenStack Platform 8 LXer Syndicated Linux News 0 04-20-2016 05:20 PM
LXer: My dads Linux story begins in textiles LXer Syndicated Linux News 0 09-11-2015 09:21 AM
I need to know if my router will delete my dads laptop off it if i restart my router? tyrant_dragon3000 Linux - Hardware 10 12-11-2006 12:13 PM
FTP cron job seems to be sending OLD data dagalicous Linux - General 9 02-28-2006 03:50 AM
Server crash, trying to recover mysql data from old HD? Vatoloco Linux - Software 2 06-20-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration