Re: proper syslinux settings for ext4 boot, dm-crypt + btrfs subvol root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 12, 2017 at 5:11 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> On Fri, Feb 10, 2017 at 5:05 PM, John Hendy <jw.hendy@xxxxxxxxx> wrote:
>> On Fri, Feb 10, 2017 at 5:49 PM, Hugo Mills <hugo@xxxxxxxxxxxxx> wrote:
>>> On Fri, Feb 10, 2017 at 11:40:41AM -0600, John Hendy wrote:
>>>> Greetings,
>>
>>
>>>    Just as an aside -- it doesn't affect you here, but you might want
>>> to be aware -- syslinux doesn't support multi-device btrfs. I've been
>>> bitten by that before, and it's a consideration for you should you
>>> wish to add another device to this FS. Also, I haven't tried it, but I
>>> suspect that it may not support compression in btrfs either.
>>
>> Aside appreciated! I don't plan to add a second device, so that's alright.
>
> Nonfactor in your case because your boot volume is ext4 not Btrfs, so
> none of the Btrfs limitations apply to the bootloader.
>
>

As a relative noob, when a mailing list brings something to my
attention I want to make sure I understand what's being said. I said
in my very original post that /boot was ext4... but it was brought up
that syslinux doesn't support multi-device and compression, so I
wanted to know compression on *what*?

>>
>> I've run into the statement on compression as well... does this mean
>> the device it's *on* or the device I want to mount as root?
>
> rootflags applies mount options to the root filesystem only.
>
>>
>> I have to assume the former, and ran across this in my preparation,
>> which is why I used ext4. Given that I've been able to specify
>> rootflags=compress=lzo in my APPEND line, this is also in /etc/fstab
>> and it booted... I'm using this as evidence that it must support
>> compression on a root btrfs device? Any reason to think otherwise?
>
> I don't understand the question. What is "it" when you ask "it must support"?

I was just thinking aloud as an extension of the above. Since I
specified compress=lzo in rootflags, on the / mount options in fstab,
and I was able to get a successful boot with these options...
presumably syslinux (*it*) supports that setup (namely: compression on
btrfs root).


John

>
>
> --
> Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux