LinuxQuestions.org
Help answer threads with 0 replies.
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
 
Search this Thread
Old 03-11-2009, 11:13 PM   #1
thrash242
LQ Newbie
 
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
slackpkg upgrade from 12.1 to 12.2 and now LILO can't find my HD


I used slackpkg to upgrade from 12.1 to 12.2 (update, install-new, upgrade-all, clean-system), which I've done before for previous upgrades and everything seemed to go ok this time until I tried rebooting.

LILO says:
Warning: LBA32 addressing assumed
Fatal: raid_setup: stat("/dev/sda")

I answered 'yes' to the 'do you want to run LILO' question after it installed the new kernel.

e2fsck complains about a bad superblock saying it's either the wrong filesystem or that it's corrupt.

It lets me boot into single-user mode and I tried fdisk and cfdisk and I can't find the hard drive at all.

My lilo.conf and fstab are the same as they've always been as far as I can tell.

I wouldn't think that upgrading versions would corrupt my hard drive.

And no, I have no backups, unfortunately, since there's nothing of great importance on this machine. It's more something for me to tinker with and learn Linux, so if I have to reinstall, it's not the end of the world, but I'd like to be able to fix it if possible.

Any help would be much appreciated--thanks in advance.
 
Old 03-12-2009, 12:26 AM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Probably you need to either boot with the hugesmp kernel or create a new initrd.

Boot from a 12.2 install disk (or usbboot image) and see if your raid partitions and data are still intact.
 
Old 03-16-2009, 06:59 AM   #3
darem
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Possible solution

Hello,

I have the same problem, and I have noticed that just before the fault, it complains about a udev failure.

I didn't have time to try it, but I think I know the solution: when you upgrade, there are new config files that are not activated.

Boot from a Slackware bootdisk and mount your partition; eg.
mount /dev/sda1 /mnt

now go to /mnt/etc and search for the new config files:
find . -name "*.new"

There will be probably some new scripts in rc.d: check the diferences with the old ones, modify whatever you need and remove the .new extension.

It should work fine after reboot.

I'll try it this evening.

Best regards,
David
 
Old 03-16-2009, 01:28 PM   #4
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by thrash242 View Post
LILO says:
Warning: LBA32 addressing assumed
Fatal: raid_setup: stat("/dev/sda")
Do you have the install cdrom or dvdrom? If yes, you can have a look at what "fdisk -l" says.
 
Old 03-17-2009, 09:15 AM   #5
darem
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
Solved

Hello,

I booted the with my old slackware 12.1 and then mounted my partition:
mount /dev/sda5 /mnt
I went to my rc.d directory: cd /mnt/etc/rc.d
And then, I renamed the file rc.udev.new to rc.udev.

After that, I was able to boot from my hard disk again.
Try it!!

Regards,
David
 
  


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
Upgrade with slackpkg STARHARVEST Slackware 11 05-17-2008 07:07 PM
Slackpkg upgrade question chocloman Slackware 5 05-01-2007 01:28 PM
Slackpkg fails on upgrade-all albhaf Slackware 1 12-02-2006 10:22 AM
dist upgrade with slackpkg cb951303 Slackware 7 06-20-2005 08:59 PM
slackpkg upgrade _mu_ Slackware 9 01-29-2004 08:28 PM


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