BTRFS file system

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

BTRFS file system

Post by xeno74 »

Srtest wrote:Thank you for the wishes and of course also to Xeno who responded so quicklly and made me a surprise.

Unfortunatlly... This is what I get when trying to boot the latest Lubuntu on a BTRFS partition, positioned on a SSD with amiga partition table.

When trying to boot a regular EXT4 with the latest Lubuntu, enabling of the "sysv-fs" option on the kernel level didn't seem to effect the issues with SYSTEMD-SYSV.

Perhaps enabling all of the BTRFS options on the kernel level will help boot it?

Shy.
Srtest wrote:Here is Lubuntu developmental on kernel RC8 on a ext4 partition.

A question about the kernel panic issues with a btrfs partition - do you think this procedure can be used on the X1000?
https://youtu.be/L7jIAvs5bFU
Ernsteiswuerfel has found a solution because of the btrfs issues today.
ernsteiswuerfel wrote: I did some more research and finally found the correct parameter to boot into a btrfs /. :-)

Code: Select all

image=/vmlinux
label=Linux
read-only
root=/dev/sda7
initrd=/initrd.img
append="rootflags=subvol=@ radeon.agpmode=-1"
Running btrfs without issues so far, I even turned lzo filesystem compression on. AFAIK many issues with btrfs have been resolved with kernel > 4.0 and btrfs-progs > 4.0 (https://btrfs.wiki.kernel.org/index.php/Main_Page#News).

It would be convenient if the yaboot installer-script from the ISO checks if btrfs is used as root-filesystem and adds

Code: Select all

append="rootflags=subvol=@"
to /etc/yaboot.conf automatically.
Link: ubuntuforums.org

Srtest, could you add rootflags=subvol=@ to the boot arguments, please?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Srtest
Posts: 240
Joined: Wed Jun 11, 2014 5:06 pm

Re: BTRFS file system

Post by Srtest »

xeno74 wrote:
Srtest wrote:Thank you for the wishes and of course also to Xeno who responded so quicklly and made me a surprise.

Unfortunatlly... This is what I get when trying to boot the latest Lubuntu on a BTRFS partition, positioned on a SSD with amiga partition table.

When trying to boot a regular EXT4 with the latest Lubuntu, enabling of the "sysv-fs" option on the kernel level didn't seem to effect the issues with SYSTEMD-SYSV.

Perhaps enabling all of the BTRFS options on the kernel level will help boot it?

Shy.
Srtest wrote:Here is Lubuntu developmental on kernel RC8 on a ext4 partition.

A question about the kernel panic issues with a btrfs partition - do you think this procedure can be used on the X1000?
https://youtu.be/L7jIAvs5bFU
Ernsteiswuerfel has found a solution because of the btrfs issues today.
ernsteiswuerfel wrote: I did some more research and finally found the correct parameter to boot into a btrfs /. :-)

Code: Select all

image=/vmlinux
label=Linux
read-only
root=/dev/sda7
initrd=/initrd.img
append="rootflags=subvol=@ radeon.agpmode=-1"
Running btrfs without issues so far, I even turned lzo filesystem compression on. AFAIK many issues with btrfs have been resolved with kernel > 4.0 and btrfs-progs > 4.0 (https://btrfs.wiki.kernel.org/index.php/Main_Page#News).

It would be convenient if the yaboot installer-script from the ISO checks if btrfs is used as root-filesystem and adds

Code: Select all

append="rootflags=subvol=@"
to /etc/yaboot.conf automatically.
Link: ubuntuforums.org

Srtest, could you add rootflags=subvol=@ to the boot arguments, please?
Do you mean add it to the CFE boot command? If so I will do it the next time I go through a new installation. I had so much ups and downs with various installations I give the current one credit until it fails me somehow... well if I can be serious for a moment I really see no reason to change anything fundamental right now besides testing stuff that doesn't require me to start all over again. Perhaps with the next BIG release. 10x anyway.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: BTRFS file system

Post by xeno74 »

Srtest wrote: Do you mean add it to the CFE boot command?
Yes, I do.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Srtest
Posts: 240
Joined: Wed Jun 11, 2014 5:06 pm

Re: BTRFS file system

Post by Srtest »

Works! Installed a new LXQt desktop on a BTRFS with "rootflags=subvol=@" and it boots fine. 2 warnings: 1. It doesn't like the "rw" value. 2. I can't recommend it yet - it works, the system operated quite good while there are some... markings that not everything is 100% stable. This is not a driver or kernel as a filesystem takes longer to evaluate.
Post Reply