TomTravis / crouton_Penguin

Chromium OS Penguin multi user linux work station
https://drive.google.com/uc?export=download&id=1HFjX1OejjHAYbaHVL3l9krmBUkA1caZR
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

update lenovo Duet 5 snapdragon 7c for linux install #48

Open TomTravis opened 1 year ago

TomTravis commented 1 year ago

yes it is to bad the 7c Qualcom arm64 is not supported by debootstrap with crouton it seems tail: cannot open '/tmp/crouton.Jwe/xenial-arm64/debootstrap/debootstrap.log' for reading: No such file or directory Failed to run debootstrap. you are not the only one,you can fork and play with debootstrap arm64 settings or try to create a file in /tmp and see if you get Permission denied this may help you https://www.lenovo.com/us/en/faqs/operating-systems/install-linux-chromebook/?orgRef=https%253A%252F%252Fwww.google.com%252F

from hungshe I think maybe this is an issue before move into fork debootstrap test:

I just did the following experiment:

localhost# mount /var -o remount,exec localhost# /bin/hostname localhost localhost# cp /bin/hostname /var/ localhost# /var/hostname localhost localhost# mount /tmp -o remount,exec localhost# cp /bin/hostname /tmp/ localhost# /tmp/hostname bash: /tmp/hostname: /usr/bin/coreutils: bad interpreter: Permission denied localhost# chmod 777 /tmp/ localhost# /tmp/hostname bash: /tmp/hostname: /usr/bin/coreutils: bad interpreter: Permission denied

I think that's the reason for permission isssue. How do I successfully remount /tmp as exec section?

This experiment is done after powerwash my device.

TomTravis commented 1 year ago

chronos@localhost / $ /usr/bin/coreutils --help Usage: /usr/bin/coreutils --coreutils-prog=PROGRAM_NAME [PARAMETERS]... Execute the PROGRAM_NAME built-in program with the given PARAMETERS.

  --help     display this help and exit
  --version  output version information and exit

Built-in programs: [ arch b2sum base32 base64 basename basenc cat chcon chgrp chmod chown chroot cksum comm cp csplit cut date dd df dir dircolors dirname du echo env expand expr factor false fmt fold ginstall head hostid hostname id join link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc numfmt od paste pathchk pinky pr printenv printf ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf sleep sort split stat stdbuf stty sum sync tac tail tee test timeout touch tr true truncate tsort tty uname unexpand uniq unlink users vdir wc who whoami yes

Use: '/usr/bin/coreutils --coreutils-prog=PROGRAM_NAME --help' for individual program help.

GNU coreutils online help: https://www.gnu.org/software/coreutils/ Report any translation bugs to https://translationproject.org/team/ Full documentation https://www.gnu.org/software/coreutils/coreutils or available locally via: info '(coreutils) Multi-call invocation' chronos@localhost / $