dd if=/dev/[drive] | gzip -c > zipped_drive_image.bin.gz
Tag Archives: partitions
Re-read The Partition Table Without Rebooting Linux System
partprobe command is part of GNU parted software. parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT, FAT32, and reiserfs partitions. It can create, resize and move Macintosh HFS partitions, as well as detect jfs, ntfs, ufs, and xfs partitions. It is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks.
via Re-read The Partition Table Without Rebooting Linux System.
# partprobe /dev/sdX
Mounting a hard disk image including partitions using Linux
A while ago I thought it would be a good idea to make a backup of my Linux server by just dumping the complete disk to a file. In retrospect, it would have been much easier had I just dumped the individual filesystems.
via Mounting a hard disk image including partitions using Linux | andremiller.net.