OT: To set the default boot OS in Lilo???

R

Rahman

hi all,

I am having Win 98 alongwith XP and a old version of Liniux Mandrake in the
same machine. By default LiLo loads first and then I select either Windows
or Linux. After selecting windows then i have option for 98 or XP if i don't
select anything Linux is started.

I am not a linux expoert.

My questions is : since i am using windows regularly i want my default Os to
be Windows even if i don't press anything.

Can i do it ?

regards
 
M

Mikk

Rahman said:
My questions is : since i am using windows regularly i want my default Os to
be Windows even if i don't press anything.

Can i do it ?

Yeah, just login as root and change lilo's configuration
( in Mandrake control centre iirc )

Alternatively make a Linux boot floppy

boot with a windows emergency boot disk

type fdisk /mbr to get rid of lilo

then use the Linux boot floppy to access Mandrake when you need/want to
 
S

Sanjay Goel

Rahman said:
hi all,

I am having Win 98 alongwith XP and a old version of Liniux Mandrake
in the same machine. By default LiLo loads first and then I select
either Windows or Linux. After selecting windows then i have option
for 98 or XP if i don't select anything Linux is started.

I am not a linux expoert.

My questions is : since i am using windows regularly i want my
default Os to be Windows even if i don't press anything.

Can i do it ?

regards

boot into linux. login as root
see /etc/lilo.conf
there is something called timeout.. this is the time after which lilo
automatically loads the default OS if u dont press any key. if it is set as
0 then lilo requires a key press so set it to 5 or 10 sec as u may need it
make windows as the default OS .. u can do that by having the windows boot
entry above linux in this entry

after doing these changes .. type lilo on prompt to activate the changes and
then reboot
it should work fine
Sanjay
 
R

Raman

thanks all you guys,

I am attaching my Lilo info can anyone kindly tell me the options to be
changed coz i think mine is bit different.

regards

boot=/dev/hda

map=/boot/map

install=/boot/boot.b

default=linux

keytable=/boot/us.klt

lba32

prompt

timeout=50

message=/boot/message

image=/boot/vmlinuz

label=linux

root=/dev/hdb1

append=" hdd=ide-scsi"

read-only

image=/boot/vmlinuz

label=failsafe

root=/dev/hdb1

append=" hdd=ide-scsi failsafe"

read-only

other=/dev/hda1

label=windows

table=/dev/hda

other=/dev/fd0

label=floppy

unsafe

I don't want to screw up my system. ;-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top