New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Gentoo live USB for B3 Updated (Linux 4.0.1)

Discuss development on Bubba
Post Reply
sakaki
Posts: 172
Joined: 15 Aug 2014, 11:20

Gentoo live USB for B3 Updated (Linux 4.0.1)

Post by sakaki »

Hello,

I've just released version 1.4.0 of the live-USB image of Gentoo Linux for the B3 on GitHub (here). The kernel has been upgraded to version 4.0.1 (and also includes the PCIe/WiFi patch discussed in this thread). All included packages are up-to-date against the Gentoo tree, as of 2 May 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 356MiB; 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 specify initial network settings, so you can ssh in once booted, and 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:
  • The workaround to enable net-misc/dhcpcd to compile with v4 kernel headers has been implemented (please see here);
  • Scripts have been supplied (as part of the image) to simplify HDD installation, for those who wish to do so (this remains entirely optional). They are /root/install_on_sda.sh and /root/install_on_sda_gpt.sh.
The GitHub project has an associated wiki. I have a few notes there on how to set up your PC as a cross-compilation / distcc server for the B3, to accelerate builds (you don't need to do this just to play with the image, of course). Feel free to add your own material!

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.
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Gentoo live USB for B3 Updated (Linux 4.0.1)

Post by Gordon »

Hi Sakaki,

As usual a big thumbs up for your efforts. I have a minor improvement that you might want to include in your next release. Do comment out the following lines in /etc/inittab:

Code: Select all

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
These serve no use on a headless system and together these terminals take ~10MB of the B3's 512MB internal memory.
sakaki
Posts: 172
Joined: 15 Aug 2014, 11:20

Re: Gentoo live USB for B3 Updated (Linux 4.0.1)

Post by sakaki »

Hi Gordon,
thanks, I will include that change in the next release.
Best, sakaki
Gordon
Posts: 1461
Joined: 10 Aug 2011, 03:18

Re: Gentoo live USB for B3 Updated (Linux 4.0.1)

Post by Gordon »

Hi Sakaki,

If you like you could take a look at sys-apps/sysvinit-9999::bubba. Since inittab is part of this package I integrated the proposed change into this as well
Post Reply