User Tools

Site Tools


berryboot:adding_custom_distributions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
berryboot:adding_custom_distributions [2016/03/19 13:27]
max [Adding your own custom operating systems to the menu]
berryboot:adding_custom_distributions [2018/03/30 00:11]
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 rm -f /​mnt/​etc/​console-setup/​cached_UTF-8_del.kmap.gz
 +$ sudo rm -f /​mnt/​etc/​systemd/​system/​multi-user.target.wants/​apply_noobs_os_config.service
 +$ sudo rm -f /​mnt/​etc/​systemd/​system/​multi-user.target.wants/​raspberrypi-net-mods.service
 +$ sudo rm -f /​mnt/​etc/​rc3.d/​S01resize2fs_once
 $ 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 33: Line 38:
 ==== Tweaks ==== ==== Tweaks ====
  
-If the image you are converting is based on Debian/​Raspbian delete the [b]etc/​console-setup/​cached_UTF-8_del.kmap.gz[/b] file to force regeneration of the keyboard mapping ​file on first boot. This is to make sure it uses the keyboard layout set in Berryboot instead of default British.+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]]
berryboot/adding_custom_distributions.txt ยท Last modified: 2018/03/30 00:11 by max