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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-24-2005, 03:25 PM
|
#1
|
Member
Registered: Aug 2003
Location: Georgia, usa
Distribution: Mandrake 10.1
Posts: 44
Rep:
|
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
|
|
|
06-24-2005, 03:53 PM
|
#2
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
post that file here
|
|
|
06-28-2005, 06:13 PM
|
#3
|
Member
Registered: Aug 2003
Location: Georgia, usa
Distribution: Mandrake 10.1
Posts: 44
Original Poster
Rep:
|
# 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
|
|
|
06-28-2005, 08:24 PM
|
#4
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
# 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
|
|
|
06-29-2005, 01:56 PM
|
#5
|
Member
Registered: Aug 2003
Location: Georgia, usa
Distribution: Mandrake 10.1
Posts: 44
Original Poster
Rep:
|
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?
|
|
|
06-29-2005, 03:00 PM
|
#6
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:30 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|