[arch-general] Problem with udev 145?

Thomas Bächler thomas at archlinux.org
Sun Aug 30 10:49:41 UTC 2009


Sebastian Schwarz schrieb:
> As I had nowhere enough space to backup the hard drive and recreate
> the LUKS volume I was desperate enough to use the dd method Karel
> Zak mentioned in his second post:
> 
>     # dd if=/dev/zero of=/dev/sdc1 bs=1 seek=1080 count=2 conv=notrunc
> 
> It worked just fine on the (former ext3) partition.  blkid now reports
> the UUID correctly and the /dev/disk/by-label link for it is created
> when plugging in the USB drive.
> 
>     # blkid /dev/sdc1
>     /dev/sdc1: UUID="e3c24abf-143a-4d84-92b1-113f02a49a16" TYPE="crypto_LUKS"

Haha, nice.

> However I've come to wonder what the correct partition type for LUKS
> might be.  Usually I use just 83 (Linux), but I also have an encrypted
> swap partition of type 82 (Linux swap / Solaris).  Both work.

Linux completey ignores partition types, it's that simple :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.archlinux.org/pipermail/arch-general/attachments/20090830/afbf0228/attachment.pgp>


More information about the arch-general mailing list