-----Ursprungliche Nachricht-----
Von: Troy Davis <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: Donnerstag, 7. Juni 2001 07:01
Betreff: [rtl] Booting from flash disk


>Hello-
> I am following the instructions of Bernd Stahlbock on his method of
booting
>from a flashdisk using initrd and a ram drive.  Everything works fine up
>until just after the partion check on boot:
>
>Partition check:
>  sda:  sda1
>  hda:  hda1
>RAMDISK: Compressed image found at block 0
>[MS-DOS FS Rel.  12.FAT 0,check=n,conv=b,uid=0,gid=0,umask=022,bmap]
>[me=0x0,cs=0,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=0,rc=0,fc=4294967
2
>95]
>Transaction block size = 512
>Kernel panic: VFS: Unable to mount root fs on 01:00
>
> I have initrd and ramdisk support compiled into the kernel.
> I've never used initrd before, so I don't know if it is working correctly.
>My flashdisk is formatted as e2fs and only contains a boot directory and
>initrd.img.gz.  One thing I could not do in following Bernd's instructions
>is to use gzip to compress my file structure image.  I got errors stating
>all of my devices in /dev were not 'a directory or a regular file -
>ignored'.  I used tar czf but I'm not sure that this will work.
> Is this error a file system error?  Or initrd?


try:
mke2fs -m0 /dev/ram 3500
mkdir /mnt/ram/dev
cp -a /dev/* /mnt/ram
... cp others
umount /dev/ram
dd if=/dev/ram bs=1k count=3500 of=/boot/INITRD
cd /boot
gzip -f -9 INITRD

or look at M-Systems Disk-on-Chip with Linux OS

ciao
alfred


>
>
>Troy Davis
>Airborne Data Systems, Inc.
>
>-- [rtl] ---
>To unsubscribe:
>echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
>echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
>--
>For more information on Real-Time Linux see:
>http://www.rtlinux.org/rtlinux/
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to