Displaying 1 result from an estimated 1 matches for "xpvf".
Did you mean:
xpdf
2010 Dec 08
0
copy old CF image to new CF device
...t3 $PARTITION_1 /mnt/to_image
PUSH_PWD=`pwd`
# Directories to copy
cd /mnt/from_image
for DIRECTORY in bin boot dev etc home install lib misc net opt root sbin selinux srv tftpboot tmp usr var
do
tar -cf - $DIRECTORY | (cd /mnt/to_image; tar -xpvf - )
done
# Skip these directories above and just make them for mounting
mkdir /mnt/to_image/proc
mkdir /mnt/to_image/sys
cd $PUSH_PWD
umount /mnt/from_image
umount /mnt/to_image
grub << EOF
device (hd0) $DEVICE
root (hd0,0)
setup (hd0)
quit
EOF
e2label $PARTITION_1 "/"
mkswap...