В Sat, 29 Nov 2014 12:53:19 +0100 Arbiel Perlacremaz <[email protected]> пишет:
> Hi > > grub is supposed to manage logical volumes. I've installed an OS with > /boot on a regular logical volume and /, /usr and /home on a crypted > logical volume. To be more accurate, I first had /boot on a standard > partition (/dev/sdb2) and after that I overwrote /dev/sdb2 by a LVM and > reinstalled grub, pointing --boot-directory on the logical volume. > > running os-prober regularly finds the two systems installed on my PC, > but there are no menuentries in my grub.cfg file. > What can I do to have grub-mkconfig generate a correct grub.cfg file ? > > remi@remi-Vostro-3550:~$ sudo os-prober > /dev/sda6:Ubuntu 12.04.4 LTS (12.04):Ubuntu:linux > /dev/mapper/lvm-root:Ubuntu 14.04 LTS (14.04):Ubuntu1:linux > remi@remi-Vostro-3550:~$ sudo mount /dev/mapper/mvg-boot /boot > remi@remi-Vostro-3550:~$ sudo mount /dev/sdb1 /boot/grub > remi@remi-Vostro-3550:~$ sudo update-grub what happens when you run grub-mkconfig directly? > Création du fichier de configuration GRUB… > Ubuntu 12.04.4 LTS (12.04) trouvé sur /dev/sda6 > Ubuntu 14.04 LTS (14.04) trouvé sur /dev/mapper/lvm-root > fait > remi@remi-Vostro-3550:~$ cat /boot/grub/grub.cfg > # > # DO NOT EDIT THIS FILE > # > # It is automatically generated by grub-mkconfig using templates > # from /etc/grub.d and settings from /etc/default/grub > # > ...... > ### BEGIN /etc/grub.d/20_linux_xen ### > ### END /etc/grub.d/20_linux_xen ### > > ### BEGIN /etc/grub.d/20_memtest86+ ### > ### END /etc/grub.d/20_memtest86+ ### > > ### BEGIN /etc/grub.d/30_os-prober ### > > > ### END /etc/grub.d/30_os-prober ### > > ### BEGIN /etc/grub.d/30_uefi-firmware ### > ### END /etc/grub.d/30_uefi-firmware ### > ..... > > > Thanks in advance for your help > > Arbiel >
pgpHASKfEZ8Ws.pgp
Description: OpenPGP digital signature
_______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
