Hi, I recently(yesterday) installed Gentoo 2007 from a CD I obtained from Mehul Ved. Problems that dogged me:
1]The Live CD could not boot the ATi Radeon XPress 200(RC410) integrated card on my Intel D101GGC motherboard. 2]I ran the text mode(pseudo-GUI?) installer and refused to install the Gentoo Grub opting instead to add the relevant entries to my Ubuntu 7.04/boot/grub/menu.lst.So,I added the following for Gentoo:
title Gentoo 2007 root (hd0,8) kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9 initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
wherein my Gentoo / is partition number 9(hda9)So everything went fine till I tried to boot my Gentoo install.Kernel was recognized and starts booting,but during booting an error message pops up saying
Booting (initramfs)..switch_root: "Bad init('/sbin/init)
Kernel panic-not syncing-attempted to kill init!
and the machine hangs there with the Caps Lock and Scroll Lock LEDs blinking furiously.I have to press the Reset button to regain control.I tried a Google search and all I got was a topic on a development release of a VM.Cansomeone help me with this error?
Regards, Easwar
On Feb 3, 2008 6:55 PM, Easwar Hariharan wrote:
Hi, I recently(yesterday) installed Gentoo 2007 from a CD I obtained from Mehul Ved. Problems that dogged me:
1]The Live CD could not boot the ATi Radeon XPress 200(RC410) integrated card on my Intel D101GGC motherboard. 2]I ran the text mode(pseudo-GUI?) installer and refused to install the Gentoo Grub opting instead to add the relevant entries to my Ubuntu 7.04/boot/grub/menu.lst.So,I added the following for Gentoo:
title Gentoo 2007 root (hd0,8) kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9 initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
wherein my Gentoo / is partition number 9(hda9)So everything went fine till I tried to boot my Gentoo install.Kernel was recognized and starts booting,but during booting an error message pops up saying
Booting (initramfs)..switch_root: "Bad init('/sbin/init)
Kernel panic-not syncing-attempted to kill init!
and the machine hangs there with the Caps Lock and Scroll Lock LEDs blinking furiously.I have to press the Reset button to regain control.I tried a Google search and all I got was a topic on a development release of a VM.Cansomeone help me with this error?
Regards, Easwar
Try this:
title=Gentoo 2007 root (hd0,8) kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda9 udev initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
On Feb 3, 2008 11:13 PM, osric fernandes osric.fernandes@gmail.com wrote:
On Feb 3, 2008 6:55 PM, Easwar Hariharan wrote:
Hi, I recently(yesterday) installed Gentoo 2007 from a CD I obtained from
Mehul
Ved. Problems that dogged me:
1]The Live CD could not boot the ATi Radeon XPress 200(RC410) integrated card on my Intel D101GGC motherboard. 2]I ran the text mode(pseudo-GUI?) installer and refused to install the Gentoo Grub opting instead to add the relevant entries to my Ubuntu 7.04/boot/grub/menu.lst.So,I added the following for Gentoo:
title Gentoo 2007 root (hd0,8) kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9 initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
wherein my Gentoo / is partition number 9(hda9)So everything went fine
till
I tried to boot my Gentoo install.Kernel was recognized and starts booting,but during booting an error message pops up saying
Booting (initramfs)..switch_root: "Bad init('/sbin/init)
Kernel panic-not syncing-attempted to kill init!
and the machine hangs there with the Caps Lock and Scroll Lock LEDs
blinking
furiously.I have to press the Reset button to regain control.I tried a Google search and all I got was a topic on a development release of a VM.Cansomeone help me with this error?
Regards, Easwar
Try this:
title=Gentoo 2007 root (hd0,8) kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda9 udev initrd /boot/initramfs-genkernel-x86-2.6.19-gentoo-r5
It couldn't find the root block device.I gave it /dev/hda9,but same error message.
Regards, Easwar
On 2/3/08, Easwar Hariharan meindian523@gmail.com wrote:
I tried to boot my Gentoo install.Kernel was recognized and starts booting,but during booting an error message pops up saying
Booting (initramfs)..switch_root: "Bad init('/sbin/init)
Kernel panic-not syncing-attempted to kill init!
What init are you using?
On Feb 3, 2008 11:42 PM, Mehul Ved mehul.n.ved@gmail.com wrote:
On 2/3/08, Easwar Hariharan meindian523@gmail.com wrote:
I tried to boot my Gentoo install.Kernel was recognized and starts booting,but during booting an error message pops up saying
Booting (initramfs)..switch_root: "Bad init('/sbin/init)
Kernel panic-not syncing-attempted to kill init!
What init are you using?
The one that's in /boot.
On Sunday 03 February 2008 23:42, Mehul Ved wrote:
On 2/3/08, Easwar Hariharan meindian523@gmail.com wrote:
I tried to boot my Gentoo install.Kernel was recognized and starts booting,but during booting an error message pops up saying
Booting (initramfs)..switch_root: "Bad init('/sbin/init)
Kernel panic-not syncing-attempted to kill init!
maybe initramfs does not include kernel module for the rootfs type.
What init are you using?
On Feb 4, 2008 10:39 AM, jtd jtd@mtnl.net.in wrote:
maybe initramfs does not include kernel module for the rootfs type.
So, maybe he is using some filesystem without building in the support for that fs in the kernel?
On Monday 04 February 2008 13:59, Mehul Ved wrote:
On Feb 4, 2008 10:39 AM, jtd jtd@mtnl.net.in wrote:
maybe initramfs does not include kernel module for the rootfs type.
So, maybe he is using some filesystem without building in the support for that fs in the kernel?
right or the module is not in initramfs. what is the rootfs type?. check the /lib/modules/<kernel ver>/kernel/fs for the module and the initramfs by uncompressing, after booting into your old setup. BTW does gentoo do a compile from scratch for a fresh install?
So, maybe he is using some filesystem without building in the support for that fs in the kernel?
right or the module is not in initramfs. what is the rootfs type?. check the /lib/modules/<kernel ver>/kernel/fs for the module and the initramfs by uncompressing, after booting into your old setup. BTW does gentoo do a compile from scratch for a fresh install?
Um,I'm using a ext3 partition for my /.I guess that's supported.And I used the easy install method(that is the NOT the one "Recommended by devs")
Also I re-tried Osric's method without using sudo update-grub which I'd done last time in the hope that it would prove to be the stumbling block.
But no go,it still can't find a valid block device for root.I tried giving it (Xd0,Y) where I put both "s" and "h" for X and "8" and "9" for Y.No go,it still gets a kernel panic attempting to kill init.
Regards, Easwar
Easwar Hariharan wrote:
So, maybe he is using some filesystem without building in the support for that fs in the kernel?
right or the module is not in initramfs. what is the rootfs type?. check the /lib/modules/<kernel ver>/kernel/fs for the module and the initramfs by uncompressing, after booting into your old setup. BTW does gentoo do a compile from scratch for a fresh install?
Um,I'm using a ext3 partition for my /.I guess that's supported.And I used the easy install method(that is the NOT the one "Recommended by devs")
Also I re-tried Osric's method without using sudo update-grub which I'd done last time in the hope that it would prove to be the stumbling block.
But no go,it still can't find a valid block device for root.I tried giving it (Xd0,Y) where I put both "s" and "h" for X and "8" and "9" for Y.No go,it still gets a kernel panic attempting to kill init.
Have you installed an image of a live cd or did you install a normal linux system? Do you have one or more HDDs? Partition 9 is on your primary master?
<snip>
Have you installed an image of a live cd or did you install a normal linux system? Do you have one or more HDDs? Partition 9 is on your primary master?
Answers: 1]I installed by running "installer" at the root prompt since the Live CD could not use my ATi Radeon XPress 200 integrated graphic to present me the graphical Live CD. 2]Only 1 HDD. 3]IIRC,the HDD is the primary master while my combo drive is the Secondary master and there are no slaves. @Chetan It's not a SATA drive,it's a PATA,the specific model number is Samsung SP0842N. @Jtd Please look to my previous post wherein I said that I gave it s as well as h options for the partition which would be mounted as /.
Easwar Hariharan wrote:
<snip>
Have you installed an image of a live cd or did you install a normal linux system? Do you have one or more HDDs? Partition 9 is on your primary master?
Answers: 1]I installed by running "installer" at the root prompt since the Live CD could not use my ATi Radeon XPress 200 integrated graphic to present me the graphical Live CD.
Live CDs are meant to tell you if your hardware is properly compatible, so if it does not load up properly in live session, avoid that version. If you want a gentoo based distro, try Sabayon http://www.sabayonlinux.org/ In my Centrino 1.7 GHz. Core Uno, 256 MB RAM, I was able to run a 3D desktop too using berryl. All out of the box. Check out Hardware Compatibility Lists HCLs for your ati radeon chip. By now, all new distros should detect your card.
On Feb 6, 2008 11:18 PM, Rony gnulinuxist@gmail.com wrote:
Live CDs are meant to tell you if your hardware is properly compatible, so if it does not load up properly in live session, avoid that version.
You missed out on one point here. He's facing that problem because gentoo live cd doesn't come preloaded with proprietory ATI driver needed by the onboard ATI card on that motherboard, though I believe it can be made to work with radeon driver with some workaround. On the other hand Sabayon does include the proprietory ATI driver, thus it just works out of the box.
On Feb 4, 2008 9:40 AM, Easwar Hariharan meindian523@gmail.com wrote:
Also I re-tried Osric's method without using sudo update-grub which I'd done last time in the hope that it would prove to be the stumbling block.
But no go,it still can't find a valid block device for root.I tried giving it (Xd0,Y) where I put both "s" and "h" for X and "8" and "9" for Y.No go,it still gets a kernel panic attempting to kill init.
Regards, Easwar
Ahem, have you tried booting manually from the grub prompt ? 1. enter the root ( ... ) line 2. <tab> <tab> should show you how it recognizes the devices or if it indeed does. 3. Likely its a sata drive whose module / support is not compiled into the live cd.
Just my 2 paise !
regards, C
On Monday 04 February 2008 20:10, Easwar Hariharan wrote:
So, maybe he is using some filesystem without building in the support for that fs in the kernel?
right or the module is not in initramfs. what is the rootfs type?. check the /lib/modules/<kernel ver>/kernel/fs for the module and the initramfs by uncompressing, after booting into your old setup. BTW does gentoo do a compile from scratch for a fresh install?
Um,I'm using a ext3 partition for my /.I guess that's supported.And I used the easy install method(that is the NOT the one "Recommended by devs")
Also I re-tried Osric's method without using sudo update-grub which I'd done last time in the hope that it would prove to be the stumbling block.
But no go,it still can't find a valid block device for root.I tried giving it (Xd0,Y) where I put both "s" and "h" for X and "8" and "9" for Y.No go,it still gets a kernel panic attempting to kill init.
is it a sata drive. In which case you will require sata modules and root would be sdxy.
On Sunday 03 Feb 2008 18:55:09 Easwar Hariharan wrote:
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9
2.6.19 introduced libata in the kernel. All hda's are detected as sda if libata drivers are used. Boot into Ubuntu. Mount the Gentoo partition and paste the device.map file in Gentoo's /boot/grub/
On Feb 5, 2008 10:13 PM, Mrugesh Karnik mrugeshkarnik@gmail.com wrote:
On Sunday 03 Feb 2008 18:55:09 Easwar Hariharan wrote:
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9
2.6.19 introduced libata in the kernel. All hda's are detected as sda if libata drivers are used. Boot into Ubuntu. Mount the Gentoo partition and paste the device.map file in Gentoo's /boot/grub/
There's no /boot/grub since I did NOT install Gentoo's grub.There's only a /boot with the following:
easwarh@l1nuxr0cks:/media/recovered_disk/boot$ ls -l total 8396 lrwxrwxrwx 1 root root 1 2008-02-02 04:22 boot -> . -rw-r--r-- 1 root root 5455004 2007-04-22 04:15 initramfs-genkernel-x86-2.6.19-gentoo-r5 -rw-r--r-- 1 root root 2137705 2007-04-22 04:13 kernel-genkernel-x86-2.6.19-gentoo-r5 -rw-r--r-- 1 root root 980149 2007-04-22 04:13 System.map-genkernel-x86-2.6.19-gentoo-r5 easwarh@l1nuxr0cks:/media/recovered_disk/boot$
Note that the permissions are with respect to Ubuntu,I'm not sure whether they would be the same as in Gentoo.
Regards, Easwar
On Wednesday 06 Feb 2008 17:47:54 Easwar Hariharan wrote:
On Feb 5, 2008 10:13 PM, Mrugesh Karnik mrugeshkarnik@gmail.com wrote:
On Sunday 03 Feb 2008 18:55:09 Easwar Hariharan wrote:
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9
2.6.19 introduced libata in the kernel. All hda's are detected as sda if libata drivers are used. Boot into Ubuntu. Mount the Gentoo partition and paste the device.map file in Gentoo's /boot/grub/
There's no /boot/grub since I did NOT install Gentoo's grub.There's only a /boot with the following:
OK, first, fdisk /dev/hda in Ubuntu and make sure it doesn't complain about partition numbers not being in order. If they are, switch to expert mode with `x', fix the order with `f', come back to the normal mode with `r' and then save and quite with `w'.
If the above is not the issue, try using sda9 as root instead of hda9 in the kernel line.
Ideally, figure out where genkernel stores its kernel config and do a grep -i ata on it and send us the output.
On Feb 6, 2008 10:48 PM, Mrugesh Karnik mrugeshkarnik@gmail.com wrote:
On Wednesday 06 Feb 2008 17:47:54 Easwar Hariharan wrote:
On Feb 5, 2008 10:13 PM, Mrugesh Karnik mrugeshkarnik@gmail.com wrote:
On Sunday 03 Feb 2008 18:55:09 Easwar Hariharan wrote:
kernel /boot/kernel-genkernel-x86-2.6.19-gentoo-r5 root=/dev/hda9
2.6.19 introduced libata in the kernel. All hda's are detected as sda
if
libata drivers are used. Boot into Ubuntu. Mount the Gentoo partition
and
paste the device.map file in Gentoo's /boot/grub/
There's no /boot/grub since I did NOT install Gentoo's grub.There's only
a
/boot with the following:
OK, first, fdisk /dev/hda in Ubuntu and make sure it doesn't complain about partition numbers not being in order. If they are, switch to expert mode with `x', fix the order with `f', come back to the normal mode with `r' and then save and quite with `w'.
If the above is not the issue, try using sda9 as root instead of hda9 in the kernel line.
Ideally, figure out where genkernel stores its kernel config and do a grep -i ata on it and send us the output.
1]No problems with fdisk.
2]Tried sda9,/dev/sda9,(sda,8),(sda,9),all have the same effect that is the valid root block device is not found.If it's of any help,it gives that error after loading the tg3 and e1000 modules and activating mdev. 3]Now,what's that?I need to know what I'm looking for before I run out in search of it.
@Rony It's not a Gentoo-based distro that I'm after,what I want to do is find out more deep foo stuff about linux + Mehul told me that Gentoo was among the first distros(THE first?) to support my motherboard.(Intel D101GGC)
I've tried Sabayon earlier and about new distros detecting my card,Ubuntu 7.04 with Compiz-Fusion is running right now,and that's live proof of what you said.
Thanks to all for your efforts.
Regards, Easwar
Easwar Hariharan wrote:
@Rony It's not a Gentoo-based distro that I'm after,what I want to do is find out more deep foo stuff about linux + Mehul told me that Gentoo was among the first distros(THE first?) to support my motherboard.(Intel D101GGC)
It was Mehul who setup and showed me how 3D works in Sabayon and it was Mrugesh who introduced me to Sabayon. :)
On Feb 6, 2008 11:21 PM, Easwar Hariharan wrote:
On Feb 6, 2008 10:48 PM, Mrugesh Karnik wrote:
<snip>
Ideally, figure out where genkernel stores its kernel config and do a grep -i ata on it and send us the output.
<snip>
3]Now,what's that?I need to know what I'm looking for before I run out in search of it.
Genkernel looks for the default kernel configuration in the file /usr/share/genkernel/x86/kernel-config-2.6 Have a look at the Gentoo Handbook's Kernel Configuration page: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc... You might want to try a manual kernel configuration. Also have a look at the Kernel Configuration Guide at: http://www.gentoo.org/doc/en/kernel-config.xml
osric fernandes wrote:
On Feb 6, 2008 11:21 PM, Easwar Hariharan wrote:
On Feb 6, 2008 10:48 PM, Mrugesh Karnik wrote:
<snip>
Ideally, figure out where genkernel stores its kernel config and do a grep -i ata on it and send us the output.
<snip>
3]Now,what's that?I need to know what I'm looking for before I run out in search of it.
Genkernel looks for the default kernel configuration in the file /usr/share/genkernel/x86/kernel-config-2.6 Have a look at the Gentoo Handbook's Kernel Configuration page: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc... You might want to try a manual kernel configuration. Also have a look at the Kernel Configuration Guide at: http://www.gentoo.org/doc/en/kernel-config.xml
IMHO, for kernel hacking its fine but for learning Linux administration and packages, all this will tie him down and divert him from other post installation tasks. For starters, a system that works fairly out of the box should suffice.
On Feb 7, 2008 12:15 PM, Rony gnulinuxist@gmail.com wrote:
IMHO, for kernel hacking its fine
Where did that come from?
but for learning Linux administration and packages, all this will tie him down and divert him from other post installation tasks.
Like? I never felt tied down when using gentoo.
For starters, a system that works fairly out of the box should suffice.
That differs from person to person, IMO. Works for some, doesn't work for some.
On Thursday 07 Feb 2008 12:15:24 Rony wrote:
IMHO, for kernel hacking its fine but for learning Linux administration and packages, all this will tie him down and divert him from other post installation tasks. For starters, a system that works fairly out of the box should suffice.
I completely disagree. I've learnt of so many issues that I'd never come across had I not used Gentoo. Some of them have been Gentoo specific of course, but that happens on all the distros.
On Feb 7, 2008 1:26 AM, osric fernandes osric.fernandes@gmail.com wrote:
On Feb 6, 2008 11:21 PM, Easwar Hariharan wrote:
On Feb 6, 2008 10:48 PM, Mrugesh Karnik wrote:
<snip> > > Ideally, figure out where genkernel stores its kernel config and do a grep > > -i > > ata on it and send us the output. <snip> > 3]Now,what's that?I need to know what I'm looking for before I run out in > search of it.
Genkernel looks for the default kernel configuration in the file /usr/share/genkernel/x86/kernel-config-2.6
Nope,there's no folder for genkernel in /usr/share,let alone for x86 or the file you mentioned that is kernel-config-2.6 Looks like you hit the problem on it's head.
@Rony Not only admin and packages,but kernel hacking is also a long time goal I have. @All That said,I would still like a working install before I jump off into the deep end. @Mehul I will try that and get back to you.
Regards, Easwar
On Thu, Feb 7, 2008 at 6:28 PM, Easwar Hariharan meindian523@gmail.com wrote:
On Feb 7, 2008 1:26 AM, osric fernandes osric.fernandes@gmail.com wrote:
On Feb 6, 2008 11:21 PM, Easwar Hariharan wrote:
On Feb 6, 2008 10:48 PM, Mrugesh Karnik wrote:
<snip> > > Ideally, figure out where genkernel stores its kernel config and do a grep > > -i > > ata on it and send us the output. <snip> > 3]Now,what's that?I need to know what I'm looking for before I run out in > search of it.
Genkernel looks for the default kernel configuration in the file /usr/share/genkernel/x86/kernel-config-2.6
Nope,there's no folder for genkernel in /usr/share,let alone for x86 or the file you mentioned that is kernel-config-2.6 Looks like you hit the problem on it's head.
@Rony Not only admin and packages,but kernel hacking is also a long time goal I have. @All That said,I would still like a working install before I jump off into the deep end. @Mehul I will try that and get back to you.
That didn't work out.Actually,I tried it a long time ago,but haven't had the memory to post to the list when I posted about other stuff.Profuselyapologize to entire list for the delay.
Regards, Easwar
On Feb 6, 2008 11:21 PM, Easwar Hariharan meindian523@gmail.com wrote:
2]Tried sda9,/dev/sda9,(sda,8),(sda,9),all have the same effect that is the valid root block device is not found.
Did you try (sda8) when you gave root=/dev/sda9? GRUB doesn't use sda, it will always be (hdX,Y). So, it will go something like root (hd0,8) kernel genkernel-whatever root=/dev/sda9 initrd initrd.img-whatever