User guide

184 | Protecting Workstations and Servers
To create bootable partitions on a Linux machine by using the command line
1. From the command line in the Universal Recovery Console of the Linux machine
you have restored, attach to all devices using the bsctl utility with the following
command as root:
sudo bsctl --attach-to-device /<restored volume path>
For example, if the volume path is dev/sda1 and the folder you want to mount to is
mnt, then type the following and then press Enter:
sudo bsctl --attach-to-device /dev/sda1 mnt
NOTE: Repeat this step for each restored volume.
2. You must mount the root volume first and then the boot volume. Mount each
restored volume by using the following commands:
a. To mount the root volume, type the following command and then press Enter:
mount /<restored volume[root]> /mnt
For example, if /dev/sda2 is the root volume, then type mount /dev/sda2 /mnt
and then press Enter.
b. To mount the boot volume, type the following command and then press Enter:
mount /<restored volume[boot]> /mnt/boot
For example, if /dev/sda1 is the boot volume, then type mount /dev/sda1 /mnt/
boot
and then press Enter.
NOTE: Some system configurations may include the boot directory as part of the
root volume.
3. If the volume size is increasing — that is, if the destination volume on the new
Linux machine is larger than the volume was in the recovery point — then you
must delete any existing bitmap data files, and then recreate them as described
in Step 4 through Step 7,
If the source and target volumes are the same size, proceed to Step 8 to reset the
bitmap store.
For both situations, you will then need to map them as described in Step 9.
4. If the volume size is increasing, then delete the existing data store by typing the
following command and then press Enter:
rm -rf <mount point>/.blksnap/data
For example, if your restored volume was mounted to /mnt/sda1, then type the
following command and then press Enter:
rm -rf /mnt/sda1/.blksnap/data
This is a critical step prior to mapping volumes. If you map a volume and then delete the file
manually, you could corrupt the volume.