cannot format a secondary partirtion with luks

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

 



hello list,
  i got an usb drive whit two partition and if i try to farmat the second
one and then mounting it, i got an error message.

    # cryptsetup -c blowfish luksFormat /dev/sdb2

    WARNING!
    ========
    This will overwrite data on /dev/sdb2 irrevocably.

    Are you sure? (Type uppercase yes): YES
    Enter LUKS passphrase: 
    Verify passphrase: 
    Command successful.
    # cryptsetup luksOpen /dev/sdb2 sdb2
    Enter LUKS passphrase: 
    Command failed: No key available with this passphrase.

but if i try the same with the first partition everything goes as
aspected:

    # cryptsetup -c blowfish luksFormat /dev/sdb1

    WARNING!
    ========
    This will overwrite data on /dev/sdb1 irrevocably.

    Are you sure? (Type uppercase yes): YES
    Enter LUKS passphrase: 
    Verify passphrase: 
    Command successful.
    # cryptsetup luksOpen /dev/sdb1 sdb1
    key slot 0 unlocked.
    Command successful.

first you for it, the password typed is correct and luksDump confirms it

    # cryptsetup luksDump /dev/sdb2
    Command failed: /dev/sdb2 is not a LUKS partition

    #

could i create a crypted filesyste in the second partition or have i
necessary use the first one?

cheers
m.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux