#26 Le 16/12/2013, à 21:35
- JujuLand
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
Bon, ma clé desktop fonctionne et au reboot après install, çà boote bien sur l'install sur le HD.
J'avais simplement lors de la première install d'affecter le flag EFI à la partition de boot
Par contre, depuis l'install, alors que çà fonctionnait avec la clé, le wifi ne fonctionne pas.
Il me semble avoir lu un truc comme çà quelque part.
[edit]
Il s'agit d'un bug du driver wifi.
Il y a un work-around qui doit fonctionner.
Sinon, au boot, j'ai quelques messages furtifs accusant nouveau, mais çà semble fonctionner, alors ...
A+
Dernière modification par JujuLand (Le 16/12/2013, à 22:44)
Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)
Hors ligne
#27 Le 17/12/2013, à 07:36
- malbo
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
Je souhaiterais ajouter le ASUS X75V dans la Liste des portables « Asus ». Pourrais-tu poster ton Boot-Info mais au lieu de le faire depuis une session live, le faire depuis ton Ubuntu installé (on peut ainsi voir le réglage de l'UEFI) ? Cela donnerait un exemple d'installation en mode EFI dans ce modèle.
Dernière modification par malbo (Le 17/12/2013, à 07:37)
Hors ligne
#28 Le 17/12/2013, à 09:50
- JujuLand
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
ok, des que j'ai un moment ...
A+
Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)
Hors ligne
#29 Le 17/12/2013, à 22:41
- JujuLand
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
Bon, le rapport a été envoyé: http://paste.ubuntu.com/6590587/
Je précise que je ne suis pas en multi-boot (j'ai viré toutes les partitions Win)
Le BIOS est accessible par la touche Esc (pas F2 comme certains modèles un peu plus vieux)
J'ai désactive le Boot secure
Au départ, j'avais activé le CSM, mais maintenant, il est désactivé, et çà boote correctement, donc je ne pense pas que çà ait été nécessaire.
Au boot, il faut choisir le device en EFI
J'ai fait l'install à partir d'une clé Desktop 12.04.3 fabriquée par 'USB Creator' , mais un dvd Alternate 12.04.3 aurait fonctionné si je n'avais pas oublié la partition de boot. Par contre, impossible d'installer avec une clé Alternate, car dans le script, il y a un test du DVD, et évidemment, il n'en trouve pas.
Lors de l'install, j'ai créé une partition FAT32 de 500 Mo avec le flag boot efi, puis mes autres partitions
Après l'install, curieusement çà semble avoir 'débloqué' EFI, et j'ai maintenant accès à des menus autrefois grisés: Ajouter un device de boot par exemple, et j'ai actuellement deux devices qui semblent identiques dans le nom, et semblent correspondre au HD (je dis bien semble)
Bref, je ne maîtrise pas tout, et peut-être, mais j'en doute, trouveras-tu la réponse dans le rapport de boot-repair.
J'émet un doute, car je pense qu'EFI a du le géner...
Voilà
A+
Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)
Hors ligne
#30 Le 18/12/2013, à 10:26
- malbo
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
Ton Boot-Info ( http://paste.ubuntu.com/6590587/ ) est là, je le colle parce que qu'il risque d'être effacé du site paste.ubuntu.com :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 8Dec2013]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
2048 of the same hard drive for core.img, but core.img can not be found at
this location.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 0. But according to the info from fdisk,
sda1 starts at sector 2048.
Operating System:
Boot files: /EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
sda3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 487,423 485,376 EFI System partition
/dev/sda2 487,424 98,144,255 97,656,832 Data partition (Windows/Linux)
/dev/sda3 98,144,256 137,205,759 39,061,504 Data partition (Windows/Linux)
/dev/sda4 137,205,760 148,924,415 11,718,656 Swap partition (Linux)
/dev/sda5 148,924,416 976,771,071 827,846,656 Data partition (Windows/Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 1F0E-3499 vfat
/dev/sda2 7f644455-b0dd-47ef-a0f3-94163cf5b6f6 ext4
/dev/sda3 775d5e6f-5a78-4071-ba7e-fa2b3431f1ac ext4
/dev/sda4 436fc8cc-765d-43ad-89e2-255820cce702 swap
/dev/sda5 b616c912-a6f8-4132-a988-e2c1125ae6c2 ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /boot/efi vfat (rw)
/dev/sda2 / ext4 (rw,errors=remount-ro)
/dev/sda3 /opt ext4 (rw)
/dev/sda5 /home ext4 (rw)
=========================== sda2/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 ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
}
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
set locale_dir=($root)/boot/grub/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, avec Linux 3.8.0-34-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
linux /boot/vmlinuz-3.8.0-34-generic.efi.signed root=UUID=7f644455-b0dd-47ef-a0f3-94163cf5b6f6 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-34-generic
}
menuentry 'Ubuntu, avec Linux 3.8.0-34-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
echo 'Chargement de Linux 3.8.0-34-generic…'
linux /boot/vmlinuz-3.8.0-34-generic.efi.signed root=UUID=7f644455-b0dd-47ef-a0f3-94163cf5b6f6 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.8.0-34-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, avec Linux 3.8.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
linux /boot/vmlinuz-3.8.0-29-generic root=UUID=7f644455-b0dd-47ef-a0f3-94163cf5b6f6 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.8.0-29-generic
}
menuentry 'Ubuntu, avec Linux 3.8.0-29-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
echo 'Chargement de Linux 3.8.0-29-generic…'
linux /boot/vmlinuz-3.8.0-29-generic root=UUID=7f644455-b0dd-47ef-a0f3-94163cf5b6f6 ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.8.0-29-generic
}
}
### 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_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 7f644455-b0dd-47ef-a0f3-94163cf5b6f6
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda2/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=7f644455-b0dd-47ef-a0f3-94163cf5b6f6 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=1F0E-3499 /boot/efi vfat defaults 0 1
# /home was on /dev/sda5 during installation
UUID=b616c912-a6f8-4132-a988-e2c1125ae6c2 /home ext4 defaults 0 2
# /opt was on /dev/sda3 during installation
UUID=775d5e6f-5a78-4071-ba7e-fa2b3431f1ac /opt ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=436fc8cc-765d-43ad-89e2-255820cce702 none swap sw 0 0
--------------------------------------------------------------------------------
=================== sda2: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
6.506401062 = 6.986194944 boot/grub/grub.cfg 1
0.764820099 = 0.821219328 boot/vmlinuz-3.8.0-29-generic 1
1.772632599 = 1.903349760 boot/vmlinuz-3.8.0-34-generic 1
1.827323914 = 1.962074112 boot/vmlinuz-3.8.0-34-generic.efi.signed 2
0.764820099 = 0.821219328 vmlinuz 1
2.755157471 = 2.958327808 boot/initrd.img-3.8.0-29-generic 1
3.138141632 = 3.369553920 boot/initrd.img-3.8.0-34-generic 1
2.755157471 = 2.958327808 initrd.img 1
2.755157471 = 2.958327808 initrd.img.old 1
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-12-17__20h41 ===================
boot-repair version : 3.199~ppa39~precise
boot-sav version : 3.199~ppa39~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.199~ppa39~precise
boot-repair is executed in installed-session (Ubuntu 12.04.3 LTS, precise, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.8.0-34-generic.efi.signed root=UUID=7f644455-b0dd-47ef-a0f3-94163cf5b6f6 ro quiet splash vt.handoff=7
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 12.04.3 LTS CurrentSession:linux
=================== blkid:
/dev/sda1: UUID="1F0E-3499" TYPE="vfat"
/dev/sda2: UUID="7f644455-b0dd-47ef-a0f3-94163cf5b6f6" TYPE="ext4"
/dev/sda3: UUID="775d5e6f-5a78-4071-ba7e-fa2b3431f1ac" TYPE="ext4"
/dev/sda4: UUID="436fc8cc-765d-43ad-89e2-255820cce702" TYPE="swap"
/dev/sda5: UUID="b616c912-a6f8-4132-a988-e2c1125ae6c2" TYPE="ext4"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda » ! L'utilitaire fdisk ne prend pas GPT en charge. Utilisez GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 août 20 19:59 grub.d
total 60
-rwxr-xr-x 1 root root 6743 juil. 20 01:29 00_header
-rwxr-xr-x 1 root root 5522 juil. 20 01:15 05_debian_theme
-rwxr-xr-x 1 root root 7780 juil. 20 01:29 10_linux
-rwxr-xr-x 1 root root 6335 juil. 20 01:29 20_linux_xen
-rwxr-xr-x 1 root root 1588 nov. 27 2011 20_memtest86+
-rwxr-xr-x 1 root root 7603 juil. 20 01:29 30_os-prober
-rwxr-xr-x 1 root root 1388 juil. 20 01:29 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 20 01:29 40_custom
-rwxr-xr-x 1 root root 95 juil. 20 01:29 41_custom
-rw-r--r-- 1 root root 483 juil. 20 01:29 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=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=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/boot/efi detected in the fstab of sda2: UUID=1F0E-3499 (sda1)
efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* ubuntu HD(1,800,76800,0dccd34f-6efa-4703-94c3-4dd554c6d483)File(EFIubuntushimx64.efi)
Boot0001* ubuntu HD(1,800,76800,0dccd34f-6efa-4703-94c3-4dd554c6d483)File(EFIUbuntugrubx64.efi)
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
=================== PARTITIONS & DISKS:
sda2 : sda, not-sepboot, grubenv-ok grub2, signed grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
sda1 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot/efi.
sda3 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /opt.
sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /home.
sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA TOSHIBA MQ01ABD0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 250MB 249MB fat32 boot
2 250MB 50.2GB 50.0GB ext4
3 50.2GB 70.2GB 20.0GB ext4
4 70.2GB 76.2GB 6000MB linux-swap(v1)
5 76.2GB 500GB 424GB ext4
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABD0;
1:1049kB:250MB:249MB:fat32::boot;
2:250MB:50.2GB:50.0GB:ext4::;
3:50.2GB:70.2GB:20.0GB:ext4::;
4:70.2GB:76.2GB:6000MB:linux-swap(v1)::;
5:76.2GB:500GB:424GB:ext4::;
=================== mount:
/dev/sda2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda1 on /boot/efi type vfat (rw)
/dev/sda3 on /opt type ext4 (rw)
/dev/sda5 on /home type ext4 (rw)
gvfs-fuse-daemon on /home/JujuLand/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=JujuLand)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom v4l vga_arbiter vhost-net video0 zero
ls /dev/mapper: control
ls /boot/efi/1:
=================== hexdump -n512 -C /dev/sda1
00000000 eb 58 90 6d 6b 64 6f 73 66 73 00 00 02 01 20 00 |.X.mkdosfs.... .|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 00 00 00 |........?.......|
00000020 00 68 07 00 96 0e 00 00 00 00 00 00 02 00 00 00 |.h..............|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 29 99 34 0e 1f 20 20 20 20 20 20 20 20 20 |..).4.. |
00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda2 ext4 46G 3.4G 41G 8% /
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 769M 876K 768M 1% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 152K 1.9G 1% /run/shm
/dev/sda1 vfat 234M 2.1M 232M 1% /boot/efi
/dev/sda3 ext4 19G 44M 18G 1% /opt
/dev/sda5 ext4 389G 73M 369G 1% /home
=================== fdisk -l:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0fe4dc0a
Device Boot Start End Blocks Id System
/dev/sda1 1 976773167 488386583+ ee GPT
Partition 1 does not start on physical sector boundary.
EFI détecté. Veuillez vérifier les options.
=================== Final advice in case of recommended repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !
=================== Default settings
Recommended-Repair
This setting would reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s
=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.
Aucun changement n'a été effectué sur cet ordinateur.
C'est parfait. Je réponds à ta question :
j'ai actuellement deux devices qui semblent identiques dans le nom, et semblent correspondre au HD (je dis bien semble)
Pour moi, c'est normal puisque je vois ça chez tous ceux qui font leur install en mode EFI. Cela correspond à cet extrait de ton Boot-Info qui montre le réglage de ton système UEFI :
efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001
Boot0000* ubuntu HD(1,800,76800,0dccd34f-6efa-4703-94c3-4dd554c6d483)File(EFIubuntushimx64.efi)
Boot0001* ubuntu HD(1,800,76800,0dccd34f-6efa-4703-94c3-4dd554c6d483)File(EFIUbuntugrubx64.efi)
Explication : le démarrage par défaut de ton ordi se fait sur Boot0000, c'est à dire sur le fichier shimx64.efi (fichier "signé", compatible Secure Boot). En deuxième priorité de boot, le démarrage se fait sur Boot0001, c'est à dire le fichier grubx64.efi (non compatible Secure Boot). En somme, quelque soit le paramétrage de "Secure Boot" dans ton système UEFI, Ubuntu va démarrer.
J'ai ajouté le modèle ASUS X75V dans la Liste des portables « Asus » avec un lien qui pointe vers ton post précédent.
Dernière modification par malbo (Le 18/12/2013, à 10:54)
Hors ligne
#31 Le 18/12/2013, à 12:33
- JujuLand
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
Donc cela veut-il dire que j'aurai pu faire l'install sans désactiver le secure boot ?
Evidemment maintenant, je pourrais le réactiver, mais quel est le but précis ? Empécher toute install ou empêcher tout boot depuis un device non dans la liste de boot order ?
Merci
A+
Xubuntu 16.04 > Dell DM061 (2007) + Dell Inspiron 531 (2008)
Xubuntu 16.04 > Asus X51L (2009) + MSI GX723 (2009)
Xubuntu 22.04 > HP 15BA048NF (2018)
Hors ligne
#32 Le 18/12/2013, à 13:20
- malbo
Re : [Résolu] Booter sur Ubuntu 12.04 en UEFI sans dual-boot
JujuLand,
Dans le post #30, j'ai juste voulu expliquer pourquoi tu as deux entrées "ubuntu" dans l'UEFI et te dire ce que je crois savoir sur le sujet mais je ne te propose surtout pas d'essayer de réactiver "Secure Boot". D'aucuns disent que ce dispositif de protection est utile y compris pour Ubuntu mais pour moi "Secure Boot" c'est une camisole (en fait, j'ai juste envie de dire que c'est une grosse merde) et je te recommande de laisser "Secure Boot" désactivé.
Dernière modification par malbo (Le 18/12/2013, à 13:22)
Hors ligne