Hi,
I’d like to create an Opensuse installation media.
So I downloaded the network image, and wrote it to a microsd card, that is connected to the PC via a USB card reader.
The card functions well. Under Windows, it has no problems.
However, after the install image is written to the card, my currently installed Linux (Opensuse 15.2) can’t read it.
It shows up as “/dev/sdc” under /dev
# ls -la /dev/sd*
brw-rw---- 1 root disk 8, 0 Dec 9 12:58 /dev/sda
brw-rw---- 1 root disk 8, 1 Dec 9 13:21 /dev/sda1
brw-rw---- 1 root disk 8, 16 Dec 9 12:58 /dev/sdb
brw-rw---- 1 root disk 8, 17 Dec 9 12:58 /dev/sdb1
brw-rw---- 1 root disk 8, 32 Dec 9 13:26 /dev/sdc
But fdisk says No medium found.
# fdisk /dev/sdc
Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
fdisk: cannot open /dev/sdc: No medium found
dmesg logs:
1648.974831] usb 1-4: new high-speed USB device number 3 using xhci_hcd
1649.148370] usb 1-4: New USB device found, idVendor=05e3, idProduct=0723, bcdDevice=94.51
1649.148372] usb 1-4: New USB device strings: Mfr=3, Product=4, SerialNumber=0
1649.148374] usb 1-4: Product: USB Storage
1649.148375] usb 1-4: Manufacturer: Generic
1649.159392] usb-storage 1-4:1.0: USB Mass Storage device detected
1649.159497] usb-storage 1-4:1.0: Quirks match for vid 05e3 pid 0723: 8000
1649.159525] scsi host10: usb-storage 1-4:1.0
1650.186857] scsi 10:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0
1650.187148] sd 10:0:0:0: Attached scsi generic sg3 type 0
1650.466029] sd 10:0:0:0: [sdc] 7744512 512-byte logical blocks: (3.97 GB/3.69 GiB)
1650.467542] sd 10:0:0:0: [sdc] Write Protect is off
1650.467544] sd 10:0:0:0: [sdc] Mode Sense: 03 00 00 00
1650.469566] sd 10:0:0:0: [sdc] No Caching mode page found
1650.469568] sd 10:0:0:0: [sdc] Assuming drive cache: write through
1650.490451] sdc: sdc1
1650.494616] sd 10:0:0:0: [sdc] Attached SCSI removable disk
1654.942185] sd 10:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
1654.942187] sd 10:0:0:0: [sdc] tag#0 Sense Key : Medium Error [current]
1654.942189] sd 10:0:0:0: [sdc] tag#0 Add. Sense: Address mark not found for id field
1654.942191] sd 10:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 76 2b ff 00 00 01 00
1654.942193] blk_update_request: I/O error, dev sdc, sector 7744511 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
1659.280067] sd 10:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
1659.280070] sd 10:0:0:0: [sdc] tag#0 Sense Key : Not Ready [current]
1659.280072] sd 10:0:0:0: [sdc] tag#0 Add. Sense: Medium not present
1659.280074] sd 10:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 76 2b f8 00 00 01 00
1659.280076] blk_update_request: I/O error, dev sdc, sector 7744504 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
1659.280079] Buffer I/O error on dev sdc, logical block 968063, async page read
If I boot to Windows, and use partition magic delete all partitions from the card and fill all sectors with 0, then it works under Linux as well.
Until I write the installation image again.
Why would my Linux be unable to read its own installation media?