Jump to content
XPEnology Community

How to hide your XPEnoboot USB drive from DSM


Kanedo

Recommended Posts

Okay, I finally cracked mounting synoboot for 5.2. Here's the updated instruction.

 

First, ssh into your box as root.

 

Create your mount dir

Diskstation> mkdir -p /mountUSB

 

Find the next free loopback device. Mine shows /dev/loop0 from a fresh boot.

Diskstation> losetup -f
/dev/loop0

 

Setup the loopback device to use /dev/synoboot with offset 32256. NOTE: 32256 = 63 sectors * 512 bytes

Diskstation> losetup -o 32256 /dev/loop0 /dev/synoboot

<<<<< typo error {I accidentally typed 32556 here not 32256 as shown}

 

Any advice please on what to do to undo this error:

~ # losetup -f

/dev/loop0

~ # losetup -o 32556 /dev/loop0 /dev/synoboot <<< {should have been 32256}

~ # mount -t vfat /dev/loop0 /mountUSB

mount: mounting /dev/loop0 on /mountUSB failed: Invalid argument

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...