Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an image of Debian/LXDE assembled for ARM and I trying to run it in Qemu. I am using this command:

sudo qemu-system-arm -M versatilepb \
     -kernel ./vmlinuz-2.6.32-5-versatile \
     -initrd ./initrd.img-2.6.32-5-versatile \
     -hda ./debianlxde.img -m 256 -append "root=/dev/sda1 m=256M"

The system tries to run but fails with following errors:

Gave up waiting for root device. Common problems:
  - Boot args (cat /proc/cmdline)
    - Check rootdelay= (did the system wait long enough?)
    - Check root= (did the system wait for right device?)
  - Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda1 does not exist. Dropping to a shell!

My OS is Fedora 16 (RFR 16). What am I doing wrong?

share|improve this question
add comment

migrated from serverfault.com Nov 25 '11 at 20:45

This question came from our site for professional system and network administrators.

1 Answer

up vote 1 down vote accepted

You're not following the advice of your initrd.

Do any disks show up in /dev? They may show up as hdX instead of sdX.

What modules do you have loaded in the initrd?

share|improve this answer
    
Thanks, all the trouble was in root=/dev/sda1, I've changed it to /dev/sda and all done –  skayred Nov 26 '11 at 2:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.