Gentoo live USB for B3 Updated (Linux 4.1.6)
Posted: 13 Sep 2015, 21:08
Hello,
I've just released version 1.7.0 of the live-USB image of Gentoo Linux for the B3 on GitHub (here). The kernel has been upgraded to version 4.1.6. All included packages are up-to-date against the Gentoo tree, as of 12 September 2015 (and so, of course, shellshock, heartbleed and Ghost fixes have been applied). A full package list may be viewed here.
As before, you can burn the supplied image to a USB key (>=8GB, Lexar and SanDisk keys seem the most reliable), then boot your B3 from it, without affecting any installed (Excito) system on your B3's hard drive. (The compressed image is 372MiB; writing takes between 10 and 20 minutes, depending on your system.) You can even boot a diskless B3! No soldering, compilation or U-Boot flashing is required.
The live-USB may then be used as a rescue disk, to play with Gentoo Linux, or as the starting point to install Gentoo Linux on your B3's main hard drive. Any packages you install, or other changes you make, while running the live-USB are saved on the USB key, but do not affect your existing Excito system, so you can run Gentoo for a while, then reboot back into your Excito system and continue to use it as normal, then boot back into the USB at a later date - any changes you made will still be there when you do.
Full instructions are provided on the project's GitHub page (including how to install Gentoo on your B3's internal hard drive too, in case you want to do that).
Some other changes in this release (wrt version 1.4.0, the last version I posted about on this forum):
Have fun ^-^
best,
sakaki
PS: if you'd like to try v4 of the Linux kernel, but would rather use a binary distro, then please take a look at my Arch Linux live-USB for the B3, available here.
I've just released version 1.7.0 of the live-USB image of Gentoo Linux for the B3 on GitHub (here). The kernel has been upgraded to version 4.1.6. All included packages are up-to-date against the Gentoo tree, as of 12 September 2015 (and so, of course, shellshock, heartbleed and Ghost fixes have been applied). A full package list may be viewed here.
As before, you can burn the supplied image to a USB key (>=8GB, Lexar and SanDisk keys seem the most reliable), then boot your B3 from it, without affecting any installed (Excito) system on your B3's hard drive. (The compressed image is 372MiB; writing takes between 10 and 20 minutes, depending on your system.) You can even boot a diskless B3! No soldering, compilation or U-Boot flashing is required.
The live-USB may then be used as a rescue disk, to play with Gentoo Linux, or as the starting point to install Gentoo Linux on your B3's main hard drive. Any packages you install, or other changes you make, while running the live-USB are saved on the USB key, but do not affect your existing Excito system, so you can run Gentoo for a while, then reboot back into your Excito system and continue to use it as normal, then boot back into the USB at a later date - any changes you made will still be there when you do.
Full instructions are provided on the project's GitHub page (including how to install Gentoo on your B3's internal hard drive too, in case you want to do that).
Some other changes in this release (wrt version 1.4.0, the last version I posted about on this forum):
- Overlay management has been migrated to the new Portage plug-in sync system (from layman);
- Configuration files in /etc/portage/... have been migrated to a directory/sub-files structure (now the default in the Gentoo installation media);
- The 4.1.6 kernel (for avoidance of doubt) has had the kirkwood PCIe patch - discussed here - formally merged in;
- Unnecessary terminals disabled, per Gordon's suggestion here (saves system memory);
- Migrated sakaki-tools-lite repo to sakaki-tools; this means that B3 users should benefit from changes to the genup and showem tools provided for PC users (these tools now replace genup-lite and showem-lite on the B3). Please note that the genup tool has been emerged with the buildkernel USE flag unset (i.e., you need to manually invoke buildkernel-b3 to upgrade your kernel, as before);
- Deleted /etc/dhcpcd.duid file from image for better security (will be regenerated on first use);
- Added CONFIG_RTL8192CU=m (and dependencies) to kernel (support for commonly used WiFi dongle);
- Networking / initial login now simplified: on first boot, the eth1 (lan) interface has a DHCP (dnsmasq) server running, the eth0 (wan) interface is set up as a DHCP client, and shorewall is configured to provide forwarding etc. (the basic setup follows that outlined in my Gentoo wiki page here). The WiFi interface (where available) is also enabled by default (SSID b3, password changeme), using hostapd, and is bridged with eth1 on br0. As a result, new users can simply hook their PC up to the B3 by Ethernet cable (to the LAN port), or connect via WiFi, without having to specify initial detailed network settings. For external internet access, the B3 may be connected to an ADSL/cable router etc. via the WAN port. (Of course, once logged in, users can configure whatever network setting is desired). As a result, the copynetsetup service is no longer enabled. Also, because forwarding is enabled by default, connected clients should be able to browse the web etc (assuming the WAN port is hooked up). The (new) initial networking setup of the B3 when started from the live-USB is shown below:
Login via eth1/WiFi is still possible, even if the eth0 (wan) interface is disconnected, or the wan network does not support DHCP (as rc_depend_strict has been set to "NO" in /etc/rc.conf, per this post).
- The WiFi interface is now renamed wlan0, via a udev rule.
- The sys-apps/haveged entropy daemon has been added and enabled.
- The net-misc/ntp time server has been added and enabled.
Have fun ^-^
best,
sakaki
PS: if you'd like to try v4 of the Linux kernel, but would rather use a binary distro, then please take a look at my Arch Linux live-USB for the B3, available here.