Skip to contentSkip to conversation

How could i use a file system on Ram ?

DISCUSSION Cuong Dang Phu 2 participants 2 messages Oct 24, 2008 – Oct 31, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

Hi,

This is my problem: my kernel can find root file system (it’s loaded on Ram)

…
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize driver sh_udc, 12 Nov 2007
List of all partitions:
No filesystem could mount root, tried: ext3 ext2 cramfs minix vfat

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

…

My kernel command is: “root=/dev/ram0” I think my kernel doesn’t know file- system’s address and I don’t know how to configure kernel, could you help me to configure it?

Best regards,

#1 lore raw
Quoted 9 lines · Cuong Dang Phu

Hi,

This is my problem: my kernel can find root file system (it???s loaded on Ram)

???
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize driver sh_udc, 12 Nov 2007
List of all partitions:
No filesystem could mount root, tried: ext3 ext2 cramfs minix vfat

Quoted 7 lines
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

???

My kernel command is: ???root=/dev/ram0??? I think my kernel doesn???t know file- system???s address and I don???t know how to configure kernel, could you help me to configure it?

It sounds like you may wish to give initramfs a try. See:

http://www.linux-sh.org/shwiki/Using_Early_User_Space