Talk:Syslinux

From Gentoo Wiki
(Redirected from Talk:Syslinux Bootloader)
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 07:56, 5 December 2024 (UTC)
:: Your reply ~~~~

pxelinux

Talk status
This discussion is done.

Would it be cool if I add something on pxelinux? That way I can refer to it from LTSP.

I will --Alon Bar-Lev 16:29, 19 November 2011 (UTC)

gpt (bios)

Talk status
This discussion is still ongoing.

Should be added to page, but I'm too lazy
install gdisk
emerge --ask sys-apps/gptfdisk
Choose your disk, go to expert mode, change attributes, set "Legacy BIOS bootable" flag
gdisk /dev/sda
x
a
your partition (1)
2
w
install gptmbr
cat /usr/share/syslinux/gptmbr.bin > /dev/sda
install {sys,ext,pxe}linux

— The preceding unsigned comment was added by Kaey (talkcontribs) 1 May 2012

bogus warning about overwriting the entire disk

Talk status
This discussion is still ongoing.

The following warning about overwriting the entire disk is bogus:

First, install the boot sector provided by Syslinux. Use extra care with this command; if count=1 is not given it will overwrite the entire disk rather than just the first 440 bytes:

root #dd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/mbr.bin of=/dev/sda

dd without bs=440 conv=notrunc count=1 is fine when used on a block device. I will remove this remark if there are no objections --Chithanh (talk) 19:25, 25 February 2016 (UTC)

openrc efivars

Talk status
This discussion is still ongoing.

As per gentoo-dev mailing list,

The documentation should be updated to say that with OpenRC 0.28 that you'll have to remount efivars as RW before you can install the bootloader (e.g., grub-install)

The command I use locally to remount rw (since I have configured efivars to be mounted read-only in fstab) is

mount -o remount,rw /sys/firmware/efi/efivars

from mattst88@gentoo.org

--Rage (talk) 01:16, 13 July 2017 (UTC)


/boot symlink

Talk status
This discussion is still ongoing.

The instruction to make the symlink :


root # ln -snf . /boot/boot


Appears to not (not always ?) work as intended. See : https://forums.gentoo.org/viewtopic-p-8252790.html

Thinking of it there really seems to be something off :

If issued from the root folder (as happens to be when reaching bootloader installation, when following the handbook), then it would make the link to /, (which can be on a different partition than /boot), that makes no sense

If issued from inside /boot/, this appears to fail as shown in the link

I suggest to eliminate the relation to the installed system's / completely, so to change this instruction to :


root # cd /boot

root # ln -ns . boot

Ashie (talk) 20:35, 18 August 2018 (UTC)