VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Lilo boot order  (Read 1694 times)

Etherials

  • Member
  • *
  • Posts: 4
Lilo boot order
« on: November 27, 2007, 04:05:42 am »

Hi I am new to linux (one previous post about a year ago lol)

I have installed 5.8 SOHO as a dual boot on an old work system (see spec below), my problem is that i want to set the boot order to Win98 then Vector so the boss can't complain too much.

Atm they are the other way around.

How can i change the boot order?

Spec.
Biostar MKE0626b
AMD Athlon 700mhz
512mb PC133
80Gb IDE HDD (60Gb Windows, 20Gb Linux(Swap, Root, Home))
ATI 3D Rage IIc AGP
10/100 NIC
Floppy
DVD-Rw
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4140
Re: Lilo boot order
« Reply #1 on: November 27, 2007, 04:34:52 am »

You can edit the configuration for LILO. In a terminal (command line window), type the command:
mcedit /etc/lilo.conf
Towards the bottom, you will see a section something like:
Partition 4: Windows 98
Label = windows
Note the Label (here: windows). Now scroll towards the top, find the line:
default = linux
Cange it to
default = windows
Hit the F2 key to save, then F10 to exit, and issue the command
lilo
Reboot
Logged

Etherials

  • Member
  • *
  • Posts: 4
Re: Lilo boot order
« Reply #2 on: November 27, 2007, 04:50:43 am »

Thanks thats fixed it.

I had found the lilo.conf but it wouldn't take the re-order of the boot options, after following your instructions it now boots windows then linux.

Any advice for a Vectorbie?

Thanks again.
Logged

Freston

  • Vectorite
  • ***
  • Posts: 165
Re: Lilo boot order
« Reply #3 on: November 27, 2007, 05:20:21 am »

You mean you don't understand why it didn't work at first?

After editing lilo.conf you must run lilo to take effect. It's easy to forget or overlook that. Dunno if that was the case in your situation. Otherwise I wouldn't now, I'd have to see it. Could be as less as a comma or a missing '
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3279
Re: Lilo boot order
« Reply #4 on: November 27, 2007, 07:25:08 am »

If you really want to hide your VL install, you could easily install LILO on a floppy or USB drive (assuming your machine has a floppy drive), and just dont write it to the MBR. That way, when you want to boot into Linux, pop the Floppy or USB drive in, and choose your OS. Your boss will never know there is a linux install there ;)

Another option is to boot it with the Install cd

When the initial screen comes up, type
Code: [Select]
linux root=/dev/hdxx roOf course, replace hdxx with the address to your linux root partition.

HTH