0
votes
0answers
37 views

Disk Wipe Script Question

I have a server setup to do diskwipe. I am wondering if someone can help me figure out why the random pass is not working. Thanks!! #textPass Sectors sectors=$(blockdev --getsz ...
3
votes
1answer
1k views

How to recover from wiping by dd a partition table on external disk?

Yesterday I used dd to write an OS into my Raspberry Pi flash card. Even though all my commands ( I checked history ) were for /dev/sdd which was the flash , when I checked my external drive(500GB) ...
0
votes
1answer
821 views

How can I clone a hard disk to a smaller SSD?

I have a hard drive in my laptop with a windows and an ubuntu partition. I got an SSD to replace my hard drive, but it has a slightly lower capacity. I've already partitioned the SSD to the sizes I ...
2
votes
1answer
5k views

When cloning ext4 partition with the “dd” command to a bigger partition free space doesn't increase [duplicate]

Possible Duplicate: Drive reporting incorrect free space Recently I've been trying to clone my hd using dd tool. Everything was ok, as cloning ntfs partitions but when it comes to ext4 - dd ...
18
votes
3answers
13k views

Mount single partition from image of entire disk (device)

I made an image of my entire disk with dd if=/dev/sda of=/media/external_media/sda.img Now the problem is I'd like to mount an ext4 filesystem that was on that disk but mount -t ext4 -o loop ...