LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-23-2005, 06:23 PM   #1
alltime
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1 with kernel 2.6.10
Posts: 60

Rep: Reputation: 15
Kernal panic


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.
 
Old 01-23-2005, 07:03 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
the old initrd will NOT work on the new kernel,what distro?
 
Old 01-23-2005, 07:05 PM   #3
alltime
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1 with kernel 2.6.10
Posts: 60

Original Poster
Rep: Reputation: 15
Mandrake 10.0
Kernel 2.6.10
 
Old 01-23-2005, 08:04 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
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?
 
Old 01-23-2005, 09:22 PM   #5
alltime
Member
 
Registered: Jan 2005
Distribution: Mandrake 10.1 with kernel 2.6.10
Posts: 60

Original Poster
Rep: Reputation: 15
It was an assignment.

Had to install a new kernel with modules, then do it again but then without modules.
 
Old 01-23-2005, 09:55 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernal Panic coolone Linux - Laptop and Netbook 3 07-01-2005 06:12 PM
Kernal panic jelgavchik Linux - Laptop and Netbook 1 01-08-2005 12:39 PM
Kernal panic ? James McGee Yoper 10 10-06-2004 12:59 PM
Kernal panic oh no nuhn123 Linux - Newbie 9 09-10-2003 07:54 AM
Kernal Panic needamiracle Linux - Software 7 06-05-2002 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration