Gentoo Archives: gentoo-dev

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] default to syslinux instead of grub, was Re: About gcc-4.6 unmasking
Date: Wed, 22 Feb 2012 10:27:00
Message-Id: 4F44C2C3.40708@gentoo.org
In Reply to: Re: [gentoo-dev] Re: About gcc-4.6 unmasking by James Cloos
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 James Cloos schrieb:
5 > B> I would hesitate to say it's the *sanest* thing to do, but we
6 > should at B> least get it into ~arch and make sure our
7 > documentation is up to date.
8 >
9 > Actually, given grub2's crazy config, the real upgrade from grub1
10 > is sys-boot/syslinux's extlinux(1).
11 >
12 > The configuration and operation styles are much more comfortable
13 > for those who are familiar with grub1.
14 >
15 > It would make a better default for x86/amd64 than grub1 or grub2.
16
17 Speaking as sys-boot/syslinux maintainer, I would like to see it
18 included in the official installation documentation. However there are
19 some differences between grub{,2} and syslinux/extlinux that could
20 block universal adoption.
21
22 Installation:
23 Syslinux installs into a partition which means that /boot must be on
24 one of the supported filesystems. Currently these are btrfs, ext2/3/4
25 and vfat (ntfs support will come in the next release). Also this means
26 that /boot cannot reside on a logical partition. To my knowledge,
27 there are no plans to allow booting from LVM either.
28
29 Dual-booting:
30 Telling users to create GPT instead of MBR partitions could address
31 the logical partition issue, however this would make dual-booting
32 Windows difficult. And Windows has been observed to behave strangely
33 when its BCD is not on a partition which has the boot flag set. There
34 are workarounds but documenting them would increase the complexity of
35 the handbook.
36
37 EFI:
38 Syslinux does not boot on EFI yet. Not a big problem as UEFI will fall
39 back to BIOS mode but this can bite users on Apple hardware.
40
41 Xen:
42 Booting Xen generally works, but some specialties like Mini-OS aren't
43 supported and likely won't be in the near future.
44
45 tl;dr
46 Syslinux/extlinux can replace grub in many if not most cases. But for
47 a number of setups it is not well-suited. So a documented and stable
48 grub2 will still be needed.
49
50
51 Best regards,
52 Chí-Thanh Christopher Nguyễn
53 -----BEGIN PGP SIGNATURE-----
54 Version: GnuPG v2.0.17 (GNU/Linux)
55 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
56
57 iEYEARECAAYFAk9EwsIACgkQ+gvH2voEPRBInwCfT9t7qmILcCG11pKcJJlJSMpr
58 hggAmwaeo4sl2OwnyhLr5sZFV+hUM7Vc
59 =l/NZ
60 -----END PGP SIGNATURE-----