LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-04-2009, 04:20 AM   #1
LinuxNewman
Member
 
Registered: Apr 2009
Posts: 42

Rep: Reputation: 15
Booting LFS from a USB flash drive


Hi All !
I was wondering about carrying my LFS version 6.4 in my pockets and using it on different computers. For this, the most fascinating idea is to carry it in a pen drive and whenever I want to use it, I should be able to insert it in any computer and boot from it.
I searched the intrenet about this. But all the websites were telling me to download specific distros like UNetBootin,Knoppix etc and use them for booting from pen drive. The methods mentioned were as simple as installing them on the pen drive and to do modifications in BIOS.
But I want my Linux system to use on pen drive. Suppose I copy my whole LFS partition in my pendrive, but how will I make any computer boot from it? Where will be my boot loader who will tell that LFS has to be booted from a pen drive which is inserted? Can you please tell me what steps should be taken? I am confused
 
Old 08-04-2009, 04:36 AM   #2
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 338

Rep: Reputation: 34
Smile

One fairly popular USB bootable Linux which I have used is Pendrive Linux, found here; http://www.pendrivelinux.com/ , also several other's do have a version to install onto a USB flash drive such as Ubuntu, Slax, but for your LFS Linux system you need to check their web site for that. You first format it as FAT or FAT32, then extract the files to that USB device root drive, (not into a folder), then run either a script file or a batch file to make it fully bootable, and then set your BIOS correct for boot to USB, or use your F10 or F12 boot order menu key to select the boot first device.
 
Old 08-04-2009, 06:50 AM   #3
LinuxNewman
Member
 
Registered: Apr 2009
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by james2b View Post
You first format it as FAT or FAT32, then extract the files to that USB device root drive, (not into a folder), then run either a script file or a batch file to make it fully bootable
Forgive me, I am new. I did not understand the following things:

1."then extract the files to that USB device root drive" - What is meant by USB device "root drive"?

2. "then run either a script file or a batch file to make it fully bootable" - Believe me, I have never heard of any such kind of script file or batch file which can make the device fully bootable. Can you please tell me what is that and how is it done?

Thanks
 
Old 08-04-2009, 07:04 AM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
LinuxNewman
you have Built LFS?

If so, I would think you know what root of usb drive is?

top level of usb drive,

and, yes, scripts exist that will make usb bootable
or do it yourself thru terminal


I have never heard of LFS on a stick?

Does LFS have usb drivers?

you will find the scripts in Linux Live scripts
http://www.linux-live.org/
 
  


Reply


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
Booting from usb flash drive - how? Brianret Linux - General 3 01-04-2009 01:17 PM
Error while booting from usb flash drive just.srad Linux - General 2 10-31-2008 11:45 AM
booting in flash usb drive micro_xii Linux - Newbie 1 01-24-2007 10:54 AM
Booting RHEL 4 from a USB flash drive rossjones Red Hat 2 11-16-2006 09:31 AM
Booting from USB flash drive is my only option? ex0r Linux - Laptop and Netbook 1 11-03-2006 05:25 AM


All times are GMT -5. The time now is 12:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration