Tag: hdd

Installing GRUB Into MBR

Use this when your MBR gets corrupted – usually happens after you reinstall windows. Pop in a bootable ubuntu DVD…

Backup HDD To Remote Host

Make a backup of a local hard disk on remote host via ssh dd bs=1M if=/dev/hda | gzip | ssh…

Backup Entire Harddrive to an Image

Backup content of the harddrive to a file. Creates an image of the drive dd if=/dev/sda of=/tmp/sda.iso

Shows all Partitions

Shows all partitions on the HDD fdisk -l

fsck command

Repair / check integrity of linux filesystem on disk hda1 fsck /dev/hda1

Check for Badblocks on the HDD

Check bad blocks in disk hda1 badblocks -v /dev/hda1

Check for Bad Blocks in HDD

Linux Command to search the Harddisk for bad sectors sudo badblocks -v /dev/sda

Find All Connected Harddisks

<p class=”intro”>If you have many IDE harddisks connected to the system(but not mounted), this command will find it. This will…