LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-29-2003, 03:48 PM   #1
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Rep: Reputation: 15
LILO nightmares - Mandrake 9.1


Just upgraded Mandrake 8.2 to 9.1 on my laptop (Dell Inspiron 8100). Mdk 8.2 has been working fine, but because of the age of some of the base packages, I was getting into dependency hell on occasion. So, went ahead and upgraded to the latest version. All went smoothly until it went to install the new version of the bootloader. First, it wasn't able to run mkinitrd for the new kernel. Second, it didn't add the new kernel image to the lilo.conf file (though the image was placed in the /boot directory) and it would not let me configure lilo.conf through the installation/configure GUI (though I could do it from a console (ctl-alt-F2). Third, running LILO itself bombed. I couldn't make a boot disk because the floppy drive wasn't installed, and there's a reason I can't run have the floppy and the CD-ROM at the same time (main CD-R drive flaky; secondary CD-RW/DVD drive and floppy can't both be in at the same time).

Since this wasn't going anywhere I tried to reboot: "LI"

Rebooted into rescue mode from the install CD. No sweat, but can't run mkinitrd from there either - mainly because if I chroot to /mnt, the /proc directory can't be found, so it aborts. Can't run LILO, for the same reason - chroot to /mnt makes the "real" /dev directory unavailable (as does /mnt/sbin/lilo -r /mnt). I have another Mdk 8.2 system, so I made a boot floppy from it (its / partition (/dev/hda5) is the same as the laptop's). It wouldn't boot ("unable to get an initial console" or something very similar).

Can't even try using GRUB either - grub-install can't find /dev/hda5 (the install partition; I have System Commander on /dev/hda) if I chroot to /mnt, and won't find sed if I run it from /mnt/usr/sbin, therefore aborts.

I have about three hairs left...I've torn the rest out. Any help would be appreciated.

Thanks -- Bob
 
Old 07-29-2003, 08:08 PM   #2
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Original Poster
Rep: Reputation: 15
Finally got it fixed. The problem was that devfs wasn't mounted by either the install CD or the old boot floppy. Whe I used the boot floppy with the parameter "devfs=mount" I was able to boot from it and get everything fixed.
 
Old 07-29-2003, 08:18 PM   #3
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Do you mind listing the filesystems for your /dev/hda. I think you are using a different filesystem that the new kernel doesn't have. Usually it supports ext2 and ext3.

Did you try adding 1 to the boot loader. This will go in single user mode so you can run any program with out restrictions.

If I was you, I will be downloading Knoppix and getting your data off the hard drive using the network. If anything happens, you won't freak out even more. Also you can do mkinitrd in Knoppix. Just run Knoppix in runlevel 1.

Its sometimes easier to do a full OS install than doing an OS upgrade. You could have install urmpi. Then upgrade your packages from there.
 
Old 07-29-2003, 08:28 PM   #4
Malibyte
Member
 
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Original Poster
Rep: Reputation: 15
Electro:

Funny you should say that...I have Knoppix downloading (albeit incredibly slowly) onto another machine (coming over at about 2.2KB/sec on a 1.5Mb/s DSL line!).

I did have the 8.2 system backed up onto a removable HD, so all would not have been lost...I simply wasn't looking forward to having to do the restore.

As I said, devfs was the culprit...glad it's going away in 2.6. The laptop is up and running now.

Thanks...Bob
 
  


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
I'm not sure what to tile this.configuration nightmares shadowwizard197 Debian 1 04-19-2005 05:36 PM
Graphics Card Nightmares confused_bof Linux - Newbie 15 11-20-2004 05:07 AM
Multiple Boot Nightmares!!! 92GTA Linux - Software 24 06-08-2004 09:57 PM
Package Manager Nightmares wartstew Linux - Distributions 2 05-27-2003 12:55 PM
Changing bootloaders from lilo on RedHat to lilo on Mandrake Goatdemon Linux - General 3 06-10-2002 12:04 AM


All times are GMT -5. The time now is 02:59 PM.

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