To further investigate why I fail creating a bootable CZ keydrive, I tried formating the keydrive in FAT32 before unzipping the ZIP file and running makeboot, but it fails:
mkfs.vfat -n linux -F 32 -v /dev/sdb1
sfdisk -c /dev/sdb 1 b (to set partition ID to W95 FAT32)
fdisk -l /dev/sdb
Reading through makeboot.sh, it seems like it expects "parted -s /dev/sdb1 print" to return either fat16|fat32|vfat, while it returns "Partition Table: msdos" although I used fdisk to set its ID to "W95 FAT32".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
To further investigate why I fail creating a bootable CZ keydrive, I tried formating the keydrive in FAT32 before unzipping the ZIP file and running makeboot, but it fails:
sfdisk -c /dev/sdb 1 b (to set partition ID to W95 FAT32)
fdisk -l /dev/sdb
mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb/
cd /tmp
wget -c ???? (Check http://clonezilla.org/downloads/alternative/iso-zip-files.php)
mv ???? cz.zip
(apt-get install unzip)
unzip cz.zip -d /mnt/usb
cd /mnt/usb/utils/linux
bash makeboot.sh /dev/sdb1
/dev/sdb1: this doesn't look like a valid FAT filesystem
Does someone know why? Which partition ID should I use?
Thank you.
Reading through makeboot.sh, it seems like it expects "parted -s /dev/sdb1 print" to return either fat16|fat32|vfat, while it returns "Partition Table: msdos" although I used fdisk to set its ID to "W95 FAT32".
Somehow I missed this post.
Could you please tell me which version of fdisk are you using by running this command?
fdisk -version
Also, please run:
parted -s /dev/sdb1 print
then post the results.
Thanks.
Steven.