LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-10-2007, 04:02 PM   #1
caleb star
Member
 
Registered: Nov 2003
Location: Blankette Blankolina
Distribution: Blank Linux
Posts: 107

Rep: Reputation: 15
Unable to boot after using Genkernel


Hey everyone,

After unnecessarily adjusting my kernel which is the most up to date version in sabayon x86/64 with Genkernel my system of coarse had to crash so I didnt really get a chance to follow the directions on how to copy or mount anything to the bootloader. Can anyone tell me what this means and how to fix it? It begins printing right after all of my modules load.


>>Activating Mdev
!!vgscan or vgchange not found: skipping LVM2 volume group activation!
ln:/etc/splash/suspend2: no such file or directory

>>Determining root device...
!!Block device /dev/volGroup00/ LogVol00 is not a valid root device...
!!The root block device is unspecified or not detected
Please specify a device to boot, or "shell" for a shell..
boot()::

Last edited by caleb star; 06-11-2007 at 07:00 PM.
 
Old 06-10-2007, 04:33 PM   #2
stzein
Member
 
Registered: Mar 2004
Location: Antwerp, Belgium
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
Quote:
Please specify a device to boot, or "shell" for a shell..
Your computer kindly asks you a question, so why don't you answer it?
I can't really know what your root device is, but you could try some of the following:
/dev/hda1
/dev/hda2
/dev/hdb1
/dev/sda1
....
The 'hd' is for an IDE drive, a, b, or even c or d are for primary master, primary slave, etc. The number is the number of your partition.
'sd' stands for special device I believe (don't take my word for it). You get this if you have SATA. Again letters and numbers are used for subsequent devices and partitions.
 
Old 06-10-2007, 05:45 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
I've not used Sabayon, or even genkernel under gentoo, but I'd be willing to bet you need an initrd. You're not going to be able to see your data without LVM active.
Go back in and boot your old kernel and fix up menu.lst
 
Old 06-10-2007, 06:02 PM   #4
caleb star
Member
 
Registered: Nov 2003
Location: Blankette Blankolina
Distribution: Blank Linux
Posts: 107

Original Poster
Rep: Reputation: 15
As a matter of fact sygOO ur right! I remember the terminal message telling me to adjust or either save INITRAMFS to the boot record.

After entering

boot()::/dev/sda1/ I get the output of
>>mounting root...
mknod:/newroot/dev/console: No such file or directory
mknod:/newroot/dev/tty1: No such file or directory
>>Booting(initramfs)..switch_root:Bad console'/dev/console'
[ 86.717681] Kernel Panic-not syncing: Attempted to kill init!

so how do i reinstall my old kernel to fix this?
THX

Last edited by caleb star; 06-10-2007 at 06:26 PM.
 
Old 06-10-2007, 10:07 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by caleb star
so how do i reinstall my old kernel to fix this?
Never overwrite a working kernel. Generate a new one, and add it to your loader; you can always go back and clean up the old one(s) later.

Given that is a gentoo base, I expect you could boot the DVD, chroot into your disk install and re-emerge sabayon-sources. Seems to be a reasonable guide on their wiki for genkernel.
 
Old 09-12-2007, 06:40 PM   #6
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
"...attempted to kill init..." is a scream for extras parameters for the Kernel to be booted correctly. During boot up there are choices to be read and/or chosen. Something along the lines of..."gentoo acpi=off doscsi noapic " will get the boot started. Please keep in mind, each system could require different parameters <cheat codes>. Please read this for YOUR system improvement and productivity... http://www.knoppix.net/wiki/Cheat_Codes
 
  


Reply



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
Genkernel mimithebrain Linux - Distributions 8 12-29-2005 07:57 PM
Building a LiveCD using genkernel pwiebe Linux - Newbie 0 09-19-2005 10:06 PM
Failing to boot Gentoo after running Genkernel Hikaru79 Linux - General 2 05-06-2005 08:50 AM
Gentoo and genkernel Blankwire Linux - Distributions 7 02-09-2005 05:24 PM
gentoo stage 3 genkernel claudius753 Linux - General 5 01-16-2005 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 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