LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-24-2008, 11:02 PM   #1
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Rep: Reputation: 0
how can I configure flash drive..?


hi all,

can someone explain in detail how can I configure a usb flash for decrypting the encrypted root-fs , using it to boot from and with grub bootloader

thanks for reading
 
Old 12-28-2008, 05:01 PM   #2
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Rep: Reputation: 16
hey bro. can you rephrase that? it's not clear what you're trying to do, but it sounds like you want a live USB version of some distribution. you can get live images for a lot of the big distros - Fedora Core, Ubuntu, Gentoo - and there's instructions on their websites.

here's a list of the different kinds of USB Linux from Wikipedia:

http://en.wikipedia.org/wiki/Live_USB#Examples

let me know if this isn't what you're trying to do.
 
Old 12-28-2008, 05:10 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
If you want an encrypted root partition, then /boot must be on a separate partition. That is all. You do not need a usb drive for this.

or ...follow lepht's response
 
Old 12-29-2008, 01:26 PM   #4
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Original Poster
Rep: Reputation: 0
Hi,

it seems unclear explanation of me

so it will be clear so easy! no problem at all
I'm newbie to linux, I want to create a bootable USBflash and aware of encryption key that I have created for root file system and so it needs a bootstrap program ( I need to use grub bootloader), and initrd and kernel image,
but my main problem is how can I do it! and so confused on how can I write correct info into grub.conf, please don't shame on me , I searched alot of web pages but I don't catch appropriate desired one,
I have fc10 with IBM architecture, and grub has menulist of three os: xp, vista and linux

if you can, help me in detailed way
in advance I thank to you
a_minor
 
Old 01-02-2009, 12:21 PM   #5
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Rep: Reputation: 16
i'm still not getting exactly what you're trying to do there... you've got a Linux install already, and it's encrypted, and you want a bootable USB drive that can access these encrypted partitions? is that right?
 
Old 01-02-2009, 12:33 PM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by lepht View Post
i'm still not getting exactly what you're trying to do there... you've got a Linux install already, and it's encrypted, and you want a bootable USB drive that can access these encrypted partitions? is that right?
I think that what he wants is for /boot to be on the flash drive instead of the hard disk.

This way the entire hard drive can be encrypted. Kinda like this perhaps.

Last edited by win32sux; 01-02-2009 at 12:35 PM.
 
Old 01-03-2009, 04:40 AM   #7
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Original Poster
Rep: Reputation: 0
as win32sux said, I just need for flash USB be bootable and just do the boot process and other operation is for hard disk,
and I also read that pointed article but instead of yaboot bootloader I want to use grub with IBM pc
please give me opinion,
thanks in advance

Last edited by a_minor; 01-03-2009 at 09:36 AM.
 
Old 01-03-2009, 09:47 AM   #8
a_minor
LQ Newbie
 
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23

Original Poster
Rep: Reputation: 0
Hi my friends,

I was so glad that finally someone has come here,

please come back to me again and guide me in this problem,
I don't know exactly what I want to do is correct and accessible or not, please give me your opinion about:
if I want to have a bootable flash USB to just doing boot process that it contains: vmlinuz, initrd.gz ( for ecrypted root filesystem in must be aware of encryption) and bootstrap program

is it right? if it's right that's funny that I create a boot-flaged partition on my flash disk and cintain if with these poinred files , and configured BIoS setting for booting from flash USB,
but it don't work !!

I don't know what must I do, If this files must be in special structure or with special content(for example about grub.conf file) please tell me how, and if anybody need that I show him/her special file that is neccessary , I'm all ear to listen to it
thanks in advance
 
Old 01-03-2009, 11:37 AM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by a_minor View Post
Hi my friends,

I was so glad that finally someone has come here,

please come back to me again and guide me in this problem,
I don't know exactly what I want to do is correct and accessible or not, please give me your opinion about:
if I want to have a bootable flash USB to just doing boot process that it contains: vmlinuz, initrd.gz ( for ecrypted root filesystem in must be aware of encryption) and bootstrap program

is it right? if it's right that's funny that I create a boot-flaged partition on my flash disk and cintain if with these poinred files , and configured BIoS setting for booting from flash USB,
but it don't work !!

I don't know what must I do, If this files must be in special structure or with special content(for example about grub.conf file) please tell me how, and if anybody need that I show him/her special file that is neccessary , I'm all ear to listen to it
thanks in advance
If the error you got was from the BIOS (and not from Grub) then I would say there's two possibilities: 1) Your USB flash drive isn't bootable, or 2) Grub hasn't been properly installed. If you google for grub usb flash there's tons of search results which might be useful to you.
 
  


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
install & configure USB flash drive toedoe Linux - Hardware 4 01-26-2009 02:33 PM
USB Flash Drive, write protect, and flash file system questions storkus Linux - Hardware 4 12-01-2008 04:32 AM
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 03:18 PM
linux on flash drive, is this possible and flash writes, where?? lizzie_jianne Linux - General 1 01-04-2007 12:12 PM
LXer: EDGE Tech Corp Announces Portable Flash Drive With Muscle - the New 8GB DiskGO!(TM) Now Available; Swap and Go With This Secure Thumb-Sized Flash Drive LXer Syndicated Linux News 0 12-14-2005 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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