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 06-30-2012, 11:34 AM   #1
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,430

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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!
 
Old 06-30-2012, 11:47 AM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
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.
 
Old 06-30-2012, 11:49 AM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
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.
 
Old 06-30-2012, 01:27 PM   #4
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,430

Original Poster
Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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.
 
Old 06-30-2012, 01:40 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Which filesystem is on your /-partition and which command have you launched exactly to create the initrd?
 
Old 06-30-2012, 02:13 PM   #6
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,430

Original Poster
Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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
 
Old 06-30-2012, 02:47 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,650
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
You have to build in the modules needed to access the filesystem
Code:
mkinitrd -m ext4
This will automatically pull in some other modules, don't worry about that. After that, try it again.
 
1 members found this post helpful.
Old 06-30-2012, 03:10 PM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,430

Original Poster
Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
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
 
Old 06-30-2012, 03:37 PM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963Reputation: 963
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.
  


Reply

Tags
grub, kernel, opensuse, slackware


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
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 07:29 AM
thread switch results in kernel stack switch superstition Linux - General 1 05-18-2005 12:48 AM
Before I switch to Slackware..... melinda_sayang Slackware 7 02-21-2004 01:57 AM
Should I switch to Slackware? muzicman82 Slackware 15 11-20-2003 01:38 PM


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