Booting with syslinux not possible
I do not know if people her are aware of it, but just in case I thought it is worth mentioning that currently it is not possible to boot with Syslinux bootloader, if the boot partition is on BTRFS.
Perhaps it's worth adding to the wiki.
Quoted 5 lines · KC
I do not know if people her are aware of it, but just in case I thought it is worth mentioning that currently it is not possible to boot with Syslinux bootloader, if the boot partition is on BTRFS.
Perhaps it's worth adding to the wiki.
Are you certain? I've definitely had it working late last year. You
can't boot from a multi-device filesystem with it, but a single-device FS worked fine for me.
Hugo.
Signature · 3 lines
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Great films about cricket: Batsman Returns --- Sorry KC:
All my VM's are on syslinux (actually extlinux) and btrfs:
Device Boot Start End Blocks Id System /dev/vda1 * 2048 7938047 3968000 83 Linux /dev/vda2 7938048 8388607 225280 82 Linux swap / Solaris
root@<VM> ~ # ll /boot
total 19452
-rw-r--r-- 1 root root 2319932 Jan 21 06:12 System.map-3.12-1-amd64
-rw-r--r-- 1 root root 149029 Jan 21 06:12 config-3.12-1-amd64
drwxr-xr-x 1 root root 176 Jan 28 22:32 extlinux/
-rw-r--r-- 1 root root 14240605 Jan 28 22:32 initrd.img-3.12-1-amd64
-rw-r--r-- 1 root root 176764 Nov 13 2011 memtest86+.bin -rw-r--r-- 1 root root 178944 Nov 13 2011 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 2842064 Jan 21 06:08 vmlinuz-3.12-1-amd64 root@china ~ #
Occasionally I get excited and decide to fix it 'til it breaks (usually I turn compression on, and /boot can't be accessed), but it's been working fine for a few years now.
Kind regards.
Al.
I also had some problems with syslinux.
For me it only works if I put boot folder to root of btrfs.
Didn't have a chance to do more test, but I copied /boot from default subvolume to subvolume 0 and it boots OK.
----------
regards
Blaz Balon
Quoted 33 lines · Alex
Sorry KC:
All my VM's are on syslinux (actually extlinux) and btrfs:
Device Boot Start End Blocks Id System/dev/vda1 * 2048 7938047 3968000 83 Linux /dev/vda2 7938048 8388607 225280 82 Linux swap / Solarisroot@<VM> ~ # ll /boot
total 19452(quoted diff) +0
-2-rw-r--r-- 1 root root 2319932 Jan 21 06:12 System.map-3.12-1-amd64 -rw-r--r-- 1 root root 149029 Jan 21 06:12 config-3.12-1-amd64drwxr-xr-x 1 root root 176 Jan 28 22:32 extlinux/
(quoted diff) +0
-4-rw-r--r-- 1 root root 14240605 Jan 28 22:32 initrd.img-3.12-1-amd64 -rw-r--r-- 1 root root 176764 Nov 13 2011 memtest86+.bin -rw-r--r-- 1 root root 178944 Nov 13 2011 memtest86+_multiboot.bin -rw-r--r-- 1 root root 2842064 Jan 21 06:08 vmlinuz-3.12-1-amd64root@china ~ #
Occasionally I get excited and decide to fix it 'til it breaks (usually I turn compression on, and /boot can't be accessed), but it's been working fine for a few years now.
Kind regards.
Al.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Blaz Balon <blaz.balon <at> laly.si> writes:
I also had some problems with syslinux.
For me it only works if I put boot folder to root of btrfs. Didn't have a chance to do more test, but I copied /boot from default subvolume to subvolume 0 and it boots OK.
Not sure I understand your /boot comment. I have some /boots on the main btrfs partition and some mounted ext(x)s (can't remember, don't care).
I have quite an (overly) complicated setup. All major directories are subvols eg. /etc /usr etc so that I can snapshot at almost every level. if you create the subvol you want as a tree, debootstrap (Debian) and git clone the stages (funtoo) are quite happy, but I guess you know that.
Transforming from standard directory to subvol is easy with any live distro (sysrescuecd).
Alex posted on Tue, 04 Feb 2014 17:19:09 +0000 as excerpted:
Quoted 1 line
I have quite an (overly) complicated setup.
I had to chuckle at that one. Fits my setup to a "T", altho they're different complications than yours. I'll have to remember it the next time I find a fitting context to use it! =:^)
Signature · 3 lines
Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman
Quoted 9 lines · Duncan <1i5t5.duncan <at> cox.net> writes:
Alex posted on Tue, 04 Feb 2014 17:19:09 +0000 as excerpted:
Quoted 1 line
I have quite an (overly) complicated setup.
I had to chuckle at that one. Fits my setup to a "T", altho they're different complications than yours. I'll have to remember it the next time I find a fitting context to use it! =:^)
Pretty shiny things. ;-)
Kind regards.