Debian Installation :: Volume Encryption Onto Bootable USB Stick?
Aug 27, 2015
I have been trying for close to 7 hours now to create a working encrypted bootable usb key for debian now.
I start by running the debian installation dvd (1 of 3. I downloaded and burnt all three ISO's that I found here: [URL] .... (2015-06-06 17:33) to disk), and when I get to the partitioning part, I cannot get an encrypted volume that will hold the root filesystem.
Here is what I have tried:
I have tried the Guided partitioning option to use the entire disk and set up encrypted LVM, to no avail.
I am left with a primary boot partition of 254.8 MB, at ext2 with /boot mountpoint on it, and a logical partition of 15.8 GB, with crypto as it's file system that says it's "not active". This bit here seems to be a running theme as I keep coming back to this set up, (give or take some space arrangement). From what I've read and seen, I should be seeing an Encrypted Volume container similar to LVM, but called an "Encrypted Container" that I can create additional partitions in like / and /home, and what have you.
And I can't "activate" the partition either. I have tried both the Configure Logical Volume Manager, which changed the partition to an LVM partition that dosn't encrypt anything inherently (and I have checked), and I have tried the Configure encrypted volumes option, which leads to the same results basically.
I have tried manually creating the partitions, a 512 MB ext4 /boot partition and then partitioning the rest of the space as "physical volume for encryption" with aes encryption, 256 key size, xts-plain64, Passphrase encryption key, erase data flag, bootable flag off.
Same result, 1 primary boot partition, 1 logical (I later tried making it a primary partition to, with the same results) crypto volume that is "not active".
I also tried setting up the a logical volume manager, which created a container to create additional partitions in which I could encrypt, but it was either a partition dedicated to something (i.e. root (/) or /home, or /swap, etc) or it could be encrypted, but not both. I even tried creating a root partion, and then selecting Configure encrypted volumes, and then selecting the root partition, and here is where I thought I was getting somewhere, because then it comes up giving me all the same options above, but it also specifies mount point under encryption. Which is /, which is what I'm after. So I accept that, and it goes back to being crypto, "not active" and when I check the partition again, the mount point option is gone.
Last thing I tried was going back to having a 512 MB /boot partition, and an encrypted partition set up with Configure encrypted volumes option, and then specifying the encrypted partiton with the Logical Volume Manager as the place to create logical groups and volumes, to little avail. I can create more volumes that are either encrypted, or a useful non encrypted volumes like / (root), /home, /swap, and the like, but not both at the same time.
Following this guide: [URL] ....
This leads me to a useable system, but the system wasn't encrypted. When I booted, I wasn't asked for a passphrase, and I checked the stick with my old linux mint dristro, and I was able to mount the logical volume and look at the contents, /etc, /home, /var by activating the partition in GParted and mounting it.
A number of users seem to mark an encrypted partition as lvm and then create more logical volumes within that that either actually become encrypted, or they don't check. I'm not sure which after my testing.
[URL] .....
I have also read this: [URL] .... and this [URL] .....
I found this which shows the container I believe I should be seeing if I do this right, but I can't get it : [URL] ....
I have also watched movies on youtube about it : [URL] ....
Could the issue be that I'm using a Lexar JumpDrive? 16 GM USB 3.0.
I've gotten debian to run off of it on it's own so I kind of doubt it.
View 2 Replies
ADVERTISEMENT
Jan 14, 2011
I am trying to create a bootable USB stick in Windows to install Debian on my laptop. I have looked at the guide on the [URL] website, but it seems to assume you already have access to a Linux machine with the use of zcat and other extractors. Is there anyway to create a bootable Debian USB stick in Windows? By the way, I'm trying to simply get the USB stick to become bootable and then install the OS through the internet on my laptop. My laptop does not have an optical drive, so I have to do it this way.
View 8 Replies
View Related
Jan 8, 2011
I'm looking for a good tutorial to install minimal Debian with Gnome on USB Memory stick and make it bootable.
View 9 Replies
View Related
Jun 30, 2010
I've been trying to work out how to get a "full" debian installer (ie, not a netinst installer but as much as you'd find on say, the first CD) onto a bootable USB stick.Most of the tutorials I've seen work with the netboot installers only.The installer works until the "Detect and mount CD-ROM" step where it wants to mount a CD drive. Won't accept /dev/sdb or whatever device the USB stick is.
Using live-magic with the option to include the installer.The installer works until the "Detect and mount CD-ROM" step where it wants to mount a CD drive, as above. This confuses me, since why would live-magic include this capability if it didn't work for a USB stick?
View 11 Replies
View Related
Oct 23, 2009
I have a cdrom (bootable) that I want to copy over to a usb stick, and have THAT boot the system (Adding other files to it before hand) I know it's easy, but how? I've already made a iso of the cdrom.
View 2 Replies
View Related
Dec 25, 2010
I'm really chuffed with the first bootable USB stick I created so easily with 10.04 desktop. I've added applications that I want, codecs etc and got the configuration just how I like it. Now I'd like to back up the entire stick, as I use it a lot and the stick will die eventually. I've not used Clonezilla, but I wondered if that would make a copy? It's a 4G stick, with all the remaining space allocated to the casper persistence file.
View 2 Replies
View Related
Jan 13, 2011
I would like to back up my current system to a bootable memory stick. (I do not want to create an image of the ubuntu installation disk.)
such a backup should not be a big problem---even after updating 350MB of ubuntu 10.04 LTS, I still have only about 3GB used. so, it should all fit easily onto a 4GB stick.
is there a GUI or script solution that will make a full bootable backup of a running ubuntu system (incl root, etc.)?
View 2 Replies
View Related
May 2, 2010
I want to install Windows on my netbook. In order to to so I need to create a bootable disk-on-key.How do I do that?
View 7 Replies
View Related
Aug 12, 2010
I'm trying to make a Windows bootable USB stick in ubuntu 10.4 remix (netbook one)
View 5 Replies
View Related
Nov 4, 2010
Running: Ubuntu 9.04 32 bits I'm trying to create an bootable usb drive for installing windows 7 so i took this release"Microsoft.Windows.7.Enterprise.x64.Integrated.Oct ober.2010-BIE"
1. Extracted to get the iso
2. Formated my 8gb usb flash drive with gparted
3. Extracted all the files from the iso with UNetbootin to my usb stick
4. Restarted and selected boot from removable drive in the bios options
After step 4 nothing worked i tried to remove booting from the hdd to force the computer to boot from the usb drive but just get the message that i need to insert an bootable media or restart.
Tried several times and the usb worked propperly while installing ubuntu 9.04 which I run this writing moment. I'm out of ideas and I don't have an cd/dvd reader to boot an dvd from either so via usb is the only thing my knowledge is capable to.
View 8 Replies
View Related
Jul 23, 2011
I recently found myself in need of an installation of windows xp on my eee 901. I know I once did it long time ago (half year before I permanently moved over to ubuntu. How to make bootable usbstick for Ubuntu in XP.
View 2 Replies
View Related
Jul 24, 2011
I'm gonna sound weird but i have little curiosity abt bootable USB...I had downloaded Ubuntu 11.04 iso file and created a bootable USB using universal USB installer and installed Ubuntu on my machine...now my set file has gotten deleted bcoz of some reasons but i still have that Bootable USB with Ubuntu.....so here is my question if i copy the data from that USB to any other USB will it work?and if no, is there any other way to get back setup file from bootable USB or from the system in which it is already installed?
View 6 Replies
View Related
Apr 19, 2010
I by an memory stick with 16Gb memory. I want to make it bootable. Because I am beginner in using linux, I need an software from which I can made bootable the stick.
View 1 Replies
View Related
May 10, 2010
Downloaded openSUSE-11.2-DVD-x86_64.iso Burned on a DVD and used to make an install op a Dell laptop Everything went okay. Now I like to make a install on a ASUS UL20A laptop without an optical drive Placed the iso on a USB stick with dd command The stick can be read by openSUSE 11.2 machine NOT by WIN 7 machine I tried to make the USB stick with Win32DiskImager.exe
View 9 Replies
View Related
Dec 15, 2010
I need some help to set up a bootable USB stick. I have an USB stick, 3.7 gigs big, on which I want to put the OpenSuse Live CD iso, but somehow I am stuck... I have formatted the stick and I have set the boot flag in KDE partitionmanager. Then I have put the .iso on it, using Unetbootin. When I now try to boot it, I get the message
Code:
could not find Kernel boot image: gfxboot
Is maybe the boot flag not set, despite the partitionmanager shows it set? Can I set it also afterwards, after I have installed the .iso on the stick (I tried this already, did not change anything)? Or is there something wrong with the .iso?
View 2 Replies
View Related
May 19, 2010
I'm trying to install Ubuntu 10.04 on my netbook, but I can't figure out how to create a bootable USB stick form my current computer, running Mac OS X.
View 5 Replies
View Related
Dec 24, 2010
Since playing games on Ubuntu is a pain, I've decided to sacrifice a few GB's to install Windows 7 on another partition. Is there any tool for Ubuntu to make USB sticks bootable? I've tried UNetbootin, but that's just for Linux distributions. I use Ubuntu 10.04 64Bit and want to install Windows Home Premium 64Bit, in case it's important...
View 9 Replies
View Related
Feb 10, 2010
how I can install and make bootable a usb stick. I have tried multiple walkthroughs on this subject and not one of them has worked, i am trying to do this via windows, i cant get any workable wifi drivers for linux i have an atheros wifi card. the closest i have come to getting the usb to work is the splash screen then it freezes and this was with linux live usb creator 2.0 it doesn't matter which ones i've tried i can't get them to work no matter what version i try to use. it's driving me mad.
i want the usb to boot without having a hardrive present in the computer. i just got a possible driver that will work for my wifi card and i will put that on the stick too then install it when i get the usb stick to boot into linux. i honestly dont know why there are so many walkthroughs on this subject that dont work it's silly. oh and besides bookmarking each post i make where is the button that links you to your own posts without having to manually search them out?
View 11 Replies
View Related
May 6, 2010
One of my computers is a netbook with no CD drive, so I need to create a bootable USB stick so I can reload a Clonezilla-made backup image from an external HD on to the netbook.I bought a 4Gb thumb drive and used Parted Magic to create a 200Mb partition on it. I formatted this and the remaining free space both as FAT32 and used Parted Magic to flag the small partition as bootable. Then I loaded the Clonezilla Live files onto this boot partition.Now the thumb drive boots up ok, but goes straight into a Parted Magic menu screen from which there is no way out! It's just the menu screen alone and has no PM functionality. This also happens on other systems where there is no PM installed or in the CD drive. So it must be something PM has done to the thumb drive.
View 1 Replies
View Related
Sep 4, 2010
I have RHEL5x86_64 iso,I have windows XP 64 bit OS installed and a 4 GB USB Stick and my optical drive is not working . I want to install RHEL5 on my system from the USB. I can do this in a linux system but unfortunately I have no linux system. How will I do it in windows, as I am not getting any correct application or correct procedure to do this ...
View 6 Replies
View Related
Jun 10, 2010
The thread's title is very eloquent:I have a Windows 7 ISO image and I would like to "burn" it on a bootable USB pen in order to install it on a netbook.Obviously I am on openSUSE, and all I read so far was instructions to burn an opensuse or any linux distros (the "dd" tales)
View 2 Replies
View Related
Mar 27, 2011
I no longer have access to a Windows machine.
I have been trying for days now to successfully create a usb bootable Windows XP install, but without success.
So, is it possible ? If so, HOW ?
Tools used so far without success:
UNetbootin
And
Startup Disk Creator.
View 9 Replies
View Related
Aug 22, 2011
I wanted to back up my 4Gb boot drive and the new drive I had was slightly smaller. Couldn't find any info on here and precious little on the internet but I have previously used this technique to clone an 8Gb disk onto a 4Gb one. Since I have gained a lot of useful info from this forum over the years its probably time I contributed something. I used my netbook but this would work equally well from a live CD. Note the disk has to be unmounted so you can't use the live system. Firstly your USB stick probably has 2 partitions one for "/" and one for swap.
The first step is to reduce the "/" partition on the source drive to a size smaller than your target drive. I used gparted for this. Next create a partition on your target drive that is the same size or bigger than your newly shrunken partition. I formatted this although I'm not sure this is necessary. Personally I just used the whole drive and used a file on a hard disk as swap. Next you have to use dd to copy the partition.What is important is that you are copying the partition not the drive. So your source would be /dev/sdx1 and target /dev/sdy1 (you will need to find your own values for x&y).
Once again be very careful that you get these the right way around or you will destroy your souce disk. Even better do it in two stages - copy your source to a file and then the file to the target. Now you have a replica of your original disk but it is not bootable. If you are planning to use a swap partition you may as well create it now. Remember you will probably have to change /etc/fstab to read the new swap - at least on my system this was referenced by UUID. No need to change anything for the replicated partition as the UUID came over with everything else.
View 3 Replies
View Related
Jan 22, 2011
I have a USB which I would like to make the device boot able. I have looked into fdisk and it appears that using fdisk I can only set a partition to a boot able. Please have a look at the output of fdisk command. In the following the sdb1 and sdc1 are both USB Memory Stick. As you can see the sdc1 is set as boot but the sdb1 is not.
Code: Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 1 Replies
View Related
Sep 3, 2011
I have a PC with no option for a keyboard. I have to install the operating systems without a keyboard or mouse.
I have to make a bootable USB stick which can allow me to connect to the PC from my Laptop with a VNC connection, then the complete installation using IP to IP. I did this with the following:
Download [URL] Extract the files of .iso to my laptop Add the manual file in CentOS-6.0-i386-minimal/isolinux/ks.cfg
install
lang en_US.UTF-8
keyboard us
timezone --utc Europe/Brussels
rootpw --iscrypted $6$i5qEWD.
selinux --disabled
[Code]....
This allows you to modify your original iso files with the new contents and pack it as one .iso file
Finally load unetbootin and burn to your USB or disk or CD
View 1 Replies
View Related
Dec 16, 2010
How to copy bootable USB stick including MBR partition table? I have Debian Lenny installed.
View 1 Replies
View Related
May 5, 2011
I'm trying to create a bootable install of Ubuntu 10.04 which boots off an 8GB Kingston DataTraveler USB stick. I used the latest Universal USB installer from pendrivelinux to install it, and I used the I386 ISO of Ubuntu 10.04. It successfully installed to the USB stick and I enabled 4GB of persistence. However, when I put it into any machine it gives me the following message:
Mount: mounting /dev/loop0 on //filesystem.squashfs failed: No such device (initramfs) Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfs I tried redoing it, and redoing it without persistence enabled, but still no luck.
View 2 Replies
View Related
Jan 8, 2011
Howto install busybox with Gnome on a USB memory stick and make it bootable?
[URL]
View 2 Replies
View Related
Oct 21, 2015
I would like to configure my Debian Jessie system in this way.
Two partitions:
1) /boot on /dev/sda1
2) everything else on /dev/sda2
I want to encrypt the second partition with LUKS. And then install over it a LVM volume. Inside the LVM volume i will create the / (root), /var, /opt and /home virtual partitions. In this way, i'll get asked only once for the password to decrypt all partitions. Because if i don't use LVM, then i'll get asked for the password for each encrypted partition.
I can follow and understand almost everything of this HOW-TO for Archlinux: [URL] ....
Only two passages are unclear to me:
1) Configuring mkinitcpio
I don't understand what i should do here in order to complete this. What should i do in Debian to configure "mkinitcpio"? what is the equivalent thing to do here?
I thought that the kernel would automatically recompile itself with all installed modules on the Debian system, once cryptosetup/LUKS or LVM2 get installed.
2) Configuring the boot loader
I don't understand what should i write in /etc/default/grub. Will GRUB automatically load the LUKS and LVM2 modules? Also, I don't think that i could boot the system in this way:
cryptdevice=/dev/sda2:LVM root=/dev/mapper/LVM-????
Actually the "root=" volume is the whole volume to mount as LVM. It isn't the final root partition.
View 5 Replies
View Related
Aug 20, 2011
I recently bought a new hard disk for my /home tree. I don't have encrypted home directories currently, but I was wondering if there is an easy way to encrypt my home directory so that it is automatically decrypted when I'm logging in (console/kdm). Basically I would like to manually do same thing as Debian installer would have done.
I'm running Squeeze.
View 2 Replies
View Related