Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 03-02-2013, 09:51 PM   #1
Registered: Jul 2011
Posts: 38

Rep: Reputation: Disabled
creating LFS live usb

Hi Everyone,

I had question related to LFS and Live USB. I have succesfully created my LFS and made it customed to my requirements. But I wanted to know how can I create a Live USB of it or boot it from a USB incase of a system crash or if I want to import to another machine. Yes I know there various software available for doing this but I wanted to do it manually so I could learn in the process how exactly a live usb and back up works on linux. So anyone please have a clue of how is it possible please let me know.

Thank You
Old 03-02-2013, 11:49 PM   #2
LQ Newbie
Registered: Feb 2013
Location: /root
Posts: 7

Rep: Reputation: 1
removable media works exactly as disk drive in linux, so you need to install grub on USB Drive and make a copy of all files and directories to USB drive including drivers and modules. Also you need to make sure about disk label's and provide the UUID or disk lable entries into fstab file.
Old 03-03-2013, 02:02 AM   #3
Senior Member
Registered: Jan 2011
Distribution: /LFS/Centos6.3/Debian
Posts: 2,196
Blog Entries: 1

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327

Making a live bootable usb is not easy not sure if possible. What I do when I have built my system is to.

1 Shrink the partition as small as it will go ( I use gparted from a live cd)
After shrinking you can resize partition back.

2 I then use the DD command to copy the partition to where ever I want to save it And compress it with Gzip.

I can then if I need to just Unzip, DD back to any partition.

If you want to put it on another machine the problem is
The architecture 32 bit or 64 bit, and different drivers setup in Kernel. Also grub.cfg and fstab needs to be edited, if partition setup is different.

Think I have covered all


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
Help installing the LFS live cd onto a Usb Drive abcde597 Linux From Scratch 21 10-16-2012 06:36 PM
LXer: UNetBootin - A tool for creating Live USB drives LXer Syndicated Linux News 0 12-03-2011 03:03 AM
dd command not working while creating Live USB vikrang Linux - Newbie 3 02-05-2011 10:04 AM
LFS live-cd: /dev/mapper/lfs-cd ran out of space bucovaina78 Linux From Scratch 0 10-12-2009 11:00 AM
"No space" when creating LFS in USB, What can I solve that problem valpa Linux From Scratch 3 06-20-2007 01:18 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:04 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration