LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-29-2007, 08:41 AM   #1
sparrott
LQ Newbie
 
Registered: Mar 2006
Location: Devon
Distribution: Suse 10.1
Posts: 11

Rep: Reputation: 0
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
 
Old 06-29-2007, 05:06 PM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,834

Rep: Reputation: 108Reputation: 108
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!
 
  


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
Custom Kernel Panic halfpower Slackware 2 09-25-2006 12:59 PM
Building a custom kernel optimizing for media performance vharishankar Linux - General 1 02-22-2006 06:30 AM
after building a custom kernel h/w Debian 5 08-21-2003 10:13 PM
Building a custom kernel eastj1974 Linux - Newbie 7 07-01-2003 12:59 AM
building a custom kernel...aic7xxx problem landonmkelsey Linux - Newbie 5 07-24-2001 12:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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