Bonjour à tous et merci d'avance pour votre aide,
Je suis utilisateur confirmé avec les ordinateur. Hélas, je débute avec Linux.
Pour ma question, n'hésitez pas à me demander plus de détails. J'essaierai de répondre clairement.
Mon but est d'arriver à installer Fedora en "dual-boot" avec un Win 8.1 (pour utiliser d'autres applications)
Après lecture de discutions sur ce forum pour ce type d'installation, je vais essayer de vous donner quelques éléments dès ce premier post:
La commande fdisk -l
[root@linux ~]# fdisk -l
Disque /dev/sda : 698,7 GiB, 750156374016 octets, 1465149168 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 4096 octets
taille d'E/S (minimale / optimale) : 4096 octets / 4096 octets
Type d'étiquette de disque : gpt
Identifiant de disque : 1CA7D2B2-4EA1-4593-8FFF-0D7C14E84472
Device Start End Sectors Size Type
/dev/sda1 2048 821247 819200 400M Windows recovery environment
/dev/sda2 821248 1435647 614400 300M EFI System
/dev/sda3 1435648 1697791 262144 128M EFI System
/dev/sda4 1697792 442091723 440393932 210G Microsoft basic data
/dev/sda5 1428776960 1429493759 716800 350M Windows recovery environment
/dev/sda6 1429493760 1465147391 35653632 17G Windows recovery environment
/dev/sda7 442093568 1368885247 926791680 442G Linux filesystem
/dev/sda8 1368885248 1428776959 59891712 28,6G Linux swap
Les entrées de la table de partitions ne sont pas dans l'ordre du disque.
La commande efibootmgr -v
[root@linux ~]# efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0000
Boot0000* HDD0: WDC WD7500BPVT-22HXZT3 ACPI(a0341d0,0)PCI(1f,2)SATA(0,0,0)HD(2,c8800,96000,ccd4e1d7-0ed9-4217-ad28-ff4f23802e9b)RC
Boot0001* Atheros Boot Agent BIOS(80,0,95)........................{..............................................
Boot0002* Fedora HD(2,c8800,96000,ccd4e1d7-0ed9-4217-ad28-ff4f23802e9b)File(\EFI\fedora\shim.efi)
Boot0003* WDC WD7500BPVT-22HXZT3 BIOS(2,500,da)................-.u.......u.A.u........................................
Boot0004* MATSHITA DVD-RAM UJ8E1 BIOS(3,500,1f)................-...........A......#...................................
[root@linux ~]#
En suivant ce
post de philippe_PMA, je vous donne les commandes suivantes:
[root@linux ~]# cat /boot/efi/EFI/fedora/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
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="${saved_entry}"
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
}
terminal_output console
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 'Fedora, with Linux 4.1.5-100.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.5-100.fc21.x86_64-advanced-d20fe604-f3f9-4ea4-a185-ed7ac325632e' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d20fe604-f3f9-4ea4-a185-ed7ac325632e
else
search --no-floppy --fs-uuid --set=root d20fe604-f3f9-4ea4-a185-ed7ac325632e
fi
linuxefi /boot/vmlinuz-4.1.5-100.fc21.x86_64 root=UUID=d20fe604-f3f9-4ea4-a185-ed7ac325632e ro rhgb quiet
initrdefi /boot/initramfs-4.1.5-100.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 4.1.4-100.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.4-100.fc21.x86_64-advanced-d20fe604-f3f9-4ea4-a185-ed7ac325632e' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d20fe604-f3f9-4ea4-a185-ed7ac325632e
else
search --no-floppy --fs-uuid --set=root d20fe604-f3f9-4ea4-a185-ed7ac325632e
fi
linuxefi /boot/vmlinuz-4.1.4-100.fc21.x86_64 root=UUID=d20fe604-f3f9-4ea4-a185-ed7ac325632e ro rhgb quiet
initrdefi /boot/initramfs-4.1.4-100.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 4.1.3-100.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.1.3-100.fc21.x86_64-advanced-d20fe604-f3f9-4ea4-a185-ed7ac325632e' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d20fe604-f3f9-4ea4-a185-ed7ac325632e
else
search --no-floppy --fs-uuid --set=root d20fe604-f3f9-4ea4-a185-ed7ac325632e
fi
linuxefi /boot/vmlinuz-4.1.3-100.fc21.x86_64 root=UUID=d20fe604-f3f9-4ea4-a185-ed7ac325632e ro rhgb quiet
initrdefi /boot/initramfs-4.1.3-100.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 0-rescue-bcf6ed6eccf14a6e8160ed986e19c6a1' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-bcf6ed6eccf14a6e8160ed986e19c6a1-advanced-d20fe604-f3f9-4ea4-a185-ed7ac325632e' {
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 d20fe604-f3f9-4ea4-a185-ed7ac325632e
else
search --no-floppy --fs-uuid --set=root d20fe604-f3f9-4ea4-a185-ed7ac325632e
fi
linuxefi /boot/vmlinuz-0-rescue-bcf6ed6eccf14a6e8160ed986e19c6a1 root=UUID=d20fe604-f3f9-4ea4-a185-ed7ac325632e ro rhgb quiet
initrdefi /boot/initramfs-0-rescue-bcf6ed6eccf14a6e8160ed986e19c6a1.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/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### 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.
### 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 ###
[root@linux ~]#
[root@linux ~]# df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
devtmpfs 4016472 0 4016472 0% /dev
tmpfs 4026412 84 4026328 1% /dev/shm
tmpfs 4026412 948 4025464 1% /run
tmpfs 4026412 0 4026412 0% /sys/fs/cgroup
/dev/sda7 455992664 54404604 378401884 13% /
tmpfs 4026412 16 4026396 1% /tmp
/dev/sda2 307016 9800 297216 4% /boot/efi
tmpfs 805284 0 805284 0% /run/user/989
tmpfs 805284 12 805272 1% /run/user/1000
[root@linux ~]#
[root@linux ~]# blkid
/dev/sda1: LABEL="Recovery" UUID="E0C89A58C89A2CB2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="caa0fecf-e3e1-485c-b61b-e36b2c4a66d5"
/dev/sda2: SEC_TYPE="msdos" LABEL="ESP" UUID="15D9-167C" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="ccd4e1d7-0ed9-4217-ad28-ff4f23802e9b"
/dev/sda3: UUID="aef2f886-2331-4329-9fc3-72d8ba4a9274" TYPE="ext2" PARTUUID="d92cc4c0-a00d-4457-b439-79743f9cfa22"
/dev/sda4: LABEL="Acer" UUID="E8C09EFBC09ECF66" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="43f34e6d-5074-4761-af3f-022ab996981b"
/dev/sda5: UUID="B896F41896F3D53A" TYPE="ntfs" PARTUUID="d20ee661-68d1-4e5b-b27e-28223eefc2f5"
/dev/sda6: LABEL="Push Button Reset" UUID="D24CA15A4CA139DD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c7dc9c24-07bf-44d4-b139-4db1da8e2949"
/dev/sda7: UUID="d20fe604-f3f9-4ea4-a185-ed7ac325632e" TYPE="ext4" PARTUUID="362a2a92-00f5-49d6-b0ce-1b183834943d"
/dev/sda8: UUID="38b76bee-2305-487a-b995-4a6ca3727fb9" TYPE="swap" PARTUUID="eff47a6d-c81b-4edc-9d1e-b12148a7510f"
[root@linux ~]#
[root@linux ~]# blkid
/dev/sda1: LABEL="Recovery" UUID="E0C89A58C89A2CB2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="caa0fecf-e3e1-485c-b61b-e36b2c4a66d5"
/dev/sda2: SEC_TYPE="msdos" LABEL="ESP" UUID="15D9-167C" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="ccd4e1d7-0ed9-4217-ad28-ff4f23802e9b"
/dev/sda3: UUID="aef2f886-2331-4329-9fc3-72d8ba4a9274" TYPE="ext2" PARTUUID="d92cc4c0-a00d-4457-b439-79743f9cfa22"
/dev/sda4: LABEL="Acer" UUID="E8C09EFBC09ECF66" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="43f34e6d-5074-4761-af3f-022ab996981b"
/dev/sda5: UUID="B896F41896F3D53A" TYPE="ntfs" PARTUUID="d20ee661-68d1-4e5b-b27e-28223eefc2f5"
/dev/sda6: LABEL="Push Button Reset" UUID="D24CA15A4CA139DD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="c7dc9c24-07bf-44d4-b139-4db1da8e2949"
/dev/sda7: UUID="d20fe604-f3f9-4ea4-a185-ed7ac325632e" TYPE="ext4" PARTUUID="362a2a92-00f5-49d6-b0ce-1b183834943d"
/dev/sda8: UUID="38b76bee-2305-487a-b995-4a6ca3727fb9" TYPE="swap" PARTUUID="eff47a6d-c81b-4edc-9d1e-b12148a7510f"
[root@linux ~]# ls /boot/vmlinuz* /boot/initramfs*
/boot/initramfs-0-rescue-bcf6ed6eccf14a6e8160ed986e19c6a1.img /boot/vmlinuz-0-rescue-bcf6ed6eccf14a6e8160ed986e19c6a1
/boot/initramfs-4.1.3-100.fc21.x86_64.img /boot/vmlinuz-4.1.3-100.fc21.x86_64
/boot/initramfs-4.1.4-100.fc21.x86_64.img /boot/vmlinuz-4.1.4-100.fc21.x86_64
/boot/initramfs-4.1.5-100.fc21.x86_64.img /boot/vmlinuz-4.1.5-100.fc21.x86_64
[root@linux ~]#
[root@linux ~]# ls -ld /etc/grub*
lrwxrwxrwx. 1 root root 22 5 déc. 2014 /etc/grub2.cfg -> ../boot/grub2/grub.cfg
lrwxrwxrwx. 1 root root 31 5 déc. 2014 /etc/grub2-efi.cfg -> ../boot/efi/EFI/fedora/grub.cfg
drwxr-xr-x. 2 root root 4096 25 août 21:32 /etc/grub-customizer
drwx------. 2 root root 4096 9 juil. 12:14 /etc/grub.d
[root@linux ~]#
Une précision quant à mon Windows, il semble que tous les fichiers et dossiers soient toujours sur leur partition et qu'ils soient intacts.
Actuellement au démarrage, seul Fedora m'est proposé. Est-ce parce que j'ai créé une partition /EFI à l'installation de Fedora?
Comment faire désormais pour avoir le choix du "dual-boot" au démarrage?
Dans l'attente de vos retours, je vous remercie de m'avoir lu.