im trying to add an OS to berryboot for my raspberry 3
looking at the website below
http://www.berryterminal.com/doku.php/berryboot/adding_custom_distributions
the 1st command I don't understand what does it mean? Does it mean I copy the image from a folder like home... Or does it mean I should copy the kernel.img from the usb?
$ sudo kpartx -av image_you_want_to_convert.img
add map loop0p1 (252:5): 0 117187 linear /dev/loop0 1
add map loop0p2 (252:6): 0 3493888 linear /dev/loop0 118784
$ sudo mount /dev/mapper/loop0p2 /mnt
$ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
$ sudo mksquashfs /mnt converted_image_for_berryboot.img -comp lzo -e lib/modules
$ sudo umount /mnt
$ sudo kpartx -d image_you_want_to_convert.img
looking at the website below
http://www.berryterminal.com/doku.php/berryboot/adding_custom_distributions
the 1st command I don't understand what does it mean? Does it mean I copy the image from a folder like home... Or does it mean I should copy the kernel.img from the usb?
$ sudo kpartx -av image_you_want_to_convert.img
add map loop0p1 (252:5): 0 117187 linear /dev/loop0 1
add map loop0p2 (252:6): 0 3493888 linear /dev/loop0 118784
$ sudo mount /dev/mapper/loop0p2 /mnt
$ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
$ sudo mksquashfs /mnt converted_image_for_berryboot.img -comp lzo -e lib/modules
$ sudo umount /mnt
$ sudo kpartx -d image_you_want_to_convert.img
Last edited by Flame,
