Schmill

Updating the USB bootdrive in situ

Recommended Posts

Hi,

 

I realise I could try this, but due to the possibly destructive nature of it I thought I would ask first whether anyone has done it already.

 

What I am looking to do is to be able to update the USB bootdisk whilst keeping it in the server.

 

Some generic instructions I have found for writing images to USb devices via command line seem to imply that all that is involved is along the lines of:

 

sudo umount /dev/sdb
sudo dd if=/path/to/imagefile of=/dev/sdb

 

Is that all it will take?

If so should I use the XPEnoboot iso file, or the img file as the input to dd ?

 

Many thanks all!

Share this post


Link to post
Share on other sites

I found I didn't have to unmount the usb stick as its not used once booted. But the command you have listed below will work as I used that to do mine last week.

Share this post


Link to post
Share on other sites

Cheers Benoire, can I ask did you use the ISO file or the IMG file?

 

Sent from my MotoG3 using Tapatalk

Share this post


Link to post
Share on other sites

image file, you can use wget from the command line to download directly to the box and then find it in root and then dd on to the usb stick from there... Any custom stuff e.g. mac and serial will need to be reapplied after updating as normal.

Share this post


Link to post
Share on other sites

Wonderful! Many thanks, I feel more confident about giving this a go now :smile:

Cheers for your help, I'll post back how I get on.

 

Sent from my MotoG3 using Tapatalk

Share this post


Link to post
Share on other sites