You are not logged in.

#1 2007-10-09 09:45:21

Trained.Monkey
Member
From: Czechoslovakia
Registered: 2005-12-15
Posts: 20

[SOLVED] Encrypted root on USB drive problem

Hi,
I have encrypted root on external USB harddrive. On one machine it works just fine, LUKS ask for password and system starts.

On second it does not work. I tryed nearly all possible combinations of modules and hooks. I can also access my usb drive if I use break=y. I am using current kernel & utils, I definitely use right paths...

Machine is an Dell with Intel chipset. My USB drive is like this:
  /dev/sdb1 - big fat32
  /dev/sdb2 - ext2 boot with Grub, kernel and initrd image
  /dev/sdb3 - root fs, reiserfs encrypted with LUKS

I made little debuging and it seems that encrypt hook was launched, but did not make anything. Before I digg deeper I wonder that someone had same problem, or can give me advice.


Kernel panic screenshot:
1009104825nt5.th.jpg

1009095516jk4.th.jpg



PS: how can I put busybox to initrd image? echo * sucks.

Thanks

Last edited by Trained.Monkey (2007-10-10 09:42:13)


Google is watching...

Offline

#2 2007-10-10 09:42:00

Trained.Monkey
Member
From: Czechoslovakia
Registered: 2005-12-15
Posts: 20

Re: [SOLVED] Encrypted root on USB drive problem

I solved, problem is that encrypt is running BEFORE usb drive is fully initialized. Encrypted partition is not found and not used.

Solotion:
put sleep 5 at beggining of encrypt hook. You must also add sleep binary at installer.


Google is watching...

Offline

Board footer

Powered by FluxBB