Manual encrypted persistance file mount in Knoppix 7
I need to manualy mount my KNOPPIX-DATA.aes to any point that i can access
Mainly its to fix somethings that makes it unloadable In bad case just to take my files Amount of console work doesnt matter ^^ |
Hi,
Knoppix is a good choice, Finnix anf TTYLinux as well, but, that's besides the point... :) Steps I use -insert the CDRom and a USB stick -(re)start the system -issue fdisk -l after "login" -find the designation of the drives to be mounted -issue mkdir /media/hd and mkdir /media/stick -issue mount /dev/[drive] /media/hd (example mount /dev/sda1 /media/hd) -issue mount /dev/[stick] /media/stick (example mount /dev/sdb1 /media/stick) -issue mc (midnight commander, yes, that's still in there ;) ) -save the files snag....if the system is encrypted, I think you'll have a problem...I rarely encrypt systems, unless I have a rock-steady backup plan... good luck Thor |
I just wanna reboot knoppix with no persistance
Go root Make Dir at /mnt/data And mount it there I have it encrypted but i need this data |
No sweat...you've got the angles covered. This is the best way to go. Good luck. Just survived a sys-wide crash myself, still licking my wounds...
Oh, edit, to go root, issue this command in the shell Quote:
It will present a menu, item 11 is the one you want, select it, and follow (something like) this Quote:
Quote:
Thor |
I dont say i need to access my hard drive or what ever
I dont need to save my system on my harddrive I used knoppix as my main distro for long time I have all my stuff in the persistance file Its encrypted, i wanna enter my password and mount it to some dir |
Same principle, same idea, same MO...believe me, you've got it covered.
Since you've got the password (I hope) the encryption shouldn't be a hurdle. I suspect the persistence file is on a stick somewhere...that means sticking it in the PC and mounting it. To find out WHAT to mount, issue fdisk -l after inserting the stick...then mount whatever you've got to your favourite folder... Lemme (and all of us) know how this turns out... :) Thor |
root@Microknoppix:/mnt# mount /mnt-system/multiboot/knoppix/KNOPPIX/knoppix-data.aes /mnt/data
mount: you must specify the filesystem type I think you dont understand that i have a usb and i got a file that is virtual device, and this device is encrypted Its file not actual device |
Quote:
try this (with everything plugged in) Quote:
Quote:
mount -t [reported type] /mnt-system/multiboot/knoppix/KNOPPIX/knoppix-data.aes /mnt/data[/QUOTE] I marked the extra bits for you... The encryption, that will be a problem, though... As a question of curiosity: how did you get to using Knoppix as a day to day OS? It's not really meant to be used like this, it's a rescue system...and a very good one at that. Is Knoppix the OS running? Eg : did you start the PC with it? The mount path seems strange...when I mount something, this is roughly what U do: Quote:
Thor |
That what it gave:
Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000b0987 Device Boot Start End Blocks Id System /dev/sda1 2048 4196351 2097152 83 Linux /dev/sda2 * 4196352 109053951 52428800 7 HPFS/NTFS/exFAT /dev/sda3 109055998 614655999 252800001 5 Extended /dev/sda4 614656000 625141759 5242880 b W95 FAT32 /dev/sda5 109056000 130027519 10485760 82 Linux swap / Solaris /dev/sda6 130029568 234887167 52428800 83 Linux /dev/sda7 234889216 614655999 189883392 b W95 FAT32 Disk /dev/sdb: 15.9 GB, 15879634944 bytes 13 heads, 13 sectors/track, 183520 cylinders, total 31014912 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdb1 * 8064 31014911 15503424 c W95 FAT32 (LBA) Disk /dev/sdc: 7803 MB, 7803174912 bytes 255 heads, 63 sectors/track, 948 cylinders, total 15240576 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc3072e18 Device Boot Start End Blocks Id System /dev/sdc1 * 2048 15239167 7618560 b W95 FAT32 And what i should mount from this? I came to knoppix as main os several times when i didnt have os yet, or when windows didnt wanna boot I reboot in knoppix, make persistance, try to fix windows or install gentoo, i fail, i start using knoppix as main os, it gets bigger |
manualy mount KNOPPIX-DATA.aes to any point
Try the following steps
(associate loop device) # echo 'yourpassword' | losetup -e aes -p 0 /dev/loop6 /path/to/knoppix-data.aes (Now you can use /dev/loop6) # mount /dev/loop6 /where/you/want/to/mount/it Once you are done, (unmount) # umount /dev/loop6 (destroy the loop device association of knoppix-data.aes) # losetup -d /dev/loop6 |
All times are GMT -5. The time now is 01:18 AM. |