Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Restore .dmg containing multiple partitions to bootable USB flash drive Post 303030663 by paulcristo on Wednesday 13th of February 2019 01:07:41 PM
Old 02-13-2019
Quote:
Originally Posted by Don Cragun
Without knowing what you're doing it is very hard to suggest ways to do it in fewer steps! My crystal ball just isn't working that clearly this morning.

What steps did you perform to complete your task? (Please don't include a series of steps that includes rain dancing... From experience, we have found rain dancing produces random results. And, water and electronics don't mix well together.)
Hi, Don. Thanks for getting back to me.

I have a drive which I use to install macOS 10.14 containing an HFS+ volume and a FAT32, custom EFI volume. I have an image of that installer drive which I'd like to restore onto a USB drive. I was able to accomplish a partial restore by using Disk Utility on my Mac to format and partition the USB drive. I then manually restored the HFS+ volume from the disk image, but received an error when trying to restore the FAT32 volume saying the volume couldn't be repartitioned. And that's as far as I've been able to get.

Using dd only restores the HFS+ volume and seems to ignore the FAT32 volume.

I'd like to use the command line to do a byte-for-byte restore of the image to the disk to accomplish my goal in one step, but I haven't been successful in finding such a method.

Let me know if you need more information. Thanks!
 

10 More Discussions You Might Find Interesting

1. Solaris

USB flash Drive

Hello all.. I have a Verbatim 2 GB flash drive. I also have Solaris 10 running on my workstation. If I am in the Windows environment, it detects the flash drive. But when I plug it while I am in solaris, nothing happens. How will solaris 10 detect my flash drive? What do I have to do? any... (4 Replies)
Discussion started by: vr76413
4 Replies

2. UNIX for Dummies Questions & Answers

USB flash drive is not mounting what to do...?

hello forum.. i am using RHEL 4.0 and my system is dual boot.normally the usb flash drive should be auto mount , but in my system i am unable to mount the drive plz help... i am a new user so plz give me in detail. thank u in advance. (5 Replies)
Discussion started by: manoranjan
5 Replies

3. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

4. UNIX for Dummies Questions & Answers

Does HPUX 10.2 or 11.i support any USB flash drive?

Where can I get a driver that support usb flash drives for my unix machines. I need a solution to transfer data easily for techs. I am running C3750 and c8000 HP equipment. Or is there a way to mount them and use them without adding drivers? thanks! (0 Replies)
Discussion started by: jkend12
0 Replies

5. Solaris

removable usb flash drive

# rmformat Looking for devices... 1. Logical Node: /dev/rdsk/c0t0d0p0 Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0 Connected Device: HL-DT-ST DVD+-RW GWA4164B E113 Device Type: DVD Reader/Writer 2. Logical Node: /dev/rdsk/c2t0d0p0 Physical Node:... (26 Replies)
Discussion started by: seyiisq
26 Replies

6. Ubuntu

USB flash drive/keyfob will not automount

I am working on an Ubuntu Linux 8.10 system that I do not want to reboot. For some reason, USB flash drives (mass storage devices) now no longer automount. I want to restore that functionality without rebooting. I can manually mount and unmount these things by doing: cd /media sudo mkdir thing... (4 Replies)
Discussion started by: ropers
4 Replies

7. UNIX for Dummies Questions & Answers

Booting different partitions on a usb drive with syslinux

Hello, I have an 8gb usb flash drive that I had high aspirations of using for a recovery/install/messing around multipurpose drive. fdisk shows: $ sudo fdisk -l /dev/sdb password for woodnt: Disk /dev/sdb: 8036 MB, 8036285952 bytes 255 heads, 63 sectors/track, 977 cylinders Units =... (0 Replies)
Discussion started by: Narnie
0 Replies

8. Boot Loaders

How to install grub on USB flash drive?

I wanna install grub on my flash drive for rescue usage. My computer installs winxp, and I have fedora12 installed in vmware. I did like this: step1: format the flash drive as FAT in winXP. step2: in fedora12, mount the flash drive on /media/flash step3: excute the command: grub-install... (10 Replies)
Discussion started by: vistastar
10 Replies

9. UNIX for Advanced & Expert Users

how to increase cylinders on USB Flash Drive

Hello All, I faced a unique issue. I have written a script for transferring backup data on my host machine to a USB Flash drive. The Flash drive must be of 16GB size. So, my script creates two primary partitionon the USB flash drive. I require approx 5900 cylinders for the first partition on... (8 Replies)
Discussion started by: Pkumar Sachin
8 Replies

10. Ubuntu

Need help in making bootable USB flash with customized 12.04

I'd like to make bootable USB flash with 12.04 desktop on it with some additional packages and customizations, such as added language. What I tried so far - I went through pendrivelinux.com ISO to USB program and have working bootable USB with 12.04 desktop on it. The problem is all my changes... (8 Replies)
Discussion started by: migurus
8 Replies
HFSUTILS(1)						      General Commands Manual						       HFSUTILS(1)

NAME
hfsutils - tools for reading and writing Macintosh HFS volumes SYNOPSIS
hattrib - change HFS file or directory attributes hcd - change working HFS directory hcopy - copy files from or to an HFS volume hdel - delete both forks of an HFS file hdir - display an HFS directory in long format hformat - create a new HFS filesystem and make it current hls - list files in an HFS directory hmkdir - create a new HFS directory hmount - introduce a new HFS volume and make it current hpwd - print the full path to the current HFS working directory hrename - rename or move an HFS file or directory hrmdir - remove an empty HFS directory humount - remove an HFS volume from the list of known volumes hvol - display or change the current HFS volume hfssh - Tcl interpreter with HFS extensions hfs - shell for manipulating HFS volumes xhfs - graphical interface for manipulating HFS volumes DESCRIPTION
hfsutils is a collection of tools and programs for accessing Macintosh HFS-formatted volumes. See the accompanying man page for each pro- gram above for more information. NOTES
These utilities can manipulate HFS volumes on nearly any medium. A UNIX path is initially specified to hmount or hformat which gives the location of the volume. This path can be a block device -- corresponding to, for example, a floppy disk, CD-ROM, SCSI disk, or other device -- or it can be a regular file containing an image of any of the above. The medium specified by the UNIX path may or may not contain an Apple partition map. If partitioned, it is possible for more than one HFS volume to be present on the medium. In this case, a partition number must also be given which selects the desired partition. This number refers to the nth ordinal HFS partition on the volume. (Other, non-HFS partitions are ignored.) Partition number 0 refers to the entire medium, disregarding the partition map, if any. HFS pathnames consist of colon-separated components. Unlike UNIX pathnames, an HFS path which begins with a colon (e.g. :Foo:Bar) is a rel- ative path, and one which does not (e.g. Foo:Bar) is an absolute path. As sole exception to this rule, a path not containing any colons is assumed to be relative. Absolute pathnames always begin with the name of the volume itself. Any occurrence of two or more consecutive colons in a path causes reso- lution of the path to ascend into parent directories. Most of the command-line programs support HFS filename globbing. The following forms of globbing are supported: * matches zero or more characters. ? matches exactly one character. [...] matches any single character enclosed within the brackets. A character range may be specified by using a hypen (-). Note that matches are not case sensitive. {...,...} expands into the Cartesian product of each specified substring. causes the following character to be matched literally. Note that since globbing is performed by each HFS command rather than by the UNIX shell (which knows nothing about HFS volumes), care should always be taken to protect pathnames from the shell by using an appropriate quoting technique. Typically it is best to surround HFS pathnames containing glob characters with single quotes ('). Time stamps on HFS volumes are interpreted as being relative to the current time zone. This means that modification dates on HFS volumes written in another time zone may appear to be off by some number of hours. Hardware limitations prevent some systems from reading or writing native Macintosh 800K floppy disks; only high-density 1440K disks can be used on these systems. The obsolete MFS volume format is not supported by this software. SEE ALSO
hattrib(1), hcd(1), hcopy(1), hdel(1), hdir(1), hformat(1), hls(1), hmkdir(1), hmount(1), hpwd(1), hrename(1), hrmdir(1), hvol(1), hfs(1), xhfs(1) AUTHOR
Robert Leslie <rob@mars.org> HFSUTILS
08-Nov-1997 HFSUTILS(1)
All times are GMT -4. The time now is 11:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy