Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot boot after install (lilo - error code: L 99)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
u_peg
n00b
n00b


Joined: 11 Jun 2005
Posts: 4

PostPosted: Sat Jun 11, 2005 11:59 am    Post subject: Cannot boot after install (lilo - error code: L 99) Reply with quote

Hello after installation and configuration lilo I try to restart system.
But on screen I see only L 99 99 99 99 99 99 99 99 99 99 99 etc.

Does anybody know what is wrong?

Code:

#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1           5       40131   83  Linux
/dev/sda2               6          68      506047+  82  Linux swap / Solaris
/dev/sda3              69        9964    79489620   83  Linux

Disk /dev/sdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9964    80035798+  83  Linux


Code:

#cat /etc/lilo.conf
disk=/dev/sda bios=0x80
boot=/dev/sda
prompt
lba32
timeout=30
default=gentoo

image=/boot/kernel-2.6.11-gentoo-r9
label=gentoo
read-only
append="init=linuxrc ramdisk=8192 real_root=/dev/sda3 doscsi acpi=on nolvm2 video=vesafb:mtrr,ywrap,1024x768-32@85 udev"
initrd=/boot/initrd-2.6.11-gentoo-r9


Code:

#/sbin/lilo -v3
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004 and compiled at 13:17:07 on Jun 11 2005

raid_setup returns offset = 00000000  ndisk = 0
 BIOS   VolumeID   Device
Reading boot sector from /dev/sda
pf_hard_disk_scan: ndevs=2
  0800  215D215C  /dev/sda
  0810  7361403E  /dev/sdb
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
  0800  215D215C  /dev/sda
  0810  7361403E  /dev/sdb
device codes (user assigned pf) = 1
device codes (user assigned) = 1
device codes (BIOS assigned) = 1
Filling in '/dev/sdb' = 0x81
device codes (canonical) = 3
Device 0x0800: BIOS drive 0x80, 255 heads, 9964 cylinders,
               63 sectors. Partition offset: 0 sectors.
Using Volume ID 215D215C on bios 80
Device 0x0801: BIOS drive 0x80, 255 heads, 9964 cylinders,
               63 sectors. Partition offset: 63 sectors.
Using Volume ID 215D215C on bios 80
Warning: Unable to determine video adapter in use in the present system.
Using MENU secondary loader
Calling map_insert_data
Secondary loader: 18 sectors (0x3400 dataend).
bios_boot = 0x80  bios_map = 0x80  map==boot = 0  map S/N: 215D215C
BIOS data check will include auto-suppress check

Boot image: /boot/kernel-2.6.11-gentoo-r9
Device 0x0801: BIOS drive 0x80, 255 heads, 9964 cylinders,
               63 sectors. Partition offset: 63 sectors.
Using Volume ID 215D215C on bios 80
Setup length is 11 sectors.
Mapped 3069 sectors.
Mapping RAM disk /boot/initrd-2.6.11-gentoo-r9
Device 0x0801: BIOS drive 0x80, 255 heads, 9964 cylinders,
               63 sectors. Partition offset: 63 sectors.
Using Volume ID 215D215C on bios 80
RAM disk: 3676 sectors.
Added gentoo *
    <dev=0xe0,hd=0,cyl=60,sct=93>
    "ro init=linuxrc ramdisk=8192 real_root=/dev/sda3 doscsi acpi=on nolvm2 video=vesafb:mtrr,ywrap,1024x768-32@85 udev"

 BIOS   VolumeID   Device
  80    215D215C    0800
  81    7361403E    0810
Writing boot sector.
/boot/boot.0800 exists - no boot sector backup copy made.
Map file size: 48128 bytes.
RAID device mask 0x0000
Failsafe check:  boot_dev_nr = 0x0800 0xfff0
map==boot = 0    map s/n = 215D215C


Thanks for your answers


Last edited by u_peg on Sat Jun 11, 2005 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Sat Jun 11, 2005 12:28 pm    Post subject: Reply with quote

Hi.

How about googling for an answer? If you search for 'lilo l99' you get 450 hits. In the first page you get at least the following links which might help solving your problem:
http://grml.org/grml2hd/
http://www.linuxquestions.org/questions/archive/8/2004/02/1/142239
http://lists.debian.org/debian-user/2004/07/msg00699.html
Back to top
View user's profile Send private message
u_peg
n00b
n00b


Joined: 11 Jun 2005
Posts: 4

PostPosted: Sat Jun 11, 2005 1:58 pm    Post subject: Reply with quote

Thanks.

I tryed google, but I didn't found anything usable...
Back to top
View user's profile Send private message
bet1m
l33t
l33t


Joined: 04 Dec 2004
Posts: 631
Location: Kosova/Prishtine

PostPosted: Sat Jun 11, 2005 4:27 pm    Post subject: Reply with quote

jmbsvicetto wrote:
Hi.

How about googling for an answer? If you search for 'lilo l99' you get 450 hits. In the first page you get at least the following links which might help solving your problem:
http://grml.org/grml2hd/
http://www.linuxquestions.org/questions/archive/8/2004/02/1/142239
http://lists.debian.org/debian-user/2004/07/msg00699.html

This forum is for helping people not telling 'google for answer' .

u_peg,

Looks like you have a typo on lilo.conf , remove that disk=/dev/sda, and try again.[/code]
_________________
#370559
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Sat Jun 11, 2005 7:31 pm    Post subject: Reply with quote

Hey,

I don't usually tell people for googling for answers. Furthermore, I did post some links that might contain an answer to the problem and if I recall correctly from the days I used LILO, the LILO error messages are very explanatory. You just need to know what error corresponds to the code. From the links I listed, I get the impression that the L99 error usually happens when someone forgets to install LILO in the MBR.
Back to top
View user's profile Send private message
u_peg
n00b
n00b


Joined: 11 Jun 2005
Posts: 4

PostPosted: Sun Jun 12, 2005 12:19 pm    Post subject: Reply with quote

Quote:

... remove that disk=/dev/sda, and try again.


Hello,

I tryed it, but lilo still doesn't boot :(
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Jun 12, 2005 5:01 pm    Post subject: Reply with quote

Boot the livecd, mount the root and boot partitions, chroot and run /sbin/lilo. Post the output of that command.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
u_peg
n00b
n00b


Joined: 11 Jun 2005
Posts: 4

PostPosted: Mon Jun 13, 2005 8:13 am    Post subject: Reply with quote

nixnut wrote:
Boot the livecd, mount the root and boot partitions, chroot and run /sbin/lilo. Post the output of that command.


I've done this in my first contribution...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum