Résolu le 9-03-25 DD se formate en root

Postez ici toutes vos demandes d’assistance générale concernant le fonctionnement de Linux Mint, qui n'entrent pas dans les autres rubriques.
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

DD se formate en root

Message par mimile1817 »

Bonjour
Avec Gparted, j'ai formaté un DD en ext4 pour recevoir les instantanés de timeshift.
Mais je ne peux rien y mettre d'autre, car je n'ai pas l'autorisation d'y copier ou créer quelque chose.
Pouvez vous me dire comment faire pour pouvoir formater en gardant la propriété ?
cordialement
Modifié en dernier par mimile1817 le dim. 9 mars 2025 07:43, modifié 1 fois.
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Je l'ai formaté, hier, puis j'ai reglé timeshift pour qu'il soit sur ce DD au lieu de la partition système.
Là, je veux y copier un fichier, mais pas possible car j'ai pas d'autorisation, et quand je regarde dans propriétés, il est root.
Oui, il est en interne.
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Code : Tout sélectionner

jean-francois@jeanfrancois-MS-7A38:/media/jean-francois$ ls -l
total 176
drwx------ 2 root          root            4096 févr. 25 16:45 'Disque local'
drwxrwxrwx 1 jean-francois jean-francois  40960 mars   6 17:22  Données
drwxr-xr-x 6 jean-francois jean-francois 131072 mars   6 15:05  exFAT-540G
drwxr-xr-x 4 root          root            4096 mars   4 13:52  ext4-150
jean-francois@jeanfrancois-MS-7A38:/media/jean-francois$ 
C'est le DD en ext4, il n'est pas dans fstab, il s'est monté quand j'ai cliqué dessus, mais hier j'ai cru qu'il se montait automatiquement avec timeshift.
Il est interne, donc branché en permanence.
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

au point3, j'ai cette réponse :

Code : Tout sélectionner

jean-francois@jeanfrancois-MS-7A38:~$ sudo mount /backup
mount: (hint) your fstab has been modified, but systemd still uses
       the old version; use 'systemctl daemon-reload' to reload.
jean-francois@jeanfrancois-MS-7A38:~$ 
je fais

Code : Tout sélectionner

systemctl daemon-reload
?
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Si, il est bien démonté, je ne le vois plus dans nemo
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

je l'ai fait, puis refait le 3 et :

Code : Tout sélectionner

jean-francois@jeanfrancois-MS-7A38:~$ sudo mount /backup
[sudo] Mot de passe de jean-francois :       
mount: /backup: /dev/sdb1 déjà monté sur /backup.
       dmesg(1) may have more information after failed mount system call.
jean-francois@jeanfrancois-MS-7A38:~$ 
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Code : Tout sélectionner

jean-francois@jeanfrancois-MS-7A38:~$ sudo 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=7055492k,nr_inodes=1763873,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1419300k,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p6 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,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=7091)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,nosuid,nodev,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
/dev/nvme0n1p2 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1419296k,nr_inodes=354824,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1 on /media/jean-francois/Données type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
/dev/sda2 on /media/jean-francois/exFAT-540G type exfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,iocharset=utf8,errors=remount-ro,uhelper=udisks2)
portal on /root/.cache/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
gvfsd-fuse on /root/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sdb1 on /backup type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,user,x-systemd.automount)
jean-francois@jeanfrancois-MS-7A38:~$ 

PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Code : Tout sélectionner

jean-francois@jeanfrancois-MS-7A38:~$ sudo chown -R $USER:$USER /backup
[sudo] Mot de passe de jean-francois :       
jean-francois@jeanfrancois-MS-7A38:~$ ls -l /backup/test
ls: impossible d'accéder à '/backup/test': Aucun fichier ou dossier de ce nom
jean-francois@jeanfrancois-MS-7A38:~$ 
Ce qui est curieux, c'est que je ne le vois pas dans Nemo.
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Code : Tout sélectionner

jean-francois@jeanfrancois-MS-7A38:~$ ls -l /
total 88
drwxr-xr-x   4 jean-francois jean-francois  4096 mars   4 13:52 backup
lrwxrwxrwx   1 root          root              7 févr. 15 22:43 bin -> usr/bin
drwxr-xr-x   2 root          root           4096 févr. 26  2024 bin.usr-is-merged
drwxr-xr-x   4 root          root           4096 mars   5 10:13 boot
drwxr-xr-x   2 root          root           4096 févr. 15 22:47 cdrom
drwxr-xr-x  21 root          root           4800 mars   6 14:28 dev
drwxr-xr-x 148 root          root          12288 mars   6 19:12 etc
drwxr-xr-x   3 root          root           4096 févr. 15 22:47 home
lrwxrwxrwx   1 root          root              7 févr. 15 22:43 lib -> usr/lib
lrwxrwxrwx   1 root          root              9 févr. 15 22:43 lib64 -> usr/lib64
drwxr-xr-x   2 root          root           4096 avril  8  2024 lib.usr-is-merged
drwx------   2 root          root          16384 févr. 15 22:43 lost+found
drwxr-xr-x   4 root          root           4096 févr. 21 11:25 media
drwxr-xr-x   2 root          root           4096 janv. 10 17:16 mnt
drwxr-xr-x   2 root          root           4096 janv. 10 17:16 opt
dr-xr-xr-x 420 root          root              0 mars   6 15:27 proc
drwx------   9 root          root           4096 févr. 25 06:22 root
drwxr-xr-x  36 root          root            920 mars   6 19:06 run
lrwxrwxrwx   1 root          root              8 févr. 15 22:43 sbin -> usr/sbin
drwxr-xr-x   2 root          root           4096 mars  31  2024 sbin.usr-is-merged
drwxr-xr-x   2 root          root           4096 janv. 10 17:16 srv
dr-xr-xr-x  13 root          root              0 mars   6 15:27 sys
drwxrwxrwt  22 root          root           4096 mars   6 21:00 tmp
drwxr-xr-x  12 root          root           4096 janv. 10 17:16 usr
drwxr-xr-x  11 root          root           4096 févr. 15 21:55 var
jean-francois@jeanfrancois-MS-7A38:~$ 
jean-francois@jeanfrancois-MS-7A38:~$ touch /backup/test
jean-francois@jeanfrancois-MS-7A38:~$ 
jean-francois@jeanfrancois-MS-7A38:~$ ls -l /backup
total 20
drwx------ 2 jean-francois jean-francois 16384 mars   4 13:45 lost+found
-rw-rw-r-- 1 jean-francois jean-francois     0 mars   6 21:00 test
drwxr-xr-x 9 jean-francois jean-francois  4096 mars   4 14:00 timeshift
jean-francois@jeanfrancois-MS-7A38:~$ 
Je ne vois toujours pas le DD !
Modifié en dernier par mimile1817 le jeu. 6 mars 2025 21:03, modifié 1 fois.
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Avatar du membre
mimile1817
Messages : 152
Enregistré le : sam. 18 janv. 2020 22:59
Localisation : Bas Berry

Re: DD se formate en root

Message par mimile1817 »

Comment je fais pour le monter, vu que je ne le vois pas. Je redémarre ?

Bon, ben j'ai redémarré, mais le dd en exFAT n'est pas monté et le dd timeshift n'apparait même pas dans Nemo.
PC : MSI B450M Pro | Linux Mint 22.3 Zena | Cinnamon v: 6.4.8 | 6.17.0-41-generic x86_64 | AMD Ryzen 5 5500GT with Radeon Graphics | 16 GiB | AMD Cezanne [Radeon Vega Series]

Double boot win11
Répondre