Hacking Automated build for shofEL2+Linux

  • Thread starter Thread starter DarkIaspis
  • Start date Start date
  • Views Views 9,212
  • Replies Replies 34
  • Likes Likes 6
If I remove the Username and just put in the name I get following:

Code:
pega@ubuntu:~/linux-switch-docker$ sudo docker image ls --all
[sudo] password for pega:
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
linux-switch        latest              72c8cabfbab2        About an hour ago   647MB
switcherino         latest              72c8cabfbab2        About an hour ago   647MB
<none>              <none>              3420544ef329        About an hour ago   99.1MB
ubuntu              17.10               14107f6d2c97        11 days ago         99.1MB
pega@ubuntu:~/linux-switch-docker$ sudo docker run -it -d -v $PWD:/opt linux-switch /bin/bash -c "cd /opt; ./commands.sh"
084e6e3f24fee9631f6cf574011ba441edd0b0979caca17662989bfc209b20a8

But no Folder is created. shofEL2
 
Nope. Everything good. Linux is Booted. You just need a UART Serial Console connected to the Switch to set everything else up. Or you build yourself a Rootfs with GUI.

You will most likely need a 1.8V serial cable connected to the right hand side Joy-Con port to do anything useful with this at this point. Please do not bug us with questions about how to get this to run if you do not have a means to debug things yourself. This is not ready for end users. If you really want to try configuring your Linux image standalone to boot with WiFi or X support to get something done without a serial console, you're on your own and you get to suffer through the pain all by yourself. Hint: WiFi is broken on the first boot, you need to reboot on the first Linux launch (which puts you back into RCM mode), and then run the exploit again. Patches welcome.
 
I just stuck at :

Code:
sudo docker run -it -d -v $PWD:/opt pega/linux-switch /bin/bash -c "cd /opt; ./commands.sh"
Unable to find image 'pega/linux-switch:latest' locally
docker: Error response from daemon: pull access denied for pega/linux-switch, repository does not exist or may require 'docker login'.
See 'docker run --help'.

You need to build the image tagging it with the same name it's supposed to used there (pega/linux-switch:latest)
I will post a Debian with GUI when I am finished setting my Image up.

Let me know when you've done, I'll merge everything in the README file onto the repo
 
IMO people who can't setup a simple build environment won't be able to setup a Docker, but nice work !
Probably you're right but, I mean, atm, if you come close to the hacking scene, if you aren't able to configure a build environment you certainly don't need to compile a the whole loading chain for getting linux ran onto the switch =P
 
I totally agree with you ! But for me for instance, as I've never used Docker, I find it easier to git clone & make
 
I get this error during the compilation:
Code:
make[1]: *** No rule to make target '/lib/firmware/nvidia/gm20b/pmu/desc.bin', needed by 'firmware/nvidia/gm20b/pmu/desc.bin.gen.o'.  Stop.
Makefile:1048: recipe for target 'firmware' failed
The error has been fixed by adding additional package and file (as newly reported by the fail0verflow team). Just to be sure that the procedure completes, I modified the travis build with the whole procedure.
 

Site & Scene News

Popular threads in this forum