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.
about btrfs in RPI
8 posts
- Posts: 3
- Joined: Mon Nov 05, 2012 2:31 am
i see btrfs.ko not in https://github.com/raspberrypi/firmware ... es.builtin
i want know how to build a new kernel img.
i want know how to build a new kernel img.
- Posts: 3
- Joined: Mon Nov 05, 2012 2:31 am
- Posts: 3
- Joined: Mon Nov 05, 2012 2:31 am
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?
Can you help me, please?
- Posts: 3
- Joined: Wed Feb 13, 2013 9:46 pm
You shouldn't need initrd just the kernel modules and kernel image. Why don't you build btrfs using dkms ?
- Posts: 28
- Joined: Tue Jan 22, 2013 2:55 am
- Location: Norwich, Norfolk
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...
- Posts: 3
- Joined: Wed Feb 13, 2013 9:46 pm
or can you give me a concrete advice, how can i get btrfs root on RPI?
- Posts: 3
- Joined: Wed Feb 13, 2013 9:46 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.
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.
- Posts: 1
- Joined: Sat Mar 23, 2013 10:11 pm