LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-24-2005, 03:25 PM   #1
phoneix
Member
 
Registered: Aug 2003
Location: Georgia, usa
Distribution: Mandrake 10.1
Posts: 44

Rep: Reputation: 15
edit lilo to show only win/lin


OK, just dual booted win/mandrake 10.1
Windows on sda
Linux on sdb
(2 serial HDDs)

When i boot up, Lilo puts Linux, Linux-nonfb, Windows, and failsafe options in my boot screen. How do i change that to read only Linux and Widows. I opened the lilo.conf file in /etc, but there is a lot of stuff. What is safe to REM out and what isn't. How should i modify it?

Thanks
 
Old 06-24-2005, 03:53 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
post that file here
 
Old 06-28-2005, 06:13 PM   #3
phoneix
Member
 
Registered: Aug 2003
Location: Georgia, usa
Distribution: Mandrake 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/sda
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=200
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/sdb1
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/sdb5 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/sdb1
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/sdb5 splash=silent"
read-only
other=/dev/sda1
label="windows"
table=/dev/sda
image=/boot/vmlinuz
label="failsafe"
root=/dev/sdb1
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/sdb5 splash=silent"
read-only
 
Old 06-28-2005, 08:24 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/sda
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=200
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/sdb1
initrd=/boot/initrd.img
append="acpi=ht resume=/dev/sdb5 splash=silent"
vga=788
read-only

other=/dev/sda1
label="windows"
table=/dev/sda

----------------
this should do for
also do keep the origianl lilo file for backup
after making changes to the file do run
lilo
 
Old 06-29-2005, 01:56 PM   #5
phoneix
Member
 
Registered: Aug 2003
Location: Georgia, usa
Distribution: Mandrake 10.1
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks very much Masand.

BTW, what do those other 2 options do anyway? linux-nonfb and Failsafe. If i remove them, am i going to be in trouble later?
 
Old 06-29-2005, 03:00 PM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
well u have multiple lables to boot different boot images for different linux versions and usage
so u have the option like failsafe etc
in ur case u can notice that in all lables it is booting with same parameters and same image files
so i don't thinkthat there will be any change for you if u boot from these different labels
you can try that for urself

regards
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
inet ok, yast update not ok, win to lin ok, lin to win not ok captain skywave Linux - Networking 4 08-22-2005 02:17 AM
Win - Lin Software Damnation Linux - Software 7 03-28-2005 06:09 PM
Errors When I copied Win files from Lin back to Win! dougp25 Linux - General 2 09-15-2004 05:03 AM
win to lin-lin to win aamehl Linux - Networking 5 09-10-2003 03:10 AM
Win 4 Lin ??? landshark753 Linux - General 1 02-01-2002 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 AM.

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
Open Source Consulting | Domain Registration