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.

#1 Le 02/10/2018, à 22:58

junoreactor

[RÉSOLU] Installation d'Ubuntu 18.04 en dual-boot avec Win 10...ratée

Bonsoir,

Mon pc perso est depuis bien longtemps sous Ubuntu, mon PC de boulot est sous Windows 10, de façon contrainte. Depuis la mise à jour 1803 de Windows 10, le PC de boulot est inutilisable. J'ai donc craqué, j'ai installé Ubuntu 18.04 dessus, mais en dual-boot, car j'ai des licences sous Win10.

Le premier boot a été parfait, choix entre Ubuntu et Windows 10. J'ai peaufiné mes petits paramétrages, j'ai rebooté...bing, grub rescue. Je ne me suis pas affolé, je sais que le coupable est Windows qui a malmené grub, j'ai booté avec une clé boot-repair.

Malheureusement, pas moyen de réussir une réparation recommandée, échec à chaque fois. J'ai fini par tenter une restauration du MBR dans les options avancées. Cela a parfaitement fonctionné, Windows 10 reboote, mais, forcément, plus d'accès à Ubuntu.

Je voudrais donc réinstaller grub, mais je n'y arrive pas.

Mon boot info : http://paste.ubuntu.com/p/hhQMGBFq3n/

Le bios est UEFI, mais je boote en legacy (du moins, pour la clé).

Merci d'avance pour votre précieuse aide !

Dernière modification par junoreactor (Le 08/10/2018, à 07:50)


"A chaque jour suffit sa peine"

Hors ligne

#2 Le 03/10/2018, à 07:37

malbo

Re : [RÉSOLU] Installation d'Ubuntu 18.04 en dual-boot avec Win 10...ratée

Bonjour,
Ton Boot-Info est là :

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


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

 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 32776 of /dev/sda1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

sdb1: __________________________________________________________________________

    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:        

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  According to the info in the boot sector, sdb5 starts 
                       at sector 2048.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.1 LTS
    Boot files:        /etc/fstab

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 7.5 GiB, 8004304896 bytes, 15633408 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: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048    15,633,407    15,631,360   c W95 FAT32 (LBA)


Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sdb2             206,848   334,991,259   334,784,412   7 NTFS / exFAT / HPFS
/dev/sdb3         334,991,358   467,933,183   132,941,826   f W95 Extended (LBA)
/dev/sdb5         426,975,232   467,933,183    40,957,952   7 NTFS / exFAT / HPFS
/dev/sdb6         334,991,360   426,975,231    91,983,872  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        C820-4A7B                              vfat       BOOT-REPAIR
/dev/sdb1        F2F4B7EAF4B7AEEB                       ntfs       Réservé au système
/dev/sdb2        148CB92B8CB907EE                       ntfs       
/dev/sdb5        3A4C74384C73ED4F                       ntfs       Owncloud
/dev/sdb6        801a52f8-a520-4fdc-b202-c10a4c3e58a6   ext4       
/dev/zram0       5225293b-98e9-44b7-93a7-e739a60f363d   swap       
/dev/zram1       d2223689-465f-4e16-8919-844362977126   swap       
/dev/zram2       f0a0f293-3124-4c49-aa05-4c79f4f500b2   swap       
/dev/zram3       c173c1d1-2c13-46ba-915a-6b885bfb43f6   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Oct  2 20:21 ata-HL-DT-ST_DVD+_-RW_GTA0N_KMTD8RN5848 -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct  2 20:30 ata-V_Series_SATA_SSD_240GB_16300469587166 -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct  2 20:30 ata-V_Series_SATA_SSD_240GB_16300469587166-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct  2 20:30 ata-V_Series_SATA_SSD_240GB_16300469587166-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Oct  2 20:30 ata-V_Series_SATA_SSD_240GB_16300469587166-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Oct  2 20:30 ata-V_Series_SATA_SSD_240GB_16300469587166-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Oct  2 20:30 ata-V_Series_SATA_SSD_240GB_16300469587166-part6 -> ../../sdb6
lrwxrwxrwx 1 root root  9 Oct  2 20:30 usb-SanDisk_Cruzer_Slice_4C532000000111109010-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct  2 20:30 usb-SanDisk_Cruzer_Slice_4C532000000111109010-0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Oct  2 20:21 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct  2 20:30 wwn-0x502b2a201d1c1b1a -> ../../sdb
lrwxrwxrwx 1 root root 10 Oct  2 20:30 wwn-0x502b2a201d1c1b1a-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Oct  2 20:30 wwn-0x502b2a201d1c1b1a-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Oct  2 20:30 wwn-0x502b2a201d1c1b1a-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Oct  2 20:30 wwn-0x502b2a201d1c1b1a-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Oct  2 20:30 wwn-0x502b2a201d1c1b1a-part6 -> ../../sdb6

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sdb6        /mnt                     ext4       (rw,relatime,data=ordered)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Boot-Repair-Disk session" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sda1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sda1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

=============================== sdb6/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>
# / was on /dev/sdb6 during installation
UUID=801a52f8-a520-4fdc-b202-c10a4c3e58a6 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------


ADDITIONAL INFORMATION :
=================== log of boot-info 20181002_2030 ===================
boot-info version : 4ppa62
boot-sav version : 4ppa62
boot-sav-extra version : 4ppa62
glade2script version : 3.2.3~ppa4
boot-info is executed in live-session (Boot-Repair-Disk 64bit 1oct2017, zesty, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sdb1:Windows 10:Windows:chain
/dev/sdb2:Windows 10:Windows1:chain
/dev/sdb6:Ubuntu 18.04.1 LTS (18.04):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="BOOT-REPAIR" UUID="C820-4A7B" TYPE="vfat" PARTUUID="0277246d-01"
/dev/loop0: TYPE="squashfs"
/dev/sdb1: LABEL="RM-CM-)servM-CM-) au systM-CM-(me" UUID="F2F4B7EAF4B7AEEB" TYPE="ntfs" PARTUUID="04603dc6-01"
/dev/sdb2: UUID="148CB92B8CB907EE" TYPE="ntfs" PARTUUID="04603dc6-02"
/dev/sdb5: LABEL="Owncloud" UUID="3A4C74384C73ED4F" TYPE="ntfs" PARTUUID="04603dc6-05"
/dev/sdb6: UUID="801a52f8-a520-4fdc-b202-c10a4c3e58a6" TYPE="ext4" PARTUUID="04603dc6-06"
/dev/zram0: UUID="5225293b-98e9-44b7-93a7-e739a60f363d" TYPE="swap"
/dev/zram1: UUID="d2223689-465f-4e16-8919-844362977126" TYPE="swap"
/dev/zram2: UUID="f0a0f293-3124-4c49-aa05-4c79f4f500b2" TYPE="swap"
/dev/zram3: UUID="c173c1d1-2c13-46ba-915a-6b885bfb43f6" TYPE="swap"


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

ls: cannot access '/mnt/boot/': Bad message

=================== /mnt/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 sept. 28 16:48 grub.d
total 80
-rwxr-xr-x 1 root root  9783 juil. 17 18:13 00_header
-rwxr-xr-x 1 root root  6258 juil. 16 15:15 05_debian_theme
-rwxr-xr-x 1 root root 12693 juil. 17 18:13 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17 18:13 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 juil. 17 18:13 30_os-prober
-rwxr-xr-x 1 root root  1418 juil. 17 18:13 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juil. 17 18:13 40_custom
-rwxr-xr-x 1 root root   216 juil. 17 18:13 41_custom
-rw-r--r-- 1 root root   483 juil. 17 18:13 README




=================== /mnt/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"




=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sdb1	: sdb,	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,	no-winload,	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/sdb1.
sdb2	: sdb,	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,	farbios,	notbiosboot, /mnt/boot-sav/sdb2.
sdb5	: sdb,	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,	farbios,	notbiosboot, /mnt/boot-sav/sdb5.
sdb6	: sdb,	not-sepboot,	no-grubenv	grub2,	grub-pc ,	update-grub,	64,	no-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	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, /mnt.

sdb	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


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

BYT;
/dev/sda:8004MB:scsi:512:512:msdos:SanDisk Cruzer Slice:;
1:1049kB:8004MB:8003MB:fat32::boot, lba;

BYT;
/dev/sdb:240GB:scsi:512:512:msdos:ATA V Series SATA SS:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:172GB:171GB:ntfs::;
3:172GB:240GB:68.1GB:::lba;
6:172GB:219GB:47.1GB:ext4::;
5:219GB:240GB:21.0GB:ntfs::;

BYT;
/dev/zram3:2088MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2088MB:2088MB:linux-swap(v1)::;

BYT;
/dev/zram1:2088MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2088MB:2088MB:linux-swap(v1)::;

BYT;
/dev/zram2:2088MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2088MB:2088MB:linux-swap(v1)::;

BYT;
/dev/zram0:2088MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:2088MB:2088MB:linux-swap(v1)::;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs 629,3M
sda   disk            7,5G
sda1  part vfat       7,5G BOOT-REPAIR
sdb   disk          223,6G
sdb1  part ntfs       100M Réservé au système
sdb2  part ntfs     159,7G
sdb3  part              1K
sdb5  part ntfs      19,5G Owncloud
sdb6  part ext4      43,9G
sr0   rom            1024M
zram0 disk              2G
zram1 disk              2G
zram2 disk              2G
zram3 disk              2G

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
sda      1  0  1 running
sda1     1  0  1         /cdrom
sdb      0  0  0 running
sdb1     0  0  0         /mnt/boot-sav/sdb1
sdb2     0  0  0         /mnt/boot-sav/sdb2
sdb3     0  0  0
sdb5     0  0  0         /mnt/boot-sav/sdb5
sdb6     0  0  0         /mnt
sr0      1  0  1 running
zram0    0  0  0         [SWAP]
zram1    0  0  0         [SWAP]
zram2    0  0  0         [SWAP]
zram3    0  0  0         [SWAP]


=================== 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=8129648k,nr_inodes=2032412,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=1631368k,mode=755)
/dev/sda1 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)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
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)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13622)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=1631364k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sdb6 on /mnt type ext4 (rw,relatime,data=ordered)
udev on /mnt/dev type devtmpfs (rw,nosuid,relatime,size=8129648k,nr_inodes=2032412,mode=755)
/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb5 on /mnt/boot-sav/sdb5 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 sdb3 sdb5 sdb6 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 integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 initctl input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sdb5 sdb6 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sdb1
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 1f 03 00 00 00 00 00  |................|
00000030  1e 16 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  eb ae b7 f4 ea b7 f4 f2  |................|
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 41 20 64 69  |............A di|
00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
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  a7 01 bf 01 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sdb2
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 28 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  98 67 f4 13 00 00 00 00  |.........g......|
00000030  f2 78 0b 00 00 00 00 00  02 00 00 00 00 00 00 00  |.x..............|
00000040  f6 00 00 00 01 00 00 00  ee 07 b9 8c 2b b9 8c 14  |............+...|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sdb5
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  ff f7 70 02 00 00 00 00  |..........p.....|
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  4f ed 73 4c 38 74 4c 3a  |........O.sL8tL:|
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.8G     0  7.8G   0% /dev
tmpfs          tmpfs     1.6G  9.3M  1.6G   1% /run
/dev/sda1      vfat      7.5G  708M  6.8G  10% /cdrom
/dev/loop0     squashfs  630M  630M     0 100% /rofs
/cow           overlay   7.8G   16M  7.8G   1% /
tmpfs          tmpfs     7.8G     0  7.8G   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     7.8G     0  7.8G   0% /sys/fs/cgroup
tmpfs          tmpfs     7.8G  276K  7.8G   1% /tmp
tmpfs          tmpfs     1.6G  4.0K  1.6G   1% /run/user/999
/dev/sdb6      ext4       43G  7.5G   34G  19% /mnt
/dev/sdb1      fuseblk   100M   29M   72M  29% /mnt/boot-sav/sdb1
/dev/sdb2      fuseblk   160G  105G   56G  66% /mnt/boot-sav/sdb2
/dev/sdb5      fuseblk    20G  107M   20G   1% /mnt/boot-sav/sdb5

=================== fdisk -l:
Disk /dev/loop0: 629.3 MiB, 659873792 bytes, 1288816 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/sda: 7.5 GiB, 8004304896 bytes, 15633408 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: dos
Disk identifier: 0x0277246d

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1  *     2048 15633407 15631360  7.5G  c W95 FAT32 (LBA)


Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 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: dos
Disk identifier: 0x04603dc6

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1  *         2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sdb2          206848 334991259 334784412 159.7G  7 HPFS/NTFS/exFAT
/dev/sdb3       334991358 467933183 132941826  63.4G  f W95 Ext'd (LBA)
/dev/sdb5       426975232 467933183  40957952  19.5G  7 HPFS/NTFS/exFAT
/dev/sdb6       334991360 426975231  91983872  43.9G 83 Linux

Partition table entries are not in disk order.




Disk /dev/zram0: 2 GiB, 2088148992 bytes, 509802 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 2 GiB, 2088148992 bytes, 509802 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram2: 2 GiB, 2088148992 bytes, 509802 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram3: 2 GiB, 2088148992 bytes, 509802 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb6 into the MBR of sdb, using the following options:     kernel-purge
Additional repair would be performed: unhide-bootmenu-10s


=================== Final advice in case of suggested repair


Les fichiers de démarrage de [Ubuntu 18.04.1 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)


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

Les partitions logiques ne sont pas dans l'ordre du disque comme on peut voir dans cet extrait :

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

BYT;
/dev/sda:8004MB:scsi:512:512:msdos:SanDisk Cruzer Slice:;
1:1049kB:8004MB:8003MB:fat32::boot, lba;

BYT;
/dev/sdb:240GB:scsi:512:512:msdos:ATA V Series SATA SS:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:172GB:171GB:ntfs::;
3:172GB:240GB:68.1GB:::lba;
6:172GB:219GB:47.1GB:ext4::;
5:219GB:240GB:21.0GB:ntfs::;

La partition 6 est avant la partition 5. Lors de la très prochaine mise à niveau de Windows 10, il risque d'y avoir suppression de la partition 6 par Windows 10 (comme dans ce cas) aussi je te suggère de supprimer les deux partitions logiques sdb5 et sdb6 et de refaire le partitionnement correct, c'est à dire sdb5 avant sdb6. Concrètement, il faut créer d'abord la partition logique EXT4 pour Ubuntu en début de partition étendue (elle deviendra sdb5), puis la partition logique au format NTFS (qui deviendra sdb6) dans le reste de la partition étendue. Tu feras une installation toute neuve de Ubuntu 18.04 dans la partition sdb5.

Dernière modification par malbo (Le 03/10/2018, à 07:44)

Hors ligne

#3 Le 08/10/2018, à 07:50

junoreactor

Re : [RÉSOLU] Installation d'Ubuntu 18.04 en dual-boot avec Win 10...ratée

Bonjour Malbo,

Un immense merci big_smile:D:D J'ai appliqué ton tutoriel à la lettre et mon PC pro reboote tout à fait normalement !

Très bonne semaine à toi !


"A chaque jour suffit sa peine"

Hors ligne