Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error on reboot...
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
MaNiFoLD
n00b
n00b


Joined: 23 Oct 2003
Posts: 33
Location: St. Louis, MO

PostPosted: Wed Feb 18, 2004 7:47 pm    Post subject: Error on reboot... Reply with quote

As soon as I rebooted to try to get into my freshly installed Gentoo system, my computer searched for the boot record, and found it, and this was the output.

Code:
L 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
   99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
  99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99


Why does that happen, so I can chroot in from the LiveCD and fix it?

I'm using Lilo.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Feb 18, 2004 8:12 pm    Post subject: Reply with quote

Quote:
I'm using Lilo.

Yes, I see that ;-)

How did you install lilo?
What is in your lilo.conf ?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
MaNiFoLD
n00b
n00b


Joined: 23 Oct 2003
Posts: 33
Location: St. Louis, MO

PostPosted: Wed Feb 18, 2004 8:47 pm    Post subject: Reply with quote

Code:
boot=/dev/hdb1
prompt   
delay=50
default=gentoo
vga=xxx (don't recall atm, but it is the right res/colordepth)

image=/boot/gentoo-shraps
  label=gentoo
  read-only
  root=/dev/hdb3

other=/dev/hda
  label=windows
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Feb 18, 2004 8:56 pm    Post subject: Reply with quote

You may need to add the lines

Code:
lba
linear

to lilo.conf.

The error you get means LILO can't find the right boot block to continue loading, which is usually a drive geometry problem.

The actual boot sector only holds enough data to get to the "L 99 99 99" part...
The rest of the boot block is on other sectors, and it needs to reliably know where these are.

Remember to run LILO after changing the config!
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
MaNiFoLD
n00b
n00b


Joined: 23 Oct 2003
Posts: 33
Location: St. Louis, MO

PostPosted: Wed Feb 18, 2004 9:47 pm    Post subject: Reply with quote

Trying lba32 or linear produced no results.

Here's an error I'm getting when I run /sbin/lilo:

Code:
Warning: /proc/partitions does not match '/dev' directory structure.
     Name Change: /dev/ide/host0/bus0/target0/lun0/disc -> '/dev/hda'
     The kernel was compiled with DEVFS_FS but 'devfs=boot' was omitted
     as a kernel command-line boot parameter; hence the '/dev' directory
     structure does not reflect DEVFS_FS device names.
Warning: /dev/hdb1 is not on the first disk
Added gentoo *
Added windows


Does that help any?
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Wed Feb 18, 2004 10:31 pm    Post subject: Reply with quote

Could you re-run lilo with

Code:
lilo -tv

to get more info?
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
MaNiFoLD
n00b
n00b


Joined: 23 Oct 2003
Posts: 33
Location: St. Louis, MO

PostPosted: Thu Feb 19, 2004 3:12 am    Post subject: Reply with quote

Code:
Reading boot sector from /dev/hdb1
Warning: /proc/partitions does not match '/dev' directory structure.
     Name Change: /dev/ide/host0/bus0/target0/lun0/part1 -> '/dev/hda1'
     Name Change: /dev/ide/host0/bus0/target1/lun0/disc  -> '/dev/hdb'
     Name Change: /dev/ide/host0/bus0/target1/lun0/part1 -> '/dev/hdb1'
     Name Change: /dev/ide/host0/bus0/target1/lun0/part2 -> '/dev/hdb2'
     Name Change: /dev/ide/host0/bus0/target1/lun0/part3 -> '/dev/hdb3'

     The kernel was compiled with DEVFS_FS but 'devfs=boot' was omitted
     as a kernel command-line boot parameter; hence the '/dev' directory
     structure does not reflect DEVFS_FS device names.

Warning: /dev/hdb1 is not on the first disk

Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/gentoo-shraps
Added gentoo *

Boot other: /dev/hda, loader CHAIN
Pseudo Partition Start: 0
Added windows

The boot sector and the map file have *NOT* been altered.
Back to top
View user's profile Send private message
LamboAlpha
n00b
n00b


Joined: 19 Feb 2004
Posts: 12

PostPosted: Thu Feb 19, 2004 5:00 am    Post subject: Reply with quote

I am getting the same error... and when I try to boot gentoo the kernel loads fine but it can not find the root block.

Reading boot sector from /dev/hda
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name Change: '/dev/ide/host0/bus0/target0/lun0/disc' -> '/dev/hda'
The kernel was compiled with DEVFS_FS but 'devfs=boot' was omitted
as a kernel command-line boot parameter; hence the '/dev' directory
structure does not reflect DEVFS_FS device names.
Name Change: /dev/ide/host0/bus0/target0/lun0/disc -> '/dev/hda'
Name Change: /dev/ide/host0/bus0/target0/lun0/part1 -> '/dev/hda1'
Name Change: /dev/ide/host0/bus0/target0/lun0/part2 -> '/dev/hda2'
Name Change: /dev/ide/host0/bus0/target0/lun0/part3 -> '/dev/hda3'
Name Change: /dev/ide/host0/bus0/target0/lun0/part4 -> '/dev/hda4'

Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/gentoo-2.4.22-gentoo-r5
Added Custom

Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added windows *

The boot sector and the map file have *NOT* been altered.
Back to top
View user's profile Send private message
juniperoots
n00b
n00b


Joined: 18 Feb 2004
Posts: 24

PostPosted: Thu Feb 19, 2004 6:05 am    Post subject: Reply with quote

I had the same problem after a fresh stage2 install. "emerge udev" will solve your woes. :)
Back to top
View user's profile Send private message
MaNiFoLD
n00b
n00b


Joined: 23 Oct 2003
Posts: 33
Location: St. Louis, MO

PostPosted: Thu Feb 19, 2004 10:33 pm    Post subject: Reply with quote

Emerge udev solved nothing.

Any other ideas?
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