pastebin - collaborative debugging tool
rovema.kpaste.net RSS


new_image: Modify "rovema_pc.img" via chroot
Posted by Anonymous on Wed 18th Oct 2023 14:07
raw | new post
view followups (newest first): new_image: Modify "rovema_pc.img" via chroot by Anonymous

  1. # mount "rovema_pc.img":
  2. bash dev027_kernel5_15/mountImage "$PWD/rovema_pc.img"
  3. mount
  4.  
  5. #
  6. # enter chroot:
  7. #
  8. time chroot "$PWD/Part_1" /bin/bash
  9.  
  10. #
  11. # inside chroot
  12. #
  13. mount proc /proc -t proc
  14. mount devpts /dev/pts -t devpts
  15. mount -t nfs -overs=4.2 derfwpc5131:/export/home/rmainz /mnt
  16. cd mnt/work/jessie_target_packages/
  17. dpkg -i binfmt-support_2.1.5-1_i386.deb
  18. dpkg -i gisnfsutils_1.0-1.deb
  19. dpkg -i *.deb
  20. cd new_kernel/
  21. dpkg -i --root=/ linux-headers-6.5.0-rt5-rovema012-ga38e9947696e_6.5.0-ga38e9947696e-1_i386.deb
  22. dpkg -i --root=/ linux-libc-dev_6.5.0-ga38e9947696e-1_i386.deb
  23. dpkg -i --root=/ linux-image-6.5.0-rt5-rovema012-ga38e9947696e_6.5.0-ga38e9947696e-1_i386.deb
  24. # prepare leaving chroot:
  25. cd /
  26. umount mnt
  27. umount dev/pts
  28. umount proc/sys/fs/binfmt_misc
  29. umount proc
  30.  
  31. #
  32. # leave chroot
  33. #
  34. exit
  35. # outside chroot

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at