Mounting proc filesystem: Bad file descriptor

Ballu called me as he got this error:

Mounting proc filesystem Bad file descriptor
No such partition found …

Something modifed /dev/null to a regular file. To fix, login into repair mode, remount root filesystem as read-write, and restore /dev/null:

# mount -n -o remount,rw /
# rm -f /dev/null
# mknod -m 0666 /dev/null c 1 3

It worked.

Advertisements

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: