On 2014-01-21 23:40, Charles Plessy wrote:
>> ++ find_device /
>> ++ grub-probe --device-map=/boot/grub/device.map -t device /
>> + root_device=
> 
> Thanks for the help, could you replace
> 
>     grub-probe --device-map=${device_map} -t device $1 2> /dev/null
> 
> with
> 
>     grub-probe --device-map=${device_map} -t device $1 --verbose
> 
> in update-menu-lst and run it again ?

I just ran it manually in the chroot (which I'll keep around for a while):

# grub-probe --device-map=/boot/grub/device.map -t device / --verbose
grub-probe: info: cannot open `/boot/grub/device.map': No such file or
directory.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to shm.
grub-probe: error: cannot find a device for / (is /dev mounted?).
# echo $?
1

No, /dev isn't mounted (and it's not going to be mounted in piuparts tests).

I just mounted it manually to see it would not help:

# grub-probe --device-map=/boot/grub/device.map -t device / --verbose
grub-probe: info: cannot open `/boot/grub/device.map': No such file or
directory.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to vboxusb.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to snd.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to block.
grub-probe: info: changing current directory to bsg.
grub-probe: info: changing current directory to bus.
grub-probe: info: changing current directory to usb.
grub-probe: info: changing current directory to 004.
grub-probe: info: changing current directory to 003.
grub-probe: info: changing current directory to 002.
grub-probe: info: changing current directory to 001.
grub-probe: info: changing current directory to char.
grub-probe: info: changing current directory to mapper.
grub-probe: info: changing current directory to net.
grub-probe: info: changing current directory to cpu.
grub-probe: info: changing current directory to 7.
grub-probe: info: changing current directory to 6.
grub-probe: info: changing current directory to 5.
grub-probe: info: changing current directory to 4.
grub-probe: info: changing current directory to 3.
grub-probe: info: changing current directory to 2.
grub-probe: info: changing current directory to 1.
grub-probe: info: changing current directory to 0.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to input.
grub-probe: info: changing current directory to by-path.
grub-probe: info: changing current directory to by-id.
grub-probe: error: cannot find a device for / (is /dev mounted?).

The chroot used for piuparts is residing here:
tmpfstmp /tmp tmpfs rw,relatime,size=29360128k,nr_inodes=4194304 0 0

Andreas


-- 
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