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 14/01/2022, à 09:01

Parménide

[résolu] Ecriture impossible sur partition NTFS

Bonjour,

Je ne parviens pas à écrire sur la partition NTFS de mon disque Windows 11. Je suis sous ubuntu 21.10

J'ai bien désactivé le démarrage rapide de windows
J'ai essayé en faisant "redémarrer", plutôt que arrêter depuis windows.
J'ai essayé en accédant en root
J'ai essayé de modifier les options de montage dans "disques" et via fstab, là j'ai ça "nosuid,nodev,nofail,x-gvfs-show"

J'ai fouillé un peu partout sur le forum

Rien n'a fonctionné, auriez vous une idée ?

D'avance merci.

Dernière modification par Parménide (Le 14/01/2022, à 16:19)


"Les hommes se trompent quand ils se croient libres ; cette opinion consiste en cela seul qu'ils sont conscients de leurs actions et ignorants des causes par lesquelles ils sont déterminés."
Spinoza

Hors ligne

#2 Le 14/01/2022, à 10:41

FrancisFDZ

Re : [résolu] Ecriture impossible sur partition NTFS

Bonjour,
Ce problème vient d'habitude d'un verrouillage en écriture de la part de Windows, mais il semble que tu ais pris les dispositions nécessaires.
Une autre possibilité serait liée aux paramètres de montage : peux tu fournir la réponse à

cat /etc-fstab

ou ll texte de la commande manuelle s'il y a lieu.


-- On peut avoir des raisons de se plaindre et n'avoir pas raison de se plaindre --
[Victor Hugo]

Hors ligne

#3 Le 14/01/2022, à 11:45

malbo

Re : [résolu] Ecriture impossible sur partition NTFS

Bonjour,
Depuis une session de ton Ubuntu 21.10 installé, je te prie de faire un Boot-info et de donner l'URL de ce Boot-info dans ta réponse.

Hors ligne

#4 Le 14/01/2022, à 14:58

Parménide

Re : [résolu] Ecriture impossible sur partition NTFS

Merci pour vos réponses

cat /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/nvme0n1p5 during installation
UUID=515f75d6-8d9a-42b6-9c41-ec59e6e17dd6 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=7689-6316  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/nvme0n1p6 during installation
UUID=5b071035-5a9e-49a5-985c-6fe6546bc3ad /home           ext4    defaults        0       2
# swap was on /dev/nvme0n1p7 during installation
UUID=bf362117-eb93-4393-9960-73bea3b3e7d4 none            swap    sw              0       0
/dev/disk/by-uuid/EC9091C0909191A6 /mnt/EC9091C0909191A6 auto nosuid,nodev,nofail,x-gvfs-show 0 0

https://paste.ubuntu.com/p/MGSJKjx8Y9/


"Les hommes se trompent quand ils se croient libres ; cette opinion consiste en cela seul qu'ils sont conscients de leurs actions et ignorants des causes par lesquelles ils sont déterminés."
Spinoza

Hors ligne

#5 Le 14/01/2022, à 15:02

malbo

Re : [résolu] Ecriture impossible sur partition NTFS

Je colle ci-dessous le contenu du Boot-info dont tu as donné le lien dans le post #4 :

boot-info-4ppa161                                              [20220114_1352]

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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/nvme0n1.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi 
                       /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi 
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi 
                       /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi 
                       /efi/Microsoft/Boot/bootmgr.efi

nvme0n1p2: _____________________________________________________________________

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

nvme0n1p3: _____________________________________________________________________

    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 10 or 11
    Boot files:        /Windows/System32/winload.exe

nvme0n1p4: _____________________________________________________________________

    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:        

nvme0n1p5: _____________________________________________________________________

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

nvme0n1p6: _____________________________________________________________________

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

nvme0n1p7: _____________________________________________________________________

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


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

OS#1:   L'OS actuellement utilisé - Ubuntu 21.10 CurrentSession on nvme0n1p5
OS#2:   Windows 10 or 11 on nvme0n1p3

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

CPU architecture: 64-bit
Video: GA104[GeForceRTX3060TiLiteHashRate]
Cezanne from   NVIDIA Corporation
  Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.13.0-25-generic root=UUID=515f75d6-8d9a-42b6-9c41-ec59e6e17dd6 ro quiet splash nomodeset vt.handoff=7
df -Th / : /dev/nvme0n1p5   ext4    16G     12G  3,1G  80% /


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

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

efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0000
Boot0000* Windows Boot Manager	HD(1,GPT,85b7c27a-59ac-4d0d-8f3f-2b3756cf18bc,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...A................
Boot0003* ubuntu	HD(1,GPT,85b7c27a-59ac-4d0d-8f3f-2b3756cf18bc,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)



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

Disks info: ____________________________________________________________________

nvme0n1	: is-GPT,	no-BIOSboot,	has---ESP, 	not-usb,	not-mmc, has-os,	has-win,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p5	: is-os,	64, apt-get,	signed grub-pc grub-efi ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
nvme0n1p1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	not-far
nvme0n1p3	: is-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p4	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios
nvme0n1p6	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p5	: isnotESP,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p1	: is---ESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p3	: isnotESP,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	no-bmgr,	notwinboot
nvme0n1p4	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot
nvme0n1p6	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p5	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	nvme0n1
nvme0n1p1	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p3	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p4	: not-sepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1
nvme0n1p6	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 68B230B7-909E-4716-A5DF-195E14C607A3
               Start        End    Sectors   Size Type
nvme0n1p1       2048     206847     204800   100M EFI System
nvme0n1p2     206848     239615      32768    16M Microsoft reserved
nvme0n1p3     239616 1888859713 1888620098 900.6G Microsoft basic data
nvme0n1p4 1952348160 1953521663    1173504   573M Windows recovery environment
nvme0n1p5 1888860160 1922062335   33202176  15.8G Linux filesystem
nvme0n1p6 1922062336 1946476543   24414208  11.6G Linux filesystem
nvme0n1p7 1946476544 1952348159    5871616   2.8G Linux swap
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

nvme0n1:1000GB:nvme:512:512:gpt:KINGSTON SA2000M81000G:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:967GB:967GB:ntfs:Basic data partition:msftdata;
5:967GB:984GB:17.0GB:ext4::;
6:984GB:997GB:12.5GB:ext4::;
7:997GB:1000GB:3006MB:linux-swap(v1)::swap;
4:1000GB:1000GB:601MB:ntfs::hidden, diag;

Free space (filtered): _________________________________________________________

nvme0n1:953870MiB:nvme:512:512:gpt:KINGSTON SA2000M81000G:;
1:0.02MiB:1.00MiB:0.98MiB:free;
1:922295MiB:922295MiB:0.22MiB:free;
1:953868MiB:953870MiB:1.69MiB:free;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
nvme0n1                                                                                              
├─nvme0n1p1 vfat     7689-6316                            85b7c27a-59ac-4d0d-8f3f-2b3756cf18bc       EFI system partition
├─nvme0n1p2                                               43dbf07e-6e50-4e3f-94bd-fa9204db3cb0       Microsoft reserved partition
├─nvme0n1p3 ntfs     EC9091C0909191A6                     c9262d4f-9767-42ed-8f3a-06767a5145c1       Basic data partition
├─nvme0n1p4 ntfs     067E87177E86FEA5                     f749493c-82e0-43b5-a347-8435fb8da1da       
├─nvme0n1p5 ext4     515f75d6-8d9a-42b6-9c41-ec59e6e17dd6 0d1cbd88-628c-4bf4-99e4-849b7ad85766       
├─nvme0n1p6 ext4     5b071035-5a9e-49a5-985c-6fe6546bc3ad dee07e1a-a914-40c1-add7-5b4422cf7eaf       
└─nvme0n1p7 swap     bf362117-eb93-4393-9960-73bea3b3e7d4 75cecc5b-21ac-47be-9644-5f2422fe48ed       

df (filtered): _________________________________________________________________

                   Avail Use% Mounted on
nvme0n1p3         545.9G  39% /mnt/EC9091C0909191A6
nvme0n1p4            86M  85% /mnt/boot-sav/nvme0n1p4
nvme0n1p5             3G  75% /
nvme0n1p6           2.6G  72% /home

Mount options: __________________________________________________________________

nvme0n1p3         ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p4         rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p5         rw,relatime,errors=remount-ro
nvme0n1p6         rw,relatime

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

search.fs_uuid 515f75d6-8d9a-42b6-9c41-ec59e6e17dd6 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu   515f75d6-8d9a-42b6-9c41-ec59e6e17dd6
Ubuntu, avec Linux 5.13.0-25-generic   515f75d6-8d9a-42b6-9c41-ec59e6e17dd6
Ubuntu, avec Linux 5.13.0-23-generic   515f75d6-8d9a-42b6-9c41-ec59e6e17dd6
Windows Boot Manager (sur nvme0n1p1)   osprober-efi-7689-6316
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p5/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=515f75d6-8d9a-42b6-9c41-ec59e6e17dd6 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=7689-6316  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/nvme0n1p6 during installation
UUID=5b071035-5a9e-49a5-985c-6fe6546bc3ad /home           ext4    defaults        0       2
# swap was on /dev/nvme0n1p7 during installation
UUID=bf362117-eb93-4393-9960-73bea3b3e7d4 none            swap    sw              0       0
/dev/disk/by-uuid/EC9091C0909191A6 /mnt/EC9091C0909191A6 auto nosuid,nodev,nofail,x-gvfs-show 0 0

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

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

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

           GiB - GB             File                                 Fragment(s)
 906,750797272 = 973,616254976  boot/grub/grub.cfg                             3
 905,571048737 = 972,349509632  boot/vmlinuz                                   1
 911,578861237 = 978,800349184  boot/vmlinuz-5.13.0-23-generic                 1
 905,571048737 = 972,349509632  boot/vmlinuz-5.13.0-25-generic                 1
 911,578861237 = 978,800349184  boot/vmlinuz.old                               1
 911,031215668 = 978,212319232  boot/initrd.img                                1
 910,803707123 = 977,968033792  boot/initrd.img-5.13.0-23-generic              2
 911,031215668 = 978,212319232  boot/initrd.img-5.13.0-25-generic              1
 910,803707123 = 977,968033792  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18151 sept.  2 14:37 10_linux
-rwxr-xr-x 1 root root 43031 sept.  2 14:37 10_linux_zfs
-rwxr-xr-x 1 root root 12894 sept.  2 14:37 20_linux_xen
-rwxr-xr-x 1 root root 12059 sept.  2 14:37 30_os-prober
-rwxr-xr-x 1 root root  1424 sept.  2 14:37 30_uefi-firmware
-rwxr-xr-x 1 root root   214 sept.  2 14:37 40_custom
-rwxr-xr-x 1 root root   216 sept.  2 14:37 41_custom




Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would purge (in order to unsign-grub) and reinstall the grub-efi of
nvme0n1p5,
using the following options:        nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s  use-standard-efi-file    

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 21.10 CurrentSession entry (nvme0n1p1/efi/****/grub****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.

If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\grub****.efi (**** will be updated in the final message)

On voit le malaise dans cet extrait :

Mount options: __________________________________________________________________

nvme0n1p3         ro,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096

La mention "ro" signifie que le montage a été fait en lecture seule (Read Only). C'est caractéristique d'une partition NTFS placée en mode hibernation par Windows.

Dernière modification par malbo (Le 14/01/2022, à 15:06)

Hors ligne

#6 Le 14/01/2022, à 16:19

Parménide

Re : [résolu] Ecriture impossible sur partition NTFS

Merci pour le diagnostic :-)

Pour la solution, j'ai trouvé une commande à passer sous windows (en administrateur), pour désactiver l'hibernation

powercfg -H off

Ca semble marcher ^

Merci !!


"Les hommes se trompent quand ils se croient libres ; cette opinion consiste en cela seul qu'ils sont conscients de leurs actions et ignorants des causes par lesquelles ils sont déterminés."
Spinoza

Hors ligne

#7 Le 14/01/2022, à 17:59

malbo

Re : [résolu] Ecriture impossible sur partition NTFS

Cette commande windows "powercfg -H off" supprime carrément la fonction hibernation de Windows 11. Le problème est réglé.

Hors ligne