LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-02-2013, 10:51 PM   #1
adi_30stm
Member
 
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-03-2013, 12:49 AM   #2
a31amit
LQ Newbie
 
Registered: Feb 2013
Location: /root
Distribution: RHEL CENTOS UBUNUTU
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, 03:02 AM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,742
Blog Entries: 1

Rep: Reputation: 244Reputation: 244Reputation: 244
Hi

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
 
  


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


All times are GMT -5. The time now is 01:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration