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 22/05/2020, à 13:54

elcastor

[RESOLU] Migration 18.04 => 20.04, précautions et méthode

Bonjour à tous,

n'ayant pas trouvé vraiment de réponse adaptée, je préfère ouvrir un nouveau sujet. Voilà, je souhaite migrer de la vers 18..04 vers la version 20.04, mais je souhaiterais m'éviter de perdre du temps dans cette procédure, vu que j'ai tout reconfiguré mon ordi il y a à peine un mois, suite à un plantage de disque.

Voici les questions que je me pose :

1) sachant que je ne souhaite pas repartitioner, mais bien utiliser les partitions existantes, est-il préférable (plus "sûr") de faire un upgrade, ou bien d'installer directement le système, à partir de ma clé bootable, qui elle fonctionne. Je dois dire qu'en théorie, l'upgrade est plus simple, et ne nécessite pas de réinstaller les logiciels tiers, mais en pratique, depuisprès de 10 ans que j'utilise ubuntu j'ai plus d'une fois assisté à un plantage malheureux et définitif lors d'une tentative de mise à jour...

2) je vais lire les réponses que vous pourrez apporter à la question 1, même si je suis très tenté d'installer complêtement. Dans ce cas, quelles sont les commandes les plus simples pour exporter la liste de mes programmes, puis réimporter/installer ces programmes. J'ai fait cela pour le moment :

dpkg --get-selections > liste-des-paquets_`hostname`_`date +%Y-%m-%d-%H-%M` 

. J'ai bien une liste, mais comment l'utiliser par la suite ?

3) Y-a-t- autre chose que j'oublierais ? Par exemple, les préférences de Firefox (favoris), ou bien les comptes sur Thunderbird ? a priori, tout cela est conservé dans le /home, mais bon...
J'attends de résoudre un problème de pilote bluetooth avant de me lancer.

Merci pour vos conseils

Dernière modification par elcastor (Le 25/07/2020, à 08:01)

Hors ligne

#2 Le 22/05/2020, à 15:16

malbo

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

Bonjour,
Pourrais-tu faire un Boot-info depuis une session de ton Ubuntu 18.04 installé et donner l'URL de ce Boot-info dans ta réponse ? Cela permettrait de voir comment est faite ton installation actuelle. Parce que dans certains cas favorables, certaines précautions utiles peuvent être prises. Mais ça dépend du partitionnement.

Hors ligne

#3 Le 25/05/2020, à 15:47

elcastor

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

En fait, j'ai également un Windows qui n'est pas bon (j'ai installé malheureusement un 32 bits, or j'ai besoin d'un 64 pour certaines appli).
Et par ailleurs, j'avais une table de partitions un peu merdique, avec notamment un /swap qui s'est révélé non fonctionnel. Je vais donc probablement repartir à zéro.
Pour éviter les problèmes, puis-je laisser juste de côté une partition /home, et laisser faire de manière automatique pour tout le reste (à savoir donc, la partition racine).
Autre question, dans quelle ordre partitionner, dans l'idéal

Est ce que ceci serait bien :
faut-il une partition /boot ?
/ racine
/ home
/ windows


Voici mon boot-info

Dernière modification par elcastor (Le 25/05/2020, à 16:01)

Hors ligne

#4 Le 25/05/2020, à 18:07

malbo

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

Le Boot-info dont tu as donné le lien ( http://paste.ubuntu.com/p/75jmGnH3fr/ ) dans le post #3 est là :

Boot Info Script 71f6c5c + Boot-Repair extra info      [Boot-Info 16mar2020]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos5)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 18.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda6: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    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: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda2          15,626,238 1,675,780,095 1,660,153,858   5 Extended
/dev/sda5          15,626,240 1,578,123,263 1,562,497,024  83 Linux
/dev/sda6       1,578,125,312 1,675,780,095    97,654,784  83 Linux
/dev/sda4    *  1,792,972,800 3,907,028,991 2,114,056,192   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop10                                             squashfs   
/dev/loop11                                             squashfs   
/dev/loop12                                             squashfs   
/dev/loop13                                             squashfs   
/dev/loop14                                             squashfs   
/dev/loop15                                             squashfs   
/dev/loop16                                             squashfs   
/dev/loop17                                             squashfs   
/dev/loop18                                             squashfs   
/dev/loop19                                             squashfs   
/dev/loop2                                              squashfs   
/dev/loop20                                             squashfs   
/dev/loop21                                             squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/loop9                                              squashfs   
/dev/sda4        13DFFA3D2FDAB579                       ntfs       windows
/dev/sda5        7bfbda13-e5e8-4e21-a42a-a9ffb761fb55   ext4       
/dev/sda6        d1c6dd60-a05c-4639-a1b6-354929398b4b   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 May 25 16:59 ata-ST2000LM007-1R8174_WDZNATLZ -> ../../sda
lrwxrwxrwx 1 root root 10 May 25 16:59 ata-ST2000LM007-1R8174_WDZNATLZ-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 25 17:00 ata-ST2000LM007-1R8174_WDZNATLZ-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 25 16:59 ata-ST2000LM007-1R8174_WDZNATLZ-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 25 16:59 ata-ST2000LM007-1R8174_WDZNATLZ-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 May 25 16:48 ata-hp_DVDRW_SU208FB_S15P6YEFA01A27 -> ../../sr0
lrwxrwxrwx 1 root root  9 May 25 16:59 wwn-0x5000c500cc8bc82c -> ../../sda
lrwxrwxrwx 1 root root 10 May 25 16:59 wwn-0x5000c500cc8bc82c-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 25 17:00 wwn-0x5000c500cc8bc82c-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 25 16:59 wwn-0x5000c500cc8bc82c-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 25 16:59 wwn-0x5000c500cc8bc82c-part6 -> ../../sda6

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

Device           Mount_Point              Type       Options

/dev/sda5        /                        ext4       (rw,relatime,errors=remount-ro)
/dev/sda6        /tmp                     ext4       (rw,relatime)


=========================== sda5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
else
  search --no-floppy --fs-uuid --set=root 7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=10
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 10 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7bfbda13-e5e8-4e21-a42a-a9ffb761fb55' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
	else
	  search --no-floppy --fs-uuid --set=root 7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
	fi
        linux	/boot/vmlinuz-5.3.0-53-generic root=UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-5.3.0-53-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-7bfbda13-e5e8-4e21-a42a-a9ffb761fb55' {
	menuentry 'Ubuntu, avec Linux 5.3.0-53-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-53-generic-advanced-7bfbda13-e5e8-4e21-a42a-a9ffb761fb55' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		else
		  search --no-floppy --fs-uuid --set=root 7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		fi
		echo	'Chargement de Linux 5.3.0-53-generic…'
	        linux	/boot/vmlinuz-5.3.0-53-generic root=UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-53-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-53-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-53-generic-recovery-7bfbda13-e5e8-4e21-a42a-a9ffb761fb55' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		else
		  search --no-floppy --fs-uuid --set=root 7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		fi
		echo	'Chargement de Linux 5.3.0-53-generic…'
	        linux	/boot/vmlinuz-5.3.0-53-generic root=UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-53-generic
	}
	menuentry 'Ubuntu, avec Linux 5.3.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-51-generic-advanced-7bfbda13-e5e8-4e21-a42a-a9ffb761fb55' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		else
		  search --no-floppy --fs-uuid --set=root 7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		fi
		echo	'Chargement de Linux 5.3.0-51-generic…'
	        linux	/boot/vmlinuz-5.3.0-51-generic root=UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-51-generic
	}
	menuentry 'Ubuntu, with Linux 5.3.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.3.0-51-generic-recovery-7bfbda13-e5e8-4e21-a42a-a9ffb761fb55' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		else
		  search --no-floppy --fs-uuid --set=root 7bfbda13-e5e8-4e21-a42a-a9ffb761fb55
		fi
		echo	'Chargement de Linux 5.3.0-51-generic…'
	        linux	/boot/vmlinuz-5.3.0-51-generic root=UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-5.3.0-51-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (sur /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-13DFFA3D2FDAB579' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  13DFFA3D2FDAB579
	else
	  search --no-floppy --fs-uuid --set=root 13DFFA3D2FDAB579
	fi
	parttool ${root} hidden-
	drivemap -s (hd0) ${root}
	chainloader +1
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 8" {
set root=(/dev/sda4,3)
chainloader +1
} 
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda5/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/sda5 during installation
UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=0C0E-E11C  /boot/efi       vfat    umask=0077      0       1
# /tmp was on /dev/sda6 during installation
UUID=d1c6dd60-a05c-4639-a1b6-354929398b4b /tmp            ext4    defaults        0       2
 # /swapfile                                 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 428.505992889 = 460.104806400  boot/grub/grub.cfg                             3
 721.610336304 = 774.823198720  boot/grub/i386-pc/core.img                     1
  66.803443909 = 71.729651712   boot/vmlinuz-5.3.0-51-generic                  1
 722.865947723 = 776.171401216  boot/vmlinuz-5.3.0-53-generic                  1
 722.865947723 = 776.171401216  vmlinuz                                        1
  66.803443909 = 71.729651712   vmlinuz.old                                    1
  62.624549866 = 67.242598400   boot/initrd.img-5.3.0-51-generic               1
 723.099605560 = 776.422289408  boot/initrd.img-5.3.0-53-generic               4
 723.099605560 = 776.422289408  initrd.img                                     4
  62.624549866 = 67.242598400   initrd.img.old                                 1


ADDITIONAL INFORMATION :
=================== log of boot-info 20200525_1659 ===================
boot-info version : 4ppa78
boot-sav version : 4ppa78
boot-sav-extra version : 4ppa78
glade2script version : 3.2.4~ppa6
Partition 2 does not start on physical sector boundary.
boot-info is executed in installed-session (Ubuntu 18.04.4 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-5.3.0-53-generic root=UUID=7bfbda13-e5e8-4e21-a42a-a9ffb761fb55 ro quiet splash vt.handoff=1

=================== os-prober:
/dev/sda5:L'OS actuellement utilisé - Ubuntu 18.04.4 LTS CurrentSession:linux
/dev/sda4:Windows 8:Windows:chain

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda4: LABEL="windows" UUID="13DFFA3D2FDAB579" TYPE="ntfs" PARTUUID="25ee454a-04"
/dev/sda5: UUID="7bfbda13-e5e8-4e21-a42a-a9ffb761fb55" TYPE="ext4" PARTUUID="25ee454a-05"
/dev/sda6: UUID="d1c6dd60-a05c-4639-a1b6-354929398b4b" TYPE="ext4" PARTUUID="25ee454a-06"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"


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

Partition 2 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 mars  27 09:21 grub.d
drwxr-xr-x  2 root root    4096 mars  27 08:45 grub.d.bak
total 76
-rwxr-xr-x 1 root root 10046 mars  11 21:57 00_header
-rwxr-xr-x 1 root root  6258 mars  11 21:57 05_debian_theme
-rwxr-xr-x 1 root root 12693 mars  11 21:57 10_linux
-rwxr-xr-x 1 root root 11298 mars  11 21:57 20_linux_xen
-rwxr-xr-x 1 root root 12059 mars  11 21:57 30_os-prober
-rwxr-xr-x 1 root root  1418 mars  11 21:57 30_uefi-firmware
-rwxr-xr-x 1 root root   355 mars  27 09:21 40_custom
-rwxr-xr-x 1 root root   216 mars  11 21:57 41_custom
-rw-r--r-- 1 root root   483 mars  11 21:57 README


=================== /etc/grub.d/40_custom :
menuentry "Windows 8" {
set root=(/dev/sda4,3)
chainloader +1
}




=================== /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 installed-session is not in EFI-mode.
EFI in dmesg.
[    0.018124] ACPI: UEFI 0x000000009CFFD000 000236 (v01 HPQOEM 21B8     00000001 HP   00040000)
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-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, .
sda4	: 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,	farbios,	notbiosboot, /mnt/boot-sav/sda4.
sda6	: 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, /tmp.

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


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

BYT;
/dev/sda:2000GB:scsi:512:4096:msdos:ATA ST2000LM007-1R81:;
2:8001MB:858GB:850GB:::;
5:8001MB:808GB:800GB:ext4::;
6:808GB:858GB:50.0GB:ext4::;
4:918GB:2000GB:1082GB:ntfs::boot;

=================== lsblk:
KNAME  TYPE FSTYPE      SIZE LABEL
loop0  loop squashfs   54,8M
loop1  loop squashfs     55M
loop2  loop squashfs   93,9M
loop3  loop squashfs   93,8M
loop4  loop squashfs  140,7M
loop5  loop squashfs    3,7M
loop6  loop squashfs  140,7M
loop7  loop squashfs    956K
loop8  loop squashfs   17,9M
loop9  loop squashfs    956K
loop10 loop squashfs    2,2M
loop11 loop squashfs   62,1M
loop12 loop squashfs  163,7M
loop13 loop squashfs    2,4M
loop14 loop squashfs     55M
loop15 loop squashfs   14,8M
loop16 loop squashfs    276K
loop17 loop squashfs  255,6M
loop18 loop squashfs  242,4M
loop19 loop squashfs  160,2M
loop20 loop squashfs    4,2M
loop21 loop squashfs    2,4M
sda    disk             1,8T
sda2   part               1K
sda4   part ntfs     1008,1G windows
sda5   part ext4      745,1G
sda6   part ext4       46,6G
sr0    rom             1024M

KNAME  ROTA RO RM STATE   MOUNTPOINT
loop0     1  1  0         /snap/gtk-common-themes/1502
loop1     1  1  0         /snap/core18/1705
loop2     1  1  0         /snap/core/9066
loop3     1  1  0         /snap/core/8935
loop4     1  1  0         /snap/gnome-3-26-1604/98
loop5     1  1  0         /snap/gnome-system-monitor/135
loop6     1  1  0         /snap/gnome-3-26-1604/74
loop7     1  1  0         /snap/gnome-logs/93
loop8     1  1  0         /snap/pdftk/9
loop9     1  1  0         /snap/gnome-logs/100
loop10    1  1  0         /snap/gnome-system-monitor/145
loop11    1  1  0         /snap/gtk-common-themes/1506
loop12    1  1  0         /snap/spotify/41
loop13    1  1  0         /snap/gnome-calculator/730
loop14    1  1  0         /snap/core18/1754
loop15    1  1  0         /snap/gnome-characters/495
loop16    1  1  0         /snap/gnome-characters/539
loop17    1  1  0         /snap/gnome-3-34-1804/33
loop18    1  1  0         /snap/gnome-3-34-1804/27
loop19    1  1  0         /snap/gnome-3-28-1804/116
loop20    1  1  0         /snap/bluez/204
loop21    1  1  0         /snap/gnome-calculator/748
sda       1  0  0 running
sda2      1  0  0
sda4      1  0  0         /mnt/boot-sav/sda4
sda5      1  0  0         /
sda6      1  0  0         /tmp
sr0       1  0  1 running


=================== 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=4011232k,nr_inodes=1002808,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=807116k,mode=755)
/dev/sda5 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)
cgroup 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)
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/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13130)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
/var/lib/snapd/snaps/core18_1705.snap on /snap/core18/1705 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_98.snap on /snap/gnome-3-26-1604/98 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1502.snap on /snap/gtk-common-themes/1502 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_9066.snap on /snap/core/9066 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_8935.snap on /snap/core/8935 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_93.snap on /snap/gnome-logs/93 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_145.snap on /snap/gnome-system-monitor/145 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_100.snap on /snap/gnome-logs/100 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_135.snap on /snap/gnome-system-monitor/135 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/pdftk_9.snap on /snap/pdftk/9 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_74.snap on /snap/gnome-3-26-1604/74 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/spotify_41.snap on /snap/spotify/41 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1506.snap on /snap/gtk-common-themes/1506 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_730.snap on /snap/gnome-calculator/730 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_1754.snap on /snap/core18/1754 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_495.snap on /snap/gnome-characters/495 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_539.snap on /snap/gnome-characters/539 type squashfs (ro,nodev,relatime,x-gdu.hide)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/var/lib/snapd/snaps/bluez_204.snap on /snap/bluez/204 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_116.snap on /snap/gnome-3-28-1804/116 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_33.snap on /snap/gnome-3-34-1804/33 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_27.snap on /snap/gnome-3-34-1804/27 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_748.snap on /snap/gnome-calculator/748 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda6 on /tmp type ext4 (rw,relatime)
tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,noexec,relatime,size=807116k,mode=755)
nsfs on /run/snapd/ns/bluez.mnt type nsfs (rw)
tmpfs on /run/user/121 type tmpfs (rw,nosuid,nodev,relatime,size=807112k,mode=700,uid=121,gid=125)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=807112k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda4 on /mnt/boot-sav/sda4 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 hidden holders inflight integrity mq power queue range removable ro sda2 sda4 sda5 sda6 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 hidden holders inflight integrity mq 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 hidraw2 hidraw3 hpet hugepages hwrng i2c-0 i2c-1 i2c-10 i2c-11 i2c-12 i2c-13 i2c-14 i2c-15 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 i2c-9 initctl input kfd kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtbth rtc rtc0 sda sda2 sda4 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout udmabuf uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 video1 zero zfs
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda4
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 98 de 6a  |........?......j|
00000020  00 00 00 00 80 00 80 00  ff ef 01 7e 00 00 00 00  |...........~....|
00000030  04 00 00 00 00 00 00 00  ff 1e e0 07 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  79 b5 da 2f 3d fa df 13  |........y../=...|
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
Partition 2 does not start on physical sector boundary.

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G     0  3.9G   0% /dev
tmpfs          tmpfs     789M  2.1M  787M   1% /run
/dev/sda5      ext4      733G  109G  587G  16% /
tmpfs          tmpfs     3.9G   18M  3.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/loop1     squashfs   55M   55M     0 100% /snap/core18/1705
/dev/loop4     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/98
/dev/loop0     squashfs   55M   55M     0 100% /snap/gtk-common-themes/1502
/dev/loop2     squashfs   94M   94M     0 100% /snap/core/9066
/dev/loop3     squashfs   94M   94M     0 100% /snap/core/8935
/dev/loop7     squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/93
/dev/loop10    squashfs  2.3M  2.3M     0 100% /snap/gnome-system-monitor/145
/dev/loop9     squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/100
/dev/loop5     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/135
/dev/loop8     squashfs   18M   18M     0 100% /snap/pdftk/9
/dev/loop6     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/74
/dev/loop12    squashfs  164M  164M     0 100% /snap/spotify/41
/dev/loop11    squashfs   63M   63M     0 100% /snap/gtk-common-themes/1506
/dev/loop13    squashfs  2.5M  2.5M     0 100% /snap/gnome-calculator/730
/dev/loop14    squashfs   55M   55M     0 100% /snap/core18/1754
/dev/loop15    squashfs   15M   15M     0 100% /snap/gnome-characters/495
/dev/loop16    squashfs  384K  384K     0 100% /snap/gnome-characters/539
/dev/loop20    squashfs  4.3M  4.3M     0 100% /snap/bluez/204
/dev/loop19    squashfs  161M  161M     0 100% /snap/gnome-3-28-1804/116
/dev/loop17    squashfs  256M  256M     0 100% /snap/gnome-3-34-1804/33
/dev/loop18    squashfs  243M  243M     0 100% /snap/gnome-3-34-1804/27
/dev/loop21    squashfs  2.5M  2.5M     0 100% /snap/gnome-calculator/748
/dev/sda6      ext4       46G   53M   44G   1% /tmp
tmpfs          tmpfs     789M   24K  789M   1% /run/user/121
tmpfs          tmpfs     789M   80K  789M   1% /run/user/1000
/dev/sda4      fuseblk  1009G   41G  968G   4% /mnt/boot-sav/sda4

=================== fdisk -l:
Disk /dev/loop0: 54.8 MiB, 57479168 bytes, 112264 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/loop1: 55 MiB, 57614336 bytes, 112528 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/loop2: 93.9 MiB, 98484224 bytes, 192352 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/loop3: 93.8 MiB, 98336768 bytes, 192064 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/loop4: 140.7 MiB, 147501056 bytes, 288088 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/loop5: 3.7 MiB, 3862528 bytes, 7544 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/loop6: 140.7 MiB, 147496960 bytes, 288080 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/loop7: 956 KiB, 978944 bytes, 1912 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: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x25ee454a

Device     Boot      Start        End    Sectors    Size Id Type
/dev/sda2         15626238 1675780095 1660153858  791.6G  5 Extended
/dev/sda4  *    1792972800 3907028991 2114056192 1008.1G  7 HPFS/NTFS/exFAT
/dev/sda5         15626240 1578123263 1562497024  745.1G 83 Linux
/dev/sda6       1578125312 1675780095   97654784   46.6G 83 Linux

Partition table entries are not in disk order.




Disk /dev/loop8: 17.9 MiB, 18714624 bytes, 36552 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/loop9: 956 KiB, 978944 bytes, 1912 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/loop10: 2.2 MiB, 2273280 bytes, 4440 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/loop11: 62.1 MiB, 65105920 bytes, 127160 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/loop12: 163.7 MiB, 171618304 bytes, 335192 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/loop13: 2.4 MiB, 2531328 bytes, 4944 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/loop14: 55 MiB, 57618432 bytes, 112536 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/loop15: 14.8 MiB, 15466496 bytes, 30208 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/loop16: 276 KiB, 282624 bytes, 552 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/loop17: 255.6 MiB, 267980800 bytes, 523400 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/loop18: 242.4 MiB, 254193664 bytes, 496472 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/loop19: 160.2 MiB, 167931904 bytes, 327992 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/loop20: 4.2 MiB, 4358144 bytes, 8512 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/loop21: 2.4 MiB, 2555904 bytes, 4992 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




=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sda5 into the MBR of sda.
Additional repair would be performed: unhide-bootmenu-10s


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


Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 18.04.4 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être ré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.

Je comprends que tu veux entièrement repartitionner ton disque dur contrairement à ce que tu avais expliqué dans le post #1 ("je ne souhaite pas repartitioner, mais bien utiliser les partitions existantes"). C'est bien ce qu'il faut comprendre ?

Dernière modification par malbo (Le 25/05/2020, à 18:07)

Hors ligne

#5 Le 25/05/2020, à 19:32

elcastor

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

bah. oui j'ai changé d'avis, vu que le Windows que j'ai n'est pas le bon, et que cette histoire de swapp m'ennuie. il est arrivé que l'ordi frezze une fois ou deux. en plus le message en bas du boot info est ennuyeux également...

Hors ligne

#6 Le 25/05/2020, à 21:11

NicoApi73

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

Bonjour,
Personnellement je fais un tar du home, je fais la nouvelle instal puis je desarchive. Enfin, je réinstalle les logiciels.

Hors ligne

#7 Le 26/05/2020, à 05:37

malbo

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

Bonjour,
J'ai parcouru tes vieilles discussions et j'ai vu que ton ordi est un HP 350 G1. Comme HP a l'habitude de brider le démarrage sur Windows quand le mode EFI est activé (*), je suppose que tu vas faire ton installation de Windows 10 64 bits en mode LEGACY (non-EFI) puis l'installation de Ubuntu 20.04 dans ce même mode LEGACY. C'est bien ce que tu as l'intention de faire ?

(*) tu l'as déjà expérimenté dans ce fil : http://forum.ubuntu-fr.org/viewtopic.php?id=2036575

Dernière modification par malbo (Le 26/05/2020, à 05:41)

Hors ligne

#8 Le 25/07/2020, à 08:01

elcastor

Re : [RESOLU] Migration 18.04 => 20.04, précautions et méthode

Bonjour à tous,
finalement, après réflexion, j'ai décidé de me séparer totalement de Windows sur cet ordi. Du coup j'ai tout récupéré, et réinstaller la 20.04 en prenant tout le disque et en laissant les partitions par défaut. Ce sujet est résolu, mais j'ai d'autres souci, que je vais évoquer sur le topic dédié.

Hors ligne