SamLinux From Scratch

Chapter 3: Tutorial - Using SamLinux

Booting SamLinux

Once your system is built and the kernel is installed, you can boot SamLinux. If you're using GRUB:

set root=(hd0,1)
linux /boot/vmlinuz root=/dev/sda1
boot

Initial Login

Log in as root. If you didn’t set a password yet:

passwd

Basic Navigation

Creating a User

useradd -m sam
passwd sam

Installing Software

Since SamLinux is built from scratch, there’s no package manager. You install from source:

wget http://ftp.gnu.org/gnu/nano/nano-*.tar.gz
tar -xf nano-*.tar.gz
cd nano-*
./configure
make
make install

Networking Setup (DHCP)

If you included dhcpcd or iproute2:

dhcpcd eth0

Shutting Down

shutdown -h now

Where to Go Next