LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2007, 08:14 PM   #1
Taleya
LQ Newbie
 
Registered: May 2007
Posts: 8

Rep: Reputation: 0
Rescuing Data from old kernel


Mornin' all.

I recently had to replace the motherboard in my slackware 10 box, from an AMD-powered Soyo system, to an intel SIS system.

Obviously, the build is not gonna like that.

However, (and I freely admit I'm a linux n00b) I can't get it to boot from a bare kernel so i can rescue the data before doing a tar&pave of the system. I've tried a boot disk, and had no luck, and LILO reckons that /dev/hda1 is not a valid boot partition (Duck feathers! it is too!) The partition is obviously extant, when booted raw, it boots off that partition (and jams halfway when it has a conniption fit with the completely different chipset)

Anyone suggest a quick and easy way to get the data off the disk? IF this were a windows system, I'd know a thousand and one back entrances, and worst case scenario would just pull out the HD, slave it to another system, pull the data and nuke it. I can't do that here.
 
Old 05-16-2007, 08:33 PM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 961

Rep: Reputation: 34
use a live CD like Slax, copy the data you want to a partition that wont be wiped during install...
 
Old 05-16-2007, 09:31 PM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Yeah, live CD is just the thing for this. Slax is good, so is knoppix, and others. (I always have one handy, just in case ... bah, who am I kidding, I make tons of backups anyway )
 
Old 05-17-2007, 04:14 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Can you boot the Slackware cd?
Mount the partition?
Chroot into it?
Rerun lilo?

I do not understand why you can't boot. I've also replaced my motherboard (burned my gigabyte , installed msi )with slightly diffrent chipset (both intel) and it worked wihout problems. Maybe your chipset is too different.
 
Old 05-17-2007, 11:18 AM   #5
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by Alien_Hominid

I do not understand why you can't boot. I've also replaced my motherboard (burned my gigabyte , installed msi )with slightly diffrent chipset (both intel) and it worked wihout problems. Maybe your chipset is too different.
Maybe he's using a kernel that's not taking into account his new hardware. I've also been through many motherboards swaps and didn't have to diddle with my kernel, but that doesn't mean others would be as lucky.

My thought is that more than just the motherboard was replaced, or maybe it is a very-recently released mobo and the specs are beyond what his kernel allows. With the type of technology we're using nowadays and the speed at which the technology is changing, I don't doubt he's having some issue that could be totally unrelated to user-error.

To the OP:
My suggestion is to try Slackware disk #1, as it has rescue capabilities. It also has other kernels you could try...its apparent that something has changed with your hardware that is conflicing with your current kernel.

Last edited by unixfool; 05-17-2007 at 11:20 AM.
 
Old 05-17-2007, 11:24 AM   #6
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
bare kernel

Might want to try booting huge26.s or the test kernel if you updated hardware. that might get it going well enough to rescue saved data.

Last edited by Hern_28; 05-17-2007 at 11:26 AM.
 
Old 05-17-2007, 11:32 PM   #7
Taleya
LQ Newbie
 
Registered: May 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien_Hominid
C
I do not understand why you can't boot. I've also replaced my motherboard (burned my gigabyte , installed msi )with slightly diffrent chipset (both intel) and it worked wihout problems. Maybe your chipset is too different.
Entirely different. I've swapped out a SOYO AMD Palomino system for a MSI Intel P4 system.

Thanks for the heads up guys, Slax did the job brilliantly! *woots*
 
Old 05-17-2007, 11:35 PM   #8
Taleya
LQ Newbie
 
Registered: May 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by unixfool
Maybe he's using a kernel that's not taking into account his new hardware.
She, actually. :P There are females, all around you....

Quote:
My suggestion is to try Slackware disk #1, as it has rescue capabilities. It also has other kernels you could try...its apparent that something has changed with your hardware that is conflicing with your current kernel.
Given how drastically I've had to change the system, I'd rather just tar & pave it and start from scratch - It's just a system that runs apache for a website, so apart from a couple of files from other people, I really won't shed any tears over the redo.
 
Old 05-18-2007, 08:14 AM   #9
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by Taleya
She, actually. :P There are females, all around you....
I was supposed to tell this how?

Quote:
Given how drastically I've had to change the system, I'd rather just tar & pave it and start from scratch - It's just a system that runs apache for a website, so apart from a couple of files from other people, I really won't shed any tears over the redo.
This could be a good learning experience for you, so that you know what to do when/if it happens again down the road. You may want to attempt to repair for experience-sake.
 
Old 05-18-2007, 08:45 AM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
If we talk about repair, shouldn't kernel support all available (which are already coded into the kernel) chipsets, because it (kernel) isn't built against particular kind of them. As Slackware kernel works with different chipsets, so her kernel should also work the same way. It might be only LILO issue.
 
Old 05-18-2007, 09:12 AM   #11
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by Alien_Hominid
If we talk about repair, shouldn't kernel support all available (which are already coded into the kernel) chipsets, because it (kernel) isn't built against particular kind of them. As Slackware kernel works with different chipsets, so her kernel should also work the same way. It might be only LILO issue.
My thought is that motherboard technology is changing constantly and she may have bought a motherboard that utilizes a chipset that the kernel developers haven't even seen yet. I believe when Nvidia started delving into motherboards, the kernel community was having issues getting kernels to work seamlessly with the technology. The same goes for wireless card support, sound card support, and any other hardware support. Kernel development takes time, and pain is felt when new technology is released...time is needed to develop the code for newly released chipset (for example).
 
Old 05-18-2007, 09:21 AM   #12
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
1) My point was that if her kernel was rather new, it might have had the support for the motherboard (msi and p4 aren't the latest and greatest, have a pair of them too, they were working with 2.4 without problems). So maybe rerunning lilo might have fixed everything. I don't know.

2) So why does xp install work almost anytime, on every x86 based system? Or there are too small number of linux kernel devs, so they can't develop drivers quickly?
 
Old 05-18-2007, 10:11 AM   #13
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 781
Blog Entries: 8

Rep: Reputation: 157Reputation: 157
Quote:
Originally Posted by Alien_Hominid
1) My point was that if her kernel was rather new, it might have had the support for the motherboard (msi and p4 aren't the latest and greatest, have a pair of them too, they were working with 2.4 without problems). So maybe rerunning lilo might have fixed everything. I don't know.

2) So why does xp install work almost anytime, on every x86 based system? Or there are too small number of linux kernel devs, so they can't develop drivers quickly?
#1: Point taken...sort of. See my comments under #2.

#2...dunno. I've replaced motherboards on windows systems and the system would flat-out not boot up or would boot up but generate tons of errors.

I don't think its the fact that XP or Linux won't work well with new motherboards. I'm relating to the OP's issue. Changing hardware such as motherboards on a system that already has an OS installed may lead you to a point where the the current system won't know what to do with the newly detected hardware because it's only accounting for the hardware installed before the old motherboard was swapped out for a new one. Note that Slack's default kernel is pretty open-ended and will probably detect almost anything...dunno if the OP actually recompiled the base kernel.

Swapping out a mobo shouldn't tank an install, BUT, say you added a SATA drive along with the new mobo...you will most likely run into issues if the kernel that is being used wasn't compiled to use SATA. If this can happen, I'm pretty sure that the same can happen with 'just' a mobo swap. We see it happening all the time with wifi cards, where the vendor changes the chipset to something that isn't accountable by the module or kernel.

Last edited by unixfool; 05-18-2007 at 12:21 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rescuing a floppy Hacker X Linux - General 6 09-21-2006 08:17 PM
Rescuing Fedora Core 4 ethics Fedora 3 07-14-2005 06:28 AM
attn linux groups in chicago. girl needs rescuing marytuesday General 2 05-06-2005 06:22 PM
Best live-cd distro for rescuing a system Coume Linux - Distributions 3 07-20-2004 09:50 PM
Rescuing my Debian! mc_03 Debian 9 03-30-2004 06:19 PM


All times are GMT -5. The time now is 09:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration