[SOLVED] Slackware-14 32-bit installed successfully. Kernel panic upon booting :(
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
"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.
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:
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.
I typed a huge reply, and my browser crashed, and now it is all gone. Frustrating!
Been there several times, ended up doing that:
Type the post in a text editor (I use geany)
When it's almost ready paste it in LQ's post editor and do a final review before posting
Quote:
Originally Posted by surio
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:
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)
At the first prompt, type:
boot: hugesmp.s root=/dev/sda20 rdinit= ro
This should boot your installed Slackware
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 07:00 AM.
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)
At the first prompt, type:
boot: hugesmp.s root=/dev/sda20 rdinit= ro
This should boot your installed Slackware
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
provide output of following commands
cat /etc/fstab
ls -l /boot
uname -a
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...
When I was installing, I was not prompted to create user, but was asked only to create root account.
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?
I would like to create a normal user. Where and how?
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.
I would like X Server enabled by default, and see a GUI login screen, offering choice of KDE or Xfce. How to do it?
What is the network manager? Where do I access it? How to enable wifi!
When I was installing, I was not prompted to create user, but was asked only to create root account.
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?
I would like to create a normal user. Where and how?
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.
I would like X Server enabled by default, and see a GUI login screen, offering choice of KDE or Xfce. How to do it?
What is the network manager? Where do I access it? How to enable wifi!
Nothing bizarre here.
Slackware doesn't create a regular user for you, this has to be done after installation (see 3. below)
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.
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.
See 2. above.
See 3. above
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 05:19 PM.
Reason: inittab, not fstab!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.