Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:server:creating_a_server [2019-05-22 08:08] mattias [Cloning to a Smaller Disk] |
blocks:server:creating_a_server [2023-03-16 07:10] (current) mattias [Prepare Server Image USB Stick] |
||
---|---|---|---|
Line 10: | Line 10: | ||
To build a PIXILAB BLOCKS Server from scratch, you'll need the following items: | To build a PIXILAB BLOCKS Server from scratch, you'll need the following items: | ||
* A working computer (Mac or PC) with an internet connection, for downloading the software and copying it to the USB sticks. | * A working computer (Mac or PC) with an internet connection, for downloading the software and copying it to the USB sticks. | ||
- | * Two USB memory sticks of at least 4GB each. A USB 3 compatible stick will speed up the process. | + | * Two USB memory sticks of at least 8GB each. A USB 3 compatible stick will speed up the process. |
* A suitable computer to install the server software onto, which will become the BLOCKS Server. | * A suitable computer to install the server software onto, which will become the BLOCKS Server. | ||
- | The server image is qualified for use on servers supplied by PIXILAB, as well as on an Intel NUC (e.g., model NUC5CPYH | + | The server image is qualified for use on servers supplied by PIXILAB, as well as on an Intel NUC (e.g., model NUC5CPYH |
:!: The Intel NUC is primarily intended for demos and basic tests. For final installation, | :!: The Intel NUC is primarily intended for demos and basic tests. For final installation, | ||
- | |||
===== Prepare Clonezilla USB Stick ===== | ===== Prepare Clonezilla USB Stick ===== | ||
A program named Clonezilla is used to write the server software to the computer. Follow these instructions to download Clonezilla and putting it on one of the USB sticks. | A program named Clonezilla is used to write the server software to the computer. Follow these instructions to download Clonezilla and putting it on one of the USB sticks. | ||
- | - Download Clonezilla Live version 2.6.1-25 from [[http:// | + | - Download Clonezilla Live version 2.6.1-25 from [[https://int.pixilab.se/ |
- Download [[https:// | - Download [[https:// | ||
- Use Etcher to create a bootable USB stick from the " | - Use Etcher to create a bootable USB stick from the " | ||
Line 26: | Line 25: | ||
Mark the USB stick so you know it contains the Clonezilla software. | Mark the USB stick so you know it contains the Clonezilla software. | ||
===== Prepare Server Image USB Stick ===== | ===== Prepare Server Image USB Stick ===== | ||
- | Download the Server image file from [[:blocks#downloads|here]]. Unpack the ZIP file, and copy the resulting image folder onto a FAT32 formatted USB stick. The result should be like in the image shown below (although the exact date in the file name may be different). | + | |
+ | [[:blocks:linux|Download the Server image from here]]. Unpack the ZIP file, and copy the resulting image folder onto a FAT32 formatted USB stick. The result should be like in the image shown below (although the exact date in the file name may be different). | ||
+ | |||
+ | :!: Windows may not be able to unpack large ZIP files using its built-in functionality. If so, download 7-Zip or WinZip, and use that program to unzip the image file instead. | ||
{{ : | {{ : | ||
Line 45: | Line 47: | ||
{{ : | {{ : | ||
+ | sc | ||
===== Writing the Server Image to the SSD ===== | ===== Writing the Server Image to the SSD ===== | ||
Clonezilla will present you with a sequence of windows and options. Follow the sequence outlined below in order to copy the content of your server image USB stick to the server' | Clonezilla will present you with a sequence of windows and options. Follow the sequence outlined below in order to copy the content of your server image USB stick to the server' | ||
Line 100: | Line 103: | ||
A confirmation message is shown at the bottom of the screen. Just press Enter to proceed. | A confirmation message is shown at the bottom of the screen. Just press Enter to proceed. | ||
- | === Chose the "Beginner" Mode === | + | === Chose the "Expert" Mode === |
- | {{ : | + | |
+ | {{ : | ||
=== Chose " | === Chose " | ||
Line 116: | Line 121: | ||
{{ : | {{ : | ||
+ | |||
+ | Use the default settings in the extra parameters dialogs. | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Select the -k1 setting in the following " | ||
+ | |||
+ | {{ : | ||
Skip checking the source image in the next prompt. | Skip checking the source image in the next prompt. | ||
Line 142: | Line 155: | ||
=== Next Step === | === Next Step === | ||
- | If you want to configure the server | + | To configure the server, please continue |
- | + | ||
- | ===== Cloning to a Smaller Disk ===== | + | |
- | + | ||
- | Clonezilla may fail if you attempt to write the image to a drive or partition that's smaller than the one the image was made from. We try to be conservative by making the image from a small (120GB) disk. But even when cloning to a drive that has the same size, there may be minor differences between brands, resulting in a small difference in the number of space actually available on the disk. This may result in Clonezilla failing with a messa indicating that the destination disk was too small. | + | |
- | + | ||
- | In such cases, you can often work around this problem by selecting " | + | |
- | + | ||
- | {{ : | + | |
- | + | ||
- | This will result in a list of " | + | |
- | + | ||
- | {{ : | + | |
- | {{ : | + | |
- | + | ||
- | Choose the -icds option here using the down arrow and spacebar, so an asterisk appears next to this option in the list, as shown above. Then proceed with the cloning operation as usual. This will force Clonezilla to disregard the size of the target disk, writing the image anyway. If the clone fails due to to small disk, try the option K1 and make a second attempt. | + | |
- | + | ||
- | ===== Cloning to a Larger Disk ===== | + | |
- | If your target disk is larger than the disk used to make the image in the first place, you may want to use the full size of your target disk. By default, Clonezilla will only use as much of the target disk as the size of the original disk used to make the image (e.g., 120GB for our standard image). To use the full size of the target disk, do as follows: | + | |
- | + | ||
- | - Follow the steps above under " | + | |
- | - Selet the -r option but //not// the -icds option. | + | |
- | - On the next screen, select the -k1 option to " | + | |
- | Then proceed as above. | ||
- | :!: You can use the //disks// program to verify the size of the partitions on the target disk once started. |