Note:-
Sorry for the long post, its an exact account of what I did
rene wrote: ⤴Fri Oct 11, 2019 4:51 am
Err, no, the actual command I gave above:
Code: Select all
sudo dd if=/dev/zero of=/dev/sdz seek=$(($(sudo blockdev --getsz /dev/sdz) - 34)) count=34
Sorry I missed that post. I tried as per your advise. Here is what I did.
I took the Clonezilla stick .Booted with the already created stick to make sure it boots.
Made a gpt partition table. Didnt make any partition like FAT32 etc. To test the theory that making a partition does not matter.
Wrote the iso by right clicking the iso and choosing write option.
Tried to boot from the stick. As expected , it did not boot.
Ran the dd command and wrote zeros to the ending partition table .
Output of dd command
Code: Select all
sudo dd if=/dev/zero of=/dev/sdb seek=$(($(sudo blockdev --getsz /dev/sdb) - 34)) count=34
34+0 records in
34+0 records out
17408 bytes (17 kB, 17 KiB) copied, 0.000302773 s, 57.5 MB/s
Tried to boot from the stick , but it did not boot.
I made an msdos partition table. Didnt make any partition like FAT32 etc.
Wrote the iso to the stick.
Couldnt boot from the stick.
Tried to make a FAT32 partition. Wasnt successful.
Tried to make gpt partition type. Wasnt successful. I was asked to reboot.
Rebooted. (Later found that reboot wasnt required, only pulling out the stick and inserting would do.)
Made msdos partition table.
Created single FAT32 partition.
Wrote the iso to the stick.
Tried with all 3 USB ports.Unable to boot from stick.
Made msdos partition table.
Created single FAT32 partition.
Wrote the iso to the stick. In the writer used option to power off the stick. No success.
Earlier I was successful with Kernel 5.0.21 , I tried above procedure with kernel 5.3.x.
I tried with kernel 5.0.21 yet unsuccessful. I am not sure what to do now feeling lost due to the inconsistent behaviour.
Please let me know if I should do anything else. I really spent countless hours for this as booting from the stick is a very important part of system maintenance. Clonezilla backups and restores, installing the system from iso etc arent possible without this option.