- - - - - - - - - - - - - - - - - - -
Bonsoir, je rencontre un problème une fois l'installation terminée, au lancement du GRUB.
Au démarrage je me retrouve avec la saisie du mot de passe de chiffrement puis la ligne "Device lvm already exists." qui défile sans s'arrêter (cf. détails et capture plus bas). Sans pouvoir continuer.
Il me semble que c'est la ligne "GRUB_CMDLINE_LINUX_DEFAULT=" qui pose problème. J'ai dû tenter 7 ou 8 installations (c'est long) en essayant diverses options mais la je sèche.
Installation sur SSD en parallèle de Windows 7 (non-UEFI), LUKS sur LVM, partition /boot non-chiffrée, / /home séparées.
J'ai bien lu la page https://wiki.archlinux.org/index.php/Dm ... ryptdevice mais trouver de solution.
En détails :
LUKS : /dev/sda4 -> /dev/mapper/luks
LVM2 : /dev/mapper/lvm (Volume Group)
Voici ce que j'ai copié avant de finir l'installation :
1/ le fichier /etc/default/grub en question :
Code : Tout sélectionner
GRUB_DEFAULT=saved
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=UUID=8ca4b87e-fa80-4396-b89e-ae96b2495037:lvm root=/dev/mapper/lvm-rootvol resume=/dev/mapper/lvm-swapvol"
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
Code : Tout sélectionner
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# DEVICE DETAILS: /dev/mapper/lvm-homevol UUID=3787304f-9b16-4d64-9db1-969ca46d78da LABEL=HOMELVM-MSI
# DEVICE DETAILS: /dev/mapper/lvm-rootvol UUID=26f09657-5613-4662-815e-20fb7d3888ee LABEL=ROOTLVM-MSI
# DEVICE DETAILS: /dev/mapper/lvm-swapvol UUID=631b9662-4cc5-48cc-8567-ac01c66fdc0a LABEL=SWAPLVM-MSI
# DEVICE DETAILS: /dev/sda3 UUID=3e96af97-b257-43e8-b392-b0b27f6ec7de LABEL=BOOT-MSI
UUID=26f09657-5613-4662-815e-20fb7d3888ee / ext4 defaults 0 1
UUID=3787304f-9b16-4d64-9db1-969ca46d78da /home ext4 defaults 0 1
UUID=3e96af97-b257-43e8-b392-b0b27f6ec7de /boot ext2 defaults 0 1
UUID=631b9662-4cc5-48cc-8567-ac01c66fdc0a swap swap defaults 0 0
Code : Tout sélectionner
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES="dm_mod dm_crypt ext4 aes_x86_64 sha256 sha512"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect block filesystems"
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev block filesystems"
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev block mdadm encrypt filesystems"
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev block lvm2 filesystems"
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap plymouth plymouth-encrypt lvm2 encrypt pcmcia resume filesystems fsck usr shutdown"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""