Home > English, Tech Crunch > HOWTO Upgrade from devfs to udev on Debian Sarge

HOWTO Upgrade from devfs to udev on Debian Sarge

This article was first written in November 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/186).

Some people used devfs under Woody, or under their previous Sarge install. When going kernel 2.6, it may be useful to revert or upgrade to udev instead. The problem is that their nomenclatura is different, so your system may be rendered unbootable. Let’s see what to care about to switch from devfs to udev.

First, the bootloader will no longer need the devfs=mount parameter on the kernel command-line. So, wheter you use GRUB or LILO, remove or comment the reference to devfs=mount.

Second, check in your /etc/fstab that you have nothing in devfs-nomenclatura, like /dev/ide/host0/bus0/target0/lun0/part3, but everything in the standard nomenclatura like /dev/hda3.

Third, install the udev package, it will probably bring some dependencies too. That’s ok.

Last, check the links in /etc/udev/rules.d/. There are probably two links to the upper directory: compat-full.rules and devfs.rules. Remove them and create a new link to udev.rules and to cd-aliases.rules like this:

# cd /etc/udev/rules.d/
# rm compat-full.rules devfs.rules
# ln -s ../udev.rules .
# ln -s ../cd-aliases.rules .

Now, reboot, and if you want, remove package devfsd.

Note: It may also be necessary to reconfigure some special packages which store device information in their configuration file, like XFree86.

Categories: English, Tech Crunch Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: