You are not logged in.

#1 2011-01-31 16:09:15

batoo
Member
Registered: 2008-12-01
Posts: 7

BTRFS on root - cryptsetup problem

Hi sorry to bother you but I have problem.

I converted root filesystem from reiserfs to btrfs (compression-force), after that I recreated with mknod /dev/console and /dev/null.
I downloaded btrfs mkinitcpio and it works without any problem.
When I used my vanilla kernel I don't know why but crypttab is not accessed (system booting hangs before init of rc.sysinit , it hangs for approx. 10 seconds and after that it jumps to the console and I can login.
But it seems that rc.local and /etc/crypttab weren't applied. (It didn't ask me for password).
I have to do it manually (cryptsetup luksOpen, after that mount /dev/mapper/... and it works).


Any clue what could be difference? With reiser it worked without any problem, maybe some prob with changed rights because of btrfs?

I know that it's my kernel and it's not supported but I have to ask.

In my kernel I don't use ramdisk.

Thank you for help.

Last edited by batoo (2011-01-31 16:16:29)

Offline

#2 2011-01-31 20:46:26

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: BTRFS on root - cryptsetup problem

hmm ... did you put btrfs in your hooks and modules in mkinitcpio.conf and recreated the image?
also you need grub2 or extlinux to boot a btrfs root volume!

Last edited by broken pipe (2011-01-31 20:48:25)

Offline

#3 2011-01-31 20:52:09

batoo
Member
Registered: 2008-12-01
Posts: 7

Re: BTRFS on root - cryptsetup problem

Yes I did, if I wouldn't arch kernel wouldn't work.
I have boot folder on reiser partition so it's not the reason. And for kernel which doesn't use ram disk is not mkinitcpio needed.
sad I don't find solution yet.

Offline

Board footer

Powered by FluxBB