LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-05-2007, 10:18 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Rep: Reputation: 177Reputation: 177
mkinitrd or static?


I have always compiled my own kernels with the file system and scsi controller as static because as you know unless you load a initrd you cant load the modules before the boot process which results in a kernel panic. I know how to make a initrd but have always wondered is there any benefit using one or is either way the same.

Thanks
 
Old 02-05-2007, 10:44 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Good question. I prefer the static method ... but initrd should work just fine.
 
Old 02-06-2007, 01:00 AM   #3
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Initrd is usable when you forget smth to compile into the kernel, or for some reason you don't want to recompile your kernel (like you have new version of gcc and don't want to reinstall nvidia) and get new piece of hardware which is required during boot.

I always try to make it static because it, I believe, is the proper way.
 
Old 02-06-2007, 01:19 AM   #4
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
filesystem support compiled in. i didnt used initrd till i started using bootsplash. i think it is better to make it built in
 
Old 02-06-2007, 05:10 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Thanks for the question and replies - I had wondered about initrd myself; I've been compiling in compatibility for it, but never use it. I think I like the kernel in one piece
 
Old 02-07-2007, 03:45 PM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,122
Blog Entries: 3

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
Quote:
Originally Posted by Daedra
I have always compiled my own kernels with the file system and scsi controller as static because as you know unless you load a initrd you cant load the modules before the boot process which results in a kernel panic. I know how to make a initrd but have always wondered is there any benefit using one or is either way the same.

Thanks
Hi,

The initrd will allow you to move from one system to another without worry of a compile. You could create your initrd on the target system and have the system running a lot faster than compiling for that system.

The boot process will not be that much of a difference. Most of my bench systems use static but when doing test systems then initrd.
 
  


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
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 10:51 AM
Java: non-static variable this cannot be referenced from a static context chief_officer Programming 4 05-29-2006 01:37 PM
Is there any static ARP for static IP network? linux_lover2005 Linux - Networking 2 05-18-2005 12:01 PM
FC2 Overriding static if in favor of dhcp system set for static pkraus109 Linux - Networking 8 09-21-2004 11:13 AM
mkinitrd vmniza Linux - General 1 03-10-2004 02:05 AM


All times are GMT -5. The time now is 03:11 AM.

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