[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cannot find /dev/fd3 on kernel upgrade



Pardon me if this is old news, but I've had this problem a couple of times, and I wanted to make sure that the solution was available in the debian archives:

The problem occured during a kernel upgrade.

The symptom was the following message during package upgrade:
mkinitrd -o /boot/initrd.img-2.4.xx-xx /lib/modules/2.4.xx-xxmkcramfs:
open failed: /dev/fd/3: No such file or directory
Failed to create initrd image.

First off, if you see this message during kernel upgrade DO NOT REBOOT!! (unless you still have an older version of the kernel still around)

To see which kernels are safe

to boot, do a long listing (ls -l) of /boot . Any initrd* files with 0 length will not boot.

The solution I discovered was to create a symbolic link: /dev/fd -> /proc/self/fd

Then re-run the upgrade. If you are using devfs (as I am), this symbolic link will disappear on upgrade. This may be something for the devfsd team to look into, but the above workaround fixed my problem.

So, anyway, next time I have this problem and can't remember how to fix it, I'll just google for this post. :)



_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail



Reply to: