logo       

Re: Booting from CF: msg#00091

linux.ports.h2200

Subject: Re: Booting from CF

Matt Reimer <mattjreimer@...> writes:

>
> On 4/8/06, Zmiter <zmiters@...> wrote:
> > Hi.
> >
> > >Your command line looks like it contains the correct arguments (though
> > >you don't need 'rw' or 'noinitrd'). Are you sure /dev/hda2 is really
> > >what you want? Perhaps you created extended partitions? Can you send
> > >fdisk output?
> >
<snip>
> >
> > I've tried hda1, hda2, hda3, hda4, hda5 and hda6, but no result... everytime
that stupid message:
> > VFS: Cannot open root device "hda5" or unknown-block(0,0)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
>
> Ah, I think I know what the problem is: I'm guessing my last
> image/rootfs was built incorrectly (fakeroot probably wasn't suid so
> the device nodes in /dev got created as regular files rather than
> device nodes). I'm building a new image and will check for that
> specifically.
>
> Matt
>


I have the same problem with the
bootopie-v0.8.4-rc3-h2200.tar.bz2

this is my startup.txt (copied from instructions)

set KERNEL zImage
set MTYPE 341
set CMDLINE "root=/dev/hda2 rootdelay=5 console=ttyS0,115200n8"
bootlinux

This is the fdisk of CF

root@malo:/mnt# fdisk /dev/sdc

Comando (m per richiamare la guida): p

Disk /dev/sdc: 1045 MB, 1045094400 bytes
255 heads, 63 sectors/track, 127 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Boot Start End Blocks Id System
/dev/sdc1 1 2 16033+ 6 FAT16
/dev/sdc2 3 127 1004062+ 83 Linux

this is the list of /dev/hda2

root@malo:/mnt# l /mnt/sdc2/dev/hda2
brw-rw---- 1 root root 3, 2 2006-07-24 21:42 /mnt/sdc2/dev/hda2

I change the fstab as described in the guide:
root@malo:/mnt# cat /mnt/sdc2/etc/fstab
#/dev/mtdblock3 / jffs2 defaults 1 1
/dev/hda2 / ext2 defaults 1 1
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
tmpfs /var tmpfs defaults 0 0
/dev/hda1 /media/cf auto defaults,sync,noauto,noatime,exec,suid
0 0
/dev/mmcblk0p1 /media/card auto defaults,sync,noauto,noatime,exec,suid
0 0



this is the error I got when i try to boot using haret.exe:

Waiting 5sec before mounting root device...
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda2" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

I dont know what I may try. It seems to me that the /dev/hda2 is a block device.
Can yoou help me?
Thanks


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise