hello everyone! i want to install opensuse 11.2 with btrfs filesystem,but juast for testing.
i chose btrfs as root partition,a /home with ext4 and an extra partition for music,videos (and more) with ext4 as /media/multimedia. the installation begins,but when it comes to 95% (more or less…) there’s a problem with grub. i suppose that grub doesn’t recognize ext4 without patches,nor btrfs,so… how can i test btrfs?
up (i need help!)
Just a guess. With xfs you will not be able to boot grub so you have to make a boot partition using ext2 or 3.
Try creating a separate boot partition using ext 4.
That is correct. The OP can create a small ext2 /boot partition (80MB suffices) and have the rest as btrfs.
xfs is mentioned, there was a paper last year, on what works reliably for boot partitions, and where you can install the stage2 of the GRUB boot loader. I don’t think XFS is an approved boot filesystem, and someone was having issues with it on Factory mailing list.
You can’t go wrong with GRUB in MBR, or Generic in MBR and GRUB in an ext2 /boot partition (best primary) and set it active. If you have Windows the Generic MBR is the superior choice, so MS don’t overwrite your boot code.
As btrfs is aimed at ZFS style multi-disk deployment with enterprise features, I am wondering why anyone would want to use it for ‘/’, when ext4 is more stable, fast and already heavily used in developer circles.
In my case before the upgrade to opensuse 11.2 my partition looks like this
/boot=ext3
/=xfs
/home=xfs
Since I don’t want to touch my /home I left it to be in it’s original which is xfs
I reformatted /boot and / to be ext4
And that works in openSUSE (but not in Fedora) because OS’s GRUB is patched to support ext4. Personally I recommend sticking to ext2 for these small /boot partitions. You don’t even have to mount them on system start up, so not having a journal is not really an issue, as the data is only written on kernel upgrades, and if fsck(8) does get run, it works in a few seconds on 80-100 MB partitions.
it doesn’t work. grub doesn’t recognize btrfs. so… how can i test it? can use btrfs only with other partition but root?