You are not logged in.
Pages: 1
I have almost exactly followed the beginners guide, only differing in using only single partition, instead of many. I am booting with syslinux, using ext4, and GPT. My system (quad core sandy bridge i5, relatively recent intel motherboard, 500GB HD) I have installed the packages for GPT in syslinux, and checked by boot order. syslinux-install_update -i -a -m says it has been installed, but when I boot, it doesn't recognize anything bootable, and jumps straight to netboot. The same occurs with a ( possibly incorrectly configured) grub install. The partition is flagged as bootable, and, to be honest, I don't know what's wrong. Here is an excerpt of my syslinux.cfg, if it helps:
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda1 rw
INTRID ../initramfs-linux.img
I have tried this half a dozen times, and I don't know what to do. Help!
Offline
If you're on a BIOS system, you need a BIOS Boot Partition at the start of the disk, because BIOSes know absolutely nothing about GPT disks and if they can't find a traditional boot record, they skip the disk. Try this https://wiki.archlinux.org/index.php/GR … structions
Rob Is King.
Offline
Oops, looks like I didn't RTFM as much as I thought I had. That exactly describes my problem. Will tell you if that still breaks
Offline
AFAIK, SYSLINUX does not use a BIOS Boot Partition; that partition is used exclusively by GRUB, and then only when booting in BIOS/CSM/legacy mode.
Chances are the problem has to do with the boot mode -- BIOS/CSM/legacy vs. EFI/UEFI. You may need to adjust a firmware setting to use the same boot mode as the boot loader you installed. You may also need to tweak your partition table, as described here, to work around firmware weirdness related to BIOS-mode booting from a GPT disk.
Offline
If you're on a BIOS system, you need a BIOS Boot Partition at the start of the disk, because BIOSes know absolutely nothing about GPT disks and if they can't find a traditional boot record, they skip the disk. Try this https://wiki.archlinux.org/index.php/GR … structions
Offline
Indeed, syslinux does not need any special partitions. All it needs is gptmbr.bin in the MBR and the legacy boot flag set. syslinux-install_update does both for you:
if [[ "$ptb" = MBR ]]; then
mbrfile="$bios_libpath/mbr.bin"
elif [[ "$ptb" = GPT ]]; then
mbrfile="$bios_libpath/gptmbr.bin"
fi
if dd bs=440 count=1 conv=notrunc if="$mbrfile" of="$disk" &> /dev/null; then
echo "Installed MBR ($mbrfile) to $disk"
else
echo "Error Installing MBR ($mbrfile) to $disk"
exit 4
fi if [[ "$ptb" = MBR ]]; then
if sfdisk "$disk" -A "$partnum" &>/dev/null; then
echo "Boot Flag Set - $part"
else
echo "FAILED to Set the boot flag on $part"
exit 3
fi
elif [[ "$ptb" = GPT ]]; then
if sgdisk "$disk" --attributes="$partnum":set:2 &>/dev/null; then
echo "Attribute Legacy Bios Bootable Set - $part"
else
echo "FAILED to set attribute Legacy BIOS Bootable on $part"
exit 3
fi
fiThat's assuming you're booting in BIOS mode. The script handles *only* BIOS mode:
This script will install or upgrade Syslinux (for BIOS only)If you're booting in EFI mode and want to use syslinux, you need to install it manually using the instructions on the wiki page teateawhy linked to.
Offline
I had to mark as bootable manually. I can't find the link that suggested that, but I was pretty sure it came from this topic. So thanks everybody. Also, below is why I didn't follow sciifer's advice, good as it was.
@sciifer
GRUB would not install on my system this time. I don't know why.
Offline
Yes, I stand corrected. The partition I was referring to wasn't the BIOS Boot Partition, but rather a "Protective MBR" that begins at the start. However, I don't think that's the problem here. The wiki says Syslinux on GPT requires the partition containing /boot (whether that be the root partition or a seperate one) needs the legacy_boot flag set on GParted or whatever partition tool you use. Nethertheless, it's here https://wiki.archlinux.org/index.php/Sy … tion_table
Rob Is King.
Offline
Pages: 1