Re: clone a bootable fedora USB drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> 
> Anyhoo, now that I've spent most of a
> day getting the USB stick updated
> and configured, I want to clone it to
> another USB stick.  


Hi;
 what I use is dd, as root.

Plug it in and if it gets mounted, unmount it.

I always "df -l", and "fdisk -l"
To get the system info first.

Then plug it in, wait for 30 seconds and "df -l"  "fdisk -l" again.

That way you can see if it automounted.
"fdisk -l" will show you the name and any partitions.

Make SURE that you know which one is the USB.
If unsure just unplug it and start again.

I presume that it is /dev/sdb here.

"umount /dev/sdb1"  If it did mount it.

Then "dd if=/dev/sdb of=F9-usb.img"

This will make an image the whole thing, in your current directory.

To restore "dd if=F9-usb.img of=/dev/sdb"

You can save this image onto a CD as it is just a data file.

One thing to watch out for is that your keys be the same size.
The second (clone) can be bigger but not smaller than the original.
You will lose the extra space.


Mick


      

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux