Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#26 Le 08/02/2020, à 19:37

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Je le remet là alors:

Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  According to the info in the boot sector, sda1 starts 
                       at sector 1024000. But according to the info from 
                       fdisk, sda1 starts at sector 2048.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.efi /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda2: unknown filesystem type ''.

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPCX-75K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048       206,847       204,800 EFI System partition
/dev/sda2   +           206,848       239,615        32,768 Data partition (Windows/Linux)
/dev/sda3               239,616   178,163,711   177,924,096 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/mmcblk0p1   6471-DADF                              vfat       KUBUNTU 19_
/dev/nvme0n1p1   0214F45814F45061                       ntfs       
/dev/nvme0n1p2   04D2CACFD2CAC3E0                       ntfs       
/dev/sda1        3CF0-8583                              vfat       
/dev/sda2                                                          
/dev/sda3        0214F45814F45061                       ntfs       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb  8 14:02 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  8 14:02 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  8 14:02 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  8 14:02 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part3 -> ../../sda3
lrwxrwxrwx 1 root root 13 Feb  8 14:02 mmc-SA04G_0x9cbe6e16 -> ../../mmcblk0
lrwxrwxrwx 1 root root 15 Feb  8 14:02 mmc-SA04G_0x9cbe6e16-part1 -> ../../mmcblk0p1
lrwxrwxrwx 1 root root 13 Feb  8 14:02 nvme-THNSN5256GPUK_NVMe_TOSHIBA_256GB_X6SB51EZKMCU -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Feb  8 14:02 nvme-THNSN5256GPUK_NVMe_TOSHIBA_256GB_X6SB51EZKMCU-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Feb  8 14:02 nvme-THNSN5256GPUK_NVMe_TOSHIBA_256GB_X6SB51EZKMCU-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 13 Feb  8 14:02 nvme-eui.00080d030007832d -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Feb  8 14:02 nvme-eui.00080d030007832d-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Feb  8 14:02 nvme-eui.00080d030007832d-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root  9 Feb  8 14:02 wwn-0x50014ee607176ce4 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  8 14:02 wwn-0x50014ee607176ce4-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  8 14:02 wwn-0x50014ee607176ce4-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  8 14:02 wwn-0x50014ee607176ce4-part3 -> ../../sda3

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/mmcblk0p1   /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


======================== Unknown MBRs/Boot Sectors/etc: ========================


/dev/sda2: unknown GPT attributes
8000000000000000

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/7186/mountinfo) leaked on lvs invocation. Parent PID 13466: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20200208_1402 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   39 bits physical, 48 bits virtual
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash ---
NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12

=================== os-prober:
/dev/:The OS now in use - Ubuntu 19.10 CurrentSession:linux
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/nvme0n1p1: UUID="0214F45814F45061" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="a0ec66b3-9f96-4a87-bfc7-0f6326b75f5e"
/dev/nvme0n1p2: UUID="04D2CACFD2CAC3E0" TYPE="ntfs" PARTUUID="4c2ad384-d3f5-4d5e-8644-7dd6849e6abe"
/dev/sda1: UUID="3CF0-8583" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6c42cf2e-317b-4aea-8abf-27c811f486fe"
/dev/sda3: UUID="0214F45814F45061" TYPE="ntfs" PARTUUID="57c5833f-1607-47e3-a8cf-5640e8352d46"
/dev/mmcblk0p1: LABEL="KUBUNTU 19_" UUID="6471-DADF" TYPE="vfat" PARTLABEL="Main Data Partition" PARTUUID="660ed4e9-d4fc-4025-8b18-725ad68b5ea5"
/dev/loop0: TYPE="squashfs"
/dev/sda2: PARTUUID="56becb26-20ac-48e0-b5e0-8ff4cad9c851"

(sda) has unknown type. Please report this message to boot.repair@gmail.com

1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12
Windows not detected by os-prober on nvme0n1p1.
Windows not detected by os-prober on sda3.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: line 179: warning: command substitution: ignored null byte in input

=================== efibootmgr -v
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0017,0002,0003,0004,0006,0018,0019,001B
Boot0000* Windows Boot Manager	HD(1,GPT,660ed4e9-d4fc-4025-8b18-725ad68b5ea5,0xfa000,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...o................
Boot0002* Diskette Drive	BBS(Floppy,Diskette Drive,0x0)..BO
Boot0003* CD/DVD/CD-RW Drive	BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0004* M.2 PCIe SSD	BBS(HD,THNSN5256GPUK NVMe TOSHIBA 256G,0x0)..BO
Boot0006* Internal HDD	BBS(HD,P1: WDC WD10SPCX-75KHST0      ,0x0)..BO
Boot0017* UEFI: WDC WD10SPCX-75KHST0, Partition 1	HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)..BO
Boot0018* USB Storage Device	BBS(USB,USB Storage Device,0x0)..BO
Boot0019* Secure Digital(SD) Card	BBS(HD,PCIe cardreader,0x0)..BO
Boot001B* UEFI: PCIE CardReader, Partition 1	HD(1,GPT,660ed4e9-d4fc-4025-8b18-725ad68b5ea5,0x800,0x75e7df)/File(EFIbootbootx64.efi)..BO

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
nvme0n1p1	: nvme0n1,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/nvme0n1p1.
nvme0n1p2	: nvme0n1,	not-sepboot,	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,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/nvme0n1p2.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-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,	notbiosboot, /mnt/boot-sav/sda1.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda3.
sda2	: 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,	notbiosboot, /mnt/boot-sav/sda2.

nvme0n1	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPCX-75K:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB:::msftdata;
3:123MB:91.2GB:91.1GB:ntfs::msftdata;

BYT;
/dev/nvme0n1:256GB:nvme:512:512:gpt:THNSN5256GPUK NVMe TOSHIBA 256GB:;
1:1049kB:107GB:107GB:ntfs:Basic data partition:msftdata;
2:255GB:256GB:861MB:ntfs::hidden, diag;

BYT;
/dev/mmcblk0:3957MB:sd/mmc:512:512:gpt:SD SA04G:;
1:1049kB:3957MB:3956MB:fat32:Main Data Partition:msftdata;

=================== lsblk:
KNAME     TYPE FSTYPE     SIZE LABEL
loop0     loop squashfs   1.7G
sda       disk          931.5G
sda1      part vfat       100M
sda2      part             16M
sda3      part ntfs      84.9G
mmcblk0   disk            3.7G
mmcblk0p1 part vfat       3.7G KUBUNTU 19_
nvme0n1   disk          238.5G
nvme0n1p1 part ntfs       100G
nvme0n1p2 part ntfs       821M

KNAME     ROTA RO RM STATE   MOUNTPOINT
loop0        0  1  0         /rofs
sda          1  0  0 running
sda1         1  0  0         /mnt/boot-sav/sda1
sda2         1  0  0
sda3         1  0  0         /mnt/boot-sav/sda3
mmcblk0      0  0  0
mmcblk0p1    0  0  0         /cdrom
nvme0n1      0  0  0 live
nvme0n1p1    0  0  0         /mnt/boot-sav/nvme0n1p1
nvme0n1p2    0  0  0         /mnt/boot-sav/nvme0n1p2


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8073304k,nr_inodes=2018326,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1623472k,mode=755)
/dev/mmcblk0p1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=36,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14331)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1623468k,mode=700,uid=999,gid=999)
/dev/nvme0n1p1 on /mnt/boot-sav/nvme0n1p1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/nvme0n1p2 on /mnt/boot-sav/nvme0n1p2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=================== ls:
/sys/block/mmcblk0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range force_ro hidden holders inflight integrity mmcblk0p1 mq power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/nvme0n1 (filtered):  alignment_offset bdi capability dev device discard_alignment eui events events_async events_poll_msecs ext_range hidden holders inflight integrity lightnvm mq nsid nvme0n1p1 nvme0n1p2 power queue range removable ro size slaves stat subsystem trace uevent wwid
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-16 i2c-17 i2c-18 i2c-19 i2c-2 i2c-20 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mmcblk0 mmcblk0p1 mqueue net network_latency network_throughput null nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 shm snapshot snd stderr stdin stdout tpm0 udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 wmi zero zfs
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/nvme0n1p1
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  f8 ff 7f 0c 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  61 50 f4 14 58 f4 14 02  |........aP..X...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/nvme0n1p2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 80 b5 1d  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff a7 19 00 00 00 00 00  |................|
00000030  aa 11 01 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  e0 c3 ca d2 cf ca d2 04  |................|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 a0 0f 00  |........?.......|
00000020  00 20 03 00 01 03 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 83 85 f0 3c 4e  4f 20 4e 41 4d 45 20 20  |..)...<NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 03 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff e7 9a 0a 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  61 50 f4 14 58 f4 14 02  |........aP..X...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.7G     0  7.7G   0% /dev
tmpfs          tmpfs     1.6G  1.6M  1.6G   1% /run
/dev/mmcblk0p1 vfat      3.7G  2.2G  1.6G  59% /cdrom
/dev/loop0     squashfs  1.7G  1.7G     0 100% /rofs
/cow           overlay   7.8G  476M  7.3G   6% /
tmpfs          tmpfs     7.8G   43M  7.7G   1% /dev/shm
tmpfs          tmpfs     5.0M  8.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
tmpfs          tmpfs     7.8G  512K  7.8G   1% /tmp
tmpfs          tmpfs     1.6G   12K  1.6G   1% /run/user/999
/dev/nvme0n1p1 fuseblk   100G   52G   49G  52% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2 fuseblk   821M  515M  307M  63% /mnt/boot-sav/nvme0n1p2
/dev/sda1      vfat       96M   27M   70M  28% /mnt/boot-sav/sda1
/dev/sda3      fuseblk    85G   27G   59G  32% /mnt/boot-sav/sda3

=================== fdisk -l:
Disk /dev/loop0: 1.68 GiB, 1791954944 bytes, 3499912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: THNSN5256GPUK NVMe TOSHIBA 256GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3C8B5B79-2DE6-46DF-BFFA-3061891B4FC3

Device             Start       End   Sectors  Size Type
/dev/nvme0n1p1      2048 209717247 209715200  100G Microsoft basic data
/dev/nvme0n1p2 498434048 500115455   1681408  821M Windows recovery environment


Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPCX-75K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6D9EE0CF-5B48-479E-B5C0-860CE0F28F46

Device      Start       End   Sectors  Size Type
/dev/sda1    2048    206847    204800  100M EFI System
/dev/sda2  206848    239615     32768   16M Microsoft basic data
/dev/sda3  239616 178163711 177924096 84.9G Microsoft basic data


Disk /dev/mmcblk0: 3.7 GiB, 3957325824 bytes, 7729152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D54EE34C-FE81-4F22-8592-8FDE9E1A2117

Device         Start     End Sectors  Size Type
/dev/mmcblk0p1  2048 7729118 7727071  3.7G Microsoft basic data


No OS or WinEFI system
/usr/share/boot-sav/gui-tab-other.sh: line 93: _checkbutton_repairfilesystems: command not found


=================== Suggested repair
The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed:  repair-filesystems  fix-windows-boot


=================== User settings
The settings chosen by the user will not act on the boot.

Par contre sur ton interrogation c'est plutôt cohérent je trouve.
Le disque 0 reste le SSD (j'tais sur le windows SSD quand j'ai lancé les commandes windows) sur lequel il n'y a pas d'efi.
la partition EFI n'est présente que sur le HDD, soit le volume 1.

Hors ligne

#27 Le 08/02/2020, à 20:00

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Je prends un peu d'avance pour la suite des évènements mais j'en reviens à ces questions:

polochon777 a écrit :

geole a écrit :

   15) Pour installer ubuntu, tu prendras le soin de fabriquer une partition FAT32 de 36 Mio dans le NVMe et de faire une installation "autre chose" et tu choisiras cette entrée EFI et pas l'entrée EFI du disque dur qu'il risque de prendre si tu fais une installation en automatique.

Houlà, précisons les choses si tu veux bien, je veux être sûr de bien comprendre smile
- Cette partition de 36Mo, ça sera donc la partition EFI de mon SSD c'est bien ça?
- C'est donc dans cette partition que sera installé grub?
- Est ce que grub aura connaissance qu'il y a 2 OS de disponible?

ET j'ai été voir ton site, et notamment cet article: http://ikewdu.free.fr/creer-un-triple-boot-en-uefi/
Si j'ai bien compris :
- cette partition FAT32 va effectivement servir pour installer grub.
- grub va détecter tout seul qu'il y a aussi un windows d'installé
- grub me le proposera le choix au démarrage SI et seulement si ma séquence de boot dans l'UEFI positionne le SSD en disque n°1. Si à l'inverse je mets mon HDD en position n°1, alors il y aura un boot automatique sur windows comme si c'éait le seul OS d'installé.
- si je comprends toujours bien, un avantage "collatéral" de cette configuration c'est que même si windows va tripatouiller sa partition EFI du HDD, normalement il ne devrait jamais être en mesure de modifier celle du SDD, et donc ne devrait jamais me pourrir mon grub (réinstallation, mise à jour...)

J'ai bon? (pitié dites oui!!!! lol)

Hors ligne

#28 Le 08/02/2020, à 20:12

ikewdu

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

C'est bon pour la partition efi.

Avant de répondre à ta question, précise si tu veux un dual-boot géré par un grub commun à W10 et Ubuntu, ou si tu veux deux disques intégralement indépendants.

Je crois comprendre que tu veux quelque chose entre les deux, à savoir un W10 totalement indépendant, et un Ubuntu qui gère les deux OS. Dis-moi si je me trompe.

Dernière modification par ikewdu (Le 08/02/2020, à 20:14)

Hors ligne

#29 Le 08/02/2020, à 20:53

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Dual boot commun je souhaite éviter, histoire de bien cloisonner les choses.
Après, entre indépendance totale ou un mix je n'ai pas de préférence particulière, ça va surtout dépendre de la "complexité" de la procédure.
Toujours si je comprends bien, dans l'option totale indépendance ce sera à moi de gérer l'ordre de boot par défaut dans l'UEFI et de le modifier le jour où je veux changer d'OS (c'est assez facile avec ce DELL, j'ai la touche F12 qui me permet de choisir ce que je veux uniquement pour le prochain démarrage). Alors que dans la version mixte, 0 modifs d'UEFI car le choix se fera par grub.

Si j'ai bien compris, honnêtement je prends l'option la plus simple à mettre en oeuvre. As tu une suggestion?

Hors ligne

#30 Le 08/02/2020, à 21:12

ikewdu

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Alors, tu as deux options, la première étant la plus sûre.

1. Si tu peux démonter ou débrancher facilement le disque dur (sda), le plus simple et le plus sûr est de le déconnecter pour faire l'installation indépendante sur le disque Nvme. Il te suffira de vérifier que tu bootes bien en uefi avec ton liveCD (c'était le cas pour le dernier boot-info), et tu installes ton Linux dessus tranquillement. Si l'installation fonctionne, tu n'auras qu'à rebrancher le HD, et choisir via F12 si tu veux booter sur "Ubuntu" ou "Windows Boot Manager". Et rien n'empêchera d'ajouter Windows dans le grub via un sudo update-grub.

2. Si débrancher pose problème, tu rencontreras probablement le souci que j'explique ici dans le point I. L'installateur d'Ubuntu ne fait pas toujours ce qu'on veut pour le placement de son grub. Dans le point II de la même page, je donne une solution que j'ai testée pour éviter le souci, mais je ne garantis pas qu'elle fonctionne à tous les coups et il y a peut-être mieux à faire. Geole aura peut-être une meilleure proposition. Lis cette page de près, en tout cas, pour comprendre la difficulté de ce que tu veux faire.

Et tout ceci est conditionné au fait que ton PC ne pose pas de souci d'écriture en NVram, d'installation de grub, etc. Ca fait beaucoup de paramètres qui m'incitent à te diriger vers ma première option.

Dernière modification par ikewdu (Le 08/02/2020, à 21:33)

Hors ligne

#31 Le 08/02/2020, à 21:42

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Malheureusement je n'ai pas l'outillage qu'il faut pour accéder aux disques hmm Ils sont situés sous le capot inférieur qui est fixé avec des vis pentalobes (je crois que c'est ça le nom) mais je n'ai aucun tournevis comme ça (et pas la possibilité de m'en procurer un rapidement).
Ton article est super clair, j'ai bien compris le problème et le workaround que tu proposes. Par contre ça ressemble à un vilain bug quand même! hmm
Je vais attendre que Geole repasse par ici s'il a un autre conseil, sinon je me lancerai demain avec ton tuto sous le coude!

Hors ligne

#32 Le 08/02/2020, à 22:19

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Bonsoir.
Pour installer le boot de ubuntu dans le disque nvme.
Tu fais une installation en prenant le choix "autre chose"
   tu affectes le répertoire / à un espace libre du disque nvme ou à la partition ext4 occupant le reste du nvme si tu l'as créée.
   tu affectes le répertoire /boot/efi  à la partition fat32 que tu viens de créer dans le nvme.
  Les derniers installateurs de ubuntu n'ignorent plus ta demande.
Voila, c'est tout.

Plus tard, tu pourras modifier pour que le grub ne te propose pas  Windows.

Sans méchanceté: j'ai cru comprendre que, probablement, tu vas utiliser windows  plus d'une fois par an. Tu viens donc de faire  une grosse connerie en mettant windows  dans le disque dur au lieu de l'utiliser pour y mettre tes données personnelles en provenance de ubuntu et de windows.
Ajout: Lorsque tu verras que windows est plus lent à mettre en route qu'avant, tu auras compris que les SSD servent d'abord à stocker du logiciel et que  les disques durs servent aux données.

Dernière modification par geole (Le 08/02/2020, à 22:39)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#33 Le 09/02/2020, à 01:09

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

C'est bon, je vous écrit depuis linux! big_smile

Par contre j'ai du m'y reprendre à 2 fois hmm La 1ère installation j'ai configuré la partition grub en EFI comme ceci: https://polochon.nohost.me/nextcloud/in … Zy4A4zQ3JW
Echec, impossible de démarrer! J'ai donc refait une installation en cochant cette fois "ne pas utiliser la partition" (mais en prenant bien garde de spécifier le chemin de grub dans la section du dessous) et là c'est passé!

@geole: non vraiment, normalement windows je vais l'utiliser 4 fois cette année: 3 fois pour faire tourner un programme développé maison pour une asso dont je suis membre, et une autre fois pour faire la mise à jour annuelle de mon GPS Garmin (je n'aurais donc aucune donnée personnelle sur cette partition).
Le reste, c'est du backup "au cas où" parce que je suis en transition question boulot et que "peut être" je pourrais "éventuellement" avoir besoin de windows. Comme je disais au début du fil, ça fait 15 ans que je n'avais plus de windows personnellement, et là ça fait 3 mois que je j'ai migré mon vieux macintosh sous linux. J'ai donc réussi à vivre 15 ans sans windows, je veux bien me pendre si je l'utilise plus d'une fois par mois! tongue Il est donc très bien sur son HDD, je me garde le SSD complet pour l'OS que j'utiliserai 99,99% du temps.

Bon en tout cas merci vraiment à vous parce que j'ai appris et compris pas mal de choses ces derniers jours, et là j'ai exactement la config que je voulais donc c'est top!!!!
J'avoue que sans votre aide j'aurais vraiment bien galérer, il me manquait beaucoup de notions pour prétendre y arriver seul.
Thanks!! big_smile

Hors ligne

#34 Le 09/02/2020, à 09:58

ikewdu

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Re,

Peux-tu faire un nouveau rapport boot-info pour qu'on voie la situation finale ?

geole a écrit :

Les derniers installateurs de ubuntu n'ignorent plus ta demande.

Sais-tu depuis quelle version ?

Hors ligne

#35 Le 09/02/2020, à 11:54

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Bonjour.
Le point de montage à indiquer pour une partition efi est /boot/efi
C'est pris en compte depuis la version 19.10 donc probablement 18.04.3 ou 18.04.4?
Sinon c'est le premier rencontré.
Pour les versions anciennes, il faut utiliser boot-repair qui propose le choix en listant les partitions FAT32 disponibles.

Conseil. Il faut éviter d'utiliser une partition FAT32  de 32 GiO  ou plus contenant des milliers de fichiers. La recherche par le bios des fichiers bootables pouvant alors durer très longtemps ( 25 minutes  )

Dernière modification par geole (Le 09/02/2020, à 12:10)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#36 Le 09/02/2020, à 12:39

ikewdu

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

geole a écrit :

Bonjour.
Conseil. Il faut éviter d'utiliser une partition FAT32  de 32 GiO  ou plus contenant des milliers de fichiers. La recherche par le bios des fichiers bootables pouvant alors durer très longtemps ( 25 minutes  )

Merci pour l'info. J'ajouterai cette remarque au début de mon article.

Quant à la partition efi, on utilise en principe des tailles standards : 100 M pour les disques ayant des secteurs de 512 M, et 260 M pour les disques ayant des secteurs de 4k. Je pense que Nasman saurait expliquer pourquoi...

Hors ligne

#37 Le 09/02/2020, à 14:50

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

En pratique, la partition EFI est destinée uniquement à recevoir les fichiers de boot EFI ,  Elle est formatée en FAT32. Gparted  ne sait pas fabriquer à moins de 36 Mio et la valeur minima pour Windows est plus importante, sinon il fabrique du FAT16

Dernière modification par geole (Le 09/02/2020, à 14:51)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#38 Le 09/02/2020, à 16:35

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

ikewdu a écrit :

Re,

Peux-tu faire un nouveau rapport boot-info pour qu'on voie la situation finale ?

Dégouté je suis! sad Hier soir j'ai fini tard et je n'ai pas pris le temps de regarder, mais grub s'est mis sur le HDD je crois!

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  According to the info in the boot sector, sda1 starts 
                       at sector 1024000. But according to the info from 
                       fdisk, sda1 starts at sector 2048.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bootx64.efi 
                       /EFI/Boot/fbx64.efi /EFI/Boot/mmx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sda2: unknown filesystem type ''.

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPCX-75K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048       206,847       204,800 EFI System partition
/dev/sda2               206,848       239,615        32,768 Data partition (Windows/Linux)
/dev/sda3               239,616   178,163,711   177,924,096 Data partition (Windows/Linux)
/dev/sda4           178,163,712 1,953,523,711 1,775,360,000 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/nvme0n1p1   E0EA-F407                              vfat       
/dev/nvme0n1p2   1cb2ed90-e1d9-40d5-af12-356253d7df17   ext4       
/dev/sda1        3CF0-8583                              vfat       
/dev/sda2                                                          
/dev/sda3        0214F45814F45061                       ntfs       
/dev/sda4        19a2902d-0be0-4492-af74-27f7fdcc90e0   ext4       Datas

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb  9 15:34 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  9 15:34 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  9 15:34 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  9 15:34 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb  9 15:34 ata-WDC_WD10SPCX-75KHST0_WXH1A96NECLC-part4 -> ../../sda4
lrwxrwxrwx 1 root root 13 Feb  9 15:34 nvme-THNSN5256GPUK_NVMe_TOSHIBA_256GB_X6SB51EZKMCU -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Feb  9 15:34 nvme-THNSN5256GPUK_NVMe_TOSHIBA_256GB_X6SB51EZKMCU-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Feb  9 15:34 nvme-THNSN5256GPUK_NVMe_TOSHIBA_256GB_X6SB51EZKMCU-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root 13 Feb  9 15:34 nvme-eui.00080d030007832d -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 Feb  9 15:34 nvme-eui.00080d030007832d-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 Feb  9 15:34 nvme-eui.00080d030007832d-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root  9 Feb  9 15:34 wwn-0x50014ee607176ce4 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  9 15:34 wwn-0x50014ee607176ce4-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  9 15:34 wwn-0x50014ee607176ce4-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  9 15:34 wwn-0x50014ee607176ce4-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb  9 15:34 wwn-0x50014ee607176ce4-part4 -> ../../sda4

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/nvme0n1p1   /media/pol/E0EA-F407     vfat       (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/nvme0n1p2   /                        ext4       (rw,relatime,errors=remount-ro)
/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda3        /media/pol/0214F45814F45061 fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 1cb2ed90-e1d9-40d5-af12-356253d7df17 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------


ADDITIONAL INFORMATION :
=================== log of boot-info 20200209_1534 ===================
boot-info version : 4ppa66
boot-sav version : 4ppa66
boot-sav-extra version : 4ppa66
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 19.10, eoan, Ubuntu, x86_64)
CPU op-mode(s):                  32-bit, 64-bit
Address sizes:                   39 bits physical, 48 bits virtual
BOOT_IMAGE=/boot/vmlinuz-5.3.0-29-generic root=UUID=1cb2ed90-e1d9-40d5-af12-356253d7df17 ro quiet splash vt.handoff=7
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12

=================== os-prober:
/dev/nvme0n1p2:L'OS actuellement utilisé - Ubuntu 19.10 CurrentSession:linux
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/nvme0n1p2: UUID="1cb2ed90-e1d9-40d5-af12-356253d7df17" TYPE="ext4" PARTUUID="e835e97b-8b07-4c1c-a44c-5bc84f1c520a"
/dev/nvme0n1p1: UUID="E0EA-F407" TYPE="vfat" PARTUUID="69c2df34-cc95-43ec-a49c-b4f447a7c4eb"
/dev/sda1: UUID="3CF0-8583" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6c42cf2e-317b-4aea-8abf-27c811f486fe"
/dev/sda3: UUID="0214F45814F45061" TYPE="ntfs" PARTUUID="57c5833f-1607-47e3-a8cf-5640e8352d46"
/dev/sda4: LABEL="Datas" UUID="19a2902d-0be0-4492-af74-27f7fdcc90e0" TYPE="ext4" PARTUUID="464950c0-e5e3-4a49-8ddc-71ca2df92985"
/dev/sda2: PARTUUID="56becb26-20ac-48e0-b5e0-8ff4cad9c851"


2 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda2 : Error code 12
mount -r /dev/sda2 /mnt/boot-sav/sda2
NTFS signature is missing.
Failed to mount '/dev/sda2': Argument invalide
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda2 : Error code 12
Windows not detected by os-prober on sda3.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 févr.  8 23:35 grub.d
total 128
-rwxr-xr-x 1 root root 10627 oct.  11 15:57 00_header
-rwxr-xr-x 1 root root  6258 oct.  11 15:57 05_debian_theme
-rwxr-xr-x 1 root root 17123 oct.  11 15:57 10_linux
-rwxr-xr-x 1 root root 37613 oct.  11 15:57 10_linux_zfs
-rwxr-xr-x 1 root root 12894 oct.  11 15:57 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 oct.  11 15:57 30_os-prober
-rwxr-xr-x 1 root root  1418 oct.  11 15:57 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  11 15:57 40_custom
-rwxr-xr-x 1 root root   216 oct.  11 15:57 41_custom
-rw-r--r-- 1 root root   483 oct.  11 15:57 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_TIMEOUT_STYLE=hidden
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 nvme0n1p2: UUID=3CF0-8583   (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/fbx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/mmx64.efi
/usr/share/boot-sav/bs-cmd_terminal.sh: ligne 179: avertissement : substitution de commande: octet nul ignoré en entrée

=================== efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0017,0002,0003,0004,0006,0018
Boot0000* Windows Boot Manager	HD(1,GPT,660ed4e9-d4fc-4025-8b18-725ad68b5ea5,0xfa000,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...o................
Boot0001* ubuntu	HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(EFIubuntushimx64.efi)
Boot0002* Diskette Drive	BBS(Floppy,Diskette Drive,0x0)..BO
Boot0003* CD/DVD/CD-RW Drive	BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0004* M.2 PCIe SSD	BBS(HD,THNSN5256GPUK NVMe TOSHIBA 256G,0x0)..BO
Boot0006* Internal HDD	BBS(HD,P1: WDC WD10SPCX-75KHST0      ,0x0)..BO
Boot0017* UEFI: WDC WD10SPCX-75KHST0, Partition 1	HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)..BO
Boot0018* USB Storage Device	BBS(USB,USB Storage Device,0x0)..BO

=================== 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:
nvme0n1p2	: nvme0n1,	not-sepboot,	grubenv-ok	grub2,	signed grub-pc 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,	farbios,	notbiosboot, .
nvme0n1p1	: nvme0n1,	not-sepboot,	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,	notbiosboot, /media/pol/E0EA-F407.
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-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,	notbiosboot, /boot/efi.
sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /media/pol/0214F45814F45061.
sda4	: 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,	notbiosboot, /mnt/boot-sav/sda4.
sda2	: 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,	notbiosboot, /mnt/boot-sav/sda2.

nvme0n1	: GPT,	no-BIOS_boot,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPCX-75K:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB:::msftdata;
3:123MB:91.2GB:91.1GB:ntfs::msftdata;
4:91.2GB:1000GB:909GB:ext4::;

BYT;
/dev/nvme0n1:256GB:nvme:512:512:gpt:THNSN5256GPUK NVMe TOSHIBA 256GB:;
1:1049kB:106MB:105MB:fat32::msftdata;
2:106MB:256GB:256GB:ext4::;

=================== lsblk:
KNAME     TYPE FSTYPE   SIZE LABEL
sda       disk        931,5G
sda1      part vfat     100M
sda2      part           16M
sda3      part ntfs    84,9G
sda4      part ext4   846,6G Datas
nvme0n1   disk        238,5G
nvme0n1p1 part vfat     100M
nvme0n1p2 part ext4   238,4G

KNAME     ROTA RO RM STATE   MOUNTPOINT
sda          1  0  0 running
sda1         1  0  0         /boot/efi
sda2         1  0  0
sda3         1  0  0         /media/pol/0214F45814F45061
sda4         1  0  0         /mnt/boot-sav/sda4
nvme0n1      0  0  0 live
nvme0n1p1    0  0  0         /media/pol/E0EA-F407
nvme0n1p2    0  0  0         /


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8068944k,nr_inodes=2017236,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1623472k,mode=755)
/dev/nvme0n1p2 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=3634)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1623472k,mode=700,uid=1000,gid=1000)
/dev/nvme0n1p1 on /media/pol/E0EA-F407 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sda3 on /media/pol/0214F45814F45061 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda4 on /mnt/boot-sav/sda4 type ext4 (rw,relatime)


=================== ls:
/sys/block/nvme0n1 (filtered):  alignment_offset bdi capability dev device discard_alignment eui events events_async events_poll_msecs ext_range hidden holders inflight integrity lightnvm mq nsid nvme0n1p1 nvme0n1p2 power queue range removable ro size slaves stat subsystem trace uevent wwid
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 drm_dp_aux2 ecryptfs fb0 fd freefall full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null nvidia0 nvidiactl nvidia-modeset nvidia-uvm nvidia-uvm-tools nvme0 nvme0n1 nvme0n1p1 nvme0n1p2 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 shm snapshot snd stderr stdin stdout tpm0 udmabuf uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 wmi zero zfs
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/nvme0n1p1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 01 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  20 00 40 00 00 08 00 00  |........ .@.....|
00000020  00 20 03 00 28 06 00 00  00 00 00 00 02 00 00 00  |. ..(...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 07 f4 ea e0 20  20 20 20 20 20 20 20 20  |..)....         |
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

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 a0 0f 00  |........?.......|
00000020  00 20 03 00 01 03 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 83 85 f0 3c 4e  4f 20 4e 41 4d 45 20 20  |..)...<NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
000001e0  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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda3
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 03 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff e7 9a 0a 00 00 00 00  |................|
00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  61 50 f4 14 58 f4 14 02  |........aP..X...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7.7G     0  7.7G   0% /dev
tmpfs          tmpfs     1.6G  1.6M  1.6G   1% /run
/dev/nvme0n1p2 ext4      234G  9.3G  213G   5% /
tmpfs          tmpfs     7.8G   81M  7.7G   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/sda1      vfat       96M   33M   64M  35% /boot/efi
tmpfs          tmpfs     1.6G   12K  1.6G   1% /run/user/1000
/dev/nvme0n1p1 vfat       99M  1.5K   99M   1% /media/pol/E0EA-F407
/dev/sda3      fuseblk    85G   26G   60G  31% /media/pol/0214F45814F45061
/dev/sda4      ext4      833G   77M  790G   1% /mnt/boot-sav/sda4

=================== fdisk -l:
Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: THNSN5256GPUK NVMe TOSHIBA 256GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3C8B5B79-2DE6-46DF-BFFA-3061891B4FC3

Device          Start       End   Sectors   Size Type
/dev/nvme0n1p1   2048    206847    204800   100M Microsoft basic data
/dev/nvme0n1p2 206848 500117503 499910656 238.4G Linux filesystem


Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPCX-75K
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6D9EE0CF-5B48-479E-B5C0-860CE0F28F46

Device         Start        End    Sectors   Size Type
/dev/sda1       2048     206847     204800   100M EFI System
/dev/sda2     206848     239615      32768    16M Microsoft basic data
/dev/sda3     239616  178163711  177924096  84.9G Microsoft basic data
/dev/sda4  178163712 1953523711 1775360000 846.6G Linux filesystem




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of nvme0n1p2, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s    use-standard-efi-file


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


=================== User settings
The settings chosen by the user will not act on the boot.

Je ne vois pas où j'ai merdé par contre neutral

Hors ligne

#39 Le 09/02/2020, à 16:56

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Bonjour
Ce n'est pas grave. La rectification manuelle est facile. Le principe
1) Monter la partition FAT32 du NVME sur /mnt  Probablement

sudo mount -v /dev/nvme0n1p1  /mnt

2) Y copier  uniquement le répertoire  Ubuntu, La commande va ressembler a cela

mkdir -p /mnt/EFI/ubuntu
sudo cp -Rv  /boot/efi/EFI/ubuntu/* /mnt/EFI/ubuntu

3) Mettre à jour le fichier /etc/fstab avec  la bonne valeur du UUID de la partition EFI à récupérer avec la commande

sudo blkid

CORRECTION POUR LE NOM DU DISQUE
4) Rebâtir une entrée dans la NVRAM, cela va ressembler à  l'une de ces deux commandes

sudo efibootmgr  --create      --disk     /dev/nvme0n1   --part    1      --label "grub" --loader      "\EFI\ubuntu\grubx64.efi"
sudo efibootmgr  --create      --disk     /dev/nvme0n1   --part    1      --label "shim" --loader      "\EFI\ubuntu\shimx64.efi"

La première  si boot non secure (Le cas actuel), la seconde si boot secure.

Il ne restera qu'à rebooter et vérifier pour voir quelle entrée a été utilisée

sudo efibootmgr -v

Dernière modification par geole (Le 09/02/2020, à 19:25)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#40 Le 09/02/2020, à 17:34

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

sudo efibootmgr  --create      --disk     /dev/mmcblk0   --part    1      --label "grub" --loader      "\EFI\ubuntu\grubx64.efi"

A la place de /dev/mmvblk0 je dois mettre l'adresse de ma partition sur SSD? A savoir /dev/nvme0n1p1?
C'est bon j'ai checké la doc, c'est effectivement ce qu'il faut faire

Dernière modification par polochon777 (Le 09/02/2020, à 17:36)

Hors ligne

#41 Le 09/02/2020, à 17:39

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

@DellPrecision-5510:~$ sudo efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0005,0001,0017,0002,0003,0004,0006,0018,001A
Boot0000* Windows Boot Manager  HD(1,GPT,660ed4e9-d4fc-4025-8b18-725ad68b5ea5,0xfa000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...o................
Boot0001* ubuntu        HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Diskette Drive        BBS(Floppy,Diskette Drive,0x0)..BO
Boot0003* CD/DVD/CD-RW Drive    BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0004* M.2 PCIe SSD  BBS(HD,THNSN5256GPUK NVMe TOSHIBA 256G,0x0)..BO
Boot0005* grub  HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)
Boot0006* Internal HDD  BBS(HD,P1: WDC WD10SPCX-75KHST0      ,0x0)..BO
Boot0017* UEFI: WDC WD10SPCX-75KHST0, Partition 1       HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(EFI\Microsoft\Boot\bootmgfw.efi)..BO
Boot0018* USB Storage Device    BBS(USB,USB Storage Device,0x0)..BO
Boot001A* UEFI: THNSN5256GPUK NVMe TOSHIBA 256GB, Partition 1   HD(1,GPT,69c2df34-cc95-43ec-a49c-b4f447a7c4eb,0x800,0x32000)/File(EFI\Ubuntu\shimx64.efi)..BO

Est il possible / souhaiteable de supprimer les restes de linux installés par erreur dans /dev/sda1?

Dernière modification par polochon777 (Le 09/02/2020, à 17:48)

Hors ligne

#42 Le 09/02/2020, à 18:05

ikewdu

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Salut,

Ça semble remettre en cause la correction du bug dont parle geôle un peu plus haut. Je testerai ça en virtuel ces jours-ci. En outre: le format de partition ne me semble pas bon :

Device          Start       End   Sectors   Size Type
/dev/nvme0n1p1   2048    206847    204800   100M Microsoft basic data

Quant à la réparation, je trouve ma solution  (I,2) plus simple, la ligne désactivant 30_os-prober étant d'ailleurs facultative. Tu y trouveras d'ailleurs comment supprimer les fichiers inutiles sur le disque Nvme depuis Linux, mais on peut aussi le faire depuis Windows. C'est au choix.

Dernière modification par ikewdu (Le 09/02/2020, à 18:12)

Hors ligne

#43 Le 09/02/2020, à 19:55

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Désolé pour le nom du disque. J'avais récupéré un copié/collé et fait trop vite....

On voit que tu as bien booté sur le N°5  avec  une entrée que tu as fabriquée.
BootCurrent: 0005
Boot0005* grub  HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)

=================== blkid:
/dev/nvme0n1p1: UUID="E0EA-F407" TYPE="vfat" PARTUUID="69c2df34-cc95-43ec-a49c-b4f447a7c4eb"
/dev/sda1: UUID="3CF0-8583" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6c42cf2e-317b-4aea-8abf-27c811f486fe"

Mais  son UUID ne correspond pas à celle du NVME.  C'est  celle du disque DUR. Donc ne supprime  rien.

IL est probable que ce bios ne sache pas booter directement avec un NVME et oblige à  stocker dans le disque dur malgré une demande d'écriture explicite dans le nvme
Ce qui expliquerait l'installation initiale surprenante de la structure de boot de windows.

Dernière modification par geole (Le 09/02/2020, à 20:03)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#44 Le 09/02/2020, à 20:07

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Peux-tu ré-essayer avec ces commandes

sudo efibootmgr  --create      --disk     /dev/nvme0n1   --part    1      --label "grub1" --loader      "\EFI\ubuntu\grubx64.efi"
sudo efibootmgr  -v 

Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#45 Le 09/02/2020, à 22:04

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

J'ai l'impression que c'est pareil

BootCurrent: 0007
Timeout: 2 seconds
BootOrder: 0007,0005,0001,0017,0002,0003,0004,0006,0018,001A
Boot0000* Windows Boot Manager  HD(1,GPT,660ed4e9-d4fc-4025-8b18-725ad68b5ea5,0xfa000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...o................
Boot0001* ubuntu        HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Diskette Drive        BBS(Floppy,Diskette Drive,0x0)..BO
Boot0003* CD/DVD/CD-RW Drive    BBS(CDROM,CD/DVD/CD-RW Drive,0x0)..BO
Boot0004* M.2 PCIe SSD  BBS(HD,THNSN5256GPUK NVMe TOSHIBA 256G,0x0)..BO
Boot0005* grub  HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)
Boot0006* Internal HDD  BBS(HD,P1: WDC WD10SPCX-75KHST0      ,0x0)..BO
Boot0007* grub1 HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)
Boot0017* UEFI: WDC WD10SPCX-75KHST0, Partition 1       HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(EFI\Microsoft\Boot\bootmgfw.efi)..BO
Boot0018* USB Storage Device    BBS(USB,USB Storage Device,0x0)..BO
Boot001A* UEFI: THNSN5256GPUK NVMe TOSHIBA 256GB, Partition 1   HD(1,GPT,69c2df34-cc95-43ec-a49c-b4f447a7c4eb,0x800,0x32000)/File(EFI\Ubuntu\shimx64.efi)..BO

Hors ligne

#46 Le 10/02/2020, à 00:21

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

polochon777 a écrit :

J'ai l'impression que c'est pareil

Tu as raison c'est pareil.
Je me demande d'où boote Windows.

BootCurrent: 0007
BootOrder: 0007,0005,0001
Boot0000* Windows Boot Manager  HD(1,GPT,660ed4e9-d4fc-4025-8b1725ad68b5ea5,0xfa000,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi
Boot0001* ubuntu                HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0005* grub                  HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)
Boot0007* grub1                 HD(1,GPT,6c42cf2e-317b-4aea-8abf-27c811f486fe,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)

=================== blkid:
/dev/nvme0n1p2: UUID="1cb2ed90-e1d9-40d5-af12-356253d7df17" TYPE="ext4" PARTUUID="e835e97b-8b07-4c1c-a44c-5bc84f1c520a"
/dev/nvme0n1p1: UUID="E0EA-F407" TYPE="vfat" PARTUUID="69c2df34-cc95-43ec-a49c-b4f447a7c4eb"
/dev/sda1: UUID="3CF0-8583" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="6c42cf2e-317b-4aea-8abf-27c811f486fe"
/dev/sda3: UUID="0214F45814F45061" TYPE="ntfs" PARTUUID="57c5833f-1607-47e3-a8cf-5640e8352d46"
/dev/sda4: LABEL="Datas" UUID="19a2902d-0be0-4492-af74-27f7fdcc90e0" TYPE="ext4" PARTUUID="464950c0-e5e3-4a49-8ddc-71ca2df92985"
/dev/sda2: PARTUUID="56becb26-20ac-48e0-b5e0-8ff4cad9c851"

Pour ikevdu:  Il me semble  que la procédure grub-install  lance la commande efibootmgr  create qui  ne fonctionne pas correctement  avec cet ordinateur.

Dernière modification par geole (Le 10/02/2020, à 10:55)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#47 Le 10/02/2020, à 10:49

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Le plus étrange, c'est que j'ai quand même le fonctionnement "mixte" que je voulais au début à savoir un démarrage sur grub qui me permet de choisir mon OS.
Mais si jamais je force le boot sur le HDD, je bypase grub et ça démarre tout seul sous windows.

Hors ligne

#48 Le 10/02/2020, à 11:01

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

polochon777 a écrit :

J'ai l'impression que c'est pareil

Boot001A* UEFI: THNSN5256GPUK NVMe TOSHIBA 256GB, Partition 1   HD(1,GPT,69c2df34-cc95-43ec-a49c-b4f447a7c4eb,0x800,0x32000)/File(EFI\Ubuntu\shimx64.efi)..BO

Je viens de voir cette ligne.
Je pense que ton bios peut la présenter pour booter probablement comme il présente windows, Tu peux aussi la mettre prioritaire avec cette commande

sudo efibootmgr  -o  1A,7,5,1

Dernière modification par geole (Le 10/02/2020, à 11:10)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#49 Le 10/02/2020, à 11:13

polochon777

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Désolé, je n'ai pas compris ta réponse sad

Hors ligne

#50 Le 10/02/2020, à 11:49

geole

Re : [Résolu] Dual boot Win/Linux sur 2 disques différents + partitions OEM

Je voulais dire que  si tu appliques la procédure qui te permet de selectionner Windows dans le disque dur, il est fort probable que tu puisses visualiser le contenu du NVME et y découvrir le SHIM de Ubuntu.

Sinon, en faisant la commande proposée, il se mettra prioritaire.

Après avoir vérifié que tu bootes bien sur la ligne 0001A avec la commande

sudo efibootmgr -v  | grep BootCurrent

tu pourras alors supprimer le répertoire ubuntu de la partition de boot du disque dur car
Boot001A* UEFI: THNSN5256GPUK NVMe TOSHIBA 256GB, Partition 1   HD(1,GPT,69c2df34-cc95-43ec-a49c-b4f447a7c4eb,0x800,0x32000)/File(EFI\Ubuntu\shimx64.efi)..BO
est la partition de boot du nvme
=================== blkid:
/dev/nvme0n1p1: UUID="E0EA-F407" TYPE="vfat" PARTUUID="69c2df34-cc95-43ec-a49c-b4f447a7c4eb"

D'autre part, il est possible de demander au grub de ne pas proposer Windows https://doc.ubuntu-fr.org/tutoriel/grub … age_manuel

sudo chmod -x /etc/grub.d/30_os-prober
sudo update-grub

De  diminuer la durée d'affichage pour la passer à 2 secondes au lieu de 10 en modifiant la ligne suivante

GRUB_TIMEOUT=10

du fichier /etc/default/grub puis prise en compte avec la commande

sudo update-grub

Il est aussi possible de demander qu'il ne s'affiche pas. Mais cela devient alors compliqué de faire afficher le mode recovery lorsqu'il devient nécesaire. https://doc.ubuntu-fr.org/recovery_mode

Dernière modification par geole (Le 10/02/2020, à 12:00)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne