LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-08-2012, 06:36 PM   #1
rrlangly
Member
 
Registered: Dec 2009
Posts: 43

Rep: Reputation: 0
how to add dirs to live debian


How would I add a directory such as /root/mydir to a live debian image I've created by using 'lb config' and 'lb build'?

Last edited by rrlangly; 02-09-2012 at 11:22 AM. Reason: no responses
 
Old 02-09-2012, 12:02 PM   #2
TobiSGD
Guru
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 7,548
Blog Entries: 2

Rep: Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667Reputation: 1667
Just create the directories you would like to add to the Live image in your config/includes.chroot/ directory.
Example:
Code:
mkdir -p config/includes.chroot/root/mydir
will create a directory that will be /root/mydir in the image.
More info on this in the Debian Live Manual in the customizing-contents chapter.
 
Old 02-09-2012, 01:15 PM   #3
rrlangly
Member
 
Registered: Dec 2009
Posts: 43

Original Poster
Rep: Reputation: 0
Thanks

Last edited by rrlangly; 02-09-2012 at 01:39 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(initramfs) unable to find medium containing a live file system h4k33m Linux - Hardware 2 12-28-2011 10:54 PM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization 2 03-21-2011 02:05 PM
How to boot debian live CD with no swap manya Debian 5 11-18-2010 10:01 AM
This Debian live image failed to boot AmiNimA Debian 1 06-10-2009 12:54 PM
Debian with 2.6.8 kernel won't boot with IOGear USB KVM attached HaganeRei Linux - Hardware 1 04-24-2005 07:10 AM


All times are GMT -5. The time now is 10:49 PM.

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
Open Source Consulting | Domain Registration