mirror of
https://github.com/mayfrost/guides.git
synced 2025-08-04 12:09:21 +00:00
added links
This commit is contained in:
@ -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)
|
||||
```
|
||||
|
Reference in New Issue
Block a user