Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Boot priority on multiboot system

Status
Not open for further replies.

IThead

MIS
Sep 6, 2002
102
0
0
US
Hi, How do I change the default os on startup? I have Linux and windows2000 installed on my laptop, current default is Linux.
Thanks
 
Assuming you are using lilo for your bootloader.

In /etc/lilo.conf, look for the 'default=linux' line and change it to whatever the label name is for win2K. Run the 'lilo' command to update the mbr, and you should be set.

----
JBR
 
If you are using grub, change the /boot/grub/grub.conf line that says default= and enter the image number that is for your Win2K. Grub image number starts at 0 not 1. So count carefully.

>---------------------------------------Lawrence Feldman
SR. QA. Engineer SNAP Appliance
lfeldman@snapappliance.com

 
I have on the laptop the same two OS and use lilo loader. The config file is stored as /etc/lilo.conf and contain :
boot=/dev/hda # loader is written in /dev/hda
prompt # promt with options
timeout=1500 # how long to wait to loading OS
vga = 773
lba32
default=slackware # if you write nt then nt will boot as default
image = /boot/vmlinuz
root = /dev/hda2
label = slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
other = /dev/hda1
label = nt
table = /dev/hda

At the end you must on the prompt write
# lilo

Manek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top