LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   removing dos from lilo boot menu (https://www.linuxquestions.org/questions/linux-newbie-8/removing-dos-from-lilo-boot-menu-269480/)

nothingness 000 12-23-2004 04:12 AM

removing dos from lilo boot menu
 
I want to remove "DOS" from the lilo boot menu.

I've removed the dos stanza from /etc/lilo.conf and ran /sbin/lilo but it still shows up, even though "Linux" is the only thing it says it adds.

My current lilo.conf file is something like this...

boot = /dev/hda1
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
...(vga stuff)
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only

I've also tried removing the message= line which I assumed would remove the text below the red boot menu; this was not the case. The text in boot_message.txt was still there.

what am I doing wrong :-\

Thank you.

MasterC 12-23-2004 04:15 AM

When you run:
/sbin/lilo -v
What is your output?

Also, what is the text in boot_message.txt?

What devices are on your system, and what device is your BIOS setup to boot from?

Cool

nothingness 000 12-23-2004 05:13 AM

/sbin/lilo -v output:

LILO version 22.5.7.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2003 John Coffman
Released 20-Aug-2003 and compiled at 19:15:26 on Aug 25 2003.

Warning: LBA32 addressing assumed
Reading boot sector from /dev/hda1
Warning: Partition 1 on /dev/hda is not marked Active.
Using MENU secondary loader
Calling map_insert_data
Mapping message file /boot/boot_message.txt
Calling map_insert_file

Boot image: /boot/vmlinuz
Added Linux *

Writing boot sector.
/boot/boot.0301 exists - no boot sector backup copy made.


boot_message.txt (I haven't tried deleting the DOS line here, but I tried deleting the message line from lilo.conf to no avail. I was expecting none of this text to be present at boot):


Welcome to the LILO Boot Loader!

Please enter the name of the partition you would like to boot
at the prompt below. The choices are:

DOS - DOS or Windows (FAT/FAT32 partition)
Linux - Linux (Linux native partition)


I'm dual booting with windows xp and have one hard drive. There are four partitions: hda1 is Linux, hda2 is ntfs, hda3 is swap, and hda4 is the vfat partition in question with no operating system installed on it yet insists on presenting itself in the lilo boot menu. hda2 is the partition flagged bootable for the xp boot loader.

nothingness 000 12-23-2004 10:07 PM

Changes to boot_message.txt don't even show up. It's like /sbin/lilo isn't actually applying any changes. I'm evidently neglecting to do something that should be stupidly obvious. :newbie: :(

whipermr5 12-23-2004 10:12 PM

Maybe you should try uninstalling lilo with
Code:

lilo -u /dev/hda
then reinstalling it again?

nothingness 000 12-26-2004 02:03 AM

reinstalling lilo didn't work, reinstalling my entire linux partition didn't work... I didn't know what change-rules, reset was, so I removed that too... that didn't work... :-\

whipermr5 12-26-2004 02:17 AM

What's in your /boot?

nothingness 000 12-26-2004 02:37 AM

ohhh ho ho ok, I totally forgot that I had to do the boot sector copy... thing... every time I make a change to lilo... I just remembered that... sorry :) :newbie:


All times are GMT -5. The time now is 05:44 AM.