linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Booting with syslinux not possible
@ 2014-01-31 19:46 KC
  2014-01-31 19:53 ` Hugo Mills
  2014-01-31 22:00 ` Alex
  0 siblings, 2 replies; 9+ messages in thread
From: KC @ 2014-01-31 19:46 UTC (permalink / raw)
  To: linux-btrfs

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
  2014-01-31 19:46 Booting with syslinux not possible KC
@ 2014-01-31 19:53 ` Hugo Mills
  2014-01-31 22:00 ` Alex
  1 sibling, 0 replies; 9+ messages in thread
From: Hugo Mills @ 2014-01-31 19:53 UTC (permalink / raw)
  To: KC; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

On Fri, Jan 31, 2014 at 08:46:10PM +0100, KC wrote:
> 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.

-- 
=== 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 ---           

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
@ 2014-01-31 20:32 Chris Murphy
  0 siblings, 0 replies; 9+ messages in thread
From: Chris Murphy @ 2014-01-31 20:32 UTC (permalink / raw)
  To: KC; +Cc: Btrfs BTRFS

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 161 bytes --]

Use extlinux, variant of syslinux.ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±ý»k~ÏâžØ^n‡r¡ö¦zË\x1aëh™¨è­Ú&£ûàz¿äz¹Þ—ú+€Ê+zf£¢·hšˆ§~†­†Ûiÿÿïêÿ‘êçz_è®\x0fæj:+v‰¨þ)ߣøm

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
@ 2014-01-31 20:54 Chris Murphy
  0 siblings, 0 replies; 9+ messages in thread
From: Chris Murphy @ 2014-01-31 20:54 UTC (permalink / raw)
  To: KC; +Cc: Btrfs BTRFS

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 179 bytes --]




Use extlinux, variant of syslinux.


Chris Murphyÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±ý»k~ÏâžØ^n‡r¡ö¦zË\x1aëh™¨è­Ú&£ûàz¿äz¹Þ—ú+€Ê+zf£¢·hšˆ§~†­†Ûiÿÿïêÿ‘êçz_è®\x0fæj:+v‰¨þ)ߣøm

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
  2014-01-31 19:46 Booting with syslinux not possible KC
  2014-01-31 19:53 ` Hugo Mills
@ 2014-01-31 22:00 ` Alex
  2014-02-04 15:52   ` Blaz Balon
  1 sibling, 1 reply; 9+ messages in thread
From: Alex @ 2014-01-31 22:00 UTC (permalink / raw)
  To: linux-btrfs

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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
  2014-01-31 22:00 ` Alex
@ 2014-02-04 15:52   ` Blaz Balon
  2014-02-04 17:19     ` Alex
  0 siblings, 1 reply; 9+ messages in thread
From: Blaz Balon @ 2014-02-04 15:52 UTC (permalink / raw)
  To: linux-btrfs

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

On 01/31/2014 11:00 PM, Alex wrote:
> 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.
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
  2014-02-04 15:52   ` Blaz Balon
@ 2014-02-04 17:19     ` Alex
  2014-02-04 21:30       ` Duncan
  0 siblings, 1 reply; 9+ messages in thread
From: Alex @ 2014-02-04 17:19 UTC (permalink / raw)
  To: linux-btrfs

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).






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
  2014-02-04 17:19     ` Alex
@ 2014-02-04 21:30       ` Duncan
  2014-02-05 14:57         ` Alex
  0 siblings, 1 reply; 9+ messages in thread
From: Duncan @ 2014-02-04 21:30 UTC (permalink / raw)
  To: linux-btrfs

Alex posted on Tue, 04 Feb 2014 17:19:09 +0000 as excerpted:

> 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! =:^)

-- 
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Booting with syslinux not possible
  2014-02-04 21:30       ` Duncan
@ 2014-02-05 14:57         ` Alex
  0 siblings, 0 replies; 9+ messages in thread
From: Alex @ 2014-02-05 14:57 UTC (permalink / raw)
  To: linux-btrfs

Duncan <1i5t5.duncan <at> cox.net> writes:

> 
> Alex posted on Tue, 04 Feb 2014 17:19:09 +0000 as excerpted:
> 
> > 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-02-05 14:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-31 19:46 Booting with syslinux not possible KC
2014-01-31 19:53 ` Hugo Mills
2014-01-31 22:00 ` Alex
2014-02-04 15:52   ` Blaz Balon
2014-02-04 17:19     ` Alex
2014-02-04 21:30       ` Duncan
2014-02-05 14:57         ` Alex
  -- strict thread matches above, loose matches on Subject: below --
2014-01-31 20:32 Chris Murphy
2014-01-31 20:54 Chris Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).