Hi,
I am building a linux on USB disk. I compile linux kernel by myself. I have installed grub and linux-image , initrd-image and busybox into usb. I have boot successfully with qemu.
The screen shot
As you see I can boot under qemu. But when I think I did it... I boot it with real computer, I got error messages
Quote:
umount: devfs: not mounted
mount: unknown filesystem type 'devfs'
umount: devfs: not mounted
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic - not syncing: Attempted to kill init!
|
Why? What am I doing wrong? This is the configure of grub:
Code:
default 0
timeout 10
title Victor’s USB Live Linux
root (hd0,0)
kernel /boot/linux.img-2.6.22.2
initrd /boot/initrd.img-2.6.22.2
And I have created console and tty with mknod. I have no idea why it can't find dev/console.
Could someone help me? Thanks a lot.
Victor Lin.