
à vous..
Voila, j'ai installer l'environnement graphique, je peut copier/coller des fichiers.
J'ai bien le noyau d'origine, erreur l'ors de la frappe clavier (linux /vmlinuz-linux root=UUID=f55d8636-1d63-4461-b4ac-b70c8035d9ff rw quiet)
Mon / est sur mvg-arch
/boot sur /dev/sda2
Ne faut-il pas mettre un "insmode lvm" dans grub.cfg?
Code : Tout sélectionner
[kroogy@melon ~]$ sudo 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/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/en7d63-DDbJ-ba7N-9YWs-as2g-1i4B-h0wNWy/wDyXT8-8SY4-52z3-mixc-Bfsu-vcmu-I8Q5Zp'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/en7d63-DDbJ-ba7N-9YWs-as2g-1i4B-h0wNWy/wDyXT8-8SY4-52z3-mixc-Bfsu-vcmu-I8Q5Zp' f55d8636-1d63-4461-b4ac-b70c8035d9ff
else
search --no-floppy --fs-uuid --set=root f55d8636-1d63-4461-b4ac-b70c8035d9ff
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f55d8636-1d63-4461-b4ac-b70c8035d9ff' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 d89d2e16-1d49-4363-a4f0-57ed39d0e14c
else
search --no-floppy --fs-uuid --set=root d89d2e16-1d49-4363-a4f0-57ed39d0e14c
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=f55d8636-1d63-4461-b4ac-b70c8035d9ff rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-f55d8636-1d63-4461-b4ac-b70c8035d9ff' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-f55d8636-1d63-4461-b4ac-b70c8035d9ff' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 d89d2e16-1d49-4363-a4f0-57ed39d0e14c
else
search --no-floppy --fs-uuid --set=root d89d2e16-1d49-4363-a4f0-57ed39d0e14c
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=f55d8636-1d63-4461-b4ac-b70c8035d9ff rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-f55d8636-1d63-4461-b4ac-b70c8035d9ff' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 d89d2e16-1d49-4363-a4f0-57ed39d0e14c
else
search --no-floppy --fs-uuid --set=root d89d2e16-1d49-4363-a4f0-57ed39d0e14c
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=f55d8636-1d63-4461-b4ac-b70c8035d9ff rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows" {
set root=(hd0,1)
� chainloader +1
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
Code : Tout sélectionner
$ sudo pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name mvg
PV Size 150,00 GiB / not usable 3,81 MiB
Allocatable yes
PE Size 4,00 MiB
Total PE 38399
Free PE 2584
Allocated PE 35815
PV UUID XoHhQh-6sAr-7vwZ-56rf-WYOL-JxnP-axz8Fo
Code : Tout sélectionner
$ sudo vgdisplay
--- Volume group ---
VG Name mvg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 74
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 150,00 GiB
PE Size 4,00 MiB
Total PE 38399
Alloc PE / Size 35815 / 139,90 GiB
Free PE / Size 2584 / 10,09 GiB
VG UUID en7d63-DDbJ-ba7N-9YWs-as2g-1i4B-h0wNWy
Code : Tout sélectionner
$ sudo lvdisplay
--- Logical volume ---
LV Path /dev/mvg/swap
LV Name swap
VG Name mvg
LV UUID epfSfL-Cmm5-rwNC-IRrj-ljHO-YXTh-pBudaN
LV Write Access read/write
LV Creation host, time ,
LV Status available
# open 2
LV Size 3,00 GiB
Current LE 768
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Path /dev/mvg/arch
LV Name arch
VG Name mvg
LV UUID wDyXT8-8SY4-52z3-mixc-Bfsu-vcmu-I8Q5Zp
LV Write Access read/write
LV Creation host, time bureau, 2013-07-07 20:44:36 +0200
LV Status available
# open 1
LV Size 20,00 GiB
Current LE 5120
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Path /dev/mvg/home
LV Name home
VG Name mvg
LV UUID X1wWsr-CN0H-9P35-TD0J-XJdy-bJfd-SA2Oxi
LV Write Access read/write
LV Creation host, time bureau, 2013-07-07 20:46:20 +0200
LV Status available
# open 1
LV Size 50,00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
--- Logical volume ---
LV Path /dev/mvg/recup_nas
LV Name recup_nas
VG Name mvg
LV UUID 52S3Zv-e1CY-T9UH-GCsd-crB4-Y8nc-cA19VA
LV Write Access read/write
LV Creation host, time kroogy, 2015-08-22 19:09:09 +0200
LV Status available
# open 0
LV Size 66,90 GiB
Current LE 17127
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
Code : Tout sélectionner
$ sudo fdisk -l /dev/sda
Disque /dev/sda : 698,7 GiB, 750155292160 octets, 1465147055 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Identifiant de disque : 0x9e569f01
Périphérique Amorçage Début Fin Secteurs Taille Id Type
/dev/sda1 * 2048 100003839 100001792 47,7G 7 HPFS/NTFS/exFAT
/dev/sda2 100003840 100259839 256000 125M 83 Linux
/dev/sda3 100261665 416931616 316669952 151G 83 Linux
/dev/sda4 416933888 1465145343 1048211456 499,8G f Étendue W95 (LBA)
/dev/sda5 416935936 1465143295 1048207360 499,8G 7 HPFS/NTFS/exFAT
Code : Tout sélectionner
$ sudo ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 5 janv. 23:50 241CC5861CC55388 -> ../../sda5
lrwxrwxrwx 1 root root 10 5 janv. 23:50 5CFE9F9CFE9F6D50 -> ../../sda1
lrwxrwxrwx 1 root root 10 5 janv. 23:50 8c7a6613-e0e9-4b16-a8ac-4cb6f1fc795d -> ../../dm-2
lrwxrwxrwx 1 root root 10 5 janv. 23:50 cb451a1c-24c2-4a58-a8ff-b08b77e1ff7e -> ../../dm-0
lrwxrwxrwx 1 root root 10 5 janv. 23:50 d89d2e16-1d49-4363-a4f0-57ed39d0e14c -> ../../sda2
lrwxrwxrwx 1 root root 10 5 janv. 23:50 df29b065-ffc8-41a3-8b2e-8fdc0f8d12a6 -> ../../dm-3
lrwxrwxrwx 1 root root 10 5 janv. 23:50 f55d8636-1d63-4461-b4ac-b70c8035d9ff -> ../../dm-1
Code : Tout sélectionner
$ sudo ls -l /dev/mapper/
total 0
crw------- 1 root root 10, 236 5 janv. 23:50 control
lrwxrwxrwx 1 root root 7 5 janv. 23:50 mvg-arch -> ../dm-1
lrwxrwxrwx 1 root root 7 5 janv. 23:50 mvg-home -> ../dm-2
lrwxrwxrwx 1 root root 7 5 janv. 23:50 mvg-recup_nas -> ../dm-3
lrwxrwxrwx 1 root root 7 5 janv. 23:50 mvg-swap -> ../dm-0