Hi all,
I was trying to boot linux kernel with qemu using custom busybox , having booting problem.
I did the following :
dd if=/dev/zero of=rootfs.img bs=1k count=2048
mkfs.ext2 i 1024 F rootfs.img
mkdir /mnt/rootfs
mount o loop rootfs.img /mnt/rootfs
rsync a busybox/_install/ /mnt/rootfs/
chown R root:root /mnt/rootfs/
sync
qemu -m 64 -hda rootfs.img -kernel linux2.6.28.4/arch/x86/boot /bzImage -append "root=/dev/hda"
while booting it shows:
VFS : can not open hda
append proper root fs in "root="
Looking for inputs about how to do it correctly.
Thanks,
Soumen Acharya
IIIT Bangalore
26/C Electronics City
Bangalore 560 100 INDIA
Mobile-(+91)9916596352