Encrypted Swap -- Loop Devices
- From: Adam W <adam.ckdvwwzz@xxxxxxxxx>
- Date: Fri, 11 May 2007 11:11:45 -0500
I am having difficulty getting encrypted swap to enable on boot. Can anyone
offer any suggestions?
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda2 none swap sw,loop=/dev/loop0,encryption=AES256
0 0
After boot /dev/loop exists but /dev/loop0 to /dev/loop7 do not exist.
# ls /dev/loo*
0
# swapon -a
swapon: unable to open loop device /dev/loop0
After I execute "losetup -a", /dev/loop0 to /dev/loop7 then exist
and "swapon -a" mounts the swap.
# losetup -a
# ls /dev/loo*
/dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/loop4 /dev/loop5 /dev/loop6 /dev/loop7
/dev/loop:
0
# swapon -a
Setting up swapspace version 1, size = 1077501 kB
no label, UUID=b9e78291-ebe5-41e9-8ed3-c65324260818
Sorry about not including boot error messages but I don't seem to be logging.
#more /var/log/boot
(Nothing has been logged yet.)
and the only reference to swap in /var/log/messages is its recreation after I
had scrubbed the partition.
May 10 22:54:32 localhost kernel: Adding 1052244k swap on /dev/loop0.
Priority:-1 extents:1 across:1052244k
Thankyou,
- Adam Wakerhauser
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Prev by Date: Re: XFCE, and Gnome
- Next by Date: Re: hda: lost interrupt
- Previous by thread: Re: swap
- Next by thread: Re: swap
- Index(es):
Relevant Pages
|