lilo cross install
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" Code:
lxion:~$sudo chroot target /bin/bash second try, "external" Code:
lxion:~$sudo lilo -C target/etc/lilo.conf 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 Code:
# NOTE: boot and disk below must be set to wherever your distro thanks Burlen |
Quote:
The first thing you might try is using the -r option with LILO: Code:
lilo -r target Quote:
Code:
mknod -m 660 target/dev/sdd [major minor] Code:
ls -l /dev/sdd After you have installed LILO, you might want to delete /dev/sdd on your target system. (Although my guess is it doesn't matter.) |
Quote:
|
Quote:
|
Quote:
Code:
# dd if=/dev/hda of=lilo.mbr bs=1 count=446 Code:
# dd if=/dev/sdd of=table.mbr skip=446 bs=1 count=66 Code:
# cat lilo.mbr table.mbr > boot.mbr Code:
# dd if=boot.mbr of=/dev/sdd bs=512 count=1 |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
|
All times are GMT -5. The time now is 10:58 AM. |