Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 am trying to install a new kernel on my PC but I am receiving the following errors:
unmount /initrd/sys failed: 2
unmount /initrd/proc failed: 2
initrd finished
Freeing unused kernel memory: 212k freed
Kernel public - not syncing: No init found. Try passing init= option to kernel
Can anyone figure out what is wrong. I did try passing "init=" to the kernel but got the same error.
Within my grub file, I have:
title newlinux
kernel (hd0,4)/boot/vmlinux-2.6.10 root=/dev/hda5
devfs=nomount acpi=on splash=silent vga=788
init, I really do not know what this is supposed to lead to for the new installation because the old goes to /boot/initrd.img ( initrd (hd0,4)/boot/initrd.img ) and when I tried this for the new kernel, I received my reported errors.
The best way to upgrade your kernel in mandrake is with urpmi.The mandrake kernel is a custom kernel with alot of patches.Why did you want a new kernel and what guide did you use?
You need a ramdisk file (initrd.gz or initrd.img) to boot to Linux. The ramdisk file is used to pivot from the ramdisk file to the hard drive. Also make sure you selected the filesystem that you are using for your root partitions and other partitions before compiling the kernel. If you do not, your system will not boot.
Add
initrd (hd0,4)/initrd-2.6.10.img
below of the kernel line in /boot/grub/menu.lst
For the above to work with your kernel with out modules, you need to run mkinitrd. Look up mkinitrd in the man pages. It does make it easier if you include some words in the file so you can tell the three apart from them.
BTW, if you are going to use VMware or just want the messages look clearer in the console, remove vga=788 in the boot config.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.