[PLUG] Imaging CF card...

michael at robinson-west.com michael at robinson-west.com
Thu Aug 8 16:13:32 UTC 2019


[mrobinson at turion-roch-robinson-west-com ~]$ sudo fdisk -l /dev/sdb

Disk /dev/sdb: 1018 MB, 1018773504 bytes, 1989792 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x001c2022

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63     1989791      994864+   c  W95 FAT32 (LBA)
[mrobinson at turion-roch-robinson-west-com ~]$

The partition starts at 63, how do I use losetup?

August 8, 2019 10:42 AM, "Ken Stephens" <kennethgstephens at gmail.com> wrote:

> Micheal,
> 
> You using losetup to mount the image to a /dev/loop0?
> 
> Ken
> 
> On Thu, Aug 8, 2019 at 8:37 AM <michael at robinson-west.com> wrote:
> 
>> The server uses a CF card in place of a hard disk. The server oddly enough
>> is Windows 98 SE based. I have a CentOS 7 box with a USB CF card reader.
>> I am trying to image the CF card and write the image to a second CF card.
>> Kind of a, make a backup to experiment with scenario and use the backup.
>> 
>> This my CentOS 7 box doesn't work:
>> 
>> $ sudo dd if=/dev/sdb of=win98seQSP2predrivers.img bs=1M count=1000
>> status=progress
>> 
>> The file created cannot be mounted. If you write it to another CF card,
>> you get garbage.
>> _______________________________________________
>> PLUG mailing list
>> PLUG at pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
> 
> _______________________________________________
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug



More information about the PLUG mailing list