We have several linux (Centos) live usb drives and I was wondering whether it was possible to just mount and update them from a linux desktop (running from a HDD) instead of booting and running yum on each one.

  • A chroot into the mount point might do the trick. – thrig Apr 12 '16 at 15:52

After you have mounted them somewhere (/media/usb) do a chroot /media/usb /bin/bash to chroot into the USB system. Do whatever you need to do and exit afterwards. Replace /bin/bash if you prefer another shell or bash isn't available.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.