Jump to content





Photo

SYSTEM INFO SCRIPTS

#!/bin/sh
#requires the following
#free, hostname, grep, cut, awk, uname
HOSTNAME=`hostname -s`
TODAY=`date`
IP_ADDRS=`ifconfig | grep 'inet addr' | grep -v '255.0.0.0' | cut -f2 -d':' | awk '{print $1}'`
IP_ADDRS=`echo $IP_ADDRS | sed...



Photo

LINUX-MBR RECOVER

Linux -Mbr recover

To copy out the mbr and boot record from the thumb drive
dd if=/dev/source of=/dev/destination
example
dd if=/dev/sdb of=/dev/sdc (thumb drive copy to thumb drive)
dd if=/dev/sdb of=/root/bootbackup/sdbxyz.bin (thumb drive to a file)
dd if=/root/bootbackup/sdbxyz.bin of=/dev/sdb (file to thumb drive)

another ways to do backup...



May 2013

M T W T F S S
  12345
6789101112
131415161718 19
20212223242526
2728293031  

Recent Entries

My Blog Links

Tags

Tags