LinuxQuestions.org
Review your favorite Linux distribution.
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 04-09-2011, 11:15 PM   #16
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,342

Rep: Reputation: 184Reputation: 184

Thats good! You can try this at a command prompt as root to create a working /boot/initrd.gz
Quote:
mkinitrd -c "$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -r)"
Then you should be able to use the generic kernel.
 
Old 04-09-2011, 11:20 PM   #17
Breeze
Member
 
Registered: Dec 2010
Distribution: ArchLinux,Slackware
Posts: 53

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by colorpurple21859 View Post
In most installs of Slackware /boot/vmlinuz is a link to the vmlinuz-huge-2.6.33.4 kernel which makes it easier to use instead of trying to remember what version of kernel to use.
The huge kernel has everthing installed into it so you do not have to use a initrd.gz file. however because of this, the huge kernel is larger therefore your system won't be as fast as it would be with the generic kernel. Until you get a correctly working initrd.gz you will have to boot your slackware with either /boot/vmlinuz or /boot/vmlinuz-huge-2.6.33.4. After booting into your slackware system with the huge kernel run the following to help with mkinitrd.

so for right now see if slackware will boot with this;
Thanks! That's work.
Quote:
#(/usr/share/mkinitrd/mkinitrd_command_generator.sh)
#mkinitrd -c -k 2.6.33.4 -f ext4 -r /dev/sda8 -m usbhid:ehci-hcd:uhci-hcd:jbd2:mbcache:ext4 -o /boot/initrd.gz
Now,I boot with this
Quote:
title Slackware
root (hd0,7)
kernel /boot/vmlinuz-generic-2.6.33.4 root=/dev/sda8 ro
initrd /boot/initrd.gz
Thanks,thanks everyone!
 
Old 04-09-2011, 11:27 PM   #18
Breeze
Member
 
Registered: Dec 2010
Distribution: ArchLinux,Slackware
Posts: 53

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by colorpurple21859 View Post
Thats good! You can try this at a command prompt as root to create a working /boot/initrd.gz

Then you should be able to use the generic kernel.
I created initrd.gz by
Quote:
mkinitrd -c -k 2.6.32.3 -m reiserfs
which said in
Quote:
/boot/README.initrd
.
Maybe that's not use to boot generic kernel. That's my fault.Thanks!

Last edited by Breeze; 04-09-2011 at 11:33 PM.
 
  


Reply


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
How Do I Add Slackware to Fedora's Grub.conf raziel23x Slackware 18 10-25-2007 12:38 PM
Grub.conf to add a windows partition SpartacusJones Linux - Software 4 06-16-2007 12:01 AM
manually edit FC4 grub.conf to add Ubuntu alar Linux - General 2 09-19-2006 04:45 PM
add linux booting partition / option to grub.conf powah Linux - General 2 04-04-2006 05:07 PM
syntax for grub.conf to add win98 to bootloader menu 7689mich Linux - Newbie 3 08-26-2004 12:13 AM


All times are GMT -5. The time now is 11:59 PM.

Main Menu
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