- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Clone bootable USB stick
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2011 05:13 PM
тАО02-16-2011 05:13 PM
I'd like to create an image of bootable USB stick and setup on other USB sticks?
There are 2 partitions on this USB stick and one it's bootable.
Solved! Go to Solution.
- Tags:
- usb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 01:23 AM
тАО02-17-2011 01:23 AM
SolutionNever tried that, but I suppose you could create same partition on the second USB (same or bigger partition size) using fdisk, and do not forget to mark 1st partition on the target USB as bootable.
Then
Suppose your first partition on the original usb is sdb1 and the second is sdb2
and
The partition on the copy USB is sdc1 and scd2
proceed as follows
# dd if=/dev/sdb1 of=/dev/sdc1
# dd if=/dev/sdb2 of=/dev/sdc2
Also if you do not have a free USB slot for the second USB you could use a files instead of partitions in an additional step... like
# dd if=/dev/sdb1 of='my_USB_partition1'
# dd if=/dev/sdb2 of='my_USB_partition2'
followed by
# dd if='my_USB_partition1' of=/dev/sdc1
# dd if='my_USB_partition2' of=/dev/sdc2
As stated above have not tried this do not see why this should not work !
enjoy, life.
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 08:23 AM
тАО02-17-2011 08:23 AM
Re: Clone bootable USB stick
dd if=/dev/sdc of=/dev/sdd
If they're different sized, your dd should still generally work but the bigger USB stick will waste space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 10:49 AM
тАО02-17-2011 10:49 AM
Re: Clone bootable USB stick
Both solutions by the other posters are right. I am adding some info here. You may try using cfdisk or gparted instead fdisk for partitioning. fdisk is slightly unfriendly IMO.
--Lucifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 11:05 PM
тАО02-17-2011 11:05 PM
Re: Clone bootable USB stick
To create a pure clone of two ext3 formatted disks, I used as already mentionned
$ dd if=/dev/sda of=/dec/sdb bs=4096
However I had to change the partition labels of the cloned device with
$ e2label /dev/sdbx