This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
berryboot:adding_custom_distributions [2013/03/17 00:22] max [Adding your own custom operating systems to the menu] |
berryboot:adding_custom_distributions [2018/03/29 22:47] max [Adding your own custom operating systems to the menu] |
||
---|---|---|---|
Line 17: | Line 17: | ||
$ sudo mount /dev/mapper/loop0p2 /mnt | $ sudo mount /dev/mapper/loop0p2 /mnt | ||
$ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab | $ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab | ||
+ | $ sudo sed -i 's/^PARTUUID/#\0/g' /mnt/etc/fstab | ||
$ sudo mksquashfs /mnt converted_image_for_berryboot.img -comp lzo -e lib/modules | $ sudo mksquashfs /mnt converted_image_for_berryboot.img -comp lzo -e lib/modules | ||
$ sudo umount /mnt | $ sudo umount /mnt | ||
Line 31: | Line 32: | ||
If your image prefers to have a certain memory split use the extension .img128 .img192, .img224 or .img240 instead of .img. | If your image prefers to have a certain memory split use the extension .img128 .img192, .img224 or .img240 instead of .img. | ||
+ | ==== Tweaks ==== | ||
+ | If the image you are converting is based on Debian/Raspbian delete the **etc/console-setup/cached_UTF-8_del.kmap.gz** file before converting the image to force regeneration of the cached keyboard mapping on first boot. This is to make sure it uses the keyboard layout set in Berryboot instead of default British. | ||
===== See also ===== | ===== See also ===== | ||
* [[:berryboot|Main Berryboot page]] | * [[:berryboot|Main Berryboot page]] |