[NBLUG/talk] lilo configuration (for now)

Glen Gunsalus G-Gunsalus at mindspring.com
Wed Dec 29 13:57:21 PST 2004


I'm trying to get sarge running on a second disk on my system and running into 
boot problems after successful completion of sarge-install from CD.

Background:
I have a system running RH7.3 (uses lilo by default) with /boot on hda1, / on 
hda5, and the rest on a scsi disk (sda).

I added a 60Mb disk as slave on ide0 so it shows up as hdb.  It may be 
relevant that my BIOS is ancient and won't handle big disk (may be why grub 
failed - see below).

Anyway, I got sarge-install to do all the partitioning, etc, and did grub 
write ok, but on the reboot afterward got something like:

Grub loading
Error 15

I ran 7.3 boot floppy and used lilo to write MBR from the 7.3 lilo.conf file 
and now am at least running my original system again.

sfdisk -l /dev/hdb shows all the hdb partitions and sarge is there ok:
 sfdisk -l /dev/hdb

Disk /dev/hdb: 119150 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls   #blocks   Id  System
/dev/hdb1   *      0+    580     581-   292792+  83  Linux
/dev/hdb2        581  119149  118569  59758776    f  Win95 Ext'd (LBA)
/dev/hdb3          0       -       0         0    0  Empty
/dev/hdb4          0       -       0         0    0  Empty
/dev/hdb5        581+   6393    5813-  2929720+  83  Linux
/dev/hdb6       6394+  16081    9688-  4882720+  83  Linux
/dev/hdb7      16082+  25769    9688-  4882720+  83  Linux
/dev/hdb8      25770+  35457    9688-  4882720+  83  Linux
/dev/hdb9      35458+  45145    9688-  4882720+  83  Linux
/dev/hdb10     45146+  54833    9688-  4882720+  83  Linux
/dev/hdb11     54834+  74209   19376-  9765472+  83  Linux
/dev/hdb12     74210+  83897    9688-  4882720+  83  Linux
/dev/hdb13     83898+  86803    2906-  1464592+  82  Linux swap
/dev/hdb14     86804+  96491    9688-  4882720+  83  Linux
/dev/hdb15     96492+ 106179    9688-  4882720+  83  Linux
/dev/hdb16    106180+ 115867    9688-  4882720+  83  Linux
/dev/hdb17    115868+ 119149    3282-  1654096+  83  Linux

and I can mount hdbx partitions ok, so at least linux can see hdb ok.

Anyway, I'd now like to be able to boot the disk with sarge and do the next 
phase.
I've looked through what I can find of lilo documentation, but am not making 
much headway on this.

Soo......... can anyone give me pointers on this?  I need some help getting 
the appropriate section on lilo.conf to boot on hdb (hdb1 is /boot, hdb5 is /).

Here's my lilo.conf on running system:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.4.18-3smp
	label=linux
	initrd=/boot/initrd-2.4.18-3smp.img
	read-only
	root=/dev/hda5
	append="hdc=ide-scsi"

image=/boot/vmlinuz-2.4.18-3
	label=linux-up
	initrd=/boot/initrd-2.4.18-3.img
	read-only
	root=/dev/hda5
	append="hdc=ide-scsi"

TIA Glen






More information about the talk mailing list