<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://doc.lunar-linux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://doc.lunar-linux.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RicsiTdarl</id>
		<title>Lunar Linux - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://doc.lunar-linux.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=RicsiTdarl"/>
		<link rel="alternate" type="text/html" href="http://doc.lunar-linux.org/Special:Contributions/RicsiTdarl"/>
		<updated>2026-04-04T08:18:03Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.1</generator>

	<entry>
		<id>http://doc.lunar-linux.org/Installation:The_kernel_commandline_/dev_params_mini-HowTo</id>
		<title>Installation:The kernel commandline /dev params mini-HowTo</title>
		<link rel="alternate" type="text/html" href="http://doc.lunar-linux.org/Installation:The_kernel_commandline_/dev_params_mini-HowTo"/>
				<updated>2008-01-22T17:51:52Z</updated>
		
		<summary type="html">&lt;p&gt;RicsiTdarl: dombobasz&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;darbocroc&lt;br /&gt;
=A little background=&lt;br /&gt;
&lt;br /&gt;
Every box needs a set of device nodes in order to work. Currently there are 2 ways of creating these nodes: statically or dynamically.&lt;br /&gt;
&lt;br /&gt;
==Static device nodes==&lt;br /&gt;
&lt;br /&gt;
/dev content is permanent, on a real permanent filesystem (like ext3, XFS, reiser...). All the needed nodes are present, or are created with a mknod command. You can also create nodes with the makedev utility.&lt;br /&gt;
&lt;br /&gt;
==Dynamic device nodes==&lt;br /&gt;
&lt;br /&gt;
Nodes are created from hotplug events, e.g., on the fly. Here, depending on your kernel, you have 2 choices:&lt;br /&gt;
&lt;br /&gt;
===devfs===&lt;br /&gt;
devfs' device nodes are created in kernel space, on a virtual fs. It is therefore part of the kernel tree source.&lt;br /&gt;
&lt;br /&gt;
===udev===&lt;br /&gt;
udev's device nodes are created in userspace, and by a userland application, thus outside the kernel tree. udev can lie on any filesystem, permanent or not, but due to its nature, is normally on a virtual filesystem, like ramfs -this is Lunar's case.&lt;br /&gt;
&lt;br /&gt;
Altough devfs is still currently in 2.6 it &amp;quot;will be removed real soon&amp;quot; (TM). So basically we can think of 2 defaults: for 2.4, devfs is mainly used; on 2.6, udev will be mainly used. A smaller portion of users still have static (on real fs) nodes.&lt;br /&gt;
&lt;br /&gt;
=What commandline options can be used=&lt;br /&gt;
&lt;br /&gt;
To tell Lunar what type of device nodes I want to use there is a commandline switch that is dev=, that can take 4 values:&lt;br /&gt;
* dev=static&lt;br /&gt;
* dev=devfs&lt;br /&gt;
* dev=udev&lt;br /&gt;
* no commandline whatsoever&lt;br /&gt;
&lt;br /&gt;
The options are quite self explaining. A good thing to take in mind is that they behave differently depending on your kernel.&lt;br /&gt;
&lt;br /&gt;
==2.4 kernels==&lt;br /&gt;
&lt;br /&gt;
valid dev= values are:&lt;br /&gt;
* dev=devfs&lt;br /&gt;
* dev=static&lt;br /&gt;
&lt;br /&gt;
If dev=udev was passed to a 2.4 kernel on boot, a warning message will be displayed, and it will fallback to normal 2.4 behaviour: if no dev= commandline has been supplied, or its value is not correct, it shall fall through:&lt;br /&gt;
&lt;br /&gt;
* Test for dev=devfs, and if devfs' binary is there, try to boot with it.&lt;br /&gt;
* If there's no devfs installed, boot as if a static dev was present.&lt;br /&gt;
&lt;br /&gt;
==2.6 kernels==&lt;br /&gt;
&lt;br /&gt;
valid dev= values are:&lt;br /&gt;
&lt;br /&gt;
* dev=udev&lt;br /&gt;
* dev=devfs&lt;br /&gt;
* dev=static&lt;br /&gt;
&lt;br /&gt;
And are tested in exactly this order if no valid dev= is supplied or no commandline is supplied whatsoever.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Adding the params: bootloaders=&lt;br /&gt;
&lt;br /&gt;
==lilo==&lt;br /&gt;
To add a commandline param in lilo, you have to use the append label. Taking dev=udev as an example:&lt;br /&gt;
   &lt;br /&gt;
   image=/boot/vmlinuz&lt;br /&gt;
   label=awesomekernel&lt;br /&gt;
   root=/dev/hda2&lt;br /&gt;
   append=&amp;quot;dev=udev video=radeonfb:1152x864-16@60&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you have prompt set in your lilo.conf, you can even write the option just before the kernel you want loads.&lt;br /&gt;
&lt;br /&gt;
==grub==&lt;br /&gt;
To add a commandline param in grub, all you have to do it put it behind the kernel placement, on the kernel label's line:&lt;br /&gt;
&lt;br /&gt;
   title awesomekernel&lt;br /&gt;
   root (hd0,1)&lt;br /&gt;
   kernel /boot/vmlinuz root=/dev/hda1 dev=udev video=radeonfb:1152x864-16@60&lt;br /&gt;
&lt;br /&gt;
Don't forget that in grub you can edit the kernel label line on boot, just like lilo.&lt;br /&gt;
&lt;br /&gt;
Copyleft Jaime Buffery, 2004-2005&lt;br /&gt;
nestu AT lunar-linux DOT org&lt;/div&gt;</summary>
		<author><name>RicsiTdarl</name></author>	</entry>

	</feed>