I need to fix Lilo

Danleff, this is mainly for you since you are the Lilo Guru around here.. ;) but I welcome anyone elses input as well. I've had a hell of a time configuring my new Netgear Ma311 wireless PCI under Mandrake 10 Community, but Morphix found and ...




Topic Options
#138525 - 05/05/04 07:01 AM I need to fix Lilo
Dapper Dan Offline
Pooh-Bah

Registered: 09/27/03
Posts: 1703
Loc: The Sovereign state of South C...
Danleff, this is mainly for you since you are the Lilo Guru around here.. wink but I welcome anyone elses input as well.

I've had a hell of a time configuring my new Netgear Ma311 wireless PCI under Mandrake 10 Community, but Morphix found and configured my Orinoco gold card on our Toshiba laptop without cracking a terminal. My thought was, since Knoppix/Morphix finds and configures the prism 2/orinoco type cards so well, which both are, I'll just install Morphix on the box that had Mandrake 10 and try to configure it that way.

When I installed Mdk 10, I installed Lilo to the MBR. When I installed Morphix, I again attempted to install Lilo to the MBR. I'm now getting Lilo coming up, but with the Mandrake splash screen and shortly after that, I'm getting kernel panic. It seems evident that Morphix did not install Lilo to the MBR over the Mandrake version which is ok with me, although I want Morphix to boot.

I can use the Morphix live CD to edit the files on the hard drive, but I'm unsure of how to do it.

What do I need to do to edit the lilo.conf on the HD to boot Morphix? Would it be the file at /etc/lilo.conf?

Any help will be greatly appreciated. Thanks! smile

Top
Advertisement
#138534 - 05/05/04 12:53 PM Re: I need to fix Lilo
danleff Offline
Carpal Tunnel

Registered: 08/30/02
Posts: 2869
Loc: Albany, NY
Well, not knowing much about Morphix....I've only done this with a rescue disk, which automates the process somewhat.

Assuming that Mandrake is gone, try using the live cd boot. How you edit lilo (if the live cd allows the edit, as some distros have lilo protected as root) depends if lilo is protected as root or user permissions.

Yes, /etc/lilo is the file. Look at that file and make sure that it is indeed there. If so, make sure that at the beginning of lilo, the lines something like

lba32
boot=/dev/hda (assuming that hda is the mbr location)

The key is the boot=/dev/hda, which signifies installing lilo on the mbr. If it is not installed on the mbr, it will say something different, say if lilo was installed on a boot partition other than the mbr. Edit this if necessary and save the changes. If Morphix Live cd does not auto mount the partition that it is installed on, then at a console, issue the following commands;

mount -t ext3 /dev/hdxx /mnt (xx= the partition where Morphix is installed on. If you have not been able to modify lilo, try it after issuing the next command)

chroot /mnt

/sbin/lilo

Just make sure that you look at and modify, if needed, the lilo file to see if the boot= line is correct, before running the /sbin/lilo command.

Lilo, unlike Grub, needs this last command to actually write the information on the mbr.

Top
#138536 - 05/05/04 02:02 PM Re: I need to fix Lilo
Dapper Dan Offline
Pooh-Bah

Registered: 09/27/03
Posts: 1703
Loc: The Sovereign state of South C...
Yes, you can mount the HD from the Morphix live cd. I will give this a try today. Thanks! smile

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
5.1 multimedia speaker system problem?
by dealrocker
Today at 12:53 PM
internet accounts for users
by ash4
Today at 11:57 AM
USB Not Recognized, after using wireless net card
by tiffanyc
Today at 04:56 AM
USB Devices Not Recognized!
by shumailh
Yesterday at 02:31 PM
LinkSys Router: Internet Access Issue
by Myke
01/05/10 10:48 PM
Who's Online
1 Registered (Myke), 241 Guests and 50 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91467 Members
24 Forums
59700 Topics
190251 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22