LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2004, 07:44 AM   #1
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Rep: Reputation: 15
Unhappy Custom Install ISO: Kernel Panic


hi there!

currently I'm trying to create my very own slackware install cd with a custom kernel that will detect my hdd correctly as a sata drive.
I've compiled a 2.6.8.1 kernel for this purpose und replaced one of the 'original' kernels from the official slackware cd.
But when trying to boot this kernel I get a kernel panic, saying:

Code:
[...]
VFS: Cannot open root device "ram" or unknown-block(1,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(1,0)
I still haven't figured out why. :/
I tried some different kernel configurations but that didn't help.

I don't know if there's something else I have to do besides replacing the original kernel ...

As I'm still new to compiling kernels and all that stuff so I probably made a mistake or just missed something.



I'd be very(!) happy if someone could give me a hint on how to get rid of that kernel panic :>

thx

froedi
 
Old 08-22-2004, 09:07 AM   #2
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
yup..this is what the noobs do ... just follow the error message...correct the "root=" boot option
Code:
root = /dev/hda1
replace hda1 with your root partition (the one where Linux is installed) :P
 
Old 08-22-2004, 09:22 AM   #3
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
I guess it's not that easy because linux isn't installed on my hdd at all (at least not yet).
I'm talking about the kernel I compiled for my own slackware install cd -> when trying to boot it (from cd) the kernel panic occurs ;>
 
Old 08-22-2004, 09:44 AM   #4
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
hmm.... that is strange... but it should work the same...( the kernel just said: hey! where is your linux root partition?... cuz` lilo didn't tell me )
 
Old 08-22-2004, 10:13 AM   #5
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
so what is my root partition then?

---

regarding the error message, I suppose it has got something to do with a ram disk that can't be mounted.
but 'knowing' that doesn't really help me :/
 
Old 08-22-2004, 10:25 AM   #6
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
hell no!... are you following me ? your root partition is the partition that has the linux distro installed on it ...and.. it has nothing to do with the ram disk ...because you don't have that sort of thing... just paste your lilo.conf and i'll point out exactly what to do...
 
Old 08-22-2004, 12:21 PM   #7
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
alright, there seems to be a biiiiiiiiiig misunderstanding

these are the facts:
- I don't have any linux distribution installed:
the official slackware install cd doesn't detect my sata drive correctly (because none of the default kernels supports sata)

- that's why I want to create a very own install iso, with a kernel that does support sata

- I managed to built such a kernel, which I used to replace the original bare.i kernel from the slackware cd

- so at the boot promt of the cd I select my custom kernel:
it starts booting (detects my hardware etc.) but then I get this kernel panic - before the actual setup is loaded



do you now know what I mean?!
 
Old 08-22-2004, 01:47 PM   #8
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
well.. now i now what you are talking about... sorry about the missunderstanding
now what you're just doing is a very complicated thing... you may have some problems with the install..i can't really tell you what the problem is ,but i can suggest something: don't install the kernel on the cd .. install linux with the bare.i and just use lilo to add your kernel...
(are you sure that your kernel worked... sometime..?)
 
  


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 Install ISO pineapples Linux - Distributions 2 09-15-2005 10:15 PM
Slack 10 custom install ISO: Hey Bonecrusher larrystorch Slackware - Installation 4 09-22-2004 07:43 PM
Question: How to create a bootable install custom ISO? jsokko Linux - Software 6 04-20-2004 06:54 AM
custom kernel for ISO CD ??? Bluesuperman Slackware 2 10-17-2003 10:16 PM
custom bootable iso with my own kernel? sneakerski Slackware 1 09-30-2003 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:26 AM.

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