qemu linux kernel with busybox booting problem

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

 



Title: qemu linux kernel with busybox booting problem


  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 linux­2.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


[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