LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to boot after using Genkernel (https://www.linuxquestions.org/questions/linux-software-2/unable-to-boot-after-using-genkernel-560690/)

caleb star 06-10-2007 04:02 PM

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:rolleyes: 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()::

stzein 06-10-2007 04:33 PM

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? :cool:
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.

syg00 06-10-2007 05:45 PM

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

caleb star 06-10-2007 06:02 PM

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:newbie:

syg00 06-10-2007 10:07 PM

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.

UhhMaybe 09-12-2007 06:40 PM

"...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


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