On 9/24/19 9:14 AM, ToddAndMargo via users wrote:

You need to complicate up your partition structure and
try it again.

# parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: Samsung Type-C (scsi)
Disk /dev/sdb: 64.2GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                  Flags
 1      1049kB  2097kB  1049kB bios_grub
 2      2097kB  212MB   210MB   fat16           EFI System Partition boot, esp
 3      212MB   1286MB  1074MB  ext4
 4      1286MB  61.9GB  60.7GB  ext4
 5      61.9GB  64.2GB  2220MB  linux-swap(v1)                        swap

(parted) quit

OK....   I only have a cheap 8GB flash drive available for this purpose.

# parted /dev/sdg
GNU Parted 3.2
Using /dev/sdg
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: JetFlash Transcend 8GB (scsi)
Disk /dev/sdg: 8032MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name       Flags
 1      1049kB  2097kB  1049kB  ext4
 2      2097kB  222MB   220MB   fat16                      boot, esp
 3      222MB   1348MB  1126MB  ext4
 4      1348MB  5543MB  4194MB  ext4
 5      5543MB  8031MB  2488MB  linux-swap(v1)             swap

# mount /dev/sdg3 /mnt
# ls /mnt
lost+found  world

# umount /mnt

# dd status=progress bs=4096 if=/dev/sdg | gzip -v > DeadStick.FC30_$(date 
+%Y-%m-%d).dd.gz

[root@meimei ~]# parted /dev/sdg
GNU Parted 3.2
Using /dev/sdg
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Warning: The existing disk label on /dev/sdg will be destroyed and all data on
this disk will be lost. Do you want to continue?
Yes/No? y
(parted) print
Model: JetFlash Transcend 8GB (scsi)
Disk /dev/sdg: 8032MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End  Size  File system  Name  Flags

(parted) quit
Information: You may need to update /etc/fstab.

# gunzip -c DeadStick.FC30_2019-09-24.dd.gz | dd status=progress bs=4096 
of=/dev/sdg

# mount /dev/sdg3 /mnt
# ls /mnt
lost+found  world



--
If simple questions can be answered with a simple google query then why are 
there so many of them?
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to