Debian :: Encrypt Partitions On A Usb Stick Using Squeeze?
Oct 19, 2010
I am trying to encrypt partitions on a usb stick using squeeze. I will be installing Arch on that stick, but as I am using Debian as the OS to do the encrypting I thought here was the best place to ask. I've not had any dealings with encryption before so i'm a little lost. It's not working as I would expect basically - here is the error mssge :
spoovy@peony ~ $ sudo cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sdb5
This will overwrite data on /dev/sdb5 irrevocably.
Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
device-mapper: reload ioctl failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sdb5.
I want to get a running Squeeze onto a bootable USB-stick to test it, to make desirable adaptions and adoptions and only when I feel, that everything is okay, install that over my existing Deb-installation.
The DVD however offers only an "install" over an existing Linux-system, destroying that. Really hours and hours of Google aso. brought no solution to a - in my opinion - simple task.
I want to transfer the content of the DVD onto the USB-stick, make that stick bootable and THEN enable me to act like the system on the stick were my real OS, including of course making changes to the configurations. Only when I'm satisfied with the result, I then want to overwrite my existing system.
I have a fresh install of Squeeze with CD1. I have no root password to open admin apps, so I set one with 'sudo passwd root' and then I'm able to open them, but only once. I have to set the root password every time prior to opening an admin app. Am I doing something wrong? Could I be missing a package?
I have two disks, sda and sdb. Each has a partition that is part of a mdraid array for /. Each one also has a swap partition, and both are used by linux. I've heard that hibernation won't work with two swap partitions. Is there any workaround, other than only using one swap partition?
Actually, the /root- filesystem still gets mounted, for all the others I get the following message:
When I type
But this only happens when using my custom kernel (18.104.22.168). When I use the kernel which was automatically installed (2.6.32-5-amd64), the problem doesn't occur.
Is there a kernel option I should have turned on?
I checked the UUID-numbers from the error messages with the output of "blkid" - they match. The rootfs is on sda2 (which gets mounted without error) - so I tried applying the fstab mount options of sda2 to the other partitions - same problem still. what makes the root partition so special? Is it because it's defined by grub.cfg?
I have a 16GB memorystick which used to have a Linux partition. It therefore has two partitions; 2GB FAT32 and 14GB linux boot drive. The linux part stopped working, so I decided to reinstall it. But windows can't see that partition. I tried formatting the whole disk, but I can only format one partition (the FAT32). There seems to be no way to combine the two partitions into one big one, and there seems to be no way for windows to partition the large part of the memorystick to but Linux on it. In the windows partition manager, windows sees the large unused partition, and it let me delete it. But once I have deleted it, I'm not allowed to format it. Also I cannot delete or resize the small partition. I have a memorystick with two partitons. Windows only sees one of them, and won't let me use the other one. I would like to combine the two partitions so I can install Linux on the memory stick again.
I am still running the linux-image-2.6.32-5-686 kernel a computer with squeeze. I installed squeeze on it when it was unstable. I would like to bring up to the new stable state.Should I do apt-get install linux-image-2.6.32-5-686or should Iapt-get dist-upgrade
i was writing a .img file to my usb stick with ImageWriter, but it didn't seem to do anything so i clicked the close gtk button and pulled the stick out of my pc. now my pc gives my an when i try to open the stick. is there any way to fix this. I can use win xp pro, win xp media center, win 7 starter, ubuntu 9.10 and ubuntu 10.04
I'm about to ditch Freenas as my NAS software and make it an Ubuntu server box. The mainboard is an Asus AT3ION-T dual core Atom board. Freenas runs happily from USB stick. I have no optical device to install Ubuntu from and would like to install Ubuntu Server to a USB stick.
I have a computer missing a HDD and I would like to be able to use it until I have bought a new HDD. I have seen it is possible to install the contents of a LiveCD to a usb stick, but is it possible to install a normal debian system to a usb stick and make it bootable? Example: can I make BIOS find my usb stick and make it the master HDD and then install debian on it by booting with an installation CD?
The advantages would be the possibility to modify the operating system and storing files, which is impossible when using a liveCD.
Debian GNU/Linux Kernel 22.214.171.124-rt13.2 My PC does not beep when I plug in the USB stick. The stick is formated to vfat. The mount point is established in the fstab. The reply is: "/dev/sda1 is not a valid block device"
how to install Dropbox for Debian Squeeze from source.Please read everything before you begin. I prepared it as I installed Dropbox for my own system. Please Note: I use sudo, you may have to use root or 'su' from the command line. If you don't know the difference between sudo and su, then you shouldn't try this until you know. At the time I did this, the lastest dropbox version was 0.6.7.
Below is the recipe I've used to compile dwm from source on Squeeze
su apt-get install devscripts debian-keyring apt-get build-dep dwm exit
It all seems to work, however debuild gave an error about secret keys. Is this a sensible procedure? What happens in the (probably unlikely) event there is another source patch?I've gone to a tiling window manager as the result of the purchase of a wide screen LCD monitor. I like to have some stuff down the right hand side when running Firefox and OpenOffice in the main panes. Any configuration tricks welcome. Modern screens are the wrong shape!
I got two harddisks, sda and sdb. Is it possible to install Debian root into software raid partitions sda2 and sdb1 leaving all other partitions 'normal' (not-raid)? do partitions sda2 and sdb1 need to be exact same size and position?
I've just install debian squeeze version, or the testing one, but I am not really happy with it. Is not listening me all the time. If I install the debian stable I don't have internet connection. Is it possible to update the kernel somehow using the testing version?
I have been trying to install a command line Debian Squeeze system on n Eee PC 701., but have run into a number of problems:
1) All install info I can find assumes that the person wants to install a GUI system of some sort. 2) The Eee PC has a unique 2 MB. partition that needs to be preserved, so no guided install. 3) The Eee PC has an SSD instead of an HD. Most postings I have seen recommend an install without a swap partition, but the install (both live and text) seems to choke and despite a fresh formatting of the existing partition, claims to be overwriting existing files. 4) I can understand from the wiki that the Eee PC wireless driver (Atheros) should be included in Squeeze, but when the wireless connection and password is added, the installer claims that the password is not correct, despite me having checked it a number of times.
I hope someone can help me out. I just want to use the Eee PC for low resource stuff done on the cli like using a text based web browser to access the net through a wireless router and to hook it up to an external USB HD and to my stereo, to play my music collection.