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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-24-2008, 11:02 PM
|
#1
|
LQ Newbie
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23
Rep:
|
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
|
|
|
12-28-2008, 05:01 PM
|
#2
|
Member
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75
Rep:
|
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.
|
|
|
12-28-2008, 05:10 PM
|
#3
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep:
|
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
|
|
|
12-29-2008, 01:26 PM
|
#4
|
LQ Newbie
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23
Original Poster
Rep:
|
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
|
|
|
01-02-2009, 12:21 PM
|
#5
|
Member
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75
Rep:
|
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?
|
|
|
01-02-2009, 12:33 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by lepht
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.
|
|
|
01-03-2009, 04:40 AM
|
#7
|
LQ Newbie
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23
Original Poster
Rep:
|
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.
|
|
|
01-03-2009, 09:47 AM
|
#8
|
LQ Newbie
Registered: Dec 2008
Location: Tehran , IRN
Distribution: Fedora core 16
Posts: 23
Original Poster
Rep:
|
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
|
|
|
01-03-2009, 11:37 AM
|
#9
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by a_minor
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.
|
|
|
All times are GMT -5. The time now is 07:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|