Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-26-2011, 06:30 PM   #1
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Rep: Reputation: 16
Try custom kernel, now system is unbootable

I compiled my own custom kernel for the first time. I tinkered with different options, nothing to difficult. I actually didn't expect it to work the first time.

I had kept the original lilo boot config just in case something was to go wrong. Now when I try to boot the system, I always get a "VFS: cannot mount root system on (8,3)". I googled this and found that my kernel did not support my root filesystem (btrfs). So I made an initrd with btrfs kernel module, but it didn't help. I then got a string of errors about how /dev could not be mounted.

My question is two-fold. First, how come when I configure the system back to when it was first installed, it still won't boot? Im using the same kernel ( Second, how can I get myself out of this rut without reinstalling?

append=" vt.default_utf8=0"

vga = normal

# Linux - Slackware
image = /boot/vmlinuz-huge-smp-
root = /dev/sda3
label = Linux
BTW, I have been maintenancing the system by chrooting into the device off of my slackware boot disk. Im on slack 13.37

Old 06-26-2011, 07:03 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,235

Rep: Reputation: 302Reputation: 302Reputation: 302Reputation: 302
reinstall the kernels and modules from the boot disk.

First thing you should learn about using a custom kernel is to leave the old kernel in place and making an extra entry in lilo.conf. That usualy means copying the new vmlinuz/ to /boot with custom names so they don't overwrite the original ones.
Old 06-26-2011, 07:50 PM   #3
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
well I did copy the custom kernel to the /boot directory with a custom name but somewhere along the way something got messed up.

I just reinstalled the kernel packages from the cd and it works great. Thanks for your help.
Old 06-26-2011, 11:28 PM   #4
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Rep: Reputation: 30


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 - custom kernel won't mount file system j-osh Fedora 8 11-19-2008 01:13 AM
Unbootable Mandriva System Nether Linux - Newbie 8 09-18-2005 06:33 PM
Now that my system is Unbootable........can someone help me! matthewa Linux From Scratch 1 06-06-2005 09:18 PM
Custom Kernel and tmoorman Linux - Software 6 10-23-2003 04:12 PM
Custom kernel and tmoorman Mandriva 1 10-22-2003 08:11 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration