Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: SD usable in Window, not in Leap

  1. #11
    Join Date
    Jul 2018
    Location
    Loma Linda, Mo
    Posts
    757

    Default Re: SD usable in Window, not in Leap

    I bet is is read only because windows marked it as "in use".
    Shutdown in windows does not really shutdown - it hibernates.

    If you want to use it - try reboot in windows which will mark things as "closed"

    Did you successfully eject it from windows?.
    OpenSUSE 15.4 with VirtualBox VM's (XP, 10, 11, Ubuntu MATE 22.04, Manjaro, 15.4, Tumbleweed)
    Pi4 with OpenSUSE 15.4
    Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
    Linux since 1995 (Mandrake, Fedora, CentOS, OpenSUSE)

  2. #12
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,944

    Lightbulb Re: SD usable in Window, not in Leap

    Quote Originally Posted by larryr View Post
    I bet is is read only because windows marked it as "in use".
    Or, the friends in Redmond had set the “ReadOnly” flag –
    Code:
     > udisksctl info --block-device /dev/sdf
    /org/freedesktop/UDisks2/block_devices/sdf:
      org.freedesktop.UDisks2.Block:
        Configuration:              []
        CryptoBackingDevice:        '/'
        Device:                     /dev/sdf
        DeviceNumber:               2128
        Drive:                      '/org/freedesktop/UDisks2/drives/Generic__USB3_2e0_CRW_SD_201006010301'
        HintAuto:                   true
        HintIconName:               
        HintIgnore:                 false
        HintName:                   
        HintPartitionable:          true
        HintSymbolicIconName:       
        HintSystem:                 false
        Id:                         
        IdLabel:                    
        IdType:                     
        IdUUID:                     
        IdUsage:                    
        IdVersion:                  
        MDRaid:                     '/'
        MDRaidMember:               '/'
        PreferredDevice:            /dev/sdf
        ReadOnly:                   false
        Size:                       63864569856
        Symlinks:                   /dev/disk/by-id/usb-Generic-_USB3.0_CRW-SD_201006010301-0:2
                                    /dev/disk/by-path/pci-0000:01:00.0-usb-0:4:1.0-scsi-0:0:0:2
        UserspaceMountOptions:      
      org.freedesktop.UDisks2.PartitionTable:
        Partitions:         ['/org/freedesktop/UDisks2/block_devices/sdf1']
        Type:               dos
     > udisksctl info --block-device /dev/sdf1
    /org/freedesktop/UDisks2/block_devices/sdf1:
      org.freedesktop.UDisks2.Block:
        Configuration:              []
        CryptoBackingDevice:        '/'
        Device:                     /dev/sdf1
        DeviceNumber:               2129
        Drive:                      '/org/freedesktop/UDisks2/drives/Generic__USB3_2e0_CRW_SD_201006010301'
        HintAuto:                   true
        HintIconName:               
        HintIgnore:                 false
        HintName:                   
        HintPartitionable:          true
        HintSymbolicIconName:       
        HintSystem:                 false
        Id:                         by-uuid-F01F-DD02
        IdLabel:                    SD QUATTRO
        IdType:                     exfat
        IdUUID:                     F01F-DD02
        IdUsage:                    filesystem
        IdVersion:                  1.0
        MDRaid:                     '/'
        MDRaidMember:               '/'
        PreferredDevice:            /dev/sdf1
        ReadOnly:                   false
        Size:                       63847792640
        Symlinks:                   /dev/disk/by-id/usb-Generic-_USB3.0_CRW-SD_201006010301-0:2-part1
                                    /dev/disk/by-label/SD\x20QUATTRO
                                    /dev/disk/by-partuuid/4c6faf3d-01
                                    /dev/disk/by-path/pci-0000:01:00.0-usb-0:4:1.0-scsi-0:0:0:2-part1
                                    /dev/disk/by-uuid/F01F-DD02
        UserspaceMountOptions:      
      org.freedesktop.UDisks2.Filesystem:
        MountPoints:        
        Size:               0
      org.freedesktop.UDisks2.Partition:
        Flags:              0
        IsContained:        false
        IsContainer:        false
        Name:               
        Number:             1
        Offset:             16777216
        Size:               63847792640
        Table:              '/org/freedesktop/UDisks2/block_devices/sdf'
        Type:               0x07
        UUID:               4c6faf3d-01
     >
    But, the only way I've found to toggle the ReadOnly flag is, to move the physical “Write Protect” switch on the SD Card.
    • Most Card Readers have a simple physical pin which detects the state of the “Write Protect” switch on the SD Cards –
    • If that mechanical feature of the Card Reader is faulty then …

  3. #13
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,944

    Question Re: SD usable in Window, not in Leap

    Quote Originally Posted by ionmich View Post
    I bought a Kingston 120 GB micro SD card today.
    Are you using a “microSD Adaptor”?
    • All my SanDisk Adaptors have a physical Write Protect switch which, over time, can become loose and easily moveable – for example when inserting the Adaptor into a Card Reader …

  4. #14
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,944

    Default Re: SD usable in Window, not in Leap

    Quote Originally Posted by ionmich View Post
    I bought a Kingston 120 GB micro SD card today.
    There are rumours that, the fsck tool for exFAT can clear mysterious Read-Only flags which may in fact be “dirty” bits –
    Code:
     # fsck.exfat --verbose /dev/sdf1
    exfatprogs version : 1.0.4
    volume label [SD QUATTRO]
    sector size:  512.00 B
    cluster size: 128.00 KB
    volume size:  59.46 GB
    /dev/sdf1: clean. directories 6, files 10
     #

  5. #15
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,798

    Default Re: SD usable in Window, not in Leap

    [QUOTE=karlmistelberger;3139385]Run these commands and post all as follows:
    Code:
    erlangen:~ # df -h /FR735/ 
    Filesystem      Size  Used Avail Use% Mounted on 
    /dev/sdc         11M  7.1M  3.1M  70% /FR735 
    erlangen:~ # fdisk -l /dev/sdc 
    Disk /dev/sdc: 10.08 MiB, 10570752 bytes, 20646 sectors
    Disk model: FR735XT Flash    
    Units: sectors of 1 * 512 = 512 bytes 
    Sector size (logical/physical): 512 bytes / 512 bytes 
    I/O size (minimum/optimal): 512 bytes / 512 bytes 
    Disklabel type: dos 
    Disk identifier: 0x00000000 
    erlangen:~ # lsblk -O /dev/sdc 
    NAME KNAME PATH MAJ:MIN FSAVAIL FSSIZE FSTYPE FSUSED FSUSE% FSROOTS FSVER MOUNTPOINT MOUNTPOINTS LABEL UUID PTUUID PTTYPE PARTTYPE PARTTYPENAME PARTLABEL PARTUUID PARTFLAGS  RA RO RM HOTPLUG MODEL SERIAL  SIZE STATE OWNER GROUP MODE      
     ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE TYPE DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO WSAME WWN RAND PKNAME HCTL       TRAN SUBSYSTEMS  REV VENDOR ZONED DAX 
    sdc  sdc   /dev/sdc 
                      8:32       3M    10M vfat       7M    70% /       FAT16 /FR735     /FR735      FR735                                                                       512  0  1       1 FR735 Garmin 10.1M runni root  disk  brw-rw----
             0    512      0     512     512    1 bfq         2 disk        0        0B       0B         0    0B        1        6:0:0:0    usb  block:scsi:usb:pci 
                                                                                                                                                                                                                                                  
                                                                                                                                                            1.00 Garmin none    0 
    erlangen:~ #
    Code:
    # fdisk -l /dev/sdb: 116,5 GiB, 125096165376 bytes, 244328448 sectors
    Disk model: USB SD Reader   
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x5bed2f5a
    
    
    Device     Boot     Start       End   Sectors   Size Id Type
    /dev/sdb1  *         2048    104447    102400    50M  7 HPFS/NTFS/exFAT
    /dev/sdb2          104448 249041623 248937176 118,7G  7 HPFS/NTFS/exFAT
    /dev/sdb3       249042944 250064895   1021952   499M 27 Hidden NTFS WinRE
    
    
    
    # lsblk -O /dev/sdb
    NAME KNAME PATH MAJ:MIN FSAVAIL FSSIZE FSTYPE FSUSED FSUSE% FSROOTS FSVER MOUNTPOINT MOUNTPOINTS LABEL UUID                                 PTUUID                               PTTYPE PARTTYPE PARTTYPENAME PARTLABEL PARTUUID                             PARTFLAGS  RA RO RM HOTPLUG MODEL SERIAL   SIZE STATE OWNER GROUP MODE       ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE TYPE DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO WSAME WWN RAND PKNAME HCTL       TRAN SUBSYSTEMS  REV VENDOR ZONED DAX
    sdb  sdb   /dev/sdb
    │                 8:16                                                                                                                      5bed2f5a                             dos                                                                                   512  1  1       1 USB S 058F31 116,5G runni root  disk  brw-rw----         0    512      0     512     512    1 bfq         2 disk        0        0B       0B         0    0B        1        8:0:0:0    usb  block:scsi:usb:pci
    │                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1.00 Generi none    0
    ├─sdb1
    │    sdb1  /dev/sdb1
    │                 8:17                 ntfs                                                      System Reserved
    │                                                                                                      86622AF7622AEC1D                     5bed2f5a                             dos    0x7      HPFS/NTFS/exFAT
    │                                                                                                                                                                                                                       5bed2f5a-01                          0x80      512  1  1       1                 50M       root  disk  brw-rw----         0    512      0     512     512    1 bfq         2 part        0        0B       0B         0    0B        1 sdb                    block:scsi:usb:pci
    │                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            none    0
    └─sdb2
         sdb2  /dev/sdb2
                      8:18                 ntfs                                                            60E82BC0E82B9378                     5bed2f5a                             dos                                                                                   512  1  1       1              116,5G       root  disk  brw-rw----         0    512      0     512     512    1 bfq         2 part        0        0B       0B         0    0B        1 sdb                    block:scsi:usb:pci
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 none    0

    df -h /FR735/ won't work since the drive does not mount, and I don't have that directory. But I did try to mount it to /mnt, and ...
    Code:
    # mount /dev/sdb /mnt
    FUSE exfat 1.3.0
    WARN: '/dev/sdb' is write-protected, mounting read-only.
    ERROR: exFAT file system is not found.

  6. #16
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,798

    Default Re: SD usable in Window, not in Leap

    Quote Originally Posted by dcurtisfra View Post
    Are you using a “microSD Adaptor”?
    • All my SanDisk Adaptors have a physical Write Protect switch which, over time, can become loose and easily moveable – for example when inserting the Adaptor into a Card Reader …
    Yes I am and I tried it in both positions. Brand new microSD and adaptor.

  7. #17
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,798

    Default Re: SD usable in Window, not in Leap

    Quote Originally Posted by dcurtisfra View Post
    There are rumours that, the fsck tool for exFAT can clear mysterious Read-Only flags which may in fact be “dirty” bits –
    Code:
     # fsck.exfat --verbose /dev/sdf1
    exfatprogs version : 1.0.4
    volume label [SD QUATTRO]
    sector size:  512.00 B
    cluster size: 128.00 KB
    volume size:  59.46 GB
    /dev/sdf1: clean. directories 6, files 10
     #
    Code:
    # fsck.exfat --verbose /dev/sdb1
    exfatprogs version : 1.1.3
    failed to find exfat file system
    boot region is corrupted. try to restore the region from backup. Fix (y/N)? n
    ion-office:/home/ion #
    It automatically responded "n".

  8. #18
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,798

    Default Re: SD usable in Window, not in Leap

    In this convoluted epic of personal stupidity I have managed to destroy a properly licensed copy of Windows 10 and to have bought an expensive microSD card that I can't use. I have learned something. My brain is no match for the multitude of system programmers at Microsoft. But on the plus side, I hardly ever use Windows and I now have a decent Fujitsu second hand notebook that runs 15.4.

    Thanks to all for your help, and when I calm down I might try some more experimentation.

  9. #19
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    4,000

    Default Re: SD usable in Window, not in Leap

    Quote Originally Posted by ionmich View Post
    In this convoluted epic of personal stupidity I have managed to destroy a properly licensed copy of Windows 10 and to have bought an expensive microSD card that I can't use. I have learned something. My brain is no match for the multitude of system programmers at Microsoft. But on the plus side, I hardly ever use Windows and I now have a decent Fujitsu second hand notebook that runs 15.4.
    Random write actions are never a good idea. Prepare a Windows 10 iso and try to fix the install: https://forums.opensuse.org/showthre...or-Free-Update Enter your product key if available.

    https://www.howtogeek.com/244678/you...se-windows-10/

    Search for https://www.google.com/search?client...+readonly+ntfs
    i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma

  10. #20
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,798

    Default Re: SD usable in Window, not in Leap

    Quote Originally Posted by karlmistelberger View Post
    Random write actions are never a good idea. Prepare a Windows 10 iso and try to fix the install: https://forums.opensuse.org/showthre...or-Free-Update Enter your product key if available.

    https://www.howtogeek.com/244678/you...se-windows-10/

    Search for https://www.google.com/search?client...+readonly+ntfs
    Thanks for your suggestions.

    After I had cooled down a bit I booted the SD in question which was somewhat smaller than my original Win10 install size. I didn't think it would boot properly being several GB's smaller. But it did boot and after several updates and reboots, it runs. I have just backed it up to an old IDE drive via USB which took forever and will not be using it soon. I decided that since I hardly ever use Windows and it's a small notebook SSD I would just have 15.4 Leap installed. While I am reasonably sure that Leap co-exists with Windows, I am never sure what tricks Microsoft will engage in killing all OS competition.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •