Package: extlinux
Version: 3:4.05+dfsg-6+deb8u1

After upgrading to version 3:4.05+dfsg-6+deb8u1:

E: cannot access "/dev/root": No such device
dpkg: Fehler beim Bearbeiten des Paketes extlinux (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert
1 zurück

FYI: syslinux-stuff (3:6.03~pre18+dfsg-1) gives the same result.

The kernel is started with this cmdline (no modules, no initrd):

root=/dev/sda1 ro rootfstype=ext4 BOOT_IMAGE=/boot/vmlinuz-3.15.1

# df -P /boot/extlinux | tail -1 | awk '{ print $1 }'
/dev/root

# findmnt -n --raw -c -o SOURCE /
/dev/root

# ls -l /dev/root
ls: cannot access /dev/root: No such file or directory

# cat /proc/mounts | awk '{ print $1 " " $2 }'
rootfs /
/dev/root /
sysfs /sys
tmpfs /run
tmpfs /run/lock
proc /proc
devtmpfs /dev
tmpfs /run/shm
devpts /dev/pts
/dev/sdb2 /srv
tmpfs /tmp
tmpfs /var/tmp
tmpfs /var/log
none /sys/fs/cgroup
systemd /sys/fs/cgroup/systemd

There seems to be no easy way to find out the real device of /dev/root:

# cat /proc/self/mountinfo | grep /dev/root | awk '{ print $3 }'
8:1

# cat /proc/partitions | tail -n +3 | awk '{ print $1 ":" $2 " " $4 }' |
grep "8:1 " | awk '{ print "/dev/" $2 }'
/dev/sda1


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to