November 22, 2024, 10:13:24 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Changing default bootup option  (Read 8113 times)

Offline sandeep24

  • New Member
  • Posts: 1
Changing default bootup option
« on: April 16, 2004, 06:35:39 AM »
Hi
I have Windows Millennium, Windows XP and Redhat Linux 7.1 installed in my machine. During Linux installation I chose RHL as default bootup option. Now I want to change Windows as default bootup option. How can I change that?
Sandeep

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Changing default bootup option
« Reply #1 on: April 16, 2004, 07:27:03 AM »
What bootloader you have ? Grub or Lilo ?

Offline Vishruth

  • New Member
  • Posts: 1
    • http://www.thepyromania.com
Changing default bootup option
« Reply #2 on: April 16, 2004, 04:40:18 PM »
If I remember correctly, RedHat 7.1 installs Lilo by default.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Changing default bootup option
« Reply #3 on: April 17, 2004, 05:09:15 AM »
ya.. ofcourse.. so for lilo..
i have one example
Code: [Select]
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
lba32
default=linux

image=/boot/vmlinuz-2.4.0-0.43.6
label=linux
initrd=/boot/initrd-2.4.0-0.43.6.img
read-only
root=/dev/hda5

other=/dev/hda1
label=dos
Here change "default=linux" to "default=dos"
So if in your lilo.conf if your label for widnows is "windows" then change it to "windows"