re:what am i doing wrong -

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

 



I have got a little further but since this loop0 is on hda2 I cannot create a directory nor  mount it so what are the commands to creste a directory and mount as this example i follow is for a /dev/sdf1 and I am useing /dev/hda2?






sh-3.2$ su - root
Password: 
privatix:~# rm /etc/fskey-hdd.gpgprivatix:~# modprobe loop-aesprivatix:~# echo "loop-aes" >>/etc/modulesprivatix:~# head -c 2925 /dev/random | uuencode -m - | head -n 66 | tail -n 65 | gpg --symmetric -a >/etc/fskey-hdd.gpg
privatix:~# losetup -e AES256 -K /etc/fskey-hdd.gpg /dev/loop0 /dev/hda2Password: 
privatix:~# mkfs -t ext3 /dev/loop0
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
2379216 inodes, 9504455 blocks
475222 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
291 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000, 7962624

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 22 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
privatix:~# mkdir -p /dev/hda2
mkdir: cannot create directory `/dev/hda2': File exists
privatix:~# mount -t ext3 /dev/loop0 /dev/hda2
mount: mount point /dev/hda2 is not a directory
privatix:~# 



-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux