cheemer
Posts: 3
Joined: Mon Nov 05, 2012 2:31 am

about btrfs in RPI

Mon Nov 05, 2012 2:42 am

i try to use ssd and btrfs as root system boot my RPI.
finally,kernel panic,warning message is unknown block.
i think maybe btrfs not buid in cur kernel....
who can give me a definite answer?

thanks all.

cheemer
Posts: 3
Joined: Mon Nov 05, 2012 2:31 am

Re: about btrfs in RPI

Mon Nov 05, 2012 3:13 am

i see btrfs.ko not in https://github.com/raspberrypi/firmware ... es.builtin

i want know how to build a new kernel img.


menicary
Posts: 3
Joined: Wed Feb 13, 2013 9:46 pm

Re: about btrfs in RPI

Wed Feb 13, 2013 9:51 pm

Hi, I enabled the btrfs support and initrd support, compiled the kernel according to http://www.elinux.org/RPi_Kernel_Compilation, but I dont know, how to generate initrd.img without booting into raspbian.

Can you help me, please?

drgr33n
Posts: 36
Joined: Tue Jan 22, 2013 2:55 am
Location: Norwich, Norfolk

Re: about btrfs in RPI

Thu Feb 14, 2013 12:50 am

You shouldn't need initrd just the kernel modules and kernel image. Why don't you build btrfs using dkms ?

menicary
Posts: 3
Joined: Wed Feb 13, 2013 9:46 pm

Re: about btrfs in RPI

Fri Feb 15, 2013 12:34 am

drgr33n wrote:You shouldn't need initrd just the kernel modules and kernel image. Why don't you build btrfs using dkms ?
I want to use BTRFS for my root filesystem. To be able to mount the btrfs root file system, i need the btrfs driver. And when the driver is somewhere in /lib/modules, i can't mount root because i can't load the btrfs driver.

That is my idea. I am not sure whatever DKMS can help me. If i made some mistakes, please correct me, i am a kernel newbie...

menicary
Posts: 3
Joined: Wed Feb 13, 2013 9:46 pm

Re: about btrfs in RPI

Fri Feb 15, 2013 9:41 pm

or can you give me a concrete advice, how can i get btrfs root on RPI?

kdave
Posts: 1
Joined: Sat Mar 23, 2013 10:11 pm

Re: about btrfs in RPI

Sat Mar 23, 2013 10:21 pm

You can skip the initramdisk entirely and just compile btrfs support in (ie. not a module).

Either edit your .config file or run
./scripts/config -e CONFIG_BTRFS_FS

Additionally, it's needed to update the entry in /etc/fstab and change the rootfstype to btrfs in bootloader config.

Return to “Raspbian”

Who is online

Users browsing this forum: davesteele and 33 guests