F17 & btrfs installation

David Lehman dlehman at redhat.com
Thu Apr 12 01:11:24 UTC 2012


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

> 
> 
> ==> virt-install cmdline <==
> #########################################################################################
> $ virt-install --connect=qemu:///system \
>     --network=bridge:br0 \
>     --initrd-inject=./ks-with-btrfs.ks \
>     --extra-args="ks=file:/ks-with-btrfs.ks console=tty0 console=ttyS0,115200
> root=live:http://dl.fedoraproject.org/pub/alt/stage/17-Beta.RC4/Fedora/x86_64/os/LiveOS/squashfs.img"
> \
>     --name=f17t1 \
>     --disk /export/vmimgs/f17t1.img,size=20 \
>     --ram 2048 \
>     --vcpus=2 \
>     --check-cpu \
>     --accelerate \
>     --hvm \
>     --location=http://dl.fedoraproject.org/pub/fedora/linux/development/17/x86_64/os/ \
>     --nographics
> #########################################################################################
> 
> => Contents of my btrfs ks file <=
> #########################################################################################
> $ cat ks-with-btrfs.ks
> ## A minimal fedora kickstart file
> 
> install
> text
> lang en_US.UTF-8
> keyboard us
> rootpw testpwd
> firewall --service=ssh
> authconfig --enableshadow --passalgo=sha512
> selinux --enforcing
> timezone --utc Asia/Kolkata
> bootloader --location=mbr --driveorder=sda  --append="rhgb console=tty0
> console=ttyS0,115200 rd_NO_PLYMOUTH"
> zerombr
> clearpart --initlabel
> part /boot --fstype ext4     --size=600
> part /     --fstype btrfs     --size=14000
> 
> 
> %packages
> @core
> @editors
> %end
> #########################################################################################
> 
> 
> > 
> > Thanks,
> > /kashyap
> >>
> >> it was a bit better with live - I was able to play with 
> >> filesystems without the installer crashing, however, I could not 
> >> install on btrfs as the target filesystem has to match the live 
> >> image
> >>
> >> there may have been some fixes since ...
> >>
> >> K.
> >>
> >>
> >>
> >>
> > 
> 




More information about the test mailing list