[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] Flash disk probs
Thanks everyone for generous help with the flash disk. Everyone hit
it right on the head about the problem. When I moved the drive to a
machine that had two IDE controllers (ctrlr1 = real IDE, ctrlr2 = flash)
things behaved properly. It seems that the flash won't behave on the
same controller. It works ok when on the embedded system alone as
the master.
So now I'm trying to cram everything onto the flash, but lilo won't
set things up properly...argh!
I've got:
1) One partition created on the flash, taking up all the disk's space
2) A small 1Mb file system on the flash: 'mk2fs -vM0 /dev/hdc1 1000'
3) A kernel with it's ramdisk and root offset set: rdev -r /mnt/vmlinuz 17384
(the flash disk is mounted: mount /dev/hdc1 /mnt during setup)
4) A compressed root file system starting at 1000:
dd if=rootfs.gz of=/dev/hdc1 bs=1k seek=1000
The lilo.conf is
boot = /dev/hdc
image = /vmlinuz
root = /dev/ram0
label = Linux
read-only
But when lilo is run: lilo -r /mnt, I get the message:
open /dev/hdc: No such file or directory
I've tried various incarnations of the lilo.conf file but still get the
same message. Too bad lilo didn't mention what it was trying top open
when it barfs. I suspect it's trying to write the MBR.
Is there something bogus in my technique here?
Regards,
Jim.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu