Linux command help

  • Thread starter Thread starter Flame
  • Start date Start date
  • Views Views 952
  • Replies Replies 1

Flame

Me > You
Global Moderator
Joined
Jul 15, 2008
Messages
8,196
Solutions
1
Reaction score
24,726
Trophies
9
XP
24,598
Country
United Kingdom
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
 
Last edited by Flame,

Site & Scene News

Popular threads in this forum