Page 1 of 1

Fatdog64 bootable USB can't fix with using fix-usb.sh

Posted: Mon 23 Oct 2017, 14:37
by Janglee
I created bootable USB of Fatdog64 with dd tool into 2gb USB . after booting to Fatdog64 I was not able to fix my pendrive with fix-usb.sh . :?
So I can't make third partition and can't make save file because of no space .
How to solve this problem ?
Please help me .......
Thanks in advance

Posted: Mon 23 Oct 2017, 15:25
by Gordie
Use gparted to see the partitions on the usb.

My understading is dd copies a file system, not makes partitions. You wont be able to partition the usb. Have you done this before?

Re: Fatdog64 bootable USB can't fix with using fix-usb.sh

Posted: Fri 27 Oct 2017, 11:50
by L18L
Hi Janglee,
posting to Fatdog thread would have given you faster answers.
Anyhow, you wrote:I created bootable USB of Fatdog64 with dd tool into 2gb USB . after booting to Fatdog64 I was not able to fix my pendrive with fix-usb.sh . :?
Look into /usr/sbin/fix.usb.sh:

Code: Select all

### paranoia check - partition 3 must be empty
check=$(sfdisk -uS -l $1 2>/dev/null| awk -v dev=${1}3 '$1==dev {print $6}')
case $check in
	Empty) ;;
	*)	echo "Partition 3 of $1 (${1}3) is not empty."
		echo "Aborting."
		exit
esac
I have disabled exit of "paranoia check - partition 3 must be empty"
by changing

Code: Select all

exit
to

Code: Select all

#exit
This has always worked for me.