I am attempting to cross install linux on a router board(soekris net4521) from my workstation. The media is a compact flash card. I am having difficulty getting lilo installed.
I have made a bootstrap linux install on the cf drive which is mounted from /dev/sdd on /home/me/target.
The primary issue seems to be that in target /dev there are no hd* devices. This my first cross install so I don't know if this is expected or not, and all of the guides I have seen suggest to use grub, which has some issues with my disk geometry. As a result, It was advised that I use lilo instead. I tried to install lilo two ways:
first try, "chroot"
lxion:~$sudo chroot target /bin/bash
root:/# mount -a
root:/# lilo -C /etc/lilo.conf
Fatal: stat /dev/sdd: No such file or directory
hmmm. no luck there. Even though the cf drive is mounted on /dev/sdd iny workstation file system it doesn't show up in the chroot'ed file system /dev...
second try, "external"
lxion:~$sudo lilo -C target/etc/lilo.conf
Warning: LBA32 addressing assumed
Warning: The boot sector and map file are on different disks.
Warning: no PROMPT with SERIAL; setting DELAY to 20 (2 seconds)
Fatal: Illegal 'root=' specification: /dev/hda1
I see that I did something bad with the map file, it should be going on what ever is to be /dev/hda1. I know for sure that when the router boots it's bios reports the cf disk as /dev/hda so I am hesitant to change this...
Now, I have exhausted the options that I know of, and google didn't turn up any thing too useful
this is my lilo.conf
# NOTE: boot and disk below must be set to wherever your distro
# is currently mounted (while you're installing LILO). Don't mess
# with anything else unless you really know what you're doing.
boot = /dev/sdd
disk = /dev/sdd
bios = 0x80
delay = 1
serial=0,9600n8
image = /boot/vmlinuz-2.6.22-14-generic
root = /dev/hda1
append="console=ttyS0,9600n8"
label = soekris-2.6.22-14
read-only
can you advise?
thanks
Burlen