LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices



Reply
 
Search this Thread
Old 07-21-2013, 05:08 AM   #1
surio
Member
 
Registered: Sep 2003
Location: Jambudvipa
Distribution: Debian & cousins, Slackware & sisters, Windows 7 (:trollface:), korora
Posts: 31

Rep: Reputation: 1
Slackware-14 32-bit installed successfully. Kernel panic upon booting :(


Hi,
Wanting to try Slackware for a loong time now. Cut my teeth with a Slackware derivative (Salix OS 14 KDE and XFCE) over the weekend.

The install (exactly the same Slackware CUI installer) was a breeze. I use GRUB and a debian sid as my bootloader/bootload maintainer. Both distros played extremely well with my hardware specs. So, I got bold, and created a live USB out of my DVD ISO and installed Slackware 14.0 32 bit. The ISO itself was downloaded sometime in April 2013 from LQ itself. I used Rufus 1.3.4 (comes with Portable Apps platform) in Windows 7 for creating the Live USB.

The install went okay, and GRUB update recognised Slackware 14 on my partition. I boot into it, and I get a "Kernel Panic" message.

I am attaching the screenshot here, as well as a separate attachment with this post (see below). I am not new to Linux itself (use Debian distros before) but absolutely new to Slackware and the Slackware way of doing things, and so, I might be needing hand-holding in terms of debugging.

Many thanks in advance for your help and comments.

Best,
Surio.
Attached Images
File Type: jpg slackware-kernel-panic.jpg (236.7 KB, 7 views)

Last edited by surio; 07-21-2013 at 05:11 AM.
 
Old 07-21-2013, 05:12 AM   #2
surio
Member
 
Registered: Sep 2003
Location: Jambudvipa
Distribution: Debian & cousins, Slackware & sisters, Windows 7 (:trollface:), korora
Posts: 31

Original Poster
Rep: Reputation: 1
Just wanted to add, I used Rufus 1.3.4 (comes with Portable Apps platform) in Windows 7 for creating the Live USB.
 
Old 07-21-2013, 06:01 AM   #3
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
"No filesystem could mount root" usually indicates that there is either a problem with your /etc/fstab or no support for the filesystem used for / (root). The latter can happen if this file system (ext4 is the default in Slackware) is neither built in the kernel, nor provided in the initrd.

Assuming you didn't change the default filesystem and installed the "huge" kernel, which have ext4 built-in (could you confirm both assumptions?), it could be a problem with grub. Unfortunately I can't help you much there as I use lilo (the default in Slackware).

Anyhow please provide a little more information, as your hard disk layout (which partitions are used for what, with which file systems and which is bootable if any) and your /etc/fstab, and last but not least your grub config file.

Also, do you intend to install only Slackware or is it a multi-boot? In the latter case please indicate which system is expected to use each partition.
 
Old 07-21-2013, 07:02 AM   #4
surio
Member
 
Registered: Sep 2003
Location: Jambudvipa
Distribution: Debian & cousins, Slackware & sisters, Windows 7 (:trollface:), korora
Posts: 31

Original Poster
Rep: Reputation: 1
I typed a huge reply, and my browser crashed, and now it is all gone. Frustrating!

Hi Didier,

Thank you for replying. The system is a "family owned/family operated" laptop. It has Windows 7 home premium 64 bits installed. As of now, I have around 25 EXT4 partitions of approximately 10 GB for installing different distros and playing with it. I have roughly 10 or so distros on the HDD as of now. For sure, I intend for it to remain multi-boot.


Here is my fdisk -l output:
Code:
root[surio]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x219442db

Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     3074047     1536000   27  Hidden NTFS WinRE
/dev/sda2   *     3074048   589010943   292968448    7  HPFS/NTFS/exFAT
/dev/sda3      1928835072  1953523711    12344320   17  Hidden HPFS/NTFS
/dev/sda4       589010944  1928835071   669912064    5  Extended
/dev/sda5       589012992   608544767     9765888   82  Linux swap
/dev/sda6       608546816   901513215   146483200   83  Linux
/dev/sda7       901515264   960108543    29296640   83  Linux
/dev/sda8       960110592  1116358655    78124032   83  Linux
/dev/sda9      1116360704  1135892479     9765888   83  Linux => GRUB controller here
......
/dev/sda20     1350754304  1389815807    19530752   83  Linux  > Slackware 
........
and so on
This is my /etc/fstab from the installed Slackware:
Code:
/dev/sda5        swap             swap        defaults         0   0
/dev/sda20       /                ext4        defaults         1   1
/dev/sda2        /S3A8723D005     ntfs-3g     fmask=111,dmask=000 1   0
/dev/sda35       /SHARED          ntfs-3g     fmask=111,dmask=000 1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     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 have installed two Salix OS KDE/XFCE within last 24 hours... Like I did with them, I simply pressed [RETURN] for the default options when the Slackware installer booted via USB. I recall seeing "hugesmp.a" at some point. Tell me where I can confirm this?

GRUB is the last of my worries. I am typing this from a MATE Salix 13.37 session, which I am upgrading based on the Salix wiki as we speak. The kernel is 2.6.xx and doesn't support my broadcom wifi hardware. OTOH, the Salix 14 KDE/XFCE worked "out of the box" and detected all my hardware. Anyway, here is my generate grub.cfg for you or the others to look into.
 
Old 07-21-2013, 07:59 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
Quote:
Originally Posted by surio View Post
I typed a huge reply, and my browser crashed, and now it is all gone. Frustrating!
Been there several times, ended up doing that:
  1. Type the post in a text editor (I use geany)
  2. When it's almost ready paste it in LQ's post editor and do a final review before posting
Quote:
Originally Posted by surio View Post
I have installed two Salix OS KDE/XFCE within last 24 hours... Like I did with them, I simply pressed [RETURN] for the default options when the Slackware installer booted via USB. I recall seeing "hugesmp.a" at some point. Tell me where I can confirm this?
Do this:
  1. Boot with you USB key (the one with which you installed Slackware, assuming that what you called a live USB is actually an USB installer)
  2. At the first prompt, type:
    boot: hugesmp.s root=/dev/sda20 rdinit= ro
    This should boot your installed Slackware
  3. provide output of following commands
    cat /etc/fstab
    ls -l /boot
    uname -a
If for some reason step 2. doesn't work, you could just hit [Enter] at the first prompt, then after booting has completed and you have logged in do not run 'setup', but type:
Code:
mkdir /myslack
mount -t auto /dev/sda20 /myslack
then grab the same information.

Last edited by Didier Spaier; 07-21-2013 at 08:00 AM.
 
Old 07-21-2013, 05:32 PM   #6
surio
Member
 
Registered: Sep 2003
Location: Jambudvipa
Distribution: Debian & cousins, Slackware & sisters, Windows 7 (:trollface:), korora
Posts: 31

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Didier Spaier View Post
  1. Boot with you USB key (the one with which you installed Slackware, assuming that what you called a live USB is actually an USB installer)
  2. At the first prompt, type:
    boot: hugesmp.s root=/dev/sda20 rdinit= ro
    This should boot your installed Slackware
  1. Hooray! I booted to Slackware login prompt on tty1 after following your commands. There are two bizarre things I remembered now.
    • During install, I was only asked to create root account, and not a user account. I thought I might be asked to create a user account later on. But I was not asked
    • I was placed on a CLI login screen. There was no X server or login screen. When I logged in as root as well, it stayed on CLI, until I typed startx on the terminal!
    • I was never asked to create a user id/password either during install, or after logging in.

    Now here is bizarre Part 2!

    After I did above steps, I rebooted and used my grub menu and selected Slackware for the heck of it... I was able to boot all the way into the terminal prompt this time, rather than kernel panic! Here is the slackware entry from my grub file. You are welcome to compare it with my previously shared grub.cfg file entry to confirm/reject is something changed.



    Quote:
    Originally Posted by Didier Spaier View Post
  2. provide output of following commands
    cat /etc/fstab
    ls -l /boot
    uname -a

/etc/fstab is as I shared above. Here it is

Code:
/dev/sda5        swap             swap        defaults         0   0
/dev/sda20       /                ext4        defaults         1   1
/dev/sda2        /S3A8723D005     ntfs-3g     fmask=111,dmask=000 1   0
/dev/sda35       /SHARED          ntfs-3g     fmask=111,dmask=000 1   0
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     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
Here is ls -l /boot:

Code:
bash-4.2# ls -l /boot
total 25848
lrwxrwxrwx 1 root root      37 Jul 20 16:25 README.initrd -> /usr/doc/mkinitrd-1.4.7/README.initrd
lrwxrwxrwx 1 root root      30 Jul 20 16:24 System.map -> System.map-huge-smp-3.2.29-smp
-rw-r--r-- 1 root root 1515031 Sep 17  2012 System.map-generic-3.2.29
-rw-r--r-- 1 root root 1570076 Sep 17  2012 System.map-generic-smp-3.2.29-smp
-rw-r--r-- 1 root root 2483429 Sep 18  2012 System.map-huge-3.2.29
-rw-r--r-- 1 root root 2542480 Sep 17  2012 System.map-huge-smp-3.2.29-smp
-rw-r--r-- 1 root root     137 Jul 20 16:38 boot_message.txt
lrwxrwxrwx 1 root root      26 Jul 20 16:24 config -> config-huge-smp-3.2.29-smp
-rw-r--r-- 1 root root  125794 Sep 17  2012 config-generic-3.2.29
-rw-r--r-- 1 root root  126494 Sep 17  2012 config-generic-smp-3.2.29-smp
-rw-r--r-- 1 root root  125768 Sep 18  2012 config-huge-3.2.29
-rw-r--r-- 1 root root  126468 Sep 17  2012 config-huge-smp-3.2.29-smp
-rw-r--r-- 1 root root   22578 Aug 21  2012 inside.bmp
-rw-r--r-- 1 root root    6878 Aug 21  2012 onlyblue.bmp
-rw-r--r-- 1 root root   14174 Feb 15  2010 slack.bmp
-rw-r--r-- 1 root root   33192 Aug 21  2012 tuxlogo.bmp
lrwxrwxrwx 1 root root      27 Jul 20 16:24 vmlinuz -> vmlinuz-huge-smp-3.2.29-smp
-rw-r--r-- 1 root root 2851632 Sep 17  2012 vmlinuz-generic-3.2.29
-rw-r--r-- 1 root root 3030752 Sep 17  2012 vmlinuz-generic-smp-3.2.29-smp
-rw-r--r-- 1 root root 5803216 Sep 18  2012 vmlinuz-huge-3.2.29
-rw-r--r-- 1 root root 6059920 Sep 17  2012 vmlinuz-huge-smp-3.2.29-smp
bash-4.2#
uname -a:

Code:
Linux surio-pc 3.2.29-smp #2 SMP Mon Sep 17 13:16:43 CDT 2012 i686
 Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz GenuineIntel GNU/Linux


A few bizarre things that I noticed...
  1. When I was installing, I was not prompted to create user, but was asked only to create root account.
  2. After booting using the USB installer using your commands above, I was taken to login terminal session. The X-session did not start naturally. How/where to enable this automatic x-start in login?
  3. I would like to create a normal user. Where and how?
  4. after booting with usb, I was actually able to reboot, and subsequently, when I tried accessing Slackware from the grub boot menu, the kernel panic error did not appear. I was taken to the login terminal screen.
  5. I would like X Server enabled by default, and see a GUI login screen, offering choice of KDE or Xfce. How to do it?
  6. What is the network manager? Where do I access it? How to enable wifi!


Bye for now.
Thanks,
Surio.
 
Old 07-21-2013, 06:11 PM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
Quote:
Originally Posted by surio View Post
A few bizarre things that I noticed...
  1. When I was installing, I was not prompted to create user, but was asked only to create root account.
  2. After booting using the USB installer using your commands above, I was taken to login terminal session. The X-session did not start naturally. How/where to enable this automatic x-start in login?
  3. I would like to create a normal user. Where and how?
  4. after booting with usb, I was actually able to reboot, and subsequently, when I tried accessing Slackware from the grub boot menu, the kernel panic error did not appear. I was taken to the login terminal screen.
  5. I would like X Server enabled by default, and see a GUI login screen, offering choice of KDE or Xfce. How to do it?
  6. What is the network manager? Where do I access it? How to enable wifi!
Nothing bizarre here.
  1. Slackware doesn't create a regular user for you, this has to be done after installation (see 3. below)
  2. The default in Slackware is to start in a console (run level 3). If you want to start an X session at once, edit /etc/inittab and replace
    id:3:initdefault:
    with
    id:4:initdefault:
    Next time you reboot, you will be taken in an X login manager (which it is depends on which DE you installed) that will allow you to start any installed WM/DE.
  3. Once logged in as root, just type "adduser" (without the quotes) and answer the questions. Do press the UP arrow key to add additional groups when suggested.
  4. See 2. above.
  5. See 3. above
  6. Run 'netconfig' as root. Choose "NetworkManager" when asked.
    If at next startx or reboot the NetworkManager widget doesn't show, just type as a regular user in a terminal:
    nm-applet

Last edited by Didier Spaier; 07-21-2013 at 06:19 PM. Reason: inittab, not fstab!
 
Old 07-22-2013, 10:56 AM   #8
surio
Member
 
Registered: Sep 2003
Location: Jambudvipa
Distribution: Debian & cousins, Slackware & sisters, Windows 7 (:trollface:), korora
Posts: 31

Original Poster
Rep: Reputation: 1
Didier,
Thank you, all of this worked, and I can log into both XFCE and KDE sessions.



I had omitted ":" from the ending of "id:4:initdefault" initially and got prompted at boot for run level. I realised it with "aha!" later on, and edited the inittab file by accessing slackware partition from debian (as I was on that session at that time). Soon afterwards, when I tried logging into slackware some time later, I had another bout of "kernel panic"(!) but I recreated the GRUB menu and that fixed this problem once again.

Small addendum: Is there a GUI based package manager for selecting from software repos? Right now I installed and use the slackpkg CLI tool.
 
Old 07-22-2013, 11:51 AM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,679

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
Quote:
Originally Posted by surio View Post
Is there a GUI based package manager for selecting from software repos?
No. There have been a thread about that lately.
 
Old 07-22-2013, 01:12 PM   #10
surio
Member
 
Registered: Sep 2003
Location: Jambudvipa
Distribution: Debian & cousins, Slackware & sisters, Windows 7 (:trollface:), korora
Posts: 31

Original Poster
Rep: Reputation: 1
Didier,

Thanks again for helping me solve this problem. I hope I have seen the last of the "kernel panic" error, which somehow miraculously disappeared on its own, as quickly as it appeared.
 
  


Reply

Tags
32 bits, kernel panic, slackware 14


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
[SOLVED] LILO confusion when both 64-Bit and 32-Bit Slackware are installed luvr Slackware 5 09-10-2012 12:27 PM
[SOLVED] Installed Slackware successfully, but password is not recognised. Randicus Draco Albus Slackware - Installation 10 07-07-2011 12:56 AM
[SOLVED] Slackware 64 crashes after booting generic kernel (64 bit) sombragris Slackware 14 05-04-2011 09:18 AM
kernel panic while booting my own built kernel in fedora13 using grub RajuLinux Linux - Newbie 2 03-05-2011 10:57 PM
Dual-booting Mandrake & Slackware: Kernel panic: VFS: Unable to mount root fs vasudevadas Linux - General 5 08-22-2004 05:43 PM


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