LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2003, 06:42 AM   #1
Bad_CRC
LQ Newbie
 
Registered: Apr 2003
Location: Bolton, Near Toronto, Canada
Posts: 6

Rep: Reputation: 0
Unhappy Where to put Lilo...


I configured Lilo properly however whenever I bootup my computer it goes straight to Windows...

Is there a way to make this goto the Lilo screen.

BTW: I am a n00bie so please explain steps fully
 
Old 04-04-2003, 07:30 AM   #2
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Rep: Reputation: 15
First of all: which version of windoze do you use ?
Q2 : where did you put LILO ?
 
Old 04-04-2003, 07:31 AM   #3
Bad_CRC
LQ Newbie
 
Registered: Apr 2003
Location: Bolton, Near Toronto, Canada
Posts: 6

Original Poster
Rep: Reputation: 0
1. Win98SE (/dev/hdb1)

2. So far I didn't put it anywhere its just in /etc/lilo.conf
 
Old 04-04-2003, 07:33 AM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
You need to install lilo to the MBR of the hard disk. Check your /etc/lilo.conf file for the line "boot = /dev". This needs to be set to "boot = /dev/hda" for it to install in the mbr of the disk. Note the missing number at the end. If your file is set that way, then you probably just need to verify the Win boot image below run the "lilo" program by typing in "lilo" at a console prompt.

For your existing Windows partition, it will need a section added to load it as well as the Linux partition. A timeout value setting of 50 in the lilo.conf will allow five seconds for you to press the [CTRL] key for the menu, else it will just boot the default selection.

The following is an excerpt from a multiple boot lilo.conf file for the Windows image to load.

Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-ide-2.4.19
  root = /dev/hda1
  label = Slackware-8.1
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda2
  label = SuSe-8.1
  table = /dev/hda
# DOS bootable partition config ends
# Linux bootable partition config begins
image = /boot/slack7-2.4.18
  root = /dev/hda3
  label = Slackware-7.0
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda4
  label = Win-2K-Pro
  table = /dev/hda
# DOS bootable partition config ends
This config is set four images. Two versions of Slack, SuSE 8.1, and Win 2K is the last entry.

Remember to run "lilo" after making changes to the file so they are written to the hard disk.
 
Old 04-04-2003, 07:38 AM   #5
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
edit /etc/lilo.conf and check the line:

"default=windows" (i.e.)

Run lilo:

# lilo


But be very very sure of what you're doing.

I'd try to have a rescue disk before:

#mkbootdisk
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
where to put LILO contrasutra Slackware 12 04-02-2003 06:29 PM
Howto: remove lilo & put win2k boot loader back? hugodog Linux - General 2 05-10-2002 12:45 PM
Where do I put Lilo ( Watch it! ) hebewon Linux - Software 1 01-29-2002 05:15 AM
Can you put LILO onto a floppy? CragStar Linux - Newbie 1 11-03-2000 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration