Re: Problem with udev 145?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 :)

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux