> It fails because of the way openvz guests look like (simfs as > rootfs): > > What does linux expect as root= on command line in such config? How such config can be detected and needed parameters figured out? Would it be possible to have a root ssh access to such a system (since it's virtual I guess you could copy one that contains no private data and wipe it after we're done). > # /usr/sbin/grub-probe --target=device / > /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?). > > # cat /proc/self/mounts > none /proc proc rw 0 0 > none /sys sysfs rw 0 0 > simfs /dev simfs rw 0 0 > > It works fine inside a KVM guest chroot which doesn't use the simfs > as rootfs: > > # /usr/sbin/grub-probe --target=device / > /dev/vda1 > > # cat /proc/self/mounts > rootfs / rootfs rw 0 0 > none /sys sysfs rw,nosuid,nodev,noexec 0 0 > none /proc proc rw,nosuid,nodev,noexec 0 0 > udev /dev tmpfs rw,size=10240k,mode=755 0 0 > none /dev/pts devpts rw,nosuid,noexec,mode=600,ptmxmode=000 0 0 > /dev/disk/by-uuid/2bd80bd3-528c-431b-8b4a-47ecd1e27e24 / ext3 > rw,errors=remount-ro,data=ordered 0 0 > [...] > > # readlink -f /dev/disk/by-uuid/2bd80bd3-528c-431b-8b4a-47ecd1e27e24 > /dev/vda1 > > I brought up a related issue on the grub mailinglist ~9 months ago: > "execution of update-grub in chroots might fail" -> > http://www.mail-archive.com/grub-de...@gnu.org/msg14328.html > > And related as well (but not 100% similar) is issue #538118. > If you need further information, testing,... I'd be happy to help > out. > > regards, > -mika- > > > > _______________________________________________ > Pkg-grub-devel mailing list > pkg-grub-de...@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel > >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
ssh-dss AAAAB3NzaC1kc3MAAACBAP8Y4GjcYvbt6/HTsgs/TcLUDtJJgPcEVCMIDHlsUfl4MHO4dR4IL1zTERxJeAFKNn13DRcIF3cvlA8v5lWHzPHV+cnm3sIhxqNAoFiZ/0CHX4ElCKmHUe9YiwfEW4/LKOTcuFMhU1e08nmxoBqFyXk1GcODZJzOF6bwOABt4we3AAAAFQDYT8MEtOs/tfELFED5wlqtro8XwQAAAIEAhNJwog1OfiujuoNuZjx8nmMcVqwZfLazXdqQb6gB4TS6qebbIHwIqAvYo2m2qVtvqoeZzlD7OOHApM3c71GZG7/JHPRI1kJZhMzqInHgIe3/noTs78fqSfoxo60joAidozSFcIRLWgGfiE00OAVZnJJvFP4HqHSHKI502TGAvaoAAACAe8L9balQdyiVSCZtAIEQu/jeSfCO8ZcRC6qh9onesCK8CPrBETJgNZefDHUypl4L8TZsDn7rtHaucOQu/aafSQdG97Ntb3O0AZVWgbn7pREx3RD8ziqvaTlsT8pyn96TTFTRjFRRIS/JMT2cvYyww9LuynYMitHFDVHHXGwcb/0= phco...@phcoder-laptop
signature.asc
Description: OpenPGP digital signature