LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with regards to LILO... (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-regards-to-lilo-235057/)

marsques 09-25-2004 08:26 AM

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...

GT_Onizuka 09-25-2004 08:38 AM

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.

marsques 09-25-2004 08:42 AM

thanks... i used the second method as it would be easier if i did have other distros installed as well...

default = "Linux"

thanks again...

masand 09-25-2004 09:08 AM

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

masand 09-25-2004 09:11 AM

hi

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

regards

marsques 09-25-2004 11:20 AM

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...


All times are GMT -5. The time now is 11:54 PM.