From c493713551e5b6af9a3b856dbf02ceb96d61640c Mon Sep 17 00:00:00 2001 From: mayfrost Date: Sat, 3 Mar 2018 07:47:56 +0000 Subject: [PATCH] Update INITIATION.md --- INITIATION.md | 123 -------------------------------------------------- 1 file changed, 123 deletions(-) diff --git a/INITIATION.md b/INITIATION.md index bb598ea..71069fa 100644 --- a/INITIATION.md +++ b/INITIATION.md @@ -19,14 +19,6 @@ __NOTE__: This guide attempts to describe __UEFI__ in detail side by side with _ 5. [BOOTLOADER](#bootloader) 5.1. [LILO](#lilo) 6. [THE END](#the-end) -7. [CONFIGURATION ON CRUX](#configuration-on-crux) -7.1. [ENABLE CONTRIB REPO](#enable-contrib-repo) -7.2. [ADD EXTERNAL REPOS](#add-external-repos) -7.3. [INSTALL XORG](#install-xorg) -8. [CRUX COMMANDS](#crux-commands) -8.1. [AUTOMATED INSTALLATION OF PORTS](#automated-installation-of-ports) -8.2. [MANUAL DOWNLOAD AND INSTALLATION](#manual-download-and-installation) -9. [SOURCE MAGE GNU/LINUX COMMANDS](#source-mage-gnu/linu-commands) ## START Boot in UEFI mode if on UEFI, BIOS if on BIOS, and select installation media. @@ -36,11 +28,6 @@ Boot in UEFI mode if on UEFI, BIOS if on BIOS, and select installation media. `loadkeys ` ## PARTITIONING -Supported filesystems by bootloaders are (if on UEFI ignore this as it only supports FAT): -* __LILO__: indifferent (anything?) -* __SYSLINUX__: ext2, ext3, ext4, btrfs, ufs 1/2, FAT16, FAT32, iso9660, udf, NTFS -* __GRUB Legacy__: FAT16, FAT32, minix, ext2, ext3, ext4, ReiserFS, JFS, XFS, VSTa fs, Btrfs -* __GRUB 2__: ext2, ext3, ext4, btrfs, zfs, ufs, minix, iso9660, udf, jfs, hfs, hfs+, afs, affs, sfs, xfs, reiserfs, tar, cpio, NTFS, FAT16, FAT32 In these examples we make only two partitions but you can extend this if you know how. The partitions are one root partition, later mounted to "_/mnt/drive_" with "_mkfs._" format, and one boot partition, later mounted to "_/mnt/drive/boot_" and with "_mkfs._" format unless is __UEFI__ in which case "_mkfs.vfat_" is the only format available and will be mounted to "_/mnt/drive/boot/efi_" instead. @@ -164,113 +151,3 @@ In these examples we make only two partitions but you can extend this if you kno `shutdown -h now` And done. - -## CONFIGURATION ON CRUX -### ENABLE CONTRIB REPO -* Enable contrib for ports -`cd /etc/ports` -`mv contrib.rsync.inactive contrib.rsync` -* Enable contrib for prt-get -`nano /etc/prt-get.conf` -* Uncomment line "_prtdir /usr/ports/contrib_" - -### ADD EXTERNAL REPOS -* Download httpup/rsync file and pub file -`cd /etc/ports/` -`wget -c ` -* Add repo location to "_/etc/prt-get.conf_" (order sets precedence) -`nano /etc/prt-get.conf` -* Add line "_prtdir /usr/ports/\_" -* Populate repo -`ports -u ` - -* Enable pre-/post-install scripts in "_/etc/prt-get.conf_" (usually safe to run repeatedly, usually used to rebuild caches and add system users when installing certain software) -`nano /etc/prt-get.conf` -* Uncomment line "_runscripts yes_" - -* Ignore footprint mismatches due to new files (usually not a bad thing) -`nano /etc/pkgmk.conf` -* Set line "_PKGMK_IGNORE_NEW="yes"_" - -### INSTALL XORG -* Install a minimal set of xorg and xorg dependent tools one by one -`prtget depinst xorg-server xorg-xf86-video- xorg-font- xkeyboard-config xorg-xinit` -* Alternatively just install the metapackage "_xorg_" - -## CRUX COMMANDS -### AUTOMATED INSTALLATION OF PORTS -* Populate ports tree (is empty by default) -`ports -u` -* Automatically download and build a package with its required dependencies ignoring signature mismatch -`prt-get -in depinst ` -* Remove a package -`prt-get remove ` -* Search package -`prt-get search ` -* Get info from package -`prt-get info ` -* Get dependency info from package -`prt-get depends ` -* Update all packages -`prt-get sysup` -* List all installed packages -`pkginfo -i` - -### MANUAL DOWNLOAD AND INSTALLATION -* Go to apropriate directory for all these tasks -`cd to /usr/ports//` -* To download a package -`pkgmk -d ` -* To install a downloaded package -`pkgmk -i ` -* In case of signature mismatch -`pkgadd -f ` -* To clean directory from downloaded package and build -`pkgadd -c ` -* To remove installed package -`pkgrm ` - -## SOURCE MAGE GNU/LINUX COMMANDS -* To get a manual -`cast smgl-setup` -`man smgl-setup` -* To change general things like the color scheme -`sorcery` -* To update the package manager -`sorcery update` -* To update the package list -`scribe update` -* To check for any changes in the architecture specs -`cast smgl-archspecs` -* To rebuild everything from source -`sorcery rebuild` -* To recompile the kernel -`cast -r linux` -* To get a list of spells needing upgrade -`sorcery -q` -* To upgrade the spells themselves known to be available for upgrade -`cast --queue` -* To check for broken installations -`cleanse --fix` -* After casting new spells you need this to have apropos, man -k, and whatis -` makewhatis` -* To install new packages -`cast ` -* To update an existing package -`cast ` -* To search for packages -`gaze search ` -* To search by package name -`gaze search -name ` -* To list installed packages -`gaze installed` -* To remove a spell -`dispel ` -* To delete completely a package -`dispel --nosustain ` -* To list repositories -`scribe index` -* To add a repository -`scribe add ` -* To remove a repository -`scribe remove `