linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* quick question...
@ 2010-08-09  1:57 Evert Vorster
  2010-08-09  2:13 ` C Anthony Risinger
  0 siblings, 1 reply; 2+ messages in thread
From: Evert Vorster @ 2010-08-09  1:57 UTC (permalink / raw)
  To: linux-btrfs

Hi there.

Has anybody got a btrfs root filesystem that is running on a bare
block device? Would lilo be able to boot an initramfs that is living
on such a filesystem?

What I intend to do is to erase all the partitions off my system, make
a btrfs volume on /dev/sda, and then just use subvolumes in stead of
partitions.

Is this folly?

Would having an initramfs be a boon or a bane in this endeavour?

Would lilo writing to the mbr of a device that is claimed by btrfs
break the file system?

Do you need to have a partition table to have an MBR?

Thanks for any answers...

-Evert-

-- 
http://magnatune.com - Music shared the way it should be.

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

* Re: quick question...
  2010-08-09  1:57 quick question Evert Vorster
@ 2010-08-09  2:13 ` C Anthony Risinger
  0 siblings, 0 replies; 2+ messages in thread
From: C Anthony Risinger @ 2010-08-09  2:13 UTC (permalink / raw)
  To: Evert Vorster; +Cc: linux-btrfs

i'm not an expert, but ill do my best to answer.  replies interspersed below.

On Sun, Aug 8, 2010 at 8:57 PM, Evert Vorster <evorster@gmail.com> wrote:
> Hi there.
>
> Has anybody got a btrfs root filesystem that is running on a bare
> block device? Would lilo be able to boot an initramfs that is living
> on such a filesystem?

i haven't [ever] used lilo, but AFIAK no bootloader, with the
exception of maybe syslinux (extlinux), can boot from a btrfs device;
you won't have to worry about the initramfs, because the loader won't
even be able to find the kernel.  you'll need a boot partition with a
filesystem supported by the loader.

> What I intend to do is to erase all the partitions off my system, make
> a btrfs volume on /dev/sda, and then just use subvolumes in stead of
> partitions.
>
> Is this folly?

not at all.  this is what many of us would like to do, but we run into
the bootloader issues above.

> Would having an initramfs be a boon or a bane in this endeavour?

a non-issue, as the bootloader cannot even get the kernel (unless your
booting the kernel/initramfs from a different device...)

> Would lilo writing to the mbr of a device that is claimed by btrfs
> break the file system?

i don't think so, but i'm not sure.

> Do you need to have a partition table to have an MBR?

i just read about this recently.  IIRC, the partition table is within
the 512 byte MBR; it's a 64 byte section starting at byte 446.  so...
no :-)

C Anthony

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

end of thread, other threads:[~2010-08-09  2:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09  1:57 quick question Evert Vorster
2010-08-09  2:13 ` C Anthony Risinger

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