LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   kernel panic after building custom kernel for macbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/kernel-panic-after-building-custom-kernel-for-macbook-565364/)

sparrott 06-29-2007 08:41 AM

kernel panic after building custom kernel for macbook
 
Hi,

I bought a new macbook and I want to dual boot it with SuSE. I've installed openSuSE 10.2, using the how-to here: http://forums.suselinuxsupport.de/lo...hp/t40792.html

I've compiled a custom kernel but now when I try and boot into linux I get the following:

i8042.c: No controller found.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (0,0)

Kernel alive
kernel direct mapping tables up to 10000000 @ 800)-d000


I went into the rescue system using the install cd and there was no lilo.conf in /etc, even tho I put one there after compilation, before I tried to reboot. So I created a new lilo.conf with the following:

boot=/dev/sda
default=SuSE
timeout=20

image=/boot/vmlinuz-2.6.18-rc2
label=SuSE
append="root=/dev/sda4 quiet sysrq=1"


I also tried with sda3, just incase. And also without the append, so just 'root=/dev/sda4'

and then tried to run lilo but it said something about a read only file system and didn't do anything. When I go back into the rescue console again the lilo.conf file is gone again.


Any ideas on how I can get it to work?

Thanks,
Sarah

kaz2100 06-29-2007 05:06 PM

Hya,

I only can guess, however
1. I think your problem is that / cannot be mounted, reason can be either controller, file system or whatever is not supported by kernel, (if supported by module, you need initrd)
2. With rescue disk, I think / is on CD, which is read only. So, wherever you think /etc is not wherever you want.
3. You need to know where your penguin lives. /dev/sda /dev/sdb.... This is where you picked through fdisk. This is not "try and error"

post here
a. what file system and controller you have. and related kernel options
b. cfdisk output

Happy Penguins!


All times are GMT -5. The time now is 02:24 AM.