Skip to content

Releases: bell07/bashscripts-switch_gentoo

2024-11-06 Stage3 and live medium

06 Nov 09:45
Compare
Choose a tag to compare

Release information:

The packages are built using qemu-chroot using the scripts in this repository.
Some used configuration is in my personal overlay https://github.com/bell07/gentoo-bell07_overlay

Release was build, because in previous 2024-10-27 release Live Linux build the ssh server was broken.
All packages updated.
The PYTHON_TARGETS and PYTHON_SINGLE_TARGET are updated to python3_12. Please note, the sys-libs/glibc in portage requires python-3.11 to build.
For this reason I added an version in overlay, that allow python-3.12, but masked testing. If you like to remove the python-3.11, you can unmask this version.

The used toolchain versions are:

sys-devel/gcc-11.5.0
sys-libs/glibc-2.35-r11
sys-devel/binutils-2.42-r2
sys-kernel/linux-headers-9999.512: Use same sources as sys-kernel/nintendo-switch-l4t-sources-4.9.140.512 (switchroot 5.1.2)

Stage3 (openrc)

The main difference to the official stage3 is replaced sys-kernel/linux-headers. Because of old headers, the glibc and gcc are sticked to older versions too.

All packages are compiled with Switch-optimizations as defined in switch_overlay profile switch:nintendo_switch/23.0. (merged-usr layout).

The stage includes already dev-vcs/git and settings for switch_overlay. You can checkout both, gentoo and switch_overlay repo, using

emaint sync -A

in chroot.

Live Linux

Small Live Gentoo for Nintendo Switch. Useful for analysis reasons or if you like to install Gentoo natively without qemu or cross compiling.

  • Runs fully in RAM (~240 MB used after boot), that means formatting or replacing SD-card at runtime is possible (but still not recommended)
  • Framebuffer console enabled by default to external monitor
  • gpm mouse support on framebuffer console
  • SSH-Server with root login allowed is enabled by default. You can login after boot using ssh root@switch-live
  • WIFI settings can be set in vfat:/switchroot/live/wpa_supplicant.conf. The file is copied to ramdisk and used to connect on boot

"root" user password is "Gentoo4Switch!"

All Live Linux installed packages Some not relevant packages removed from list (like virtuals). Some packages are incomplete in the initramfs to save space.
[I] app-admin/testdisk (7.2@27.10.2024): Checks and undeletes partitions + PhotoRec, signature based recovery tool
[I] app-arch/bzip2 (1.0.8-r5(0/1){gpkg}@25.07.2024): A high-quality data compressor used extensively by Gentoo Linux
[I] app-arch/gzip (1.13-r1{gpkg}@26.07.2024): Standard GNU compressor
[I] app-arch/lz4 (1.10.0-r1(0/1.10.0-meson){gpkg}@18.08.2024): Extremely Fast Compression algorithm
[I] app-arch/p7zip (17.05-r1{gpkg}@23.10.2024): Port of 7-Zip archiver for Unix
[I] app-arch/tar (1.35{gpkg}@27.10.2024): Use this to make tarballs :)
[I] app-arch/unzip (6.0_p27-r1{gpkg:2}@21.08.2024): unzipper for pkzip-compressed files
[I] app-arch/xz-utils (5.6.2-r1{gpkg}@26.07.2024): Utils for managing LZMA compressed files
[I] app-arch/zstd (1.5.6(0/1){gpkg}@27.07.2024): zstd fast compression library
[I] app-crypt/libb2 (0.98.1-r3{gpkg}@29.07.2024): C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
[I] app-crypt/libmd (1.1.0{gpkg}@25.07.2024): Message Digest functions from BSD systems
[I] app-crypt/mit-krb5 (1.21.3{gpkg}@02.09.2024): MIT Kerberos V
[I] app-editors/nano (8.1{gpkg}@27.10.2024): GNU GPL'd Pico clone with more functionality
[I] app-misc/ca-certificates (20240203.3.98{gpkg:2}@22.08.2024): Common CA Certificates PEM files
[I] app-misc/evtest (1.35{gpkg}@07.08.2024): test program for capturing input device events
[I] app-misc/mc (4.8.32-r1{gpkg}@27.10.2024): GNU Midnight Commander is a text based file manager
[I] app-misc/mime-types (2.1.54{gpkg}@25.07.2024): Provides /etc/mime.types file
[I] app-misc/screen (4.9.1-r1{gpkg}@27.10.2024): screen manager with VT100/ANSI terminal emulation
[I] app-misc/tmux (3.4-r1{gpkg}@24.10.2024): Terminal multiplexer
[I] app-shells/bash (5.2_p37{gpkg}@23.10.2024): The standard GNU Bourne again shell
[I] dev-db/sqlite (3.46.0(3){gpkg:2}@22.08.2024): SQL database engine
[U] dev-lang/python (3.12.7_p1(3.12){gpkg:2}@06.11.2024): Freethreading (no-GIL) version of Python programming language
[I] dev-libs/cJSON (1.7.18{gpkg}@01.08.2024): Ultralightweight JSON parser in ANSI C
[I] dev-libs/elfutils (0.191-r2{gpkg}@29.10.2024): Libraries/utilities to handle ELF objects (drop in replacement for libelf)
[I] dev-libs/expat (2.6.3{gpkg}@08.09.2024): Stream-oriented XML parser library
[I] dev-libs/glib (2.78.6(2){gpkg}@27.10.2024): The GLib library of C routines
[I] dev-libs/gmp (6.3.0-r1(0/10.4){gpkg}@27.07.2024): Library for arbitrary-precision arithmetic on different type of numbers
[I] dev-libs/libbsd (0.11.8{gpkg}@27.07.2024): Library to provide useful functions commonly found on BSD systems
[I] dev-libs/libev (4.33{gpkg}@01.08.2024): A high-performance event loop/event model with lots of feature
[I] dev-libs/libevent (2.1.12-r1(0/2.1-7){gpkg}@01.08.2024): Library to execute a function when a specific event occurs on a file descriptor
[I] dev-libs/libffi (3.4.6(0/8){gpkg}@08.09.2024): Portable, high level programming interface to various calling conventions
[I] dev-libs/libnl (3.10.0(3){gpkg:2}@28.10.2024): Libraries providing APIs to netlink protocol based Linux kernel interfaces
[I] dev-libs/libpcre (8.45-r3(3){gpkg}@02.08.2024): Perl-compatible regular expression library
[I] dev-libs/libpcre2 (10.44-r1(0/3){gpkg}@29.08.2024): Perl-compatible regular expression library
[I] dev-libs/libunistring (1.2(0/5){gpkg}@26.07.2024): Library for manipulating Unicode and C strings according to Unicode standard
[I] dev-libs/libusb (1.0.27-r1(1){gpkg}@27.10.2024): Userspace access to USB devices
[I] dev-libs/libverto (0.3.2{gpkg}@01.08.2024): Main event loop abstraction library
[I] dev-libs/libxml2 (2.12.8(2){gpkg:3}@06.11.2024): XML C parser and toolkit
[I] dev-libs/mpc (1.3.1(0/3){gpkg}@27.07.2024): A library for multiprecision complex arithmetic with exact rounding
[I] dev-libs/mpdecimal (4.0.0(4){gpkg}@25.07.2024): Correctly-rounded arbitrary precision decimal floating point arithmetic
[I] dev-libs/mpfr (4.2.1(0/6){gpkg}@27.07.2024): Library for multiple-precision floating-point computations with exact rounding
[I] dev-libs/newt (0.52.24{gpkg:2}@06.11.2024): Redhat's Newt windowing toolkit development files
[I] dev-libs/openssl (3.3.2(0/3){gpkg}@23.10.2024): Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)
[I] dev-libs/popt (1.19-r1{gpkg}@27.07.2024): Parse Options - Command line parser
[I] net-analyzer/traceroute (2.1.5@27.10.2024): Utility to trace the route of IP packets
[I] net-dns/libidn2 (2.3.7(0/2){gpkg}@29.07.2024): An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
[I] net-fs/cifs-utils (7.0-r1{gpkg:2}@06.11.2024): Tools for Managing Linux CIFS Client Filesystems
[I] net-misc/dhcp (4.4.3_p1-r6@27.10.2024): ISC Dynamic Host Configuration Protocol (DHCP) client/server
[I] net-misc/iperf (3.17.1(3){gpkg}@23.10.2024): A TCP, UDP, and SCTP network bandwidth measurement tool
[I] net-misc/iputils (20240117{gpkg}@03.08.2024): Network monitoring tools including ping and ping6
[I] net-misc/netifrc (0.7.8-r1{gpkg}@21.08.2024): Gentoo Network Interface Management Scripts
[I] net-misc/openssh (9.8_p1-r3{gpkg}@06.11.2024): Port of OpenBSD's free SSH release
[I] net-misc/rsync (3.3.0-r1{gpkg:2}@06.11.2024): File transfer program to keep remote files into sync
[I] net-misc/wget (1.24.5{gpkg}@05.08.2024): Network utility to retrieve files from the WWW
[I] net-misc/whois (5.5.23@27.10.2024): Improved Whois Client
[I] net-wireless/wireless-regdb (20240508{gpkg}@23.10.2024): Wireless Regulatory database for Linux
[I] net-wireless/wpa_supplicant (2.10-r5{gpkg}@27.10.2024): IEEE 802.1X/WPA supplicant for secure wireless transfers
[I] sys-apps/attr (2.5.2-r1{gpkg}@27.07.2024): Extended attributes tools
[I] sys-apps/baselayout (2.17{gpkg}@05.11.2024): Filesystem baselayout and init scripts
[I] sys-apps/coreutils (9.5{gpkg}@27.10.2024): Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)
[I] sys-apps/file (5.45-r4{gpkg:2}@27.10.2024): Identify a file's format by scanning binary data for patterns
[I] sys-apps/findutils (4.10.0{gpkg}@02.08.2024): GNU utilities for finding files
[I] sys-apps/gawk (5.3.1{gpkg}@02.11.2024): GNU awk pattern-matching language
[I] sys-apps/gptfdisk (1.0.10-r1{gpkg}@23.10.2024): GPT partition table manipulator for Linux
[I] sys-apps/grep (3.11-r1{gpkg}@29.07.2024): GNU regular expression matcher
[I] sys-apps/hwdata (0.383{gpkg}@25.07.2024): Hardware identification and configuration data
[I] sys-apps/iproute2 (6.9.0{gpkg}@27.10.2024): kernel routing and traffic control utilities
[I] sys-apps/kbd (2.6.4{gpkg}@27.10.2024): Keyboard and console utilities
[I] sys-apps/keyutils (1.6.3-r1(0/1.9){gpkg}@31.07.2024): Linux Key Management Utilities
[I] sys-apps/kmod (33{gpkg}@23.10.2024): Library and tools for managing linux kernel modules
[I] sys-apps/less (643-r2{gpkg}@02.08.2024): Excellent text file viewer
[I] sys-apps/net-tools (2.10{gpkg}@01.08.2024): Standard Linux networking tools
[I] sys-apps/openrc (0.54.2{gpkg:2}@27.10.2024): OpenRC manages the services, startup and shutdown of a host
[I] sys-apps/pciutils (3.13.0{gpkg}@03.08.2024): Various utilities dealing with the PCI bus
[I] sys-apps/sed (4.9-r1{gpkg}@27.10.2024): Super-useful stream editor
[I] sys-apps/shadow (4.14.2(0/4){gpkg}[1]@27.10.2024): Utilities to deal with user accounts
[I] sys-apps/system-chroot [2] (20230705@27.10.2024): Prepare a system root to be mounted in chroot. Do all submounts like sys or proc.
[I] sys-apps/systemd-utils (252.10{gpkg}[1]@27.10.2024): Utilities split out from systemd for OpenRC users
[I] sys-apps/sysvinit (3.09{gpkg}@22.08.2024): /sbin/init - parent o...
Read more

2024-10-27 Stage3 and live medium

27 Oct 17:10
Compare
Choose a tag to compare

Release information:

The packages are built using qemu-chroot using the scripts in this repository.
Some used configuration is in my personal overlay https://github.com/bell07/gentoo-bell07_overlay

This relase is an regular update. The sys-devel/gcc is updated to 11.5.0, but I did not rebuild all packages this time.
The most packages in this release are still compiled using gcc-11.4.1.

The used toolchain versions are:

sys-devel/gcc-11.5.0
sys-libs/glibc-2.35-r11
sys-devel/binutils-2.42-r2
sys-kernel/linux-headers-9999.512: Use same sources as sys-kernel/nintendo-switch-l4t-sources-4.9.140.512 (switchroot 5.1.2)

Stage3 (openrc)

The main difference to the official stage3 is replaced sys-kernel/linux-headers. Because of old headers, the glibc and gcc are sticked to older versions too.

All packages are compiled with Switch-optimizations as defined in switch_overlay profile switch:nintendo_switch/23.0. (merged-usr layout).

The stage includes already dev-vcs/git and settings for switch_overlay. You can checkout both, gentoo and switch_overlay repo, using

emaint sync -A

in chroot.

Live Linux

Small Live Gentoo for Nintendo Switch. Useful for analysis reasons or if you like to install Gentoo natively without qemu or cross compiling.

  • Runs fully in RAM (~240 MB used after boot), that means formatting or replacing SD-card at runtime is possible (but still not recommended)
  • Framebuffer console enabled by default to external monitor
  • gpm mouse support on framebuffer console
  • SSH-Server with root login allowed is enabled by default. You can login after boot using ssh root@switch-live
  • WIFI settings can be set in vfat:/switchroot/live/wpa_supplicant.conf. The file is copied to ramdisk and used to connect on boot

"root" user password is "Gentoo4Switch!"

New packages in this release:

app-misc/tmux: Terminal multiplexer

All Live Linux installed packages Some not relevant packages removed from list (like virtuals). Some packages are incomplete in the initramfs to save space.
[I] app-admin/testdisk (7.2@27.10.2024): Checks and undeletes partitions + PhotoRec, signature based recovery tool
[I] app-arch/bzip2 (1.0.8-r5(0/1){gpkg}@25.07.2024): A high-quality data compressor used extensively by Gentoo Linux
[I] app-arch/gzip (1.13-r1{gpkg}@26.07.2024): Standard GNU compressor
[I] app-arch/lz4 (1.10.0-r1(0/1.10.0-meson){gpkg}@18.08.2024): Extremely Fast Compression algorithm
[I] app-arch/p7zip (17.05-r1{gpkg}@23.10.2024): Port of 7-Zip archiver for Unix
[I] app-arch/tar (1.35{gpkg}@27.10.2024): Use this to make tarballs :)
[I] app-arch/unzip (6.0_p27-r1{gpkg:2}@21.08.2024): unzipper for pkzip-compressed files
[I] app-arch/xz-utils (5.6.2-r1{gpkg}@26.07.2024): Utils for managing LZMA compressed files
[I] app-arch/zstd (1.5.6(0/1){gpkg}@27.07.2024): zstd fast compression library
[I] app-crypt/libb2 (0.98.1-r3{gpkg}@29.07.2024): C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
[I] app-crypt/libmd (1.1.0{gpkg}@25.07.2024): Message Digest functions from BSD systems
[I] app-crypt/mit-krb5 (1.21.3{gpkg}@02.09.2024): MIT Kerberos V
[I] app-editors/nano (8.1{gpkg}@27.10.2024): GNU GPL'd Pico clone with more functionality
[I] app-misc/ca-certificates (20240203.3.98{gpkg:2}@22.08.2024): Common CA Certificates PEM files
[I] app-misc/evtest (1.35{gpkg}@07.08.2024): test program for capturing input device events
[I] app-misc/mc (4.8.32-r1{gpkg}@27.10.2024): GNU Midnight Commander is a text based file manager
[I] app-misc/mime-types (2.1.54{gpkg}@25.07.2024): Provides /etc/mime.types file
[I] app-misc/screen (4.9.1-r1{gpkg}@27.10.2024): screen manager with VT100/ANSI terminal emulation
[I] app-misc/tmux (3.4-r1{gpkg}@24.10.2024): Terminal multiplexer
[I] app-shells/bash (5.2_p37{gpkg}@23.10.2024): The standard GNU Bourne again shell
[I] dev-db/sqlite (3.46.0(3){gpkg:2}@22.08.2024): SQL database engine
[U] dev-lang/python (3.11.10_p1(3.11){gpkg:2}@26.10.2024 -> 2.7.18_p16-r2(2.7)^t 3.8.20_p2(3.8)^t 3.9.20_p1(3.9)^t 3.10.15_p1(3.10)^t 3.11.10_p1(3.11)^t{gpkg:2} 3.12.6_p4(3.12)^t{gpkg:2}): Freethreading (no-GIL) version of Python programming language
[I] dev-libs/cJSON (1.7.18{gpkg}@01.08.2024): Ultralightweight JSON parser in ANSI C
[I] dev-libs/elfutils (0.191-r1{gpkg}@02.09.2024): Libraries/utilities to handle ELF objects (drop in replacement for libelf)
[I] dev-libs/expat (2.6.3{gpkg}@08.09.2024): Stream-oriented XML parser library
[I] dev-libs/glib (2.78.6(2){gpkg}@27.10.2024): The GLib library of C routines
[I] dev-libs/gmp (6.3.0-r1(0/10.4){gpkg}@27.07.2024): Library for arbitrary-precision arithmetic on different type of numbers
[I] dev-libs/libbsd (0.11.8{gpkg}@27.07.2024): Library to provide useful functions commonly found on BSD systems
[I] dev-libs/libev (4.33{gpkg}@01.08.2024): A high-performance event loop/event model with lots of feature
[I] dev-libs/libevent (2.1.12-r1(0/2.1-7){gpkg}@01.08.2024): Library to execute a function when a specific event occurs on a file descriptor
[I] dev-libs/libffi (3.4.6(0/8){gpkg}@08.09.2024): Portable, high level programming interface to various calling conventions
[I] dev-libs/libnl (3.10.0(3){gpkg}@23.10.2024): Libraries providing APIs to netlink protocol based Linux kernel interfaces
[I] dev-libs/libpcre (8.45-r3(3){gpkg}@02.08.2024): Perl-compatible regular expression library
[I] dev-libs/libpcre2 (10.44-r1(0/3){gpkg}@29.08.2024): Perl-compatible regular expression library
[I] dev-libs/libunistring (1.2(0/5){gpkg}@26.07.2024): Library for manipulating Unicode and C strings according to Unicode standard
[I] dev-libs/libusb (1.0.27-r1(1){gpkg}@27.10.2024): Userspace access to USB devices
[I] dev-libs/libverto (0.3.2{gpkg}@01.08.2024): Main event loop abstraction library
[I] dev-libs/libxml2 (2.12.7(2){gpkg:2}@21.08.2024): XML C parser and toolkit
[I] dev-libs/mpc (1.3.1(0/3){gpkg}@27.07.2024): A library for multiprecision complex arithmetic with exact rounding
[I] dev-libs/mpdecimal (4.0.0(4){gpkg}@25.07.2024): Correctly-rounded arbitrary precision decimal floating point arithmetic
[I] dev-libs/mpfr (4.2.1(0/6){gpkg}@27.07.2024): Library for multiple-precision floating-point computations with exact rounding
[I] dev-libs/newt (0.52.24{gpkg}@27.10.2024): Redhat's Newt windowing toolkit development files
[I] dev-libs/openssl (3.3.2(0/3){gpkg}@23.10.2024): Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)
[I] dev-libs/popt (1.19-r1{gpkg}@27.07.2024): Parse Options - Command line parser
[I] net-analyzer/traceroute (2.1.5@27.10.2024): Utility to trace the route of IP packets
[I] net-dns/libidn2 (2.3.7(0/2){gpkg}@29.07.2024): An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
[I] net-fs/cifs-utils (7.0-r1{gpkg}@27.10.2024): Tools for Managing Linux CIFS Client Filesystems
[I] net-misc/dhcp (4.4.3_p1-r6@27.10.2024): ISC Dynamic Host Configuration Protocol (DHCP) client/server
[I] net-misc/iperf (3.17.1(3){gpkg}@23.10.2024): A TCP, UDP, and SCTP network bandwidth measurement tool
[I] net-misc/iputils (20240117{gpkg}@03.08.2024): Network monitoring tools including ping and ping6
[I] net-misc/netifrc (0.7.8-r1{gpkg}@21.08.2024): Gentoo Network Interface Management Scripts
[I] net-misc/openssh (9.8_p1-r2{gpkg}@27.10.2024): Port of OpenBSD's free SSH release
[I] net-misc/rsync (3.3.0-r1{gpkg}@27.10.2024): File transfer program to keep remote files into sync
[I] net-misc/wget (1.24.5{gpkg}@05.08.2024): Network utility to retrieve files from the WWW
[I] net-misc/whois (5.5.23@27.10.2024): Improved Whois Client
[I] net-wireless/wireless-regdb (20240508{gpkg}@23.10.2024): Wireless Regulatory database for Linux
[I] net-wireless/wpa_supplicant (2.10-r5{gpkg}@27.10.2024): IEEE 802.1X/WPA supplicant for secure wireless transfers
[I] sys-apps/attr (2.5.2-r1{gpkg}@27.07.2024): Extended attributes tools
[I] sys-apps/baselayout (2.15{gpkg}@30.07.2024): Filesystem baselayout and init scripts
[I] sys-apps/coreutils (9.5{gpkg}@27.10.2024): Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)
[I] sys-apps/file (5.45-r4{gpkg}@02.08.2024): Identify a file's format by scanning binary data for patterns
[I] sys-apps/findutils (4.10.0{gpkg}@02.08.2024): GNU utilities for finding files
[I] sys-apps/gawk (5.3.0-r1{gpkg}@05.08.2024): GNU awk pattern-matching language
[I] sys-apps/gptfdisk (1.0.10-r1{gpkg}@23.10.2024): GPT partition table manipulator for Linux
[I] sys-apps/grep (3.11-r1{gpkg}@29.07.2024): GNU regular expression matcher
[I] sys-apps/hwdata (0.383{gpkg}@25.07.2024): Hardware identification and configuration data
[I] sys-apps/iproute2 (6.9.0{gpkg}@27.10.2024): kernel routing and traffic control utilities
[I] sys-apps/kbd (2.6.4{gpkg}@27.10.2024): Keyboard and console utilities
[I] sys-apps/keyutils (1.6.3-r1(0/1.9){gpkg}@31.07.2024): Linux Key Management Utilities
[I] sys-apps/kmod (33{gpkg}@23.10.2024): Library and tools for managing linux kernel modules
[I] sys-apps/less (643-r2{gpkg}@02.08.2024): Excellent text file viewer
[I] sys-apps/net-tools (2.10{gpkg}@01.08.2024): Standard Linux networking tools
[I] sys-apps/openrc (0.54.2{gpkg:2}@27.10.2024): OpenRC manages the services, startup and shutdown of a host
[I] sys-apps/pciutils (3.13.0{gpkg}@03.08.2024): Various utilities dealing with the PCI bus
[I] sys-apps/sed (4.9-r1{gpkg}@27.10.2024): Super-useful stream editor
[I] sys-apps/shadow (4.14.2(0/4){gpkg}[1]@27.10.2024): Utilities to deal with user accounts
[I] sys-apps/system-chroot [2] (20230705@27.10.2024): Prepare a system root to be mounted in chroot. Do all submounts like sys or proc.
[I] sys-apps/systemd-utils (252.10{gpkg}[1]@27.10.2024): Utilities split out from systemd for OpenRC users
[I] sys-apps/sysvinit (3.09{gpkg}@22.08.2024): /sbin/init - parent of all processes
[I] sys-apps/usb...
Read more

2024-08-23 Stage3 and live medium

23 Aug 07:52
Compare
Choose a tag to compare

Release information:

The packages are built using qemu-chroot using the scripts in this repository.
Some used configuration is in my personal overlay https://github.com/bell07/gentoo-bell07_overlay

Major change for this release is move to 23.0 merged-usr gentoo profile (switch:nintendo_switch/23.0).

The used toolchain versions are:

sys-devel/gcc-11.4.1_p20240501
sys-libs/glibc-2.35-r11
sys-devel/binutils-2.42-r1
sys-kernel/linux-headers-9999.512: Use same sources as sys-kernel/nintendo-switch-l4t-sources-4.9.140.512 (switchroot 5.1.2)

Stage3 (openrc)

The main difference to the official stage3 is replaced sys-kernel/linux-headers. Because of old headers, the glibc and gcc are sticked to older versions too.

All packages are compiled with Switch-optimizations as defined in switch_overlay profile switch:nintendo_switch/23.0.

The stage includes already dev-vcs/git and settings for switch_overlay. You can checkout both, gentoo and switch_overlay repo, using

emaint sync -A

in chroot.

Live Linux

Small Live Gentoo for Nintendo Switch. Useful for analysis reasons or if you like to install Gentoo natively without qemu or cross compiling.

  • Runs fully in RAM (~240 MB used after boot), that means formatting or replacing SD-card at runtime is possible (but still not recommended)
  • Framebuffer console enabled by default to external monitor
  • gpm mouse support on framebuffer console
  • SSH-Server with root login allowed is enabled by default. You can login after boot using ssh root@switch-live
  • WIFI settings can be set in vfat:/switchroot/live/wpa_supplicant.conf. The file is copied to ramdisk and used to connect on boot

"root" user password is "Gentoo4Switch!"

Live Linux installed packages Some not relevant packages removed from list (like virtuals). Some packages are incomplete in the initramfs to save space.

New packages:

app-arch/lz4` Extremely Fast Compression algorithm
All packages:
[I] app-admin/testdisk (7.2@22.08.2024): Checks and undeletes partitions + PhotoRec, signature based recovery tool
[I] app-arch/bzip2 (1.0.8-r5(0/1){gpkg}@25.07.2024): A high-quality data compressor used extensively by Gentoo Linux
[I] app-arch/gzip (1.13-r1{gpkg}@26.07.2024): Standard GNU compressor
[I] app-arch/lz4 (1.10.0-r1(0/1.10.0-meson){gpkg}@18.08.2024): Extremely Fast Compression algorithm
[I] app-arch/p7zip (16.02-r8{gpkg}@04.08.2024): Port of 7-Zip archiver for Unix
[I] app-arch/tar (1.35{gpkg}@22.08.2024): Use this to make tarballs :)
[I] app-arch/unzip (6.0_p27-r1{gpkg:2}@21.08.2024): unzipper for pkzip-compressed files
[I] app-arch/xz-utils (5.6.2-r1{gpkg}@26.07.2024): Utils for managing LZMA compressed files
[I] app-arch/zstd (1.5.6(0/1){gpkg}@27.07.2024): zstd fast compression library
[I] app-crypt/libb2 (0.98.1-r3{gpkg}@29.07.2024): C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
[I] app-crypt/libmd (1.1.0{gpkg}@25.07.2024): Message Digest functions from BSD systems
[I] app-crypt/mit-krb5 (1.21.2{gpkg}@03.08.2024): MIT Kerberos V
[I] app-editors/nano (8.1{gpkg}@22.08.2024): GNU GPL'd Pico clone with more functionality
[I] app-misc/ca-certificates (20240203.3.98{gpkg:2}@22.08.2024): Common CA Certificates PEM files
[I] app-misc/evtest (1.35{gpkg}@07.08.2024): test program for capturing input device events
[I] app-misc/mc (4.8.30-r2{gpkg}@22.08.2024): GNU Midnight Commander is a text based file manager
[I] app-misc/mime-types (2.1.54{gpkg}@25.07.2024): Provides /etc/mime.types file
[I] app-misc/screen (4.9.1-r1{gpkg}@22.08.2024): screen manager with VT100/ANSI terminal emulation
[I] app-shells/bash (5.2_p26-r6{gpkg}@27.07.2024): The standard GNU Bourne again shell
[I] dev-db/sqlite (3.46.0(3){gpkg:2}@22.08.2024): SQL database engine
[U] dev-lang/python (3.11.9_p1(3.11){gpkg:2}@22.08.2024 -> 2.7.18_p16-r2(2.7)^t 3.8.19_p2(3.8)^t 3.9.19_p3(3.9)^t 3.10.14_p1-r1(3.10)^t 3.11.9_p1(3.11)^t{gpkg:2} 3.12.4_p3(3.12)^t{gpkg}): An interpreted, interactive, object-oriented programming language
[I] dev-libs/cJSON (1.7.18{gpkg}@01.08.2024): Ultralightweight JSON parser in ANSI C
[I] dev-libs/elfutils (0.191-r1{gpkg}@09.08.2024): Libraries/utilities to handle ELF objects (drop in replacement for libelf)
[I] dev-libs/expat (2.5.0{gpkg}@27.07.2024): Stream-oriented XML parser library
[I] dev-libs/glib (2.78.6(2){gpkg}@22.08.2024): The GLib library of C routines
[I] dev-libs/gmp (6.3.0-r1(0/10.4){gpkg}@27.07.2024): Library for arbitrary-precision arithmetic on different type of numbers
[I] dev-libs/libbsd (0.11.8{gpkg}@27.07.2024): Library to provide useful functions commonly found on BSD systems
[I] dev-libs/libev (4.33{gpkg}@01.08.2024): A high-performance event loop/event model with lots of feature
[I] dev-libs/libffi (3.4.4-r4(0/8){gpkg}@30.07.2024): Portable, high level programming interface to various calling conventions
[I] dev-libs/libnl (3.9.0(3){gpkg}@03.08.2024): Libraries providing APIs to netlink protocol based Linux kernel interfaces
[I] dev-libs/libpcre (8.45-r3(3){gpkg}@02.08.2024): Perl-compatible regular expression library
[I] dev-libs/libpcre2 (10.43(0/3){gpkg}@26.07.2024): Perl-compatible regular expression library
[I] dev-libs/libunistring (1.2(0/5){gpkg}@26.07.2024): Library for manipulating Unicode and C strings according to Unicode standard
[I] dev-libs/libusb (1.0.27-r1(1){gpkg}@22.08.2024): Userspace access to USB devices
[I] dev-libs/libverto (0.3.2{gpkg}@01.08.2024): Main event loop abstraction library
[I] dev-libs/libxml2 (2.12.7(2){gpkg:2}@21.08.2024): XML C parser and toolkit
[I] dev-libs/mpc (1.3.1(0/3){gpkg}@27.07.2024): A library for multiprecision complex arithmetic with exact rounding
[I] dev-libs/mpdecimal (4.0.0(4){gpkg}@25.07.2024): Correctly-rounded arbitrary precision decimal floating point arithmetic
[I] dev-libs/mpfr (4.2.1(0/6){gpkg}@27.07.2024): Library for multiple-precision floating-point computations with exact rounding
[I] dev-libs/newt (0.52.24{gpkg}@22.08.2024): Redhat's Newt windowing toolkit development files
[I] dev-libs/openssl (3.0.13-r2(0/3){gpkg}@26.07.2024): Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)
[I] dev-libs/popt (1.19-r1{gpkg}@27.07.2024): Parse Options - Command line parser
[I] net-analyzer/traceroute (2.1.5@22.08.2024): Utility to trace the route of IP packets
[I] net-dns/libidn2 (2.3.7(0/2){gpkg}@29.07.2024): An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
[I] net-fs/cifs-utils (7.0{gpkg}@22.08.2024): Tools for Managing Linux CIFS Client Filesystems
[I] net-misc/dhcp (4.4.3_p1-r6@22.08.2024): ISC Dynamic Host Configuration Protocol (DHCP) client/server
[I] net-misc/iperf (3.16(3){gpkg}@02.08.2024): A TCP, UDP, and SCTP network bandwidth measurement tool
[I] net-misc/iputils (20240117{gpkg}@03.08.2024): Network monitoring tools including ping and ping6
[I] net-misc/netifrc (0.7.8-r1{gpkg}@21.08.2024): Gentoo Network Interface Management Scripts
[I] net-misc/openssh (9.7_p1-r6{gpkg}@22.08.2024): Port of OpenBSD's free SSH release
[I] net-misc/rsync (3.3.0-r1{gpkg}@22.08.2024): File transfer program to keep remote files into sync
[I] net-misc/wget (1.24.5{gpkg}@05.08.2024): Network utility to retrieve files from the WWW
[I] net-misc/whois (5.5.21@22.08.2024): Improved Whois Client
[I] net-wireless/wireless-regdb (20220606{gpkg}@25.07.2024): Wireless Regulatory database for Linux
[I] net-wireless/wpa_supplicant (2.10-r4{gpkg}@22.08.2024): IEEE 802.1X/WPA supplicant for secure wireless transfers
[I] sys-apps/attr (2.5.2-r1{gpkg}@27.07.2024): Extended attributes tools
[I] sys-apps/baselayout (2.15{gpkg}@30.07.2024): Filesystem baselayout and init scripts
[I] sys-apps/coreutils (9.5{gpkg}@22.08.2024): Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)
[I] sys-apps/file (5.45-r4{gpkg}@02.08.2024): Identify a file's format by scanning binary data for patterns
[I] sys-apps/findutils (4.10.0{gpkg}@02.08.2024): GNU utilities for finding files
[I] sys-apps/gawk (5.3.0-r1{gpkg}@05.08.2024): GNU awk pattern-matching language
[I] sys-apps/gptfdisk (1.0.9-r3{gpkg}@04.08.2024): GPT partition table manipulator for Linux
[I] sys-apps/grep (3.11-r1{gpkg}@29.07.2024): GNU regular expression matcher
[I] sys-apps/hwdata (0.383{gpkg}@25.07.2024): Hardware identification and configuration data
[I] sys-apps/iproute2 (6.8.0-r2{gpkg}@22.08.2024): kernel routing and traffic control utilities
[I] sys-apps/kbd (2.6.4{gpkg}@22.08.2024): Keyboard and console utilities
[I] sys-apps/keyutils (1.6.3-r1(0/1.9){gpkg}@31.07.2024): Linux Key Management Utilities
[I] sys-apps/kmod (32-r2{gpkg}@01.08.2024): Library and tools for managing linux kernel modules
[I] sys-apps/less (643-r2{gpkg}@02.08.2024): Excellent text file viewer
[I] sys-apps/net-tools (2.10{gpkg}@01.08.2024): Standard Linux networking tools
[I] sys-apps/openrc (0.54.2{gpkg:2}@22.08.2024): OpenRC manages the services, startup and shutdown of a host
[I] sys-apps/pciutils (3.13.0{gpkg}@03.08.2024): Various utilities dealing with the PCI bus
[I] sys-apps/sed (4.9-r1{gpkg}@22.08.2024): Super-useful stream editor
[I] sys-apps/shadow (4.14.2(0/4){gpkg}[1]@22.08.2024): Utilities to deal with user accounts
[I] sys-apps/system-chroot [2] (20230705@22.08.2024): Prepare a system root to be mounted in chroot. Do all submounts like sys or proc.
[I] sys-apps/systemd-utils (252.10{gpkg}[1]@22.08.2024): Utilities split out from systemd for OpenRC users
[I] sys-apps/sysvinit (3.09{gpkg}@22.08.2024): /sbin/init - parent of all processes
[I] sys-apps/usbutils (017{gpkg}@26.07.2024): USB enumeration utilities
[I] sys-apps/util-linux (2.39.4-r1{gpkg:2}@22.08.2024): Various useful Linux utilities
[I] sys-apps/which (2.21{gpkg}@25.07.2024): Prints out location of specified executables that are in your path
[I] sys-block/f3 (8.0-r1@22.08....
Read more

2024-01-29 Stage3 and live medium

30 Jan 07:12
Compare
Choose a tag to compare

Release information:

The packages are built using qemu-chroot using the scripts in this repository.
Some used configuration is in my personal overlay https://github.com/bell07/gentoo-bell07_overlay

The used toolchain versions are:

sys-devel/gcc-11.4.1_p20240111
sys-libs/glibc-2.35-r11
sys-devel/binutils-2.41-r3
sys-kernel/linux-headers-9999.512: Use same sources as sys-kernel/nintendo-switch-l4t-sources-4.9.140.512 (switchroot 5.1.2)

Stage3 (openrc)

The main difference to the official stage3 is replaced sys-kernel/linux-headers. Because of old headers, the glibc and gcc are sticked to older versions too.

All packages are compiled with Switch-optimizations as defined in switch_overlay profile switch:nintendo_switch/17.0.

The stage includes already dev-vcs/git and settings for switch_overlay. You can checkout both, gentoo and switch_overlay repo, using

emaint sync -A

in chroot.

Live Linux

Small Live Gentoo for Nintendo Switch. Useful for analysis reasons or if you like to install Gentoo natively without qemu or cross compiling.

  • Runs fully in RAM (~100 MB used after boot), that means formatting or replacing SD-card at runtime is possible (but still not recommended)
  • Framebuffer console enabled by default to external monitor
  • gpm mouse support on framebuffer console
  • SSH-Server with root login allowed is enabled by default. You can login after boot using ssh root@switch-live
  • WIFI settings can be set in vfat:/switchroot/live/wpa_supplicant.conf. The file is copied to ramdisk and used to connect on boot

"root" user password is "Gentoo4Switch!"

Live Linux installed packages list Some not relevant packages removed from list (like virtuals). Some packages are incomplete in the initramfs to save space.
Installed packages:
[I] app-admin/testdisk (7.1-r2@28.01.2024): Checks and undeletes partitions + PhotoRec, signature based recovery tool
[I] app-arch/bzip2 (1.0.8-r4(0/1){gpkg}@20.01.2024): A high-quality data compressor used extensively by Gentoo Linux
[I] app-arch/gzip (1.13{gpkg}@20.01.2024): Standard GNU compressor
[I] app-arch/p7zip (16.02-r8{gpkg}@21.01.2024): Port of 7-Zip archiver for Unix
[I] app-arch/tar (1.35{gpkg}@28.01.2024): Use this to make tarballs :)
[I] app-arch/unzip (6.0_p27-r1{gpkg:2}@27.01.2024): unzipper for pkzip-compressed files
[I] app-arch/xz-utils (5.4.5{gpkg}@20.01.2024): Utils for managing LZMA compressed files
[I] app-arch/zstd (1.5.5(0/1){gpkg}@21.01.2024): zstd fast compression library
[I] app-crypt/libb2 (0.98.1-r3{gpkg}@19.01.2024): C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
[I] app-crypt/libmd (1.1.0{gpkg}@20.01.2024): Message Digest functions from BSD systems
[I] app-crypt/mit-krb5 (1.20.1{gpkg}@19.01.2024): MIT Kerberos V
[I] app-editors/nano (7.2-r1{gpkg}@28.01.2024): GNU GPL'd Pico clone with more functionality
[I] app-misc/ca-certificates (20230311.3.95{gpkg:2}@27.01.2024): Common CA Certificates PEM files
[I] app-misc/evtest (1.35{gpkg}@20.01.2024): test program for capturing input device events
[I] app-misc/mc (4.8.30-r1{gpkg}@28.01.2024): GNU Midnight Commander is a text based file manager
[I] app-misc/mime-types (2.1.54{gpkg}@29.01.2024): Provides /etc/mime.types file
[I] app-misc/screen (4.9.1{gpkg}@28.01.2024): screen manager with VT100/ANSI terminal emulation
[I] app-shells/bash (5.1_p16-r6{gpkg}@21.01.2024): The standard GNU Bourne again shell
[I] dev-db/sqlite (3.44.2-r1(3){gpkg:2}@27.01.2024): SQL database engine
[U] dev-lang/python (3.11.7(3.11){gpkg:2}@27.01.2024): An interpreted, interactive, object-oriented programming language
[I] dev-libs/cJSON (1.7.16{gpkg}@22.01.2024): Ultralightweight JSON parser in ANSI C
[I] dev-libs/elfutils (0.190{gpkg}@21.01.2024): Libraries/utilities to handle ELF objects (drop in replacement for libelf)
[I] dev-libs/expat (2.5.0{gpkg}@19.01.2024): Stream-oriented XML parser library
[I] dev-libs/glib (2.78.3(2){gpkg}@28.01.2024): The GLib library of C routines
[I] dev-libs/gmp (6.3.0-r1(0/10.4){gpkg}@21.01.2024): Library for arbitrary-precision arithmetic on different type of numbers
[I] dev-libs/libbsd (0.11.7-r2{gpkg}@19.01.2024): Library to provide useful functions commonly found on BSD systems
[I] dev-libs/libev (4.33{gpkg}@19.01.2024): A high-performance event loop/event model with lots of feature
[I] dev-libs/libffi (3.4.4-r2(0/8){gpkg}@20.01.2024): Portable, high level programming interface to various calling conventions
[I] dev-libs/libnl (3.8.0(3){gpkg}@19.01.2024): Libraries providing APIs to netlink protocol based Linux kernel interfaces
[I] dev-libs/libpcre (8.45-r2(3){gpkg}@21.01.2024): Perl-compatible regular expression library
[I] dev-libs/libpcre2 (10.42-r1(0/3){gpkg}@20.01.2024): Perl-compatible regular expression library
[I] dev-libs/libunistring (1.1-r1(0/5){gpkg}@21.01.2024): Library for manipulating Unicode and C strings according to Unicode standard
[I] dev-libs/libusb (1.0.26(1){gpkg}@28.01.2024): Userspace access to USB devices
[I] dev-libs/libverto (0.3.2{gpkg}@29.01.2024): Main event loop abstraction library
[I] dev-libs/libxml2 (2.12.4(2){gpkg}@28.01.2024): XML C parser and toolkit
[I] dev-libs/mpc (1.3.1(0/3){gpkg}@21.01.2024): A library for multiprecision complex arithmetic with exact rounding
[I] dev-libs/mpfr (4.2.1(0/6){gpkg}@21.01.2024): Library for multiple-precision floating-point computations with exact rounding
[I] dev-libs/newt (0.52.23-r1{gpkg}@28.01.2024): Redhat's Newt windowing toolkit development files
[I] dev-libs/openssl (3.0.12(0/3){gpkg}@20.01.2024): Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)
[I] dev-libs/popt (1.19{gpkg}@21.01.2024): Parse Options - Command line parser
[I] net-analyzer/traceroute (2.1.3@28.01.2024): Utility to trace the route of IP packets
[I] net-dns/libidn2 (2.3.4-r2(0/2){gpkg}@25.01.2024): An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
[I] net-fs/cifs-utils (7.0{gpkg}@28.01.2024): Tools for Managing Linux CIFS Client Filesystems
[I] net-misc/dhcp (4.4.3_p1-r4@28.01.2024): ISC Dynamic Host Configuration Protocol (DHCP) client/server
[I] net-misc/iperf (3.16(3){gpkg}@20.01.2024): A TCP, UDP, and SCTP network bandwidth measurement tool
[I] net-misc/iputils (20221126-r1{gpkg}@21.01.2024): Network monitoring tools including ping and ping6
[I] net-misc/netifrc (0.7.7{gpkg}@27.01.2024): Gentoo Network Interface Management Scripts
[I] net-misc/openssh (9.6_p1-r1{gpkg:2}@28.01.2024): Port of OpenBSD's free SSH release
[I] net-misc/rsync (3.2.7-r2{gpkg}@28.01.2024): File transfer program to keep remote files into sync
[I] net-misc/wget (1.21.4{gpkg}@21.01.2024): Network utility to retrieve files from the WWW
[I] net-misc/whois (5.5.20@28.01.2024): Improved Whois Client
[I] net-wireless/wireless-regdb (20220606{gpkg}@20.01.2024): Wireless Regulatory database for Linux
[I] net-wireless/wpa_supplicant (2.10-r3{gpkg}@28.01.2024): IEEE 802.1X/WPA supplicant for secure wireless transfers
[I] sys-apps/attr (2.5.1-r2{gpkg}@21.01.2024): Extended attributes tools
[I] sys-apps/baselayout (2.14-r1{gpkg}@20.01.2024): Filesystem baselayout and init scripts
[I] sys-apps/coreutils (9.4{gpkg}@28.01.2024): Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)
[I] sys-apps/debianutils (5.14{gpkg}@28.01.2024): A selection of tools from Debian
[I] sys-apps/file (5.45-r3{gpkg}@19.01.2024): Identify a file's format by scanning binary data for patterns
[I] sys-apps/findutils (4.9.0-r2{gpkg}@21.01.2024): GNU utilities for finding files
[I] sys-apps/gawk (5.3.0{gpkg}@21.01.2024): GNU awk pattern-matching language
[I] sys-apps/gptfdisk (1.0.9-r3@28.01.2024): GPT partition table manipulator for Linux
[I] sys-apps/grep (3.11{gpkg}@21.01.2024): GNU regular expression matcher
[I] sys-apps/hwdata (0.376{gpkg}@20.01.2024): Hardware identification and configuration data
[I] sys-apps/iproute2 (6.6.0{gpkg}@28.01.2024): kernel routing and traffic control utilities
[I] sys-apps/kbd (2.6.4{gpkg}@28.01.2024): Keyboard and console utilities
[I] sys-apps/keyutils (1.6.3(0/1.9){gpkg}@21.01.2024): Linux Key Management Utilities
[I] sys-apps/kmod (31{gpkg}@19.01.2024): library and tools for managing linux kernel modules
[I] sys-apps/less (643-r1{gpkg}@19.01.2024): Excellent text file viewer
[I] sys-apps/net-tools (2.10{gpkg}@21.01.2024): Standard Linux networking tools
[I] sys-apps/openrc (0.53{gpkg:2}@28.01.2024): OpenRC manages the services, startup and shutdown of a host
[I] sys-apps/pciutils (3.10.0{gpkg}@21.01.2024): Various utilities dealing with the PCI bus
[I] sys-apps/sed (4.9{gpkg}@28.01.2024): Super-useful stream editor
[I] sys-apps/shadow (4.14.2(0/4){gpkg}[1]@28.01.2024): Utilities to deal with user accounts
[I] sys-apps/system-chroot [2] (20230705@28.01.2024): Prepare a system root to be mounted in chroot. Do all submounts like sys or proc.
[I] sys-apps/systemd-utils (252.10{gpkg}[1]@28.01.2024): Utilities split out from systemd for OpenRC users
[I] sys-apps/sysvinit (3.08{gpkg}@21.01.2024): /sbin/init - parent of all processes
[I] sys-apps/usbutils (017{gpkg}@20.01.2024): USB enumeration utilities
[I] sys-apps/util-linux (2.39.2-r1{gpkg:2}@28.01.2024): Various useful Linux utilities
[I] sys-apps/which (2.21{gpkg}@20.01.2024): Prints out location of specified executables that are in your path
[I] sys-block/f3 (8.0-r1@28.01.2024): Utilities to detect broken or counterfeit flash storage
[I] sys-block/partimage (0.6.9-r4@28.01.2024): Console-based application to efficiently save raw partition data to image file
[I] sys-devel/gettext (0.22.4{gpkg:2}@28.01.2024): GNU locale utilities
[I] sys-devel/patch (2.7.6-r5{gpkg}@21.01.2024): Utility to apply diffs to files
[I] sys-firmware/jetson-tx1-firmware [1] (32.3.1{gpkg}@20.01.2024): NVIDIA Jetson TX1 firmware only package
[I] sys-fs/ddr...
Read more

2023-11-08 Stage3 and live medium

08 Nov 13:48
Compare
Choose a tag to compare

Release information:

The packages are built using qemu-chroot using the scripts in this repository.
Some used configuration is in my personal overlay https://github.com/bell07/gentoo-bell07_overlay

The used toolchain versions are:

sys-devel/gcc-11.4.1_p20230622
sys-libs/glibc-2.35-r11
sys-devel/binutils-2.40-r5
sys-kernel/linux-headers-9999.512: Use same sources as sys-kernel/nintendo-switch-l4t-sources-4.9.140.512 (switchroot 5.1.2)

Note: I did not rebuild all packages after gcc update, so most packages are still compiled with 11.3.1_p20230427

Stage3 (openrc)

The main difference to the official stage3 is replaced sys-kernel/linux-headers. Because of old headers, the glibc and gcc are sticked to older versions too.

All packages are compiled with Switch-optimizations as defined in switch_overlay profile switch:nintendo_switch/17.0.

The stage includes already dev-vcs/git and settings for switch_overlay. You can checkout both, gentoo and switch_overlay repo, using

emaint sync -A

in chroot.

Live Linux

Small Live Gentoo for Nintendo Switch. Useful for analysis reasons or if you like to install Gentoo natively without qemu or cross compiling.

  • Runs fully in RAM (~100 MB used after boot), that means formatting or replacing SD-card at runtime is possible (but still not recommended)
  • Framebuffer console enabled by default to external monitor
  • gpm mouse support on framebuffer console
  • SSH-Server with root login allowed is enabled by default. You can login after boot using ssh root@switch-live
  • WIFI settings can be set in vfat:/switchroot/live/wpa_supplicant.conf. The file is copied to ramdisk and used to connect on boot

"root" user password is "Gentoo4Switch!"

Live Linux installed packages list Some not relevant packages removed from list (like virtuals). Some packages are incomplete in the initramfs to save space.
#
[I] app-admin/eselect (1.4.27{gpkg}@14.10.2023): Gentoo's multi-purpose configuration and management tool
[I] app-admin/testdisk (7.1-r2@15.09.2023): Checks and undeletes partitions + PhotoRec, signature based recovery tool
[I] app-arch/bzip2 (1.0.8-r4(0/1){tbz2}@13.08.2023): A high-quality data compressor used extensively by Gentoo Linux
[I] app-arch/gzip (1.13{gpkg}@13.10.2023): Standard GNU compressor
[I] app-arch/p7zip (16.02-r8{tbz2}@18.08.2023): Port of 7-Zip archiver for Unix
[I] app-arch/tar (1.35{tbz2}@15.09.2023): Use this to make tarballs :)
[I] app-arch/unzip (6.0_p27-r1{tbz2,gpkg}@06.09.2023): unzipper for pkzip-compressed files
[I] app-arch/xz-utils (5.4.3{tbz2}@13.08.2023): Utils for managing LZMA compressed files
[I] app-arch/zstd (1.5.5(0/1){tbz2}@14.08.2023): zstd fast compression library
[I] app-crypt/libb2 (0.98.1-r3{tbz2}@13.08.2023): C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp
[I] app-crypt/libmd (1.1.0{tbz2}@16.08.2023): Message Digest functions from BSD systems
[I] app-crypt/mit-krb5 (1.20.1{tbz2}@18.08.2023): MIT Kerberos V
[I] app-editors/nano (7.2-r1{tbz2}@15.09.2023): GNU GPL'd Pico clone with more functionality
[I] app-misc/ca-certificates (20230311.3.90{tbz2,gpkg}@06.09.2023): Common CA Certificates PEM files
[I] app-misc/editor-wrapper (4-r1{tbz2}@13.08.2023): Wrapper scripts that will execute EDITOR or PAGER
[I] app-misc/evtest (1.35{tbz2}@18.08.2023): test program for capturing input device events
[I] app-misc/mc (4.8.29{tbz2}@15.09.2023): GNU Midnight Commander is a text based file manager
[I] app-misc/mime-types (2.1.53{tbz2}@13.08.2023): Provides /etc/mime.types file
[I] app-misc/screen (4.9.0-r3{gpkg}@07.11.2023): screen manager with VT100/ANSI terminal emulation
[I] app-shells/bash (5.1_p16-r6{tbz2}@14.08.2023): The standard GNU Bourne again shell
[I] dev-db/sqlite (3.43.2(3){gpkg:2}@07.11.2023): SQL database engine
[I] dev-lang/python (3.11.6(3.11){gpkg:2}@07.11.2023): An interpreted, interactive, object-oriented programming language
[I] dev-lang/python-exec (2.4.10(2){tbz2,gpkg}@20.10.2023): Python script wrapper
[I] dev-lang/python-exec-conf (2.4.6(2){tbz2}@13.08.2023): Configuration file for dev-lang/python-exec
[I] dev-libs/cJSON (1.7.16{gpkg}@09.09.2023): Ultralightweight JSON parser in ANSI C
[I] dev-libs/elfutils (0.189-r4{gpkg}@13.10.2023): Libraries/utilities to handle ELF objects (drop in replacement for libelf)
[I] dev-libs/expat (2.5.0{tbz2}@13.08.2023): Stream-oriented XML parser library
[I] dev-libs/glib (2.76.4(2){tbz2}@15.09.2023): The GLib library of C routines
[I] dev-libs/gmp (6.3.0(0/10.4){gpkg}@08.09.2023): Library for arbitrary-precision arithmetic on different type of numbers
[I] dev-libs/libbsd (0.11.7-r2{tbz2}@16.08.2023): Library to provide useful functions commonly found on BSD systems
[I] dev-libs/libev (4.33{tbz2}@18.08.2023): A high-performance event loop/event model with lots of feature
[I] dev-libs/libffi (3.4.4-r1(0/8){tbz2}@13.08.2023): Portable, high level programming interface to various calling conventions
[I] dev-libs/libnl (3.8.0(3){gpkg}@14.10.2023): Libraries providing APIs to netlink protocol based Linux kernel interfaces
[I] dev-libs/libpcre (8.45-r2(3){gpkg}@08.09.2023): Perl-compatible regular expression library
[I] dev-libs/libpcre2 (10.42-r1(0/3){tbz2,gpkg}@06.09.2023): Perl-compatible regular expression library
[I] dev-libs/libunistring (0.9.10-r1(0/2){tbz2}@13.08.2023): Library for manipulating Unicode and C strings according to Unicode standard
[I] dev-libs/libusb (1.0.26(1){tbz2}@15.09.2023): Userspace access to USB devices
[I] dev-libs/libverto (0.3.1-r1{tbz2}@18.08.2023): Main event loop abstraction library
[I] dev-libs/libxml2 (2.11.5(2){gpkg:2}@07.11.2023): XML C parser and toolkit
[I] dev-libs/mpc (1.3.1(0/3){tbz2}@14.08.2023): A library for multiprecision complex arithmetic with exact rounding
[I] dev-libs/mpfr (4.2.1(0/6){gpkg}@13.10.2023): Library for multiple-precision floating-point computations with exact rounding
[I] dev-libs/newt (0.52.23-r1{tbz2}@15.09.2023): Redhat's Newt windowing toolkit development files
[I] dev-libs/openssl (3.0.11(0/3){gpkg}@20.09.2023): Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)
[I] dev-libs/popt (1.19{tbz2}@14.08.2023): Parse Options - Command line parser
[I] dev-python/ensurepip-pip (23.2.1{tbz2}@21.08.2023): Shared pip wheel for ensurepip Python module
[I] dev-python/ensurepip-setuptools (68.2.2{gpkg}@15.10.2023): Shared setuptools wheel for ensurepip Python module
[I] dev-python/ensurepip-wheels (100{tbz2}@13.08.2023): Shared wheels for ensurepip Python module
[I] dev-python/gentoo-common (1{tbz2}@13.08.2023): Common files shared by Python implementations in Gentoo
[I] net-analyzer/traceroute (2.1.1@15.09.2023): Utility to trace the route of IP packets
[I] net-dns/libidn2 (2.3.4-r1(0/2){gpkg}@24.10.2023): An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)
[I] net-fs/cifs-utils (7.0{tbz2}@15.09.2023): Tools for Managing Linux CIFS Client Filesystems
[I] net-misc/dhcp (4.4.3_p1-r4@15.09.2023): ISC Dynamic Host Configuration Protocol (DHCP) client/server
[I] net-misc/iperf (3.15(3){gpkg}@24.10.2023): A TCP, UDP, and SCTP network bandwidth measurement tool
[I] net-misc/iputils (20221126-r1{tbz2}@14.08.2023): Network monitoring tools including ping and ping6
[I] net-misc/netifrc (0.7.5{tbz2}@13.08.2023): Gentoo Network Interface Management Scripts
[I] net-misc/openssh (9.4_p1-r1{gpkg:2}@07.11.2023): Port of OpenBSD's free SSH release
[I] net-misc/rsync (3.2.7-r2{tbz2}@15.09.2023): File transfer program to keep remote files into sync
[I] net-misc/wget (1.21.4{tbz2}@14.08.2023): Network utility to retrieve files from the WWW
[I] net-misc/whois (5.5.18-r1@07.11.2023): Improved Whois Client
[I] net-wireless/wireless-regdb (20220606{tbz2}@17.08.2023): Wireless Regulatory database for Linux
[I] net-wireless/wpa_supplicant (2.10-r3{gpkg}@07.11.2023): IEEE 802.1X/WPA supplicant for secure wireless transfers
[I] sys-apps/attr (2.5.1-r2{tbz2}@14.08.2023): Extended attributes tools
[I] sys-apps/baselayout (2.14{tbz2}@19.08.2023): Filesystem baselayout and init scripts
[I] sys-apps/coreutils (9.3-r3{tbz2}@15.09.2023): Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)
[I] sys-apps/debianutils (5.8{tbz2}@15.09.2023): A selection of tools from Debian
[I] sys-apps/file (5.45-r3{gpkg}@20.10.2023): Identify a file's format by scanning binary data for patterns
[I] sys-apps/findutils (4.9.0-r2{tbz2}@14.08.2023): GNU utilities for finding files
[I] sys-apps/gawk (5.2.2{tbz2}@14.08.2023): GNU awk pattern-matching language
[I] sys-apps/gentoo-functions (0.19{tbz2}@13.08.2023): Base functions required by all Gentoo systems
[I] sys-apps/gptfdisk (1.0.9-r3@07.11.2023): GPT partition table manipulator for Linux
[I] sys-apps/grep (3.11{tbz2}@14.08.2023): GNU regular expression matcher
[I] sys-apps/hwdata (0.375{gpkg}@04.11.2023): Hardware identification and configuration data
[I] sys-apps/iproute2 (6.5.0{gpkg}@07.11.2023): kernel routing and traffic control utilities
[I] sys-apps/kbd (2.6.1{gpkg}@15.09.2023): Keyboard and console utilities
[I] sys-apps/keyutils (1.6.3(0/1.9){tbz2}@18.08.2023): Linux Key Management Utilities
[I] sys-apps/kmod (30-r1{tbz2}@14.08.2023): library and tools for managing linux kernel modules
[I] sys-apps/less (633{tbz2}@14.08.2023): Excellent text file viewer
[I] sys-apps/net-tools (2.10{tbz2}@13.08.2023): Standard Linux networking tools
[I] sys-apps/openrc (0.48{gpkg,xpak}@15.09.2023): OpenRC manages the services, startup and shutdown of a host
[I] sys-apps/pciutils (3.10.0{tbz2}@18.08.2023): Various utilities dealing with the PCI bus
[I] sys-apps/sed (4.9{tbz2}@15.09.2023): Super-useful stream editor
[I] sys-apps/shadow (4.13-r4(0/4){tbz2}[?]@15.09.2023): Utilities to deal with user accounts
[I] sys-apps/system-chroot [1] (20230705@15.09.2023): Prep...
Read more

2023-09-15 Stage3 and live medium

15 Sep 10:20
Compare
Choose a tag to compare

Release information:

The packages are built using qemu-chroot using the scripts in this repository.
Some used configuration is in my personal overlay https://github.com/bell07/gentoo-bell07_overlay

The used toolchain versions are:

sys-devel/gcc-11.3.1_p20230427
sys-libs/glibc-2.35-r11
sys-devel/binutils-2.40-r5
sys-kernel/linux-headers-9999.512: Use same sources as sys-kernel/nintendo-switch-l4t-sources-4.9.140.512 (switchroot 5.1.2)

Stage3 (openrc)

The main difference to the official stage3 is replaced sys-kernel/linux-headers. Because of old headers, the glibc and gcc are sticked to older versions too.

All packages are compiled with Switch-optimizations as defined in switch_overlay profile switch:nintendo_switch/17.0.

The stage includes already dev-vcs/git and settings for switch_overlay. You can checkout both, gentoo and switch_overlay repo, using

emaint sync -A

in chroot.

Live Linux

Small Live Gentoo for Nintendo Switch. Useful for analysis reasons or if you like to install Gentoo natively without qemu or cross compiling.

  • Runs fully in RAM (~100 MB used after boot), that means formatting or replacing SD-card at runtime is possible (but still not recommended)
  • Framebuffer console enabled by default to external monitor
  • gpm mouse support on framebuffer console
  • SSH-Server with root login allowed is enabled by default. You can login after boot using ssh root@switch-live
  • WIFI settings can be set in vfat:/switchroot/live/wpa_supplicant.conf. The file is copied to ramdisk and used to connect on boot

"root" user password is "Gentoo4Switch!"

Tools included:

  • app-admin/testdisk (7.1-r2): Checks and undeletes partitions + PhotoRec, signature based recovery tool
  • app-arch/p7zip (16.02-r8): Port of 7-Zip archiver for Unix
  • app-arch/unzip (6.0_p27-r1): unzipper for pkzip-compressed files
  • app-editors/nano (7.2-r1): GNU GPL'd Pico clone with more functionality
  • app-misc/evtest (1.35): test program for capturing input device events
  • app-misc/mc (4.8.29): GNU Midnight Commander is a text based file manager
  • app-misc/screen (4.9.0-r2): screen manager with VT100/ANSI terminal emulation
  • net-analyzer/traceroute (2.1.1): Utility to trace the route of IP packets
  • net-fs/cifs-utils (7.0): Tools for Managing Linux CIFS Client Filesystems
  • net-misc/iperf (3.14): A TCP, UDP, and SCTP network bandwidth measurement tool
  • net-misc/whois (5.5.17-r1): Improved Whois Client
  • sys-apps/gptfdisk (1.0.9-r2): GPT partition table manipulator for Linux
  • sys-apps/pciutils (3.10.0): Various utilities dealing with the PCI bus
  • sys-apps/system-chroot (20230705): Prepare a system root to be mounted in chroot. Do all submounts like sys or proc.
  • sys-apps/usbutils (015): USB enumeration utilities
  • sys-block/partimage (0.6.9-r4): Console-based application to efficiently save raw partition data to image file
  • sys-fs/ddrescue (1.27): Copy data from one file or block device to another with read-error recovery
  • sys-fs/dosfstools (4.2): DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat
  • sys-fs/exfatprogs (1.2.1): Userspace utilities for new exfat filesystem (kernel 5.7+)
  • sys-fs/ext4magic (0.3.2-r1): Tool for recovery of deleted or overwritten files on ext3/ext4 filesystems
  • sys-fs/ntfs3g (2022.10.3): Open source read-write NTFS driver that runs under FUSE
  • sys-process/htop (3.2.2): Interactive process viewer
  • sys-process/iotop (0.6_p20230124): Top-like UI used to show which process is using the I/O
  • sys-process/lsof (4.98.0-r1): Lists open files for running Unix processes
  • www-client/lynx (2.9.0_pre12-r1): An excellent console-based web browser with ssl support