Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 02-25-2009, 08:45 AM   #1
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Rep: Reputation: 15
move grub to usb + mount encrypted devices from usb question

Hi there,

I was looking into some stuff for securing my computer access. Now I would like to do 2 non-related/related things:

1. I would like to move my grub boot loader to a usb stick to boot from that and only that.

2. I would like to use a loopback disk image on my usb stick (different partition) to grant access and mount my encrypted devices.

Now I'm following the steps from the site above and I have a few questions.

Whats the easy way to move my grub to my usb device and make it bootable (I have a bios option to boot from there)?

Can I make the loopback device on the 2nd partiton of the usb stick i.e. no virtual loopback disk but a real one?

How do I make sure the partions mount in the right order so that when I do boot with the usb I get access to my encrypted devices?

any help would be great


Last edited by Lancelot1; 02-25-2009 at 08:46 AM.
Old 02-26-2009, 09:51 AM   #2
Registered: Dec 2007
Location: Amsterdam
Distribution: (K)Ubuntu
Posts: 102

Original Poster
Rep: Reputation: 15
ok i figured out issue 2 with using Truecrypt but have been looking into the boot thing. It seems there are 2 old solutions I have found on the web.

The One-phase boot and the Two-phase (initrd) boot version.

Now the direct or one-phase boot version isn't an option as in the future I will be updating the kernel and stuff and this will be made more difficult by patching the kernel.
The Two-phase (initrd) boot version contains a mini root on the boot device (ie. the usb) which will be used to load the real root....

Now my question is has anybody got some script that works with newer distro's Because the solution I found where all from a rather old IBM solution regarding booting your GRUB from USB I would like to see some less restrictive solutions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mayday! How do I manually mount my encrypted ext3 external usb disk? simonsharry Linux - Newbie 11 02-15-2009 04:49 AM
A question on encrypted usb sticks gabsik Linux - General 1 05-05-2008 03:38 AM
Can't mount USB devices cdale77 Slackware 15 01-27-2008 09:42 PM
Can't mount my usb devices captain chaos Slackware 18 04-23-2006 08:35 AM
Can't mount encrypted USB drive letrout Linux - General 1 02-08-2006 08:50 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:56 PM.

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