LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-03-2003, 03:16 AM   #1
akz
LQ Newbie
 
Registered: Feb 2003
Posts: 6

Rep: Reputation: 0
Lilo error


Hi.

I've installed Slackware 8.1, everything went fine. But now i can't get it to work.....The lilo manager goes berserk...exactly after bios (when lilo boot is supposed to kick in), i only get
L 01 01 01 01 01 01 01 01.....and so on. The lilo boot manager won't start up normally, and only shows L 01 01 01 01 01 01 01 01.

Lilo is installed on MBR, Hda. I have also tried to install it in the root section. But nothing works.

This is my settings.

Hda1 = XP,
Hdd1 = /boot
Hdd2 = /swap
Hdd3 = /root

the lilo.conf checks out ok. I have changed it several times, with working lilo.conf with exaktly my settings. But don't work

Hda1 MBR where Lilo is currently, is not to big only 6 Gig.

Any ideas?
 
Old 02-03-2003, 03:35 AM   #2
TheMad
LQ Newbie
 
Registered: Jan 2003
Posts: 29

Rep: Reputation: 15
Hmm, I had this problem at one point. When I first installed Slack the thing the install program had for lilo didn't work so I ended up having to edit my lilo.conf file manually. Here's a copy of what it is now, hope it helps.

boot=/dev/hda
map=/boot/map
prompt
nowarn
timeout=1200
message = /boot/boot_message.txt
menu-scheme=wb:bw:wb:bw
ignore-table
disk=/dev/hdd bios=0x82
# Linux bootable partition config begins

# New kernel
image = /boot/vmlinuz2
root = /dev/hdb5
label = Slackware_Linux
read-only

# Old kernel
# If new works, comment this
#image = /boot/vmlinuz3
#root = /dev/hdb5
#label = Old_Slack
#read-only
# Linux bootable partition config ends


# Perhaps this will boot Windows, who knows?
other=/dev/hda1
label=WindowsXP
table=/dev/hda
# End the stuff ripped out of the other lilo.conf

# LFS
image = /boot/lfskernel
root = /dev/hdb7
label = LFS
read-only

TheMad
 
Old 02-03-2003, 04:01 AM   #3
bynaar
Member
 
Registered: Jul 2002
Posts: 141

Rep: Reputation: 15
First , restore MBR so that you can boot into XP.
Configure LILO to write it's stuff on your / (root) partition, NOT MBR !

Then you need to edit the boot.ini file that XP uses with it's bootloader, you will need a file that points to your linux partition.
Here's a program that creates bootsect-file and add the required entry in the boot.ini file.

http://www.winimage.com/bootpart.htm
BOOTPART creates a 512 byte file which contains an image of the boot sector that loads the boot sector of the partition. After, this file is declared in C:\BOOT.INI (a text file used by the Windows NT boot menu).
 
Old 02-03-2003, 10:33 PM   #4
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
This is an example using the Windows "ntldr" to boot XP,Debian,Slackware and Minslack (CLI only). I created a softlink from the /boot/image (vmlinuz or bzimage) to "/" in order to forego the pleasure of having 2 bootscreens and
booting straight to the kernel. The examples are from Slackware but they're generic. Here's an example of lilo.conf with everything commented out except the essentials.

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hdb6
#message = /boot/boot_message.txt
#prompt
#timeout = 1
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# End LILO global section
# DOS bootable partition config begins

# DOS bootable partition config ends
# Linux bootable partition config begins
image = /vmlinuz-ide-2.4.18
root = /dev/hdb6
label = Slack
read-only
# Linux bootable partition config ends

Note that the image= is not in the /boot. Run "/sbin/lilo" If you get a "Warning" that this is not the first partition. You did good. Now create your bootsect file.

root@whatever#dd if=/dev/hdb6 of=/bootsect.slk bs=512 count=1

Copy the bootsect.slk to the drive where "ntldr" and "boot.ini" reside. (Normally Cby using a dos format floppy or e-mail it to yourself.(Not my idea but it was too cool) Then add a line to "boot.ini" Here's mine.

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\bootsect.dbn ="Debian"
C:\bootsect.slk="Slackware"
C:\bootsect.slm="Minslack"

Reboot and pic your flavor.
 
Old 02-04-2003, 01:03 AM   #5
akz
LQ Newbie
 
Registered: Feb 2003
Posts: 6

Original Poster
Rep: Reputation: 0
ok thanx, i'm gonna test the new ideas i got.

Nice with people who helps eachoter!
 
Old 02-10-2003, 11:47 PM   #6
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
Yes... thanks TheMad...

Your suggestion worked for me...

On my workstation... the initial set up set

boot = /dev/hda2

I changed it to /dev/hda

and then

*Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda... I changed this to /dev/hda2
label = Slackware_8.1

It is booting with LILO now...

Cool...
 
Old 02-11-2003, 12:13 AM   #7
rivang
Member
 
Registered: May 2002
Location: Elkview, WV
Distribution: Slackware 10
Posts: 139

Rep: Reputation: 15
So what is the purpose of the /boot/boot_message.txt? Is that logging boot messages? If so how do you set that up?


Last edited by rivang; 02-11-2003 at 09:01 AM.
 
Old 03-19-2003, 05:06 PM   #8
karanba
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
Exclamation boot problem ntldr

Hi, all.
I have got a boot problem. In my pc I have 3 installed operating system. And I have got 2 hard disk. Hadware browser show this.

-------------------------------------------------------
/dev/hda
----------hda1 502 MB ext2
----------hda3 298 MB linux-swap
----------hda4 18285 MB ext2
----------hda2 19077 MB Extended
................|-----> hda5 19077 MB ntfs
/dev/hdb
---------- 7640 MB Free space
----------hdb2 30522 MB Extended
................ |-----> hdb5 30522 MB ntfs
8 MB Free space
---------------------------------------------------------

in hda I got
1. Redhat 7.2
2. Windows XP
in hdb
Windows 2000svr

I last install Redhat and it work well now. And lilo show up normall at boot time. But when I select Windows XP to boot up It gives a error 'ntldr could not found press ctrl+alt+del to restart'. When I select Windows 2000 it get stack and notting happens. Please help me. I need at least linux and XP to work.
thanks
 
Old 03-21-2003, 01:52 PM   #9
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
Your xp parititon is in the way back in the extended...oh boy windows isn't going to like that too much...to me windows always wants to be in the first partition in my hdd...but post your lilo.conf and then maybe we can start there...

and i am wondering..why are you sticking all your windows in the logical partitions??? it seems your win 2000 is also in the logical...it's better to have those in ur primary....for me this gives less geometry error...
 
Old 03-25-2003, 08:32 AM   #10
potomuss
LQ Newbie
 
Registered: Sep 2002
Location: USA, In the Middle
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Hey karanba,

I had the same issue on two different systems running W2K and Slack. I put lilo in MBR and after the install, Slack started, but W2K did not. I went into the lilo.conf and noticed that it had located my W2K install to hda3 when it was in fact on hda1. This may not be the case with you but it is something to check!

Last edited by potomuss; 03-25-2003 at 08:33 AM.
 
Old 03-25-2003, 09:52 AM   #11
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
its easier to make your extended partitions primary, in stead of logical.

if the partition is logical, it won't boot.

and for the 1st post.

boot with dos floppy
fdisk /mbr

than start up slackware from cd-rom
add these parameters

bare.i root=/dev/hda1 image=/boot/vmlinuz noinitrd ro

than edit your /etc/lilo.conf

than load lilo

/sbin/lilo

and it would write good.

have fun and good luck
 
  


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 L 99 error dllmetal Linux - General 10 12-21-2014 03:29 AM
Lilo error mattp Linux - Newbie 11 08-24-2004 10:14 PM
LILO LinuxEBDA error to /usr/bin/gdm error true_atlantis Slackware 0 04-28-2004 01:31 PM
error loading operating system (lilo error) KoKi Slackware 1 03-03-2004 04:46 PM
Lilo error 99 Groucho Slackware 1 09-30-2003 01:58 PM

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

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