LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-25-2011, 04:33 AM   #1
nishanthame
LQ Newbie
 
Registered: Mar 2010
Location: Colombo
Distribution: Ubuntu and Cent OS
Posts: 9

Rep: Reputation: 2
Booting from encrypted OS installed in USB


Hi All
I want to install Ubuntu 10.04 in my USB flash drive and boot from it because in my working place, only centos is installed in workstations.In advance, I thought of encrypting the installation of Ubuntu in the USB flash drive and In would be very thankfull if some can give me some help regarding this.
Basically what I need is, encrypted Ubuntu installation in my usb fashdrive and can boot from it.

Thanks
 
Old 01-25-2011, 05:07 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
You can certainly boot from a USB if the PC you are booting to supports it. The problem you face is booting from an encrypted partition. This has been discussed on several occasions and the conclusion reached is that there is that you have a circular problem in that you need to decrypt the partition to boot it, but you need to boot to decrypt the partition. The work around is to leave an unencrypted /boot partition and encrypt the other partitions. Generally speaking, you should also (re)consider the necessity of encrypting stuff other than your /home partition. In other words, do you really care if someone sees a binary copy of bash that came from a repository for example?

I have heard one thing to keep in mind, but can't vouch for its viability, is that running Linux from a USB can wear out the USB stick faster because of the number of writes performed. Instead of using a flash drive, perhaps one of the small USB HDD's would be better.
 
1 members found this post helpful.
Old 01-25-2011, 05:09 AM   #3
Last_Sioux
Member
 
Registered: Nov 2008
Location: Belgrade
Distribution: TRIOS
Posts: 36

Rep: Reputation: 7
You have Ubuntu tool for that:
FUSBI
Or you can install it on usb same way you would do it on any hard drive.
If MOBO has the usb boot option there is no problem booting.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 13.1 persistent encrypted usb hannesh Slackware 3 08-02-2010 01:14 PM
move grub to usb + mount encrypted devices from usb question Lancelot1 Linux - Security 1 02-26-2009 09:51 AM
Help booting a system installed on a USB HD Blackhand Linux - Newbie 2 11-03-2008 09:20 PM
(/bin/sh: can't access tty; job control turned off) Problem booting encrypted /root trapix22 Debian 0 10-25-2008 08:27 AM
A question on encrypted usb sticks gabsik Linux - General 1 05-05-2008 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration