PDA

View Full Version : Cannot install LILO on compact flash device


tPedley@mailinater.com
24-09-2005, 12:21 PM
I am trying to install a embedded system. I have built and copied
across to my CF card the built system based on 2.4 kernal and busybox.
I have created a target lilo conf file on the CF as follows

boot = /dev/sda
disk = /dev/sda
bios=0x80
image=/boot/bzImage-2.4.29
root=/dev/sda1
append="root=/dev/hda1"
label=linux
read-only


I then try and load it using

lilo -r /mnt/cd -C /etc/target.lilo.conf

using LILO version 22.4.1

and I get the following error

Fatal: stat /dev/sda: No such file or directory

I have a /mnt/cf/dev/sda

on the system

Anyone any ideas what I am doing wrong?

tPedley@mailinater.com
27-09-2005, 01:43 AM
No, its connected via USB, but that should not be a problem since I can
access it the disk OK.

Basically I have been following the best I can the O'Reilly Building
Embedded Linux Systems book and have built my system and followed the
Using LILO with Disk and Compact Flash Devices section. But have now
come to a halt.

Any ideas anyone?

I can chroot onto the system, however it looks to me that it is looking
for stat on on the chrooted system and busybox does not have that
utility.