LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2004, 05:12 AM   #1
nothingness 000
LQ Newbie
 
Registered: Dec 2004
Location: Florida
Distribution: Slackware 9.1
Posts: 10

Rep: Reputation: 0
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.
 
Old 12-23-2004, 05:15 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 12-23-2004, 06:13 AM   #3
nothingness 000
LQ Newbie
 
Registered: Dec 2004
Location: Florida
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
/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.
 
Old 12-23-2004, 11:07 PM   #4
nothingness 000
LQ Newbie
 
Registered: Dec 2004
Location: Florida
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 12-23-2004, 11:12 PM   #5
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Maybe you should try uninstalling lilo with
Code:
lilo -u /dev/hda
then reinstalling it again?
 
Old 12-26-2004, 03:03 AM   #6
nothingness 000
LQ Newbie
 
Registered: Dec 2004
Location: Florida
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
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... :-\
 
Old 12-26-2004, 03:17 AM   #7
whipermr5
Member
 
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
What's in your /boot?
 
Old 12-26-2004, 03:37 AM   #8
nothingness 000
LQ Newbie
 
Registered: Dec 2004
Location: Florida
Distribution: Slackware 9.1
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
  


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
removing lilo to boot directly into windows scubanix Linux - Software 2 05-05-2004 06:48 PM
loading dos from lilo without boot disk chetan13 Linux - General 10 06-19-2003 12:35 PM
lilo and openmosix was just installed and was added to lilo boot menu but.. kublador Linux - Software 0 06-18-2003 02:59 AM
Removing Mandrake boot menu cyrusuncc Linux - General 4 11-06-2002 02:55 AM
cant boot dos w/lilo reverand_13 Linux - Software 5 02-02-2002 05:55 PM


All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration