Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Copying a disk in Redhat 6.0

Posted on 1999-08-12
Medium Priority
Last Modified: 2010-04-20
I want to make a backup copy of my boot disk. How do I do it in X? From a shell prompt? Is it the same for MSDos diskettes as for Linux native diskettes?
Question by:tincze
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 51

Accepted Solution

ahoffmann earned 210 total points
ID: 1636435
dd bs=1024 count=n if=dev/hdxx of=target

where n is the size of the disk in bytes devided by 1024
      hdxx is you partition or disk, like hda or hda1 or sda, etc.
and target is any device or file.
See man dd for details.

Author Comment

ID: 1636436
Is there any way to do it from X-windows? I'm using Gnome/Enlightenment.

Expert Comment

ID: 1636437
You have to run as root to do this.

Insert your original boot disk.

Run an X terminal and write inside it:
> su -
# dd if=/dev/fd0 of=/tmp/bootimage.img bs=1024

Now insert the target diskette. To format it:( if it is not formatted)

# fdformat /dev/fd0

Now type the second dd command:

# dd if=/tmp/bootimage.img of=/dev/fd0 bs=1024

That's it.

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

661 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question