LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2008, 04:25 AM   #1
rich345
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Rep: Reputation: 15
kernal panic


hello there im new here and a newbie to linux

and i havea problem,

here it is ?

m trying to install slackware 12.1 to a usb hdd, its a 40gb sata drive and has 3 partitions
and now when i try to boot it i get this error
kernal panic - not syncing:vfs: unable to mount root fs on unknown-block (8,1)

does anyone know whats wrong here ?
or how 2 fix it ???

oh when
i say using a usb hdd its just a normal hdd from an old laptop linked with one these

<a href="http://cgi.ebay.co.uk/USB-2-0-to-IDE-SATA-2-5-3-5-Hard-Drive-Converter-Cable_W0QQitemZ250324502255QQcmdZViewItemQQptZPCA_Cables_Adapters?hash=item250324502255&_trksid=p328 6.c0.m14&_trkparms=72%3A1300|66%3A2|65%3A12|39%3A1|240%3A1308">


thanks for any help
 
Old 11-24-2008, 09:26 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

Which kernel did you select?

Your panic is probably due to not having filesystem support for your kernel. If so you will need to create a 'initrd'.

The easiest way would be to use the install cd1 to boot the system as if you were going to install.

After you get to the login then from the cli (command line);

Code:
~#mkdir /slacktemp                   #temporary mount point
~#mount /dev/your_device /slacktemp  #this is the device you installed to
~#chroot /slacktemp                  #change to yours
~#cd /boot                           #change to initrd location?
~#most /boot/README.initrd           #read this for information

~#mkinitrd -c -k 2.6.24.5-smp -m ext3 -f ext3 -r /dev/hdb3

                                     # ^example mkinitrd
~#cd /slacktemp/etc                  #change to directory with lilo.conf 
~#vi lilo.conf                       #edit lilo.conf, if need be
                                     #to include your new initrd  
                                     #in the proper stanza
~#lilo -v -t -b /dev/your_device     #sda, hda this will only test 
~#lilo -v -b /dev/your_device        #this will write MBR to your_device
You should now be able to re-boot your system.
 
Old 11-24-2008, 10:02 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,151

Rep: Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203Reputation: 2203
A "kernel panic" is any situation in which Linux cannot continue. (The word "not syncing" is actually additional information, and not related to the problem... and it's what you want to see.)

Kernel panics most-commonly occur at boot time, for one of these reasons:
  1. Cannot find the device that I'm supposed to mount as the "root filesystem." The location of this device is specified as a boot-parameter at startup, and it may have been omitted or specified incorrectly.
  2. "Well, I found it, but I don't know how to read a filesystem of that type." All disks are formatted in some particular way to facilitate the creating of files and directories, and the kernel must include support for it.
  3. The init process, which is the "father of all things," could not be started or it crashed for any reason. (The message for this, in any case, is "tried to kill init.")
 
Old 11-25-2008, 12:47 PM   #4
rich345
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
the one i installed was the default one,
sorry cant remember what it was called,
i have now installed it by just connecting the hdd to the computer properly not by the usb wire and it works.
but i do want to be able to boot via usb every now and then dont wanna have to keep taking my laptop apart.

Last edited by rich345; 11-25-2008 at 12:51 PM.
 
  


Reply

Tags
slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernal panic cherith.brook Linux - Hardware 1 12-06-2007 07:28 PM
kernal panic after update redhat enterprice 4 from kernal(2.6.9-5) to kernal(2.6.9-42 TAREK-SALAMA Linux - Enterprise 3 09-10-2006 10:07 AM
Kernal Panic nuncio Linux - Newbie 3 08-24-2006 05:38 PM
kernal panic ramjimh Linux - Enterprise 2 02-08-2006 12:47 AM
Kernal Panic coolone Linux - Laptop and Netbook 3 07-01-2005 06:12 PM


All times are GMT -5. The time now is 11:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration