LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-26-2011, 08:21 AM   #1
i00
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Talking (Advanced) Booting Ubuntu installed on HDD from encrypted USB stick or similar


Hi there,

For my first post I have a brain teaser. I'm wanting to boot my desktop computer from an USB stick. With either a grub password, or a redundant encryption feature.

Does any of you have experience with this?

All I can find is completely installing linux on USB sticks.

The USB stick contains an EXT3 filesystem and all that I want is GRUB to look for the kernel etc. in /dev/sda1/boot/ which is my SSD. So I guess it will have to mount the drive first. Has any of you found guides to this or similar sort of setups? Because the internet is ruled by noobs, and they all want the same thing.

I remember from my previous education, you can copy the bootsector with the dd command and then copy the kernel etc, and run update-grub, yet the steps are not clear to me..

Any help would be much abliged.

i00
 
Old 03-26-2011, 02:11 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Your grub just needs to know how to read the media, and you can specify any installed disk as the source of the boot files. That grub is loaded from a USB stick is really irrelevant. The kernel and initrd are specified as usual, and the location from which they are loaded is the root media:
Code:
# hd0 and partition number can be any valid media
root            (hd0,0)
There may be some chicanery required to ascertain what media is assigned the the various hd numbers, but that is all just system-specific configuration.

--- rod.
 
Old 03-27-2011, 09:18 AM   #3
i00
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
That's what I thought

Thank you kind sir.
 
  


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
Booting from encrypted OS installed in USB nishanthame Linux - Security 2 01-25-2011 05:09 AM
usb stick unlocking scheme for root encrypted partition in current escaflown Slackware 6 05-09-2010 04:16 PM
GRUB: Booting from USB; Creating the Ultimate Bootable USB Stick Jinouchi Linux - Software 2 04-07-2010 04:17 PM
I installed ubuntu 9.04 to my Maxtor external hdd. I have no internal hdd. I can boot dont33 Linux - Newbie 1 08-13-2009 04:13 PM
Booting Ubuntu LiveCD from USB Stick using GRUB as the bootloader retrovertigo Ubuntu 0 08-30-2008 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:05 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