[resolved]Re: F17 & btrfs installation
Kashyap Chamarthy
kashyapc at fedoraproject.org
Fri Apr 13 09:47:46 UTC 2012
On 04/12/2012 06:59 PM, David Lehman wrote:
> On Thu, 2012-04-12 at 11:08 +0530, Kashyap Chamarthy wrote:
>> On 04/12/2012 06:41 AM, David Lehman wrote:
>>> On Wed, 2012-04-11 at 11:08 +0530, Kashyap Chamarthy wrote:
>>>>>
>>>>> I'm going give it a try w/ btrfs partitioning. Meanwhile, I wasn't keeping up. Can someone
>>>>> confirm, does /boot still need to be ext3/ext4 for btrfs to work?
>>>>>
>>>>
>>>>
>>>> Ok, I gave it a try w/ the below command line, and an error "you have not created a
>>>> bootloader stage1 target device. This can happen if there is not enough space on your
>>>> harddrive for your installation"
>>>>
>>>> Really? There is plenty of space on the disk.
>>>>
>>>> Screenshot of the text install error -->
>>>> http://kashyapc.fedorapeople.org/f17-btrfs-install.png
>>>>
>>>> Any hints?
>>>
>>> Here's a hint: try this instead of the clearpart and part commands you
>>> used below:
>>>
>>> clearpart --all --initlabel
>>> autopart --type=btrfs
>>
>> Thanks David, that resolved it. True, I was not paying attention to the partition layout.
>>
>> #####################################################################
>> [root at foobar ~]# df -hT
>> Filesystem Type Size Used Avail Use% Mounted on
>> rootfs rootfs 16G 818M 13G 6% /
>> devtmpfs devtmpfs 994M 0 994M 0% /dev
>> tmpfs tmpfs 1003M 0 1003M 0% /dev/shm
>> tmpfs tmpfs 1003M 724K 1002M 1% /run
>> /dev/sda4 btrfs 16G 818M 13G 6% /
>> tmpfs tmpfs 1003M 0 1003M 0% /sys/fs/cgroup
>> tmpfs tmpfs 1003M 0 1003M 0% /media
>> /dev/sda4 btrfs 16G 818M 13G 6% /home
>> /dev/sda2 ext4 497M 48M 425M 11% /boot
>> #####################################################################
>> [root at foobar ~]# cat /etc/fedora-release ; arch
>> Fedora release 17 (Beefy Miracle)
>> x86_64
>> [root at foobar ~]#
>> #####################################################################
>>
>> Answering my own earlier question, so yes, /boot still needs ext4.
>
> I believe it is possible to use btrfs for /boot, but it must be the main
> volume (not a subvolume).
>
> The automatic btrfs layout is similar to how we do the lvm automatic
> partitioning. You'll get one btrfs partition on each disk with enough
> space (just sda4 in your case), and these are combined to form a single
> btrfs volume/filesystem. Subvolumes are created for / and /home. The
> main volume is not mounted directly. /boot (ext4) is a regular
> partition, as is swap.
>
> If grub2 learns how to identify subvolumes we will probably move /boot
> into the btrfs volume as well.
Thanks for the info.
--
/kashyap
More information about the test
mailing list