Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > kernal panic after install from live cd to hard drive

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 11-02-2005   #1 (permalink)
Linux Newbie
 
beachboy's Avatar
 
Join Date: Apr 2005
Location: Rockford, MI 49341
Posts: 125
Send a message via AIM to beachboy Send a message via MSN to beachboy Send a message via Yahoo to beachboy
kernal panic after install from live cd to hard drive

I installed knoppix 4.03 to the hard drive from the live cd doing knoppix-installer. Everything worked good with the live cd with no problems. when I try and boot from the hard drive I get the message below.

Kernel Panic - not syncing: vfs: unable to mount root fs on unknown - block (33.1)

Can anybody Help with this Problem?

Thank You
beachboy is offline  


Old 11-02-2005   #2 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 52
i have this problem too. Dont know why cos noone is answering. But i got through this problem for the moment using the boot floppy that was created when installing knoppix. Try booting from the floppy.Should work for the moment. I-m waiting for an answer on kernel panic too
Riqz85 is offline  
Old 11-02-2005   #3 (permalink)
Linux Newbie
 
beachboy's Avatar
 
Join Date: Apr 2005
Location: Rockford, MI 49341
Posts: 125
Send a message via AIM to beachboy Send a message via MSN to beachboy Send a message via Yahoo to beachboy
Thanks Riqz85 for the information on useing the boot floppy.
beachboy is offline  
Old 11-02-2005   #4 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
If you are able to use a boot floppy to get into your system, but you cannot when you use the bootloader on the hard drive, it is certainly an error in the bootloader configuration file. This can easily be fixed, but it requires a few bits of information:
  • 1. What bootloader is it? I don't recall if Knoppix uses Grub or LILO or something else. You need to know this in order to know what file needs to be edited. I think LILO uses /etc/lilo.conf and Grub uses either /boot/grub/grub.conf or (ditto)/menu.lst
    2. What is the layout of your system: The problem is that the bootloader is being pointed to the wrong location for your root directory. Linux recognizes drives based on their location in the system. Grub recognizes them based on order found.
    3. Which drive is the "boot device", that is, in your BIOS setup, are you booting the first hard drive or another? I think that this is an issue only if you are using the Grub bootloader.
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline  
Old 11-03-2005   #5 (permalink)
Linux Newbie
 
beachboy's Avatar
 
Join Date: Apr 2005
Location: Rockford, MI 49341
Posts: 125
Send a message via AIM to beachboy Send a message via MSN to beachboy Send a message via Yahoo to beachboy
the drive is hde1

the boot in bios is cdrom first then c drive

it looks like grub to me
beachboy is offline  
Old 11-03-2005   #6 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
Quote:
Originally Posted by beachboy
the drive is hde1
the boot in bios is cdrom first then c drive
it looks like grub to me
I would try this:

1. Boot to Linux using the boot floppy.
2. Use a text editor to open the file /boot/grub/grub.conf
3. Change one character, save and reboot.

In grub.conf, you will see at least one "script" with this format:

root (hdx,x)
kernel /<kernelFileName> root=/dev/hdxn
initrd /<initrdFileName>

The problem is in the "root=/dev/hdxn" part. That should be changed to hde1 if that is the partition of your root directory. Don't change anything else.

If you want to give this a trial run before changing it, you can do this:
Without the floppy, boot your system. As soon as you see the splashscreen, press an up/down arrow key to stop the coutdouwn timer. Scroll to select your Linux system and then press 'e' for edit. You should see the "script" I described above. Scroll to highlight the line that starts with "kernel" and press 'e' for edit. Change the "root=/dev..." part to "root=/dev/hde1" and press enter to accept the change and then 'b' to boot. If it works, open /boot/grub/grub.conf and edit the same way. Of course you must be logged in as root to edit the file.
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline  
Old 11-03-2005   #7 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 52
I found out the problem...I think.
I was editing from the boot menu. And I compared the two boot "lines" from the floppy and the one that doesnt work from the Grub...
Floppy;
kernel /boot/vmlinuz root /dev/hda1 ro ramdisk=100000 lang=us apm=power-off nomce vga=791
Grub(that does not boot)
kernel /boot/vmlinuz root /dev/hda1 ro ###disk=100000 init /etc/initlang=us apm=power-off nomce quiet vga=791

I noticed the three ### instead of ram. so changed it to ram and it booted. Was it really that simple.If so why would it have ### instead of ram????
Riqz85 is offline  
Old 11-03-2005   #8 (permalink)
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,814
Quote:
Originally Posted by Riqz85
Was it really that simple.If so why would it have ### instead of ram????
If it booted, then yes, it was really that simple. So now you have learned how easy it can be to fix what may seem like a huge problem. That's Linux: I mean the part about how you can actually fix it.

Why did it have ###disk? That's a really good question. I can't imagine. Anyways, I'm glad you found and fixed the problem.
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline  
Old 11-03-2005   #9 (permalink)
Just Joined!
 
Join Date: Nov 2005
Posts: 52
ii think linux is really all trial and error. But trial and error actually works on linux...unlike windows where trial and error brings to doom and death
Riqz85 is offline  
Old 11-03-2005   #10 (permalink)
Linux Guru
 
budman7's Avatar
 
Join Date: Oct 2004
Location: Knee deep in Grand Rapids, Michigan
Posts: 3,242
beachboy, could you post the entire contents of the menu.lst file.
Using the livecd, do
Code:
less  /mnt/hde1/boot/grub/menu.lst
Then copy and paste the contents here.


I have worked with beachboy on this problem before.
There is a pci add-on card that takes up the master slot. hda and hdb
And the cd/dvd drives take up the secondary slot. hdc and hdd
The hard drive that has Knoppix on it is a removable hard drive. making it hde
__________________
Go RedWings
How to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger

New users read The FAQ
budman7 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:15 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2