LinuxQuestions.org
Visit Jeremy's Blog.
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 09-26-2012, 05:58 PM   #1
KvK
LQ Newbie
 
Registered: Jan 2012
Posts: 12

Rep: Reputation: Disabled
Slackware 13.37 64bit, Kernel Panic Error, Fresh install


Hi,
I'm trying to install Slackware 13.37 on my Laptop (Thinkpad W520). I am installing it on my external hard drive. The problem is after installation, when I try to boot I get an error "Kernel Panic - not syncingL VFS: Unable to mount root fs on unknown-block(*,*)" ((0,0), (8,19), I have seen different codes). The filesystem on all my partitions (/ and /boot) are all ext4. I have Windows-7 and Ubuntu on my primary hard drive. I have tried installing the OS multiple times with different lilo configurations such as No lilo, lilo on MBR, lilo on /, etc. (I prefer grub so 'no lilo' is my preferred choice). Plus I also created a bootable usb for slackware.

When I boot for slack, I have tried 'mount root=/dev/sdb3 ro' where 'sdb3' is my root directory for slackware. Just to leave no chance of the bootable usb taking up 'sdb', Have also tried '/dev/sdc' but no avail. One suggestion that I have read is adding 'rootdelay=10', but I have no clue how to add it. (I tried mount root=/dev/sdb3 rootdelay=5 rw). So can anyone guide me with this. I also did a update-grub, but the same error arises in grub.

Following is the Slackware part from grub:-

menuentry "Linux (on /dev/sdc3)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd2,msdos3)'
search --no-floppy --fs-uuid --set=root f8343290-7a16-43bf-8cfb-dec9e6cd62d6
linux /boot/vmlinuz root=/dev/sdb3 ro vt.default_utf8=0 vga = normal
}

Thanks
Attached Thumbnails
Click image for larger version

Name:	photo.jpg
Views:	56
Size:	216.7 KB
ID:	10783  

Last edited by KvK; 09-26-2012 at 05:59 PM.
 
Old 09-26-2012, 06:09 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,337

Rep: Reputation: Disabled
Add "rootdelay=30" to the kernel parameters.
 
2 members found this post helpful.
Old 09-26-2012, 10:58 PM   #3
KvK
LQ Newbie
 
Registered: Jan 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks!!! That did it.
 
Old 07-24-2013, 03:42 PM   #4
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Thumbs up I'll try it too see if it helps...

Quote:
Originally Posted by Didier Spaier View Post
Add "rootdelay=30" to the kernel parameters.
Thanks, I'll add this to the lilo.conf file and see if it helps. I get the exact same error that the included image attached to the message says. I dont know if the author gets the same thing but the keyboard freezes and the lights are blinking on the keyboard...

Cheers,
Dumdadum
 
Old 07-25-2013, 10:55 AM   #5
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Lightbulb

Quote:
Originally Posted by KvK View Post
Hi,
I'm trying to install Slackware 13.37 on my Laptop (Thinkpad W520). I am installing it on my external hard drive. The problem is after installation, when I try to boot I get an error "Kernel Panic - not syncingL VFS: Unable to mount root fs on unknown-block(*,*)" ((0,0), (8,19), I have seen different codes). The filesystem on all my partitions (/ and /boot) are all ext4. I have Windows-7 and Ubuntu on my primary hard drive. I have tried installing the OS multiple times with different lilo configurations such as No lilo, lilo on MBR, lilo on /, etc. (I prefer grub so 'no lilo' is my preferred choice). Plus I also created a bootable usb for slackware.

When I boot for slack, I have tried 'mount root=/dev/sdb3 ro' where 'sdb3' is my root directory for slackware. Just to leave no chance of the bootable usb taking up 'sdb', Have also tried '/dev/sdc' but no avail. One suggestion that I have read is adding 'rootdelay=10', but I have no clue how to add it. (I tried mount root=/dev/sdb3 rootdelay=5 rw). So can anyone guide me with this. I also did a update-grub, but the same error arises in grub.

Following is the Slackware part from grub:-

menuentry "Linux (on /dev/sdc3)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd2,msdos3)'
search --no-floppy --fs-uuid --set=root f8343290-7a16-43bf-8cfb-dec9e6cd62d6
linux /boot/vmlinuz root=/dev/sdb3 ro vt.default_utf8=0 vga = normal
}

Thanks
Hello my friend,

All you need to do is make sure you declare in the fstab /dev/sda1 as a minimum declaration before you start declaring /dev/sdbX for your usbkey. I did so, and also added a "other" OS declaration for the /dev/sda1 partition and it did the trick. Here are the fstab and lilo.conf declarations:

Code:
/dev/sda1        /mnt/windowsxp   auto        noauto,owner,ro  0   0
/dev/sdb2        swap             swap        defaults         0   0
/dev/sdb3        /                ext4        defaults         1   1
/dev/sdb1        /mnt/fat32       auto        noauto,owner,rw  0   0

#UUID="BAB5-5CEF"                              /mnt/fat32 auto noauto,owner,rw 0 0
#UUID="5537bd31-dbed-4169-92ac-c4dfc39e4f27"   swap       swap defaults        0 0
#UUID="b46914b8-7348-4d08-9638-ac94bf748ff7"   /          ext4 defaults        1 1

#LABEL="USBROOT"  /                ext4        defaults         1   1
#LABEL="USBSWAP"  swap             swap        defaults         0   0
#LABEL="USBFAT32" /mnt/fat32       auto        noauto,owner,rw  0   0

/dev/cdrom       /mnt/cdrom       auto        noauto,owner,rw  0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner,rw  0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
I pasted the other stuff I found on linuxquestions.org, being the UUID use and the LABEL use, which I dont need for it to work, but still its cool to have that info in case I need them in the futur. Here is lilo.conf:

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sdb
#compact        # faster, but won't work on all systems.
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
#append="hugesmp.s root=/dev/sdb3 vt.default_utf8=0"
append="hugesmp.s root=/dev/sdb3 rootdelay=30 vt.default_utf8=0"
prompt
timeout = 50
vga = normal

# Linux bootable partition config begins
image = /boot/vmlinuz
  #root = "UUID=b46914b8-7348-4d08-9638-ac94bf748ff7"
  #append = "root=LABEL=USBROOT"
  root = /dev/sdb3
  label = Linux
  #initrd = /boot/initrd.gz
  read-only
# Linux bootable partition config ends

# Other bootable partition config for /dev/sda1
other = /dev/sda
  boot-as = 0x80
  label = Windows
# Other bootable partition config ends
Once again, let me point out that I found some info concerning making a initrd.gz file, but I did not need it in order for the boot to work.

Cheers,
Dumdadum
 
Old 03-23-2014, 09:51 AM   #6
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Exclamation difference between slackware 14.0 and 14.1

Quote:
Originally Posted by Didier Spaier View Post
Add "rootdelay=30" to the kernel parameters.
Hello,

Funny thing is that with slackware 14.1 it doesnt seem to work. Any reasons why? The usb driver doesnt seem to load even with rootdelay=30 ...

I know this is an old post, still, help would be appreciated...

Cheers,
Dumdadum
 
Old 03-23-2014, 02:14 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
You should make a new post versus hijacking an old [SOLVED] one.
 
Old 03-23-2014, 04:00 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,337

Rep: Reputation: Disabled
@ dumdadum: I tend to agree with Richard Cranium.

Anyhow just stating "it doesn't seem to work" doesn't help us help you, so a bit more information about your context and configuration wouldn't hurt.
 
1 members found this post helpful.
Old 03-24-2014, 04:51 PM   #9
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Lightbulb

Quote:
Originally Posted by Didier Spaier View Post
@ dumdadum: I tend to agree with Richard Cranium.

Anyhow just stating "it doesn't seem to work" doesn't help us help you, so a bit more information about your context and configuration wouldn't hurt.
Ok. The image the first post of this thread explains the error at bootime, an error I too had to deal with, so for the record, with thread really helped me out. Thing is, the error was "solved" at that time with 14.0. Thing is, the error still stands with 14.1 even if rootdelay=30 is added to the kernel params. With 14.0 rootdelay=30 solved the issue I and he had. The thing is that the thread states an error message, and I got it too with 14.1, but when I go back to 14.0... Its as if something changed for detecting my usb key's drivers and manufacturing info from 14.0 to 14.1. I saw a thread that was talking about hotplug. Is that package the one that detects the usb key's info or another package? On 14.1, I checked, and the hotplug package isnt installed. I'll go ahead and check if its installed on 14.0 and post feedback about it... Yup hotplug isnt there with 14.0 either, I just checked... I have no clue if its udev then that changed... I just saw those two words ( hotplug and udev ) on another post on linuxquestions.org ...

Anyways, should I start a new thread? I hate making people angry.

Thanks,
Dumdadum

Last edited by dumdadum; 03-24-2014 at 05:16 PM.
 
Old 03-24-2014, 05:50 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,337

Rep: Reputation: Disabled
Quote:
Originally Posted by dumdadum View Post
should I start a new thread?
Yes, please, with all needed information (don't ask readers to read the current thread in the new one).

And bear in mind that you have to determine which modules should be included in your initrd, and that can change from one kernel version to another one, see e.g. this thread about that kind of issue (I'm not saying that's the same problem though, we have to investigate first).
 
Old 03-24-2014, 06:05 PM   #11
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
@ dumdadum, we aren't mad at you, it's just that the OP had his/her problem solved, hence the [SOLVED] tag.

You've got your own problem that may relate to this one. That's what hyperlinks are for.

Don't you deserve your own thread?
 
1 members found this post helpful.
Old 03-24-2014, 06:05 PM   #12
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Wink

Quote:
Originally Posted by Didier Spaier View Post
Yes, please, with all needed information (don't ask readers to read the current thread in the new one).

And bear in mind that you have to determine which modules should be included in your initrd, and that can change from one kernel version to another one, see e.g. this thread about that kind of issue (I'm not saying that's the same problem though, we have to investigate first).
If what you want is the error message at boot time and the OS doesnt boot, how can I supply the error message?

Dumdadum

---------- Post added 03-24-14 at 07:06 PM ----------

Quote:
Originally Posted by Richard Cranium View Post
@ dumdadum, we aren't mad at you, it's just that the OP had his/her problem solved, hence the [SOLVED] tag.

You've got your own problem that may relate to this one. That's what hyperlinks are for.

Don't you deserve your own thread?
hahaha lol thanks I appreciate the feedback (=

Cheers friend,
Dumdadum
 
Old 03-24-2014, 06:29 PM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,337

Rep: Reputation: Disabled
Quote:
Originally Posted by dumdadum View Post
If what you want is the error message at boot time and the OS doesnt boot, how can I supply the error message?
I didn't request explicitly that, but here are a few information that you could usefully provide in the first post of your new thread:
  • The brand and model of the external USB disk.
  • Output of "lspci -k", typed as root.
  • The exact command you typed to make the initrd.
  • After reboot, output of "lsmod".
  • Plug in the USB disk, allow 30 seconds or so for it to spin, then output of "lsmod" again.
  • The output of command "lsusb" with the USB disk still plugged in.
  • A picture of the screen after trying to boot.
  • copy of the /etc/fstab of the external USB disk.
  • copy of the /etc/lilo.conf of the external USB disk.
You can attach files instead of copying output of a command, e.g. type "lscpci -k>lspci.txt" then attach the file lspci.txt to the message.
 
Old 03-24-2014, 07:18 PM   #14
dumdadum
Member
 
Registered: May 2009
Location: Montreal, Quebec, Canada
Distribution: Slackware 14.1 64 bits
Posts: 238

Rep: Reputation: 15
Quote:
Originally Posted by Didier Spaier View Post
I didn't request explicitly that, but here are a few information that you could usefully provide in the first post of your new thread:
  • The brand and model of the external USB disk.
  • Output of "lspci -k", typed as root.
  • The exact command you typed to make the initrd.
  • After reboot, output of "lsmod".
  • Plug in the USB disk, allow 30 seconds or so for it to spin, then output of "lsmod" again.
  • The output of command "lsusb" with the USB disk still plugged in.
  • A picture of the screen after trying to boot.
  • copy of the /etc/fstab of the external USB disk.
  • copy of the /etc/lilo.conf of the external USB disk.
You can attach files instead of copying output of a command, e.g. type "lscpci -k>lspci.txt" then attach the file lspci.txt to the message.
Ok. Thats all in this thread. Just... its ok. thanks.

Dumdadum
 
  


Reply

Tags
installation, kernel panic, slackware 13.37


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
kernel panic when trying to install 64bit mandrivia nate1979 Mandriva 1 05-11-2006 01:32 AM
kernel panic after fresh install of 10.2 mosca Slackware 15 09-25-2005 02:03 PM
Kernel panic on fresh install Dakkar Linux - General 6 07-09-2005 05:18 AM
9.2 64bit install kernel panic jmral23 SUSE / openSUSE 3 02-22-2005 03:06 AM
Kernel Panic on fresh install CyberLord_7 Linux - General 9 09-24-2003 09:38 AM

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

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