Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-30-2012, 10:34 AM
|
#1
|
|
Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 12.3 64bit-Gnome 3.6 on ASUS U52F
Posts: 971
Rep: 
|
how can I switch kernel, SlackWare 13.37
I am trying to boot my slackware installation with the generic kernel. I need to see if that will fix my wireless connection problems.
Currently I have been booting using the huge kernel here is the slakware entry in grub
Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title SlackWare 13.37
root (hd0,4)
kernel /boot/vmlinuz-huge-2.6.37.6 root=/dev/sda5
initrd /boot/vmlinuz-huge-2.6.37.6
that entry works fine but the kernel is not loading the right driver for my wireless card
I added another entry to boot from the generic kernel and this is how it looks
Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title SlackWare
root (hd0,4)
kernel (hd0,4)/boot/vmlinuz-generic-2.6.37.6 root=/dev/sda5
initrd /boot/vmlinuz-generic-2.6.37.6
the boot starts but then goes into a panic and stop.
My question is what should I change to make it boot using the generic kernel?
I will appreciate all advice. Thank you!
|
|
|
|
06-30-2012, 10:47 AM
|
#2
|
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,275
|
The problem is this line "initrd /boot/vmlinuz-generic-2.6.37.6". That is not your initrd, it is your kernel. Make an initrd file using the directions in README.initrd within the /boot directory and then specify that instead.
|
|
|
|
06-30-2012, 10:49 AM
|
#3
|
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,275
|
And huge doesn't typically use an initrd but you have specified one (again your kernel, which was wrong). So your original setup was incorrect as well.
|
|
|
|
06-30-2012, 12:27 PM
|
#4
|
|
Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 12.3 64bit-Gnome 3.6 on ASUS U52F
Posts: 971
Original Poster
Rep: 
|
Thank you for the information. I went to create an initrd.gz file base on the instructions and came and changed my entry here is how it looks now
Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title SlackWare
root (hd0,4)
kernel /boot/vmlinuz-generic-2.6.37.6 root=/dev/sda5
initrd /boot/initrd.gz
I still get a panic message when trying to boot using that file.
So I will really appreciate it all advice.
Thank you.
|
|
|
|
06-30-2012, 12:40 PM
|
#5
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware, Debian
Posts: 12,524
|
Which filesystem is on your /-partition and which command have you launched exactly to create the initrd?
|
|
|
|
06-30-2012, 01:13 PM
|
#6
|
|
Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 12.3 64bit-Gnome 3.6 on ASUS U52F
Posts: 971
Original Poster
Rep: 
|
O.k so my / is formated in ext4 and to create the file I cd into /boot as root and issued the command # mkinitrd twice
If the file was wrongly created I can go and modify it.
I will appreciate it all advice. I feel I am swimming in deep waters here. Thank you
|
|
|
|
06-30-2012, 01:47 PM
|
#7
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware, Debian
Posts: 12,524
|
You have to build in the modules needed to access the filesystem This will automatically pull in some other modules, don't worry about that. After that, try it again.
|
|
|
1 members found this post helpful.
|
06-30-2012, 02:10 PM
|
#8
|
|
Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 12.3 64bit-Gnome 3.6 on ASUS U52F
Posts: 971
Original Poster
Rep: 
|
Thank you! That worked. I re created the file and now I was able to boot with the generic kernel, however it didn't fix the wireless problem.
I really appreciate all the help provided to solve this thread
|
|
|
|
06-30-2012, 02:37 PM
|
#9
|
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,275
|
Glad it worked out for you in the end. Though I can't help but mention that README.initrd tells you about the switches to use (e.g. '-m'). 
|
|
|
1 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:02 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|