Date: Mon, 5 Jul 2004 18:26:34 +0200 (CEST) From: tthorsten@yahoo.de To: freebsd-geom@FreeBSD.org Subject: Problem in attaching newly encrypted disk Message-ID: <Pine.NEB.4.60.0407051813340.29828@otaku.freeshell.org>
next in thread | raw e-mail | index | archive | help
Hi, I have a serious problem after I have done the following steps: Initalized new encrypted disk with gbde init /dev/ad1s1c -i -L /etc/gbde/ad1s1c -> sector_size = 2048 -> one key Attached it to the kernel via gbde attach ad1s1c -l /etc/gbde/ad1s1c Created new filesystem with newfs -U /dev/ad1s1c.bde Mounted the filesystem with mount /dev/ad1s1c.bde /dsk Then I put all my private data onto the newly created encrypted disk and unmounted and detached it from kernel before halting the system. When I started the system again and tried to attach the disk again with gbde attach ad1s1c -l /etc/gbde/ad1s1c NOTHING HAPPENS! There will no /dev/ad1s1c.bde device there to mount. The Passphrase is correct! So I made a dd of the first 1MB of /dev/ad1s1c and did a strings on it. See output at end of this mail. There are Error MEssages like "Read Boot error", "not a directory", "not ufs format" etc. I do not have such error messages in the dd output from other encrypted partitions I use. What went wrong? Does anybody have an answer or is all my data lost? I would be very happy, if anybody could help me with this. Regards, Thorsten Here the strings output of the first 1MB of /dev/ad1s1c: Read Boot error ad1s1 3QPh QQQQR D$PP > td >0tc >2tk t[[a U0Z) PSVW1 Y_^[X f=SOu PPP` t$PV @err Defl Peip Heax 4ebx (ecx 0edx ,esi esp fs cs:eip Hss:esp BTX halted UWVS Ph;4 Wh?4 [^_] UWVS \$h9 L$Hu \$@+ 9\$pv 9T$4 9D$0 t$(1 ;T$, ;D$(t.j t$(1 D$01 t$@t ;T$, ;D$(t- +\$8;\$Dv )\$D T[^_ /ker UWVS [^_] UWVS ;WEV [^_] DhaCgmnPprsv %s: not a directory. Not ufs format Invalid %s /boot.config %s: %s /boot/loader FreeBSD/i386 boot Default: %u:%s(%u,%c)%s boot: No %s Keyboard: %s slice label partition error %u lba %u /|\-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.60.0407051813340.29828>