Compact Flash Problem... continued...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thanks for responding last time about how to boot from compact flash.
That problem was solved and I kept moving ahead but now I am stuck up in another issue..

I have loaded vmlinx, initrd, syslinux.cfg a root fs on the CF. And booted up the box. It hangs up with the following lines..

*****************************************************************8
NET4: Unix domain socket 1.0/SMP for Linux NET4.0
RAMDISK: Couldn't find valid RAM disk image starting at 1150
Freeing initrd memory: 170k freed
isofs_read_super: bread failed, dev=09:00, iso_blknum=16, block=32
kernel panic: VFS: Unable to mount root fs on 09:00
****************************************************************


below is the listing of linuxrc in initrd.img
****************************************************************
#!/bin/nash

echo "Loading jbd module"
insmod /lib/jbd.o
echo "Loading ext3 module"
insmod /lib/ext3.o
echo Preparing setup ramdisk
mount -o remount,rw / 2>/dev/null
echo Mounting proc...
mount -t proc none /proc

echo Copying the root fs
gunzip -c /rootfs.dd.gz /dev/ram1
echo done

echo Chaning to new root
echo 257 >/proc/sys/kernel/real-root-dev
umount /proc
echo done.
echo Continuing normal boot procedure from ramdisk
*****************************************************************

while the listing of syslinux.cfg is as follows...
*************************************************************
default linux
prompt 1
timeout 600
label linux
kernel vmlinuz
append initrd=initrd.img load_ramdisk=1 prompt_ramdisk=1 ramdisk_start=1150 ramdisk_size=5342880
*****************************************************************


Could someone please comment on where could be the problem. And yes I also set the ramdisk word in the kernel. What I did was rdev -r ./vmlinuz 17535.

Thanks in advance..
Dp


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux