added links

This commit is contained in:
Nicolas Alvarado
2021-05-26 16:37:25 -05:00
parent 2029f9fbb1
commit 2369837e11
2 changed files with 3 additions and 63 deletions

View File

@ -604,9 +604,9 @@ Note: All this terminals are compatible with wayland
## System Utilities
* __BIOS__: [efibootmgr](https://github.com/rhboot/efibootmgr) -> [SeaBIOS](https://review.coreboot.org/plugins/gitiles/seabios/) -> [Coreboot](https://www.coreboot.org/) -> [Libreboot](https://libreboot.org/)
* __[Boot Loader](https://github.com/mayfrost/guides/blob/master/BOOTLOADER.md)__: GRUB 2 -> GRUB Legacy -> [SYSLINUX](http://www.syslinux.org/wiki/index.php?title=The_Syslinux_Project) (+ Hardware Detection Tool -HDT-) -> [LILO](https://lilo.alioth.debian.org/) (or [ELILO](https://sourceforge.net/projects/elilo/) for UEFI) -> AiR-Boot -> Das U-Boot (u-boot-tools)
* __Boot Loaders (load on running machine)__: loadlin -> Kexec (kexec-tools)
* __Cache__: Memcached, EnhanceIO -> dm-cache -> bcache
* __[Boot Loader](https://github.com/naav97/guides/blob/master/BOOTLOADER.md)__: [GRUB 2](https://www.gnu.org/software/grub/) -> [SYSLINUX](https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/Testing/) -> [U-Boot](https://source.denx.de/u-boot/u-boot) (u-boot-tools)
* __Boot Loaders (load on running machine)__: Kexec ([kexec-tools](https://github.com/horms/kexec-tools))
* __Cache__: [Memcached](https://memcached.org/) -> dm-cache -> [bcache](https://bcache.evilpiepirate.org/)
* __Core Utilities__: moreutils -> Mtools -> util-linux -> GNU Coreutils -> BusyBox -> Asmutils and ARMutils
* __Custom Initramfs__: mkinitcpio -> dracut -> Genkernel -> [mkinitramfs](https://github.com/tokiclover/mkinitramfs-ll) -> umkinitramfs
* __Filesystem__: CP/M (cpmtools), HFS Utilities, SquashFS (squashfs-tools), fuseflt, UnionFS (unionfs-fuse), udftools (UDF), F2FS (f2fs-tools), exFAT (exfat-utils, fuse-exfat), FAT (dosfstools), Btrfs (btrfs-progs), XFS (xfsprogs, xfsdump), Ext4, [JFS](http://jfs.sourceforge.net/), [Reiser4](https://reiser4.wiki.kernel.org/index.php/Main_Page), [Bcachefs](https://github.com/8l/Bcachefs)

View File

@ -12,35 +12,9 @@
* On __Source Mage GNU/Linux__ do "_cast \<BOOTLOADER>_" to install the preferred bootloader.
Supported filesystems by bootloaders, they will boot the OS only if the "_/boot_" partition has a supported filesystem. 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.
## LILO
* If on UEFI use __elilo__ and change names to "_/etc/elilo.conf_" instead of "_/etc/lilo.conf_" and "_elilo_" instead of "_lilo_" in commands.
`nano /etc/lilo.conf`
* Inserting "_password=\<PASSWORD>_" inside an OS stanza will protect with a password that OS, but inserting "_password=\<PASSWORD>_" just before the stanzas and outside any of them will protect with a password the bootloader itself (notice the space inside stanzas)
```
boot = /dev/sda
image = /boot/vmlinuz
Label = <DISTRO_NAME>
root = /dev/sda<PARTITION_NUMBER_OF_ROOT>
other = /dev/sda<PARTITION_NUMBER_OF_FREEDOS>
table = /dev/sda
Label = FreeDOS
other = /dev/sda<PARTITION_NUMBER_OF_WINDOWS>
table = /dev/sda
Label = Windows7
```
* Set boot entry
```
lilo -A /dev/sda 1
lilo
```
* Prevent anyone but root of reading the config file (in case you used a password)
`chmod 600 /etc/lilo.conf`
## SYSLINUX
* If on BIOS make directory and copy files accordingly
```
@ -85,40 +59,6 @@ LABEL Windows7
APPEND sda <PARTITION_NUMBER_OF_WINDOWS>
```
## GRUB Legacy
* If on BIOS set boot entry (boot partition must be mounted)
```
mount /dev/sda1 /boot
grub-install /dev/sda
```
* If on UEFI set boot entry (boot partition must be mounted)
```
mount /dev/sda1 /boot/efi
grub-install /boot/efi
```
* Edit configuration file "_/boot/grub/menu.lst_"
```
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title <DISTRO_NAME> (<KERNEL_VERSION>)
root (hd0,<PARTITION_NUMBER_OF_ROOT>)
kernel /vmlinuz-<KERNEL_VERSION> ro root=/dev/sda5 rhgb quiet
initrd /initramfs-<KERNEL_VERSION>.img
title <DISTRO_NAME_alternative_kernel> (<ANOTHER_KERNEL_VERSION>)
root (hd0,<PARTITION_NUMBER_OF_ROOT>)
kernel /vmlinuz-<ANOTHER_KERNEL_VERSION> ro root=/dev/sda5 rhgb quiet
initrd /initramfs-<ANOTHER_KERNEL_VERSION>.img
title FreeDOS
root (hd0,<PARTITION_NUMBER_OF_FREEDOS>)
kernel /memdisk
initrd (hd0,<PARTITION_NUMBER_OF_FREEDOS>)/fdboot.img
title Windows 7
root (hd0,<PARTITION_NUMBER_OF_WINDOWS>)
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
```
## GRUB 2
* If on BIOS set boot entry (boot partition must be mounted)
```