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 ([email protected]): 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 ([email protected]): 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 ([email protected]): 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 ([email protected]): 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] ([email protected]): 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/usbutils (017{gpkg:2}@28.10.2024): USB enumeration utilities
[I] sys-apps/util-linux (2.39.4-r1{gpkg:4}@06.11.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 ([email protected]): Utilities to detect broken or counterfeit flash storage
[I] sys-block/partimage ([email protected]): Console-based application to efficiently save raw partition data to image file
[I] sys-devel/gettext (0.22.5{gpkg:2}@27.10.2024): GNU locale utilities
[I] sys-devel/patch (2.7.6-r5{gpkg}@02.08.2024): Utility to apply diffs to files
[I] sys-firmware/jetson-tx1-firmware [1] (32.3.1{gpkg}@25.07.2024): NVIDIA Jetson TX1 firmware only package
[I] sys-fs/ddrescue ([email protected]): Copy data from one file or block device to another with read-error recovery
[I] sys-fs/dosfstools (4.2{gpkg}@25.07.2024): DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat
[I] sys-fs/e2fsprogs (1.47.1{gpkg}@28.07.2024): Standard EXT2/EXT3/EXT4 filesystem utilities
[I] sys-fs/exfatprogs (1.2.4{gpkg}@25.07.2024): Userspace utilities for the exFAT filesystem (kernel 5.7+)
[I] sys-fs/ext4magic ([email protected]): Tool for recovery of deleted or overwritten files on ext3/ext4 filesystems
[I] sys-fs/f2fs-tools (1.16.0-r1(0/10){gpkg}@04.08.2024): Tools for Flash-Friendly File System (F2FS)
[I] sys-fs/ntfs3g (2022.10.3(0/89){gpkg}@27.10.2024): Open source read-write NTFS driver that runs under FUSE
[I] sys-fs/udev-init-scripts (35{gpkg}@26.07.2024): udev startup scripts for openrc
[I] sys-kernel/nintendo-switch-l4t-kernel [1] (4.9.140.512(4.9.140.512){gpkg}@27.10.2024): Nintendo Switch kernel
[I] sys-libs/gdbm (1.24(0/6){gpkg}@29.08.2024): Standard GNU database libraries
[I] sys-libs/glibc (2.35-r11(2.2){gpkg}@29.07.2024): GNU libc C library
[I] sys-libs/gpm (1.20.7-r6{gpkg}@29.07.2024): Console-based mouse driver
[I] sys-libs/libcap (2.70{gpkg}@27.10.2024): POSIX 1003.1e capabilities
[I] sys-libs/libcap-ng (0.8.5{gpkg:2}@27.10.2024): POSIX 1003.1e capabilities
[I] sys-libs/libseccomp (2.5.5-r1{gpkg:2}@27.10.2024): High level interface to Linux seccomp filter
[I] sys-libs/libxcrypt (4.4.36-r3(0/1){gpkg}@02.08.2024): Extended crypt library for descrypt, md5crypt, bcrypt, and others
[I] sys-libs/ncurses (6.4_p20240414(0/6){gpkg:2}@27.10.2024): Console display library
[I] sys-libs/readline (8.2_p13(0/8){gpkg}@23.10.2024): Another cute console display library
[I] sys-libs/slang (2.3.3-r1{gpkg}@27.10.2024): Multi-platform library designed to allow a developer to create robust software
[I] sys-libs/talloc (2.4.2{gpkg:2}@28.10.2024): Samba talloc library
[I] sys-libs/timezone-data (2024a-r1{gpkg}@25.07.2024): Timezone data (/usr/share/zoneinfo) and utilities (tzselect/zic/zdump)
[I] sys-libs/zlib (1.3.1-r1(0/1){gpkg:2}@21.08.2024): Standard (de)compression library
[I] sys-process/htop (3.3.0{gpkg}@27.10.2024): Interactive process viewer
[I] sys-process/iotop (0.6_p20230124{gpkg:2}@28.10.2024): Top-like UI used to show which process is using the I/O
[I] sys-process/lsof (4.99.3{gpkg}@05.08.2024): Lists open files for running Unix processes
[I] sys-process/procps (4.0.4-r1(0/0-ng){gpkg:2}@22.08.2024): Standard informational utilities and process-handling tools
[I] sys-process/psmisc (23.7{gpkg:2}@22.08.2024): A set of tools that use the proc filesystem
[I] www-client/lynx ([email protected]): An excellent console-based web browser with ssl support
[I] x11-misc/shared-mime-info (2.4-r1{gpkg}@02.08.2024): The Shared MIME-info Database specification