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 26/04/2022, à 09:11

Hp34

Ubuntu 22.04 pas moyen de créer un raccourci

Bonjour

Si je veux créer un raccourci d'un fichier sur le bureau, pas moyen avec CTRl-Shift, cela copie le fichier.

Dans Wiki ubuntu.fr, il est indiqué :
Compatible avec l'environnement GNOME.
Pour créer un lien vers un dossier ou fichier : maintenir les touches Ctrl et Shift (Majuscule) enfoncé, glisser le dossier (ou fichier) sur le bureau.

Avec clic-droit, pas de menu contextuel "ajouter favori".
Une idée de solution ?

Laptop EasyNote TS. i3-2330M. DD SSD.
Installation Ubuntu 22.04 en dualboot W10 avec écrasement de la v 20.04

Hors ligne

#2 Le 26/04/2022, à 12:37

malbo

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Bonjour,
Ton portable est-il le modèle EasyNote TS44-HR-210FR qu'on peut voir dans la Liste des portables « Packard Bell » ?
C'est la référence du processeur ( Core i3-2330M ) qui me fait supposer cela.
Mais si ce n'est pas ça, je te prie de donner le nom complet de ton modèle parce que "EasyNote TS", c'est trop imprécis.

Hors ligne

#3 Le 26/04/2022, à 14:39

Hp34

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Désolé de l'imprécision. Il s'agit du TS13-HR-215FR. Il n'est pas liste avec problèmes particuliers.

Hors ligne

#4 Le 27/04/2022, à 04:27

malbo

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Bonjour,
Procédure pour créer un raccourci avec Ubuntu 22.04 :
Les captures ci-dessous sont faites sur une machine virtuelle de VirtualBox mais j'ai validé cette procédure sur un vrai PC
capture_1 : dans les préférences de Nautilus, dans la partie "Actions facultatives du menu contextuel", il faut activer "Créer un lien"
capture_2 : Clic droit sur un dossier "test" que j'ai créé exprès pour l'occasion et sélection "Créer un lien" dans le menu déroulant.
capture_3 : on peut constater qu'un raccourci "Lien vers test" a bien été créé. Clic gauche sur lui et glisser-déposer sur l'icône "Bureau"
capture_4 : on peut vérifier que "Lien vers test" se trouve à présent dans le dossier "Bureau"
capture_5 : le raccourci "Lien vers test" est bien visible en bas à droite sur le bureau

EDIT le 8 sept 2022 : une autre façon de procéder, qui n'implique pas de créer d'abord le lien symbolique dans l'emplacement initial, proposée par Coeur Noir : astuce : nautilus sous 22.04 et la création de liens symboliques

Dernière modification par malbo (Le 08/09/2022, à 05:48)

Hors ligne

#5 Le 27/04/2022, à 13:33

Hp34

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Merci malbo, voilà qui est très clair.

Je suis arrivé jusqu'à la capture 4, mon raccourci est bien dans le dossier Bureau.
Malheureusement, lorsque j'ai personnalisé les paramètres, j'ai enlevé les dossiers amovibles, la corbeille et autres éléments du dock et j'ai dû aussi enlever Dossier Personnel du Bureau.
Du coup j'ai un écran vierge, hormis le dock et la barre d'activités du haut.
J'ai beau parcourir les Paramètres, je n'arrive plus à retrouver comment réactiver le bureau avec Dossier personnel.


En fait, personnellement, je ne mets jamais rien sur le Bureau. Mais là, il s'agit du PC de mon épouse, qui réfère avoir un lien direct sur un ou deux fichiers pluôt que d'avoir à ouvrir des fenêtres et parcourir une arborscence.

Hors ligne

#6 Le 27/04/2022, à 17:16

malbo

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Re,
Je ne sais pas t'aider pour retrouver le paramétrage normal du bureau.
Par contre, je suis intéressé pour ajouter ton modèle TS13-HR-215FR dans la Liste des portables « Packard Bell ». Pour que je puisse vérifier quelques points, je te prie de faire un Boot-info depuis une session du Ubuntu 22.04 installé dans cet ordi puis de donner l'URL de ce Boot-info dans ta réponse.

Hors ligne

#7 Le 27/04/2022, à 17:42

Hp34

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Voilà l'url du boot-info
https://paste.ubuntu.com/p/cG5NVSNzjX/
Cordialement

Hors ligne

#8 Le 28/04/2022, à 06:09

malbo

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Bonjour,
Je colle ci-dessous le contenu du Boot-info dont tu as donné le lien dans ton dernier post :

boot-info-4ppa200                                              [20220427_1839]

============================== 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 (,msdos8)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    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:        /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd 
                       /boot/BCD /BOOT/BCD /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd 
                       /boot/BCD /BOOT/BCD /Boot/BCD

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda6: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda7: __________________________________________________________________________

    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

sda8: __________________________________________________________________________

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


================================ 4 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession on sda8
OS#2:   Windows Recovery Environment (boot) on sda1
OS#3:   Windows 10 (boot) on sda2
OS#4:   Windows 8 or 10 on sda3

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-25-generic root=UUID=022d5e0c-3aaf-4500-9637-ee9026aaef94 ro quiet splash vt.handoff=7
df -Th / : /dev/sda8        ext4    92G     58G   30G  66% /

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

BIOS/UEFI firmware: V1.12(12.240) from Packard Bell
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

sda8	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda2	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot
sda7	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	BOOTMGR,	is-winboot
sda6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sda8	: not--sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sda
sda2	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda7	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda3	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda1	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda
sda6	: not--sepboot,	no---boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	no--grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0x224d8459
      Boot     Start       End   Sectors   Size Id Type
sda1            2048  41945087  41943040    20G 27 Hidden NTFS WinRE
sda2        41945088  42149887    204800   100M  7 HPFS/NTFS/exFAT
sda3        42149888 282605831 240455944 114.7G  7 HPFS/NTFS/exFAT
sda4       282607614 488396799 205789186  98.1G  5 Extended
sda5       480313344 488396799   8083456   3.9G 82 Linux swap / Solaris
sda6       282607616 283656191   1048576   512M  b W95 FAT32
sda7  *    283658240 284706815   1048576   512M ef EFI (FAT-12/16/32)
sda8       284708864 480311295 195602432  93.3G 83 Linux
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:msdos:ATA ST9250421ASG:;
1:1049kB:21.5GB:21.5GB:ntfs::msftres;
2:21.5GB:21.6GB:105MB:ntfs::;
3:21.6GB:145GB:123GB:ntfs::;
4:145GB:250GB:105GB:::;
6:145GB:145GB:537MB:fat32::;
7:145GB:146GB:537MB:fat32::boot, esp;
8:146GB:246GB:100GB:ext4::;
5:246GB:250GB:4139MB:linux-swap(v1)::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL           PARTLABEL
sda                                                                                                       
├─sda1 ntfs     3C2AF21F2AF1D63C                     224d8459-01                          PQSERVICE       
├─sda2 ntfs     5E30F2B230F28FEF                     224d8459-02                          SYSTEM RESERVED 
├─sda3 ntfs     E89815E09815AE56                     224d8459-03                          Packard Bell    
├─sda4                                               224d8459-04                                          
├─sda5 swap     cc261aaf-9116-4ee7-8d03-5a8bf9248891 224d8459-05                                          
├─sda6 vfat     4D09-2144                            224d8459-06                                          
├─sda7 vfat     037E-F0E0                            224d8459-07                                          
└─sda8 ext4     022d5e0c-3aaf-4500-9637-ee9026aaef94 224d8459-08                                          

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1                1.7G  92% /mnt/boot-sav/sda1
/dev/sda2               34.3M  66% /mnt/boot-sav/sda2
/dev/sda3                 86G  25% /mnt/boot-sav/sda3
/dev/sda6                511M   0% /mnt/boot-sav/sda6
/dev/sda8               29.5G  63% /

Mount options (filtered): ______________________________________________________

/dev/sda1              ntfs        ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1
/dev/sda2              ntfs        ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1
/dev/sda3              ntfs        ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1
/dev/sda6              vfat        rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda8              ext4        rw,relatime,errors=remount-ro

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

search.fs_uuid 022d5e0c-3aaf-4500-9637-ee9026aaef94 root hd0,msdos8 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   022d5e0c-3aaf-4500-9637-ee9026aaef94
Ubuntu, with Linux 5.15.0-25-generic   022d5e0c-3aaf-4500-9637-ee9026aaef94
Windows Recovery Environment (on sda1)   3C2AF21F2AF1D63C
Windows 10 (on sda2)   5E30F2B230F28FEF
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda8/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda8 during installation
UUID=022d5e0c-3aaf-4500-9637-ee9026aaef94 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda7 during installation
UUID=037E-F0E0  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 162,121952057 = 174,077120512  boot/grub/grub.cfg                             1
 154,042659760 = 165,402046464  boot/grub/i386-pc/core.img                     1
 141,126949310 = 151,533907968  boot/vmlinuz                                   2
 141,126949310 = 151,533907968  boot/vmlinuz-5.15.0-25-generic                 2
 171,332862854 = 183,967260672  boot/initrd.img                                3
 171,332862854 = 183,967260672  boot/initrd.img-5.15.0-25-generic              3
 171,332862854 = 183,967260672  boot/initrd.img.old                            3

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

-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19 14:21 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15 23:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 23:50 41_custom

=========================== sda8/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi

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

Unknown BootLoader on sda4

00000000  0a 00 72 6e 66 44 6f 47  65 6e 65 72 69 63 57 57  |..rnfDoGenericWW|
00000010  70 0b 02 00 c8 98 02 00  0d 38 88 0e 49 48 54 4d  |p........8..IHTM|
00000020  4c 45 64 69 74 48 6f 73  74 57 57 57 70 0b 02 00  |LEditHostWWWp...|
00000030  98 94 02 00 08 00 fe 59  53 6e 61 70 52 65 63 74  |.......YSnapRect|
00000040  ff ff ff ff 5c 89 02 00  06 00 ad 2c 70 72 63 4e  |....\......,prcN|
00000050  65 77 57 57 ff ff ff ff  14 86 02 00 07 00 f8 3c  |ewWW...........<|
00000060  65 48 61 6e 64 6c 65 57  d4 0b 02 00 00 95 02 00  |eHandleW........|
00000070  0e 38 10 6f 49 48 54 4d  4c 45 64 69 74 48 6f 73  |.8.oIHTMLEditHos|
00000080  74 32 57 57 d4 0b 02 00  54 95 02 00 07 00 21 9e  |t2WW....T.....!.|
00000090  50 72 65 44 72 61 67 57  38 0c 02 00 b8 92 02 00  |PreDragW8.......|
000000a0  0f 38 a4 49 49 53 65 71  75 65 6e 63 65 4e 75 6d  |.8.IISequenceNum|
000000b0  62 65 72 57 38 0c 02 00  a8 8e 02 00 11 00 f4 90  |berW8...........|
000000c0  47 65 74 53 65 71 75 65  6e 63 65 4e 75 6d 62 65  |GetSequenceNumbe|
000000d0  72 57 57 57 ff ff ff ff  30 5f 02 00 08 00 eb 9b  |rWWW....0_......|
000000e0  6e 43 75 72 72 65 6e 74  ff ff ff ff 30 81 02 00  |nCurrent....0...|
000000f0  05 00 c8 f2 70 6e 4e 65  77 57 57 57 9c 0c 02 00  |....pnNewWWW....|
00000100  38 95 02 00 0c 38 c4 55  49 49 4d 45 53 65 72 76  |8....8.UIIMEServ|
00000110  69 63 65 73 9c 0c 02 00  b8 91 02 00 0c 00 cf 15  |ices............|
00000120  47 65 74 41 63 74 69 76  65 49 4d 4d ff ff ff ff  |GetActiveIMM....|
00000130  08 9a 02 00 0b 00 c8 6c  70 70 41 63 74 69 76 65  |.......lppActive|
00000140  49 4d 4d 57 00 0d 02 00  d4 92 02 00 1a 38 c2 d8  |IMMW.........8..|
00000150  49 53 65 6c 65 63 74 69  6f 6e 53 65 72 76 69 63  |ISelectionServic|
00000160  65 73 4c 69 73 74 65 6e  65 72 57 57 00 0d 02 00  |esListenerWW....|
00000170  b4 98 02 00 12 00 cd ed  42 65 67 69 6e 53 65 6c  |........BeginSel|
00000180  65 63 74 69 6f 6e 55 6e  64 6f 57 57 00 0d 02 00  |ectionUndoWW....|
00000190  98 73 02 00 10 00 41 ba  45 6e 64 53 65 6c 65 63  |.s....A.EndSelec|
000001a0  74 69 6f 6e 55 6e 64 6f  00 0d 02 00 c0 8d 02 00  |tionUndo........|
000001b0  15 00 b5 8f 4f 6e 53 65  6c 65 63 74 65 64 00 fe  |....OnSelected..|
000001c0  ff ff 82 fe ff ff 02 c0  c8 0b 00 58 7b 00 00 fe  |...........X{...|
000001d0  ff ff 05 fe ff ff 01 00  00 00 01 00 10 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200




Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda8 into the MBR of sda.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Il s'agit d'une installation en mode Bios et non pas d'une installation en mode EFI. C'est mentionné en clair dans cet extrait :

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

BIOS/UEFI firmware: V1.12(12.240) from Packard Bell
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).

Je suppose que c'est dû au fait que ce modèle était préinstallé Windows 7 en mode Bios et que tu as fait la mise à niveau gratuite vers Windows 10 qui était proposée à partir de 2015 (voir ici pour cette époque épique).
On peut voir la présence d'une partition sda6 au format FAT32 qui n'est pas utilisée. C'est sans doute une relique d'une précédente installation de Ubuntu. Cette partition sda6 n'est pas gênante même si elle est inutile.
Par contre, je te recommande de supprimer la partition sda5 qui est vue comme une partition SWAP mais qui n'est pas utilisée par ton Ubuntu installé : en effet, c'est un fichier /swapfile qui est utilisé comme on peut voir dans le fstab :

========================== sda8/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda8 during installation
UUID=022d5e0c-3aaf-4500-9637-ee9026aaef94 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda7 during installation
UUID=037E-F0E0  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

Si je te recommande de supprimer sda5, c'est qu'il pourrait entrainer la perte de ta partition racine de Ubuntu et de toutes les données qui sont dedans. Cela peut se produire lors d'une mise à niveau de Win10 et c'est dû au fait que sda5 se trouve en fin de partition étendue. Pour supprimer sda5, tu peux opérer depuis une session live avec Gparted mais tu seras obligé de désactiver la swap (*) parce que la session live l'utilise par défaut.

(*) comme je n'arrivais pas à trouver une doc déjà faite sur le sujet, je viens de me fendre de ce post qui détaille commant désactiver la swap depuis Gparted : https://forum.ubuntu-fr.org/viewtopic.p … #p22557673

EDIT : j'ai ajouté une ligne EasyNote TS13-HR-215FR dans la Liste des portables « Packard Bell »
Pour mémoire, ce modèle - visble sur cette page du site laptopspirit.fr - est équipé d'un processeur Intel Core i3-2330M. La partie graphique "Intel GMA HD 3000" est intégrée au processeur

Dernière modification par malbo (Le 28/04/2022, à 08:55)

Hors ligne

#9 Le 28/04/2022, à 17:26

Hp34

Re : Ubuntu 22.04 pas moyen de créer un raccourci

J'ai suivi la procédure avec le GParted d'une clef d'installation, mais j'ai dû me planter quelque part car j'ai réussi à bloquer le PC au démarrage.
Plutôt que de me lancer dans une périlleuse restauration du Grub ou autre manip fastidieuse, j'ai trouvé plus simple la méthode "Attila" ! supprimer les partitions, en recréer une et réinstaller W10 puis Ubuntu 22.04.

Du coup, voilà le boot-info d'une installation toute fraîche.
https://paste.ubuntu.com/p/XfHPVfNV93/

Hors ligne

#10 Le 28/04/2022, à 17:35

iznobe

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Bonsoir , tout ca ( recreer partitions et reinstall de windoz + ubuntu 22.04 ) pour creer des raccourcis ?

j'ai trouvé plus simple la méthode "Attila" !

c ' est carrement du GODZILLA ce niveau la non ? big_smile yikes

Dernière modification par iznobe (Le 28/04/2022, à 17:36)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne

#11 Le 28/04/2022, à 17:45

malbo

Re : Ubuntu 22.04 pas moyen de créer un raccourci

C'est moi qui t'ai poussé à la faute.
Je colle ci-dessous le Boot-info dont tu as donné le lien dans le post #9 :

boot-info-4ppa200                                              [20220428_1817]

============================== 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
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    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

sda3: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 22.04 LTS CurrentSession on sda5
OS#2:   Windows 10 on sda1

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.15.0-27-generic root=UUID=eb64c9c0-2515-4f59-9b93-865ae5fceec0 ro quiet splash vt.handoff=7
df -Th / : /dev/sda5        ext4   156G     54G   94G  37% /

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

BIOS/UEFI firmware: V1.12(12.240) from Packard Bell
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).



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

Disks info: ____________________________________________________________________

sda	: notGPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

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

Partitions info (2/3): _________________________________________________________

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

Partitions info (3/3): _________________________________________________________

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

fdisk -l (filtered): ___________________________________________________________

Disk sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk identifier: 0xfefdb34d
      Boot     Start       End   Sectors  Size Id Type
sda1            2048 153844228 153842181 73.4G  7 HPFS/NTFS/exFAT
sda2  *    153845760 154894335   1048576  512M ef EFI (FAT-12/16/32)
sda3       154896382 488396799 333500418  159G  5 Extended
sda5       154896384 488396799 333500416  159G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:250GB:scsi:512:512:msdos:ATA ST9250421ASG:;
1:1049kB:78.8GB:78.8GB:ntfs::;
2:78.8GB:79.3GB:537MB:fat32::boot, esp;
3:79.3GB:250GB:171GB:::;
5:79.3GB:250GB:171GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 ntfs     7E23307D2232DDF0                     fefdb34d-01                                
├─sda2 vfat     6D70-13A8                            fefdb34d-02                                
├─sda3                                               fefdb34d-03                                
└─sda5 ext4     eb64c9c0-2515-4f59-9b93-865ae5fceec0 fefdb34d-05                                

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda1               60.8G  17% /mnt/boot-sav/sda1
/dev/sda5               93.8G  35% /

Mount options (filtered): ______________________________________________________

/dev/sda1              fuseblk         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5              ext4            rw,relatime,errors=remount-ro

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

search.fs_uuid eb64c9c0-2515-4f59-9b93-865ae5fceec0 root hd0,msdos5 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   eb64c9c0-2515-4f59-9b93-865ae5fceec0
Ubuntu, with Linux 5.15.0-27-generic   eb64c9c0-2515-4f59-9b93-865ae5fceec0
Ubuntu, with Linux 5.15.0-25-generic   eb64c9c0-2515-4f59-9b93-865ae5fceec0
Windows 10 (on sda1)   7E23307D2232DDF0
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=eb64c9c0-2515-4f59-9b93-865ae5fceec0 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=6D70-13A8  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

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

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

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

           GiB - GB             File                                 Fragment(s)
 122,194648743 = 131,205505024  boot/grub/grub.cfg                             1
 133,997356415 = 143,878565888  boot/grub/i386-pc/core.img                     1
  80,331592560 = 86,255390720   boot/vmlinuz                                   1
  79,032222748 = 84,860203008   boot/vmlinuz-5.15.0-25-generic                 2
  80,331592560 = 86,255390720   boot/vmlinuz-5.15.0-27-generic                 1
  79,032222748 = 84,860203008   boot/vmlinuz.old                               2
  81,449306488 = 87,455526912   boot/initrd.img                                1
  80,879009247 = 86,843174912   boot/initrd.img-5.15.0-25-generic              1
  81,449306488 = 87,455526912   boot/initrd.img-5.15.0-27-generic              1
  80,879009247 = 86,843174912   boot/initrd.img.old                            1

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

-rwxr-xr-x 1 root root 18683 Apr 15 23:50 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15 23:50 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15 23:50 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15 23:50 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15 23:50 30_uefi-firmware
-rwxr-xr-x 1 root root   700 Feb 19 14:21 35_fwupd
-rwxr-xr-x 1 root root   214 Apr 15 23:50 40_custom
-rwxr-xr-x 1 root root   215 Apr 15 23:50 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
   ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
	chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sda5 into the MBR of sda.
Grub-efi would not be selected by default because legacy Windows detected.
Additional repair would be performed: unhide-bootmenu-10s

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Je pense que tout est correct là-dedans.

EDIT : par identification avec le Boot-info de ce post (création d'une partition EFI inutile puisqu'il s'agit d'une installation en mode BIOS, création d'une partition étendue contenant la partition racine), je déduis que tu as fait une installation de Ubuntu 22.04 avec le choix "installer Ubuntu 22.04 LTS à côté de ..." à l'étape "Type d'installation".

Dernière modification par malbo (Le 29/04/2022, à 08:38)

Hors ligne

#12 Le 30/04/2022, à 10:01

Hp34

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Non. J'ai utilisé une clef live USB, lancé Ubuntu, utilisé Gparted pour tout supprimer et créer une nouvelle partition formatée en NTFS.
Installation de Windows en supprimant cette partition, création d'une nouvelle (en fait l'installateur en créé 3).
Installation de Ubuntu 22.04 à côté de Windows en diminuant la partition Windows.
C'est tout.

Hors ligne

#13 Le 30/04/2022, à 10:13

iznobe

Re : Ubuntu 22.04 pas moyen de créer un raccourci

Bonjour , tu peux faire encore plus simple ( pour une prochaine fois , le cas echeant tongue ) :
installer windows directement en lui demandant d' utiliser tout le disque et de le formater , aller dans le gestionnaire de disque de windoz , reduire la taille de la partition C: , redemarrer et installer ubuntu dans le nouvel espace disponible .

Dernière modification par iznobe (Le 30/04/2022, à 10:14)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

En ligne