Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The command can be simplified as

  isoinfo -R -i xxx.iso -x /initrd | gzip -dc | cpio -idv --no-absolute-filenames "root/fumagician*"
if you don't want to go through the mounting and extracting everything.


For me `isoinfo` doesn't like the format of the .iso file ("CD-ROM is NOT in ISO 9660 format"). Using bsdtar worked though:

  bsdtar xOf xxx.iso initrd | gzip -dc | cpio -idv --no-absolute-filenames "root/fumagician*"
(And of course then running `root/fumagician/fumagician` in either case.)


This worked for me, thanks! I have a Samsung SSD 980 PRO 2TB which I upgraded from 2B2QGXA7 to 5B2QGXA7. I backed up and also made a copy of the output of `sudo smartctl -t long -a /dev/nvme0` before and after.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: