xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

change partitions swap and XBian for create shrink image (backup for storage) #934

Closed kit20a closed 7 months ago

kit20a commented 7 months ago

Good afternoon, dear developers of the beautiful operating system for Raspberri Pi! Go to the forum https://forum.xbian.org in any browser I can’t do it because I get error_ssl_protocol_error in response. I wanted to create a topic on your hut on a convenient reserve copying of images from memory cards. Knowing can save a place to store images if you reduce the section from the XBian by moving the end of the section. And everything can be done, but the last section is SWAP? which needs to be overtaken to the boundaries of the changed end of the XBian section and the system will not boot. The problem would be solved if the SWAP section went in front of the section with the XBIAN and such an image can be without obstently reducing the latest section of the XBIAN in the list of sections before removing the image of the entire system with all sections. And when restoring the image to the memory card, you need to make changes to the last section of the XBIAN in the GPARTED to the boundaries of the new memory card and the initial addresses of the section will not change and the operating system will start. At the moment, how can I replicate the movement of the SWAP section at the end of the section of the sections after the section from the XBIAN? Is it possible to make the XBIAN in the new version of the SWAP section before the section with the XBIAN? Thanks for your spent time to support XBian users. P.S: I tried the Pishrink utility, but it looks like it doesn't work with BTRFS

mkreisl commented 7 months ago

You seem to have more than one problem.

To your question, no, the order of the partitions will definitely not be changed. This has been the case since the beginning of XBian and will remain so.

If the order does not suit you, you will have to manipulate the partitions manually, but there is no support for such operations