Ubuntu Installation :: Dual Boot Full Disk Encryption - Windows 7 And 9.10
Feb 13, 2010
I've been wanting to do this for a while and after upgrading some of my pc components I decided I would finally try to dual boot with full disk encryption on both windows 7 and Ubuntu 9.10. I managed to encrypt the windows drive with truecrypt and that worked. I installed Ubuntu 9.10 using the alternate cd and everything but /boot is in an encrypted LVM. Each OS is on a separate SATA drive the windows is on sda1 and ubuntu /boot is sdb1.
To setup the dual boot I started out following the tutorial [url] but its for XP and versions of ubuntu that use grub not grub 2. I ran dd as posted and saved the files it produced from truecrypt. I then ran into some problems with grub reinstallation so I simply reinstalled Ubuntu 9.10 from scratch again. This put grub 2 on the computer. I've managed to get it to add a Windows 7 option.
However, when the option is selected truecrypt comes up and says that the bootloader is corrupted and that I need to use the repair CD I burned before I encrypted the drive. My question is does anyone have any experience dual booting using Truecrypt on Windows 7 and LUKS/dm-crypt on Ubuntu 9.10 with grub 2? And how would I get the boot menu to work? I'd rather not reinstall but if I have to I have images from right before I encrypted so it wouldn't be the end of the world.
View 4 Replies
ADVERTISEMENT
Mar 28, 2011
To structure the layout of my partitions. I'm installing Windows 7, Backtrack 4 R2 and Ubuntu 10.10 Desktop on my laptop. I've got a 500 GB HDD named sda.
I've already installed Windows 7. It's my opinion that it's easiest to begin with Windows.
The partitions look like this right now:
The Windows installation is unencrypted and I want it to stay that way. It's only there in case my laptop gets stolen, I've installed various nasty things there.
The Backtrack 4 installation will also be given 100 GB space, I want it to be encrypted. The Ubuntu installation should get the rest of all the remaining space and preferably be encrypted but it's not 100% necessary.
How I should partition this? There's a limit on 4 primary partitions? How do I circumvent this? There should be one dedicated GRUB partition which will point to each of the installations own boot loaders?
View 8 Replies
View Related
Jan 29, 2011
I managed to get a cheap refurbed netbook recently (Samsung N150) and I'm wanting to put Ubuntu on it. As it's also likely to be used when travelling and have things like chat logs, photos, and other such things I'd like to do full disk encryption. Also I've been pointed towards 10.4 as apparently the 10.10 netbook desktop isn't to everyone's taste.
So I tried using unetbootin to make a bootable 10.4.1 i386 Alternate usb stick, which hit the problem of no cd drive. I found an item to add to the boot (cdrom-detect/try-usb=true) which got it a little further, but at a copying stage it threw an error saying it couldn't copy off the disc.
Finally I tried making a unetbootin of the mini iso (does mini even support full disk encryption?) but that seems to hang after selecting a mirror.
EDIT: Well it seems I was just impatient on the mini ISO and after a few minutes it's gone onto time-zone, though of course this could get rather tiresome without a local mirror, especially given this may go through more than one iteration.
View 1 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
Sep 3, 2015
I've a Lenovo G50-80T with W8.1. I want to install Debian 8.1 in dualbooting mode. I've done this other times without problems. But this time I want encrypt the Linux partition (not the Windows partition). I'll use dm-crypt to do that. I want to know if this way is secure for protect the data on Linux partition or if I need encrypt the entire drive.
View 3 Replies
View Related
May 25, 2011
Today I decided to give Fedora15 a shot, mainly because of Gnome3, and so decided to install it over my Ubuntu installation. This is my partition scheme:Two NTFS partitions for Windows;
One logical partition, which inside has:
/dev/sda5 for /boot
/dev/sda6 for /
[code]...
View 14 Replies
View Related
Oct 20, 2010
For some reason I can't find any documentation re: the algorithm(s) used by Ubuntu to encrypt the filesystem... Anyone know what it is?? AES?
View 2 Replies
View Related
Jan 10, 2011
I have a bunch of pictures that I thought I had backed up but as it turns out I didn't, the problem is I formatted the drive they were on.
It is a 1TB hard drive, and it was running Ubuntu 10.10 using full disk encryption from the alternate install CD. After formatting, I installed Ubuntu Server 10.10, also using full disk encryption.
I know the encryption key for both installs (and the keys in fact are the same).
I have turned off the machine, and have stopped writing to the disk. I am hoping because it is a 1TB drive, and I have only written over it with 2GB of data, that there is a chance I can recover the data.
View 2 Replies
View Related
Apr 13, 2011
Is there a way to install ubuntu 10.04 or 10.10 with full disk encryption? I read how to do it in the 8.0 version, was wondering if it is still possible?
View 4 Replies
View Related
Jul 14, 2011
The only reason why I don't use Linux (even though I prefer Linux over Windows, and can do everything faster and more efficiently) is because each time I try to learn about dm-crypt I give up.
Can someone point me in the right direction for full OTFE on Linux (like TrueCrypt)?
View 1 Replies
View Related
Nov 14, 2010
I do know about cold boot attacks. But I ran across a couple of posts/websites that had me wonder if it is possible, without the passphrase, to just remove the encryption?
View 4 Replies
View Related
Jan 13, 2010
this isn't really a security question, per se, so feel free to move. It is related to full disk LVM encryption though. Full disk didn't work for me with grub2 after running dd to a remote server, so I downgraded to grub1. No biggie. However, I have neither grub or grub2 as selected in Synaptic.Let's say I forget which I have installed. How would I determine what version of grub is installed at the moment. I'm assuming it's somehow installed on in the mbr but not on the OS. I didn't mean to do anything funky. Is that the normal setup? I'm deploying these systems to users and want to be able to troubleshoot issues in the future (hopefully that will not be needed!) grub --version does not work because it is not installed.
View 2 Replies
View Related
Mar 20, 2016
With all the talk about disk encryption for Apple devices, I wanted to ask about how full disk encryption compares between debian linux and mac OS X. Is the code for debian linux fully available for people to inspect for flaws or backdoors? Apparently although part of the encryption code is available for OS X the full code for Filevault 2 is not public. What are the advantages and disadvantages of each method of encryption for each operating system?
View 8 Replies
View Related
Dec 30, 2010
I have a (slightly complicated) dual/multi boot system.
I keep getting boot errors (when choosing ubuntu from the grub2 menu)
Code:
Serious errors were found while checking the disk drive for /boot
If I switch off and restart, ubuntu will then start without issue.
My setup is like this ....3 disks, one with 10.10 clean install - so Grub2, separate partitions for /, /boot and /home, one with windows 7, one with windows XP and 10.04 wubi (this is my old disk which I will trash once I'm happy with my upgrade to 10.10 & 7 on separate disks.
I installed 7 and 10.10 with ONLY their disks installed. After both were working, I added all disks and rejigged the grub2 menu (using update-grub and StartUp-Manager).
This problem only seems to occur if my previous boot was not 10.10 ( I will investigate this further). It's as if something (grub2 ?, the bios ?) is remembering part of the previous boot and not using the grub2 menu completely.
View 2 Replies
View Related
Feb 12, 2010
I am investigating full disk encryption and have made a DD copy of the hard drive which has been encrypted, this DD file is stored on my computer for analysis.
First question is - Anyone know how i can access data in this DD file even though its been encrypted?
Second question - Is there a DD command where i can image the systems memory? I ask this because when a system is turned on, to get past the pre-boot authentication stage you need a password. From what i understand, this password will be passed in to ram when power is applied to the system. Making a copy of the memory will also copy the password?
View 5 Replies
View Related
Jun 5, 2010
I am quite experienced user of Ubuntu desktop / server distributions. Recently my desktop 9.10 disk failed and I decided to reinstall using 10.04. My configuration is a dual disk dual bot system. I have XP Pro SP3 on one disk and Ubuntu 10.04 on second. XP has own, untached MBR ubuntu got Grub 2 installed on the same disk as Ubuntu. Ubuntu disk is booting first in BIOS. Grub 2 detected both system, however I can boot only to Ubuntu. When I am trying to boot XP I got black screen only. Looks like booting is stack in BIOS stage, because crt+alt+del reset system.
I read Ubuntu forum, search Google and did not come with any solutions. My XP MBR is OK. I can boot directly, choosing XP HDD in BIOS as a starting disk. All entries in grub.cfg looks fine to me. I made 3 different clear installations of Ubuntu. Each with the same result. I reinstaled Grub2 with no effect. I wonder if this may be a hardware/Grub 2 compatibility issue. I am using quite old components.My motherboard is Assus P4C800 Delux. I have 5 HDDs 2 CD. Exactly the same configuration was OK with 9.10/XP dual disk dual boot using Grub legacy.
[Code]...
View 9 Replies
View Related
Jan 27, 2011
I'm fairly new to ubuntu. I set up dual boot with 10.4 (64bit) on a machine with windows 7 installed first.Everything worked just fine but it seems that there is a bunch of unallocated space on my hard drive. Can anyone explain what all the different partitions are and if/how I can "clean it up"?
View 3 Replies
View Related
Mar 17, 2010
I have a pc with windows on it, about 90% of the hard drive is full. I want to install dual
boot ubuntu with ubuntu using about 70% of the hard drive, do I need to manually create space, or can I just set during the install will ubuntu just over-write that much. I don't care about the files I have under windows.
View 1 Replies
View Related
Jan 9, 2011
I have a Centos 5.5 system that had 2 primary partitions (2nd is setup as LVM with multiple LVM partitions) and then installed Windows 7 as Dual Boot.
However, Windows 7 has installed a 200MB system partition which is GPT/EFI as partition 3 and the Win7 OS as a Primary Partition.
I have a heap of space undefined after this fourth primary partition.
However, as 4 primary partitions have been used, I can no longer create an extended partition to utilise this.
As such I would like to know what is the best and safest way to proceed, and if possible step by steps instructions for the best option eg:
1. Delete the Windows 7 System Partition and create the extended partition (I expect this will prevent Windows from booting)
2. Use something like partition magic to change the Win 7 OS Partition 4 to an extended partition (Not sure if this will work)
3. Make changes to the overall system including both Linux and Windows so that it will use GPT only (I have
had no experience with GPT so this is a bit scary)
4. Other?
View 2 Replies
View Related
Oct 1, 2010
I have a dual boot System with Ubuntu 10.04 Netbook Remix and Windows XP SP3 on an Asus eeePC 1000HE. I had some troubles with updating kernels etc. and I ended up with following problem:
After grub reinstall, I am able to boot Ubuntu, also I can mount the windows partition properly. Trying to boot into Windows, I get the error:
Code:
It's all on one hard drive which doesn't show any errors:
Code:
Partition table entries are not in disk order
Code:
Some partitions don't show a file system because they are luks-encrypted.
As I mentioned earlier, I am able to mount sda1. I think the problem is that the Partition Boot Sector is corrupted, even though I am not sure if the ntfs partition is damaged at all or if GRUB is the problem.
As I said I had problems with a kernel update and therefore had to reinstall GRUB. I think, but I am not sure, that I accidentally installed GRUB on sda1 (the windows partition) instead of on sda. After I installed GRUB on sda again, I was able to boot linux and fixed sda1 with testdisk. Before, sda1 showed as four partitions (sda1p1, ... , sda1p4). I was not able to mount sda1 till I fixed it with testdisk. testdisk says the Boot Sector of sda1 is OK, so does ntfsfix.
Finally, an extract from my /boot/grub/menu.lst:
Code: ...
The Windows XP entry is added by myself. I don't know much about grub, so there might be the error.
I tried to keep it as short as possible (this is only the end of the story), I hope I didn't forget anything important. Please ask if there is something not clear.
I am in Tanzania with this netbook, so it is not possible to boot Windows CD and fix the windows partition with it, also I don't have a very fast Internet connection.
Is there a way to fix this without a Windows CD? Maybe it is just a dumb mistake in the menu.lst?
View 9 Replies
View Related
Sep 29, 2010
I have been having problems hibernating my windows 7 partition recently. It happened approximately right after I set up the dual boot.
I have found other topics where it says to make sure that the windows 7 partition is marked as the active partition. I have since done so and it has not changed anything. I did it with Partition Magic on Windows. I did find it suspicious though that my Dell Recovery partition is labeled as boot while the Windows one is marked as Active and System.
However when I looked at it using disk utility in Ubuntu the windows 7 partition is marked as Bootable while the recovery partition is not.
Hibernation works on Ubuntu with a couple error messages while shutting down and some weird screen issues while booting up. But it ends up working decently.
Under Disk Utility the Ubuntu Partition is not marked as Bootable. Should it be?
View 6 Replies
View Related
May 30, 2010
I have a DELL Latitude E6410 64bit with Core i5. My goal is to have my Windows 7 encrypted and my Ubuntu 10.4 unencrypted and to be able to boot them both. So here are the details. I installed windows 7 first. Then I installed Ubuntu and Grub was in the MBR. Then I started TrueCrypt 5 from Windows 7 and encrypted the system partition, not the whole drive! So the TrueCrypt loader overwrote the GRUB in the MBR. Now when I start my computer, I see the prompt for password from the TrueCrypt boot loader. If I enter my password, windows is loaded.
The other option at the beginning is to press Esc and that should offer me other boot loaders. Well, on my DELL there's this Recovery partition and it boots immediately. How I can integrate the Grub in the process. I know, that there are many howto-s on the internet about this problem, but I haven't found a solution for grub2 and windows 7! It is indeed different, because GRUB does not have menu.lst any more and Windows 7 does not have boot.ini!
Here some more info about my partitions:
Code:
/dev/sda1 fat16 DellUtility
/dev/sda2 ntfs RECOVERY
/dev/sda3 unknown
/dev/sda4 extended
- /dev/sda5 ext4 ubuntu
- /dev/sda6 linux-swap
Windows 7 in installed on /dev/sda3 and is encrypted, that's why the file system is unknown.
Ubuntu 10.4 is installed on /dev/sda5
I know of three options to deal with the problem:
Solution 1
Install GRUB to the PBR (partition boot record) of the linux partition - that's /dev/sda5 in my case. Then, it should be possible to load GRUB when you press Esc in the TrueCrypt boot loader.
solution 2
Make Windows load Linux. Copy the PBR of the linux partiotion to a file and copy the file to windows. Then add an entry in the windows loader to include the linux loader file.
solution 3
Make GRUB load TrueCrypt's boot loader. Make a backup of the MBR (containing the TrueCrypt's loader). Add Truecrypt's MBR as a chain boot loader in GRUB. Finally, rewrite the MBR using this new GRUB.
I did install GRUB to my PBR with
Code:
from the live CD:
first mount /dev/sda5 to /media/ubuntu
sudo grub-install --root-directory=/media/ubuntu /dev/sda5
I also tried with
Code:
from inside ubuntu:
> grub
grub> find /boot/grub/stage1
hd0,4
grub> root (hd0,4)
grub> setup (hd0,4)
grub> quit
After one of these, I am able to boot my ubuntu after restart. But then I reboot and load windows, reboot once again and press Esc in order to try to boot ubuntu again, and then I don't see the grub loader list, but the "grub> " shell prompt instead! I thought that I will be able to see the grub loader also after many restarts, not just the first time. Why this configuration "breaks" after 1-2 reboots? Maybe the problem is that my ubuntu is on an extended partition (sda4)?
View 3 Replies
View Related
Jan 10, 2011
I installed Ubuntu on to a usb hard drive now without that hard drive plugged in i cant get to my windows(it goes to grub recovery). With it plugged in it lets me pick witch OS to use. How do I get it to just boot right to windows when its not plugged in?
View 1 Replies
View Related
Jan 10, 2010
I have a new win7 system with a 500GB HD. What is considered the safest way to partition the disk before installing Ubuntu?
View 9 Replies
View Related
Feb 17, 2010
I have been running Ubuntu 9.10 and Win XP Professional as a dual boot system, with each OS on its own HDD, smoothly and seamlessly since the release of 9.10. Yesterday one of my kids got a video file from a friend and it had a virus along with it. Long story short, in the process of trying to repair it Windows shuddered it last agonizing breath.
Now I have to re-install Windows because some of the programs the schools make them use require Windows. How do I go about doing this without damaging my Ubuntu installation? Will re-installing on a second drive affect GRUB?
View 9 Replies
View Related
Apr 21, 2010
I killed Win XP awhile back, but there are a couple games I need to format for Ubuntu to use, using XP to get there.
I have Ubuntu LTR. I formatted disk to install XP. I installed XP. I can't boot into Ubuntu anymore unless from a live CD. From Live CD, I can see my Ubuntu is still there, but from XP, disk manager it shows that space as empty (free). How can I dual boot, now? Please don't tell me I need to reinstall Ubuntu, I may cry. Any help is appreciated and my apologies if my search didn't get me the answers, the other similar problems I saw were in reverse order (Linux onto drive after XP).
View 9 Replies
View Related
Jun 29, 2010
When I split the partition in my windows system, my harddisk was converted to Dynamic Disk. Now I want to install dual-boot with Ubuntu on my computer, is it do-able? How?
View 1 Replies
View Related
Feb 16, 2009
I am building a new PC from scratch and want to dual boot XP and Ubuntu. I have two 1TB drives. I was planning to run RAID 1, whereby one drive would mirror the other drive, and install XP, Ubuntu, and all data on the single drive. Now Im thinking maybe I should reserve the 1TB drive for data and install two smaller drives, one to hold XP and one to hold Ubuntu and their respective programs. In this latter config, the OS and programs would not be mirrored. Im new to dual booting and linux.
View 1 Replies
View Related
Feb 26, 2010
I recently made the move from windows to Linux and I am happy to having got rid off all the MS stuff. Trying out a few distros I decided on using Ubuntu and Mandriva (wife likes the flashier stuff, what can I say ).
My question is how can I partition my hard disk in such a way that my /home is separate from both the Ubuntu and Mandriva part but accessed by both as my default home folder.
View 1 Replies
View Related
Apr 26, 2010
I would like to known whether I can configure the server to input the password for the encryption disk automatically during boot up.Is it possible
View 3 Replies
View Related