- # mount "rovema_pc.img":
- bash dev027_kernel5_15/mountImage "$PWD/rovema_pc.img"
- mount
- #
- # enter chroot:
- #
- time chroot "$PWD/Part_1" /bin/bash
- #
- # inside chroot
- #
- mount proc /proc -t proc
- mount devpts /dev/pts -t devpts
- mount -t nfs -overs=4.2 derfwpc5131:/export/home/rmainz /mnt
- cd mnt/work/jessie_target_packages/
- dpkg -i binfmt-support_2.1.5-1_i386.deb
- dpkg -i gisnfsutils_1.0-1.deb
- dpkg -i *.deb
- cd new_kernel/
- dpkg -i --root=/ linux-headers-6.5.0-rt5-rovema012-ga38e9947696e_6.5.0-ga38e9947696e-1_i386.deb
- dpkg -i --root=/ linux-libc-dev_6.5.0-ga38e9947696e-1_i386.deb
- dpkg -i --root=/ linux-image-6.5.0-rt5-rovema012-ga38e9947696e_6.5.0-ga38e9947696e-1_i386.deb
- # prepare leaving chroot:
- cd /
- umount mnt
- umount dev/pts
- umount proc/sys/fs/binfmt_misc
- umount proc
- #
- # leave chroot
- #
- exit
- # outside chroot
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
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.