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 11/07/2020, à 16:26

linuxmanold

resolu dual boot

Bonjour à tous !

Mon asus N71Jv est équipé de 2 disques durs internes sata.

Sur le premier C: un Seagate 500Go j'ai installer Windows 10
Sur le second D: un Hitachi 500Go ,j'en ai déplacé les fichiers et l'ai formaté en NFTS
Je viens d'installer Ubuntu 20.04 dessus a partir d'un live USB.

Au redémarrage ma machine n'affiche pas de bual boot.
pour choisir entre les 2 systèmes à utiliser il me faut designer dans le bios le disque de boot.
Les deus systemes fonctionnent normalement.

J'ai de bonnes connaissances en informatiques mais je suis novice en Linux.
Comment installer un dual-boot ?

PS: j'ai Gparted en Live-USB et Bootrepair également.

Merci de votre aide.

Cordialement

Dernière modification par linuxmanold (Le 14/07/2020, à 17:19)

Hors ligne

#2 Le 11/07/2020, à 16:48

lucmars

Re : resolu dual boot

Depuis ta clef 2004 fais-nous un boot-info (voir doc) comme ça on sera fixé.


Gaulois Matter !

Hors ligne

#3 Le 12/07/2020, à 18:49

linuxmanold

Re : resolu dual boot

Bonjour!

Merci de m'avoir répondu.
Voici l'url fournie par boot-info:
https://paste.ubuntu.comm/p/Z42nSQDyGz/

Portez vous bien !

Hors ligne

#4 Le 12/07/2020, à 20:04

lucmars

Re : resolu dual boot

Déjà le boot-info

boot-info-4ppa125                                              [20200712_1829]

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

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

sda1: __________________________________________________________________________

    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

sda2: __________________________________________________________________________

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

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:        

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

sdb2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04 LTS CurrentSession on sdb2
OS#2:   Windows 10 on sda2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-40-generic root=UUID=f64002be-b2d4-4d54-8f56-fb1bde6bf2f9 ro quiet splash


===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.

efibootmgr -v
BootCurrent: 0000
Timeout: 2 seconds
BootOrder: 0000,0004,0005
Boot0000* ubuntu	HD(1,GPT,13231b27-5711-4087-be78-157797b75803,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0004* CD/DVD Drive	BBS(CDROM,,0x0)P1: HL-DT-STBDDVDRW CT21N     .
Boot0005* Hard Drive	BBS(HD,,0x0)P0: ST9500325AS               .

bed45d1c9554cea09924d3814cb7c446   sdb1/BOOT/fbx64.efi
4487628005555bfd4a4c0a47211e0700   sdb1/BOOT/mmx64.efi
5c14b2158486ded02655f86386b249e2   sdb1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   sdb1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/ubuntu/shimx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   sdb1/BOOT/BOOTX64.efi


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

Disks info: ____________________________________________________________________

sdb	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdb2	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
sda2	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sda3	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
sdb1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far

Partitions info (2/3): _________________________________________________________

sdb2	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sdb1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb2	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sda1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda2	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sda3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda
sdb1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sdb

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xf15643fa
      Boot     Start       End   Sectors   Size Id Type
sda1  *         2048    206847    204800   100M  7 HPFS/NTFS/exFAT
sda2          206848 975693210 975486363 465.2G  7 HPFS/NTFS/exFAT
sda3       975693824 976592895    899072   439M 27 Hidden NTFS WinRE
Disk sdb: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: D2F55B67-1CBF-4C36-AA38-15D0410AD711
        Start       End   Sectors   Size Type
sdb1     2048   1050623   1048576   512M EFI System
sdb2  1050624 976771071 975720448 465.3G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:msdos:ATA ST9500325AS:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:500GB:499GB:ntfs::;
3:500GB:500GB:460MB:ntfs::msftres;
sdb:500GB:scsi:512:512:gpt:ATA Hitachi HTS54505:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:500GB:500GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL              PARTLABEL
sda                                                                                                          
├─sda1 ntfs     0E787DAD787D93E5                     f15643fa-01                          Réservé au système 
├─sda2 ntfs     D61480FC1480E0BB                     f15643fa-02                          Seagate            
└─sda3 ntfs     6074BDE774BDC058                     f15643fa-03                                             
sdb                                                                                                          
├─sdb1 vfat     1208-D26B                            13231b27-5711-4087-be78-157797b75803                    EFI System Partition
└─sdb2 ext4     f64002be-b2d4-4d54-8f56-fb1bde6bf2f9 92dfecb3-c41f-496c-a48e-04b50080785e                    

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
sda1               69.3M  31% /mnt/boot-sav/sda1
sda2              419.7G  10% /mnt/boot-sav/sda2
sda3                404K 100% /mnt/boot-sav/sda3
sdb2              424.6G   2% /

Mount options: __________________________________________________________________

sda1              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3              ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb2              rw,relatime,errors=remount-ro

===================== sdb1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid f64002be-b2d4-4d54-8f56-fb1bde6bf2f9 root hd1,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

====================== sdb2/boot/grub/grub.cfg (filtered) ======================

Ubuntu   f64002be-b2d4-4d54-8f56-fb1bde6bf2f9
Ubuntu, avec Linux 5.4.0-40-generic   f64002be-b2d4-4d54-8f56-fb1bde6bf2f9
Ubuntu, avec Linux 5.4.0-26-generic   f64002be-b2d4-4d54-8f56-fb1bde6bf2f9
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb2/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb2 during installation
UUID=f64002be-b2d4-4d54-8f56-fb1bde6bf2f9 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sdb1 during installation
UUID=1208-D26B  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

======================= sdb2/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
  74,631755829 = 80,135237632   boot/grub/grub.cfg                             2
  57,839962006 = 62,105186304   boot/vmlinuz                                   1
   4,836910248 = 5,193592832    boot/vmlinuz-5.4.0-26-generic                  2
  57,839962006 = 62,105186304   boot/vmlinuz-5.4.0-40-generic                  1
   4,836910248 = 5,193592832    boot/vmlinuz.old                               2
   6,169273376 = 6,624206848    boot/initrd.img                                3
   6,054893494 = 6,501392384    boot/initrd.img-5.4.0-26-generic               1
   6,169273376 = 6,624206848    boot/initrd.img-5.4.0-40-generic               3
   6,054893494 = 6,501392384    boot/initrd.img.old                            1

===================== sdb2: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17123 avril 15 13:31 10_linux
-rwxr-xr-x 1 root root 42128 avril 15 13:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 avril 15 13:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 avril 15 13:31 30_os-prober
-rwxr-xr-x 1 root root  1424 avril 15 13:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avril 15 13:31 40_custom
-rwxr-xr-x 1 root root   216 avril 15 13:31 41_custom


================================= User choice ==================================

Is sdb (ATA Hitachi HTS54505) a removable disk? no

Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to remove grub-efi) and reinstall the grub2 of
sdb2 into the MBRs of all disks (except live-disks and removable disks without OS).
Grub-efi would not be selected by default because: legacy-win no-win-efi 
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix     

Blockers in case of suggested repair: __________________________________________

LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB). GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
Alternatively, you can retry after activating the [Separate /boot/efi partition:] option.

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sdb (ATA Hitachi HTS54505) disk!
The boot of your PC is in UEFI mode. You may want to retry after changing it to BIOS-compatibility/CSM/Legacy mode.

Gaulois Matter !

Hors ligne

#5 Le 13/07/2020, à 15:36

linuxmanold

Re : resolu dual boot

Avé Gaulois Matter !

J'ai suivi la méthode préconisée dans le Boot-Info (avec BootRepair) et cela a bien fonctionné.
Je te remercies de ton aide.

Porte toi bien!

Hors ligne

#6 Le 13/07/2020, à 15:45

lucmars

Re : resolu dual boot

Merci

Modifies ton premier post et ajoutes Résolu en début du titre.


Gaulois Matter !

Hors ligne