Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Sorry I can't do that yet for some reasons and I hope somebody else will do that for you instead.
But anyway I just recognized that you already have a working system (sorry 'bout that) and you're just trying to boot a newly built kernel right?; so your /etc/fstab is probably ok. You can know the proper root device that your should pass as an argument to 'root=' by doing 'cat /etc/mtab' or 'cat /proc/partitions' or just running 'mount' to have a list.
Maybe the problem is caused by your "working system" and "bare PC" having different hardware and your kernel and/or initrd having hardware-secific stuff in them. How similar/different are the computers?
Red Hat nash version 3.5.14 starting
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
Freeing unused kernel memory: 224k freed
Kernel panic: No init found. Try passing init= option to kernel.
If only we can tell what's causing that error. Is the kernel built with support for ext3? Also there's probably a bad parameter for the initrd. For example, in gentoo, real_root needs to have the final root that will be mounted after booting on a temporary ramdisk.