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
ls
- List filescd
- Change directorycat
- View file contentsshutdown -h now
- Turn off
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
- Add X11 or Wayland
- Try a lightweight desktop like XFCE or dwm
- Package management via scripts or tools like pkgsrc