From: flavio.ceolin@gmail.com (Flavio Ceolin)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Not mounting rootfs
Date: Tue, 11 Mar 2014 23:54:25 -0300 [thread overview]
Message-ID: <871ty8ceji.fsf@gmail.com> (raw)
Hi folks,
I trying to boot a kernel with a rootfs generated with buildroot under
qemu but with any success, the output is:
[ 0.814014] Magic number: 6:562:333
[ 0.814522] tty tty54: hash matches
[ 0.815121] rtc_cmos 00:00: setting system clock to 2014-03-11 14:19:08 UTC (1394547548)
[ 0.820886] List of all partitions:
[ 0.821097] No filesystem could mount root, tried:
[ 0.821399] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 0.821877] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.0-rc5-ARCH-00265-gb01d4e6 #1
[ 0.822184] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 0.822550] ffffffffffffffff ffff880007107df8 ffffffff814f7bc4 ffffffff816e5af0
[ 0.822903] ffff880007107e70 ffffffff814f4749 ffffffff00000010 ffff880007107e80
[ 0.823216] ffff880007107e20 ffff880007107e28 ffff880007107e90 0000000000000012
[ 0.823421] Call Trace:
That is the way I'm invoking qemu:
qemu-system-x86_64 -boot c -m 128 -nographic -kernel ./path/to/bzImage
-hda ./buildroot-2013.05/output/images/rootfs.ext2 -append
"root=/dev/ram0 console=ttyS0 init=/sbin/init"
Any tip is extremely welcome :)
---
Flavio Ceolin
next reply other threads:[~2014-03-12 2:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 2:54 Flavio Ceolin [this message]
2014-03-12 12:25 ` Not mounting rootfs Valdis.Kletnieks at vt.edu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871ty8ceji.fsf@gmail.com \
--to=flavio.ceolin@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).