Jump to content

Lilo clean up


Earny
 Share

Recommended Posts

I installed 9.2. Now at boot there are too many choices. I just want to have a choice between Limux, windows, floppy and failsafe. I want all other stuff (like linux old and windows2) to be removed. Because mandrake control centre didn't give me any clue,I tried to remove them using the boot manager of KDE (Configuration/KDE/System/Bootmanager I guess it's so in English). but although all changes were saved, after rebooting the same old messy boot page appeared again. What did I do wrong?

By the way after changing the settings the control indicated that the configuration was not allright, but that was also the case with the initial settings.

Thanks in advance

Earny

Link to comment
Share on other sites

Mandrake Control Center -> Boot -> Drakboot -> Press the Configure button -> Click ok in the window that pops up -> you can use the next window to add/remove/modify the options that are presented at boot.

Link to comment
Share on other sites

If you mean the fancy lay-out of the boot from start? Yes. I just rebooted a couple of minutes ago to see if things still work. Everything works as before. I already made some changes using KDE. That could be the reason of the denial pop-up. My feeling is that I distorted the lilo config file.

Thanks in advance for all efforts

Link to comment
Share on other sites

Earny, would it help if I post here my lilo.config file, from a fresh 9.2 install?

 

lilo in MBR

Windows on hda1

9.2 on hda9

(German keyboard layout, though, just change it to us/Dutch :lol:, from your original lilo.config)

The last entry is for my 9.1 ML on hda8 - remove it.

 

 

you would have to edit your lilo.config, with the good partition number, your keyboard layout etc., your cd-rom etc.

 

boot=/dev/hda

map=/boot/map

vga=normal

default="linux"

keytable=/boot/de-latin1-nodeadkeys.klt

prompt

nowarn

timeout=400

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hda9

initrd=/boot/initrd.img

append="devfs=mount hdc=ide-scsi acpi=ht splash=silent"

vga=788

read-only

image=/boot/vmlinuz

label="linux-nonfb"

root=/dev/hda9

initrd=/boot/initrd.img

append="devfs=mount hdc=ide-scsi acpi=ht"

read-only

image=/boot/vmlinuz

label="failsafe"

root=/dev/hda9

initrd=/boot/initrd.img

append="failsafe devfs=nomount hdc=ide-scsi acpi=ht"

read-only

other=/dev/hda1

label="windows"

table=/dev/hda

other=/dev/fd0

label="floppy"

unsafe

image=/mnt/mdkalt//boot/vmlinuz

label="mdkalt"

root=/dev/hda8

initrd=/mnt/mdkalt//boot/initrd.img

append="quiet devfs=mount hdc=ide-scsi acpi=off"

vga=788

read-only

Link to comment
Share on other sites

Generally the only entries you need for a home installation would be..

 

 

boot=/dev/hda

map=/boot/map

vga=normal

default="linux"

keytable=/boot/de-latin1-nodeadkeys.klt

prompt

nowarn

timeout=400

message=/boot/message

menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz

label="linux"

root=/dev/hda9

initrd=/boot/initrd.img

append="devfs=mount hdc=ide-scsi acpi=ht splash=silent"

vga=788

read-only

other=/dev/hda1

label="windows"

table=/dev/hda

 

Using anna's example, you can see I left behind the linux and windows entries. This means when you view lilo, you only have 2 selections. You can copy a backup of your lilo.conf with all the options in the event that you need it later.

 

After making changes, you need to type lilo at the prompt and look at the messages. SHould be

 

adding linux

adding windows

 

You have to edit the file /etc/lilo.conf and type lilo while logged in or su'ed as root.

Link to comment
Share on other sites

This could help me. I'm writnig a new lilo.conf on the basis of the last message. In the existing one there is the following:

image="/boot/vmlinuz"

label="linux"

root=/dev/hda1

initrd="/boot/initrd.img"

append="quiet devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda7 splash=silent"

vga=788

read-only

 

According to my system info my linux partition is hda6 instead of hda1. Should I change hda1 into hda6?

Link to comment
Share on other sites

And so I did, but wrongly. I first added another linux partition using partition magic under windows (wrong, I should have done that with mandrake) and in the end hda6 became hda7. I couldn't boot linux anymore, not even after the rescue attempt with the mandrake install cd 1 (kernel panic: again with that strange massage about the kernel). I saved my most relvant files with Knoppix 3.3. (always good to have in case of trouble). I was not able to edit the etc/lilo.conf file with Knoppix as it was only read only and I didn't have permission. (Does anyone know how to do that?). Tired of so many unthoughtful actions and fruitless efforts :cry: , I finally reinstalled mandrake 9.2. The good thing is that I managed to reduce my boot screen to more attractive dimensions and that I increased my linux knowledge. :lol: Thanks anyway for all efforts.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...