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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been getting an error of this kind whenever i try to boot. i try to boot a target pc with a bootable cd created out of my Kernel image(vmlinuz-2.6.18)and the initrd image (2.6.18) using the command /sbin/mkbootdisk on my linux pc.
***********************************************************
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.
I googled and found out that ext3 fs should be a part of the kernel and not a module . But i even tried to configure into kernel but found no improvement.
What all needs to be added ?
Please help needed urgently
This is probably a dumb question, so I apologize in advance. You have built the kernel with this config, installed it, and reinstalled LILO or GRUB, right?
If this is a SATA hard drive that you are booting from, are the correct SATA drivers being built into the kernel?
I have enabled the Serial ATA drivers in the (SCSI low level drivers option) in make menuconfig.
What are the other SATA drivers you feel are to be built into the kernel ?
I use LILO, so I am a bit out of my comfort zone, but I know that you have to recycle GRUB onto your MBR just like you would LILO after updating your kernel image.
According to the GRUB Manual, you can use the utility 'grub-install' to do this.
The config you posted looks fine to me, so long as your new kernel image is actually located at /vmlinuz-2.6.18 and everything else is correct.
If you are having to boot from a USB stick or CD at the moment, you may have to call 'grub' directly to install it for booting . . . it's all in the manual: http://orgs.man.ac.uk/documentation/grub/grub_3.html
You ARE doing a 'make bzimage' from /usr/src/linux, right? Then doing a 'cat arch/x86_64/boot/bzImage > /vmlinuz-2.6.18' or some equivalent to get the new image in place? (Again, sorry to ask dumb questions . . . these are things that easily could be it if it were me having this problem.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.