I need help. I am trying to backup my partition table, including the extended partition table info. I used the following:
cd /root
mkdir partition-backup
cd partition-backup
dd if=/dev/hda of=backup-hda.mbr count=1 bs=512
using sudo ... that part worked !
then I tried to dump the extended partition info into a .sf file using :
sudo sfdisk -d /dev/hda > backup-hda.sf
BUT I GET "bash: backup-hda.sf: Permission denied"
Can someone explain why I can't dump this info into the file for backup purposes?
Thanks,
Ken
cd /root
mkdir partition-backup
cd partition-backup
dd if=/dev/hda of=backup-hda.mbr count=1 bs=512
using sudo ... that part worked !
then I tried to dump the extended partition info into a .sf file using :
sudo sfdisk -d /dev/hda > backup-hda.sf
BUT I GET "bash: backup-hda.sf: Permission denied"
Can someone explain why I can't dump this info into the file for backup purposes?
Thanks,
Ken
Comment