help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub-mkconfig does not generate menuentries when a /boot is on a logical


From: Arbiel Perlacremaz
Subject: grub-mkconfig does not generate menuentries when a /boot is on a logical volume
Date: Sat, 29 Nov 2014 12:53:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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 ?

address@hidden:~$ 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
address@hidden:~$ sudo mount /dev/mapper/mvg-boot /boot
address@hidden:~$ sudo mount /dev/sdb1 /boot/grub
address@hidden:~$ sudo update-grub
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
address@hidden:~$ 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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]