LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 09-25-2004, 08:26 AM   #1
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
help with regards to LILO...


i've got LILO as the boot loader on ma Slackware/Win98 pc...

currently Win98 is the default operating system... how would i make slackware as the default operating system...

i also would like win98 not to appear on the list where the available operating systems are listed but able to run it from the lilo command line... please exlain to me how would i go about it...

thanks in advance...
 
Old 09-25-2004, 08:38 AM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
To change the default OS, you can do two things. Make it the first entry that appears, or add something like this:

default = "label"

"label" being whatever you labeled the OS which you want to be default. For example, I have Linux_2.4.22, Linux_2.6.7 and Windows, of which, 2.4.22 defaults so I have something like this:

default = Linux_2.4.22

As for the Win98 list thing, I have no clue, try man lilo.conf and see if that helps.
 
Old 09-25-2004, 08:42 AM   #3
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 31
thanks... i used the second method as it would be easier if i did have other distros installed as well...

default = "Linux"

thanks again...
 
Old 09-25-2004, 09:08 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

here is my lilo.conf
----------------------------------
prompt
timeout=50
default=windows
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
lba32

image=/boot/vmlinuz-2.6.5-1.358
label=linux
initrd=/boot/initrd-2.6.5-1.358.img
read-only
append="rhgb quiet root=LABEL=/"

other=/dev/hda1
optional
label=windows
------------------------------------------

hi there ,u can see that when i change the entry in the line

default=windows

u can substitute it for any other from the label field

also u can drop to text session from ctrl+t

and boot ur windows after entering the name as u have in default label

regards
 
Old 09-25-2004, 09:11 AM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi

oooops!!!!!
soory,i was was hooked upto ur post and in between i got disconnected
and here u have solved ur problem

regards
 
Old 09-25-2004, 11:20 AM   #6
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 31
say if i was to boot win98 from the lilo command line... how would i proceed if it was not on the available OS list?

Thanks in advance...
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM


All times are GMT -5. The time now is 10:07 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