slackpkg upgrade from 12.1 to 12.2 and now LILO can't find my HD
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
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!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.