Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Restore .dmg containing multiple partitions to bootable USB flash drive Post 303031335 by Don Cragun on Tuesday 26th of February 2019 12:35:32 PM
Old 02-26-2019
Quote:
Originally Posted by paulcristo
You are correct. The device names were install_osx and EFI, and the device I believe was /dev/disk1


I didn't format the USB drive because I was hoping to not have to prep a drive before restoring it. Is this possible? I know I can restore the two volumes with two separate commands but would rather just have it completely clone the drive in one fell swoop.


I didn't use command line to mount the image. I used the built-in Disk Utility mounting feature in Mac OS by double-clicking the image. After double-clicking, the two volumes are present and mount correctly.
OK. So if after double-clicking both volumes are present and mount correctly, what did you mean by:

Quote:
Originally Posted by paulcristo
... ... ...

I used:
Code:
sudo dd if=/image_filename of=/dev/USBFLASHDRIVE

This only restores the first volume and ignores the second.
???
 

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
rmmount(1)							   User Commands							rmmount(1)

NAME
rmmount, rmumount - mounts and unmounts removable media SYNOPSIS
rmmount [-u] [-o options] [nickname | device] [mount_point] rmmount [-d] [-l] rmumount [nickname | mount_point | device] rmumount [-d] [-l] DESCRIPTION
The rmmount and rmumount utilities mount and unmount removable or hot-pluggable volumes. The optional argument can identify the volume by its volume label, mount point or block device path. rmmount can also take additional mount options if the user has sufficient privileges to override the default mount options. Unmounting removable media does not result in its ejection. Use eject(1) to optionally unmount and eject the media. OPTIONS
The following options are supported for rmmount and rmumount: -d Display the device path of the default device. This device is used if no arguments are supplied. -l Display the paths and nicknames of mountable devices. The following options are supported for rmmount only: -o options Display mount options. This option can only be used by users that have privileges to override the system default options. -u Unmounts the volume as opposed to mounting it. OPERANDS
The following operands are supported: device Specifies which device to mount or unmount, by the name it appears in the directory /dev. mount_point Specifies which device to mount or unmount, by the name it appears in the directory /dev. nickname Specifies which device to mount or unmount, by its nickname as known to this command. EXAMPLES
Example 1 Mounting a USB disk The following example mounts a USB disk with a volume label of PHOTOS: example% rmmount PHOTOS Example 2 Unmounting a pcfs Volume The following example unmounts a pcfs volume by device path: example% rmumount /dev/dsk/c4t0d0p0:1 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/media Default mount root. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrmvolmgr | +-----------------------------+-----------------------------+ |Interface Stability |Uncommitted | +-----------------------------+-----------------------------+ SEE ALSO
eject(1), attributes(5) SunOS 5.11 18 Sep 2006 rmmount(1)
All times are GMT -4. The time now is 01:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy