LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2007, 03:23 PM   #1
IX_EquilibriuM
LQ Newbie
 
Registered: Oct 2007
Location: Sofia
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
Problem with Lilo on Slackware 11


I have a problem booting with lilo. When i started to configure lilo everything seemed fine untill i restarted my machine. After the restart it automaticaly logged into Windows. I have two hard drives , one SATA and one IDE the question is , can there be any conflict or does Slackware 11 have any problems with SATA drives?

Here is the code from the lilo.config file:

LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
#timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends
 
Old 10-18-2007, 03:32 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Let's get a few facts right.

You have two disks. How do we know that you were not booting to sda as the first disk while Lilo residing in hda? In such a case you would not see a Lilo screen, no selection to boot because you were just booting to a MS boot loader residing in sda.

Any response on that ?
 
Old 10-20-2007, 04:43 AM   #3
IX_EquilibriuM
LQ Newbie
 
Registered: Oct 2007
Location: Sofia
Distribution: Gentoo
Posts: 8

Original Poster
Rep: Reputation: 0
I think you are right.. i'm new to linux so i put a simple question:

How can i fix the problem?
 
Old 10-20-2007, 05:46 AM   #4
tamtam
Member
 
Registered: May 2004
Distribution: Slackware.
Posts: 323

Rep: Reputation: 33
You may get a better response if you post in the Slackware subforum in the Distributions section.

http://www.linuxquestions.org/questions/slackware-14/

and since this is with Slackware installation the Slackware > Slackware Installation forum here...

http://www.linuxquestions.org/questi...stallation-40/

How did you load Slackware's lilo. To the MBR of the master disk.
 
Old 10-20-2007, 06:58 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I believe this is a hardware problem.

The boot disk order, whether the first boot disk is the IDE or the Sata, should be indicated in the Bios screen. Getting into a Slackware subforum does not change the method of BIOS detection.

Pressing a certain key at the keyboard before the PC is boot is what is needed to get into a Bios screen to alter the boot disk order.
 
Old 10-20-2007, 04:23 PM   #6
IX_EquilibriuM
LQ Newbie
 
Registered: Oct 2007
Location: Sofia
Distribution: Gentoo
Posts: 8

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by saikee View Post
I believe this is a hardware problem.

The boot disk order, whether the first boot disk is the IDE or the Sata, should be indicated in the Bios screen. Getting into a Slackware subforum does not change the method of BIOS detection.

Pressing a certain key at the keyboard before the PC is boot is what is needed to get into a Bios screen to alter the boot disk order.
You where right about the boot order . I found it in the BIOS boot settings
and lilo jumped on the screen but i have a new problem - Windows doesn't want to start from lilo, what now?
 
Old 10-20-2007, 05:27 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You know what. Your lilo.conf has all the solutions. You don't need us. Just remove the # in map-drive statements to like this
Code:
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
 map-drive = 0x80
 to = 0x81
 map-drive = 0x81
 to = 0x80
table = /dev/sda
I only marked the lines I changed in red (just removing the # to enable the lines)

Save the file and type
Code:
lilo -b /dev/hda
to recomiple Lilo

------------------------

Explanation if you are interested.

Your Windows was booted as the first boot disk sda but now the Linux hda is the first boot disk. Windows gets jealuos and doesn't play ball.

If you re-map the disk order at the time you boot Windows, tell the bugger it is in No 1 position then the sucker will buy it. 0x80 is disk No. 1 and 0x81 is disk No.2. It is a temporary arrangement and the disk order reverts back to the original as states in the Bios as soon as Windows exits.

Last edited by saikee; 10-21-2007 at 07:31 AM.
 
1 members found this post helpful.
Old 10-21-2007, 04:24 AM   #8
IX_EquilibriuM
LQ Newbie
 
Registered: Oct 2007
Location: Sofia
Distribution: Gentoo
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks a lot !!! All works like a clock and now i'm ready to configure the other stuff. Ones again i thank you
 
Old 10-21-2007, 07:55 AM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If my seemingly unfriendly challenging questions made you think about the subject and the steps then I believe you get more out of it than just being handed the solution over a plate.

It makes no difference to me as I already know the solution.

To you if you can think logically you will enjoy Linux a lot more.

Many things in Linux can be "reason" out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware Lilo Problem kingsizeriz Linux - Newbie 9 04-30-2005 07:24 PM
Slackware 10 lilo problem kersten78 Linux - Newbie 4 09-05-2004 03:04 PM
LILO problem - Slackware 7.1 underberg Slackware 2 09-07-2003 07:49 AM
slight problem with slackware lilo .... purpleburple Linux - Distributions 8 07-29-2002 01:46 AM
Slackware 7.0 LILO problem... Citizen Bleys Linux - General 2 10-01-2001 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 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