Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-22-2014, 12:48 PM   #1
LQ Newbie
Registered: Dec 2013
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
Debian live use different install-directory for extra software

Hi dear all,

I have a 16GB usb drive with debian-live on it. I did yhe following in order to get it working
cp debian-live.iso /dev/sdb
and it works great, I am typing from it. Now, it occupies around 1 GB and it's fine, since I have a 16GB drive but I wanted to install extra packages (also not persistently, it's not a problem for now). For this reason I formatted the rest of space in ext2 and I correctly mounted it under /media.

My question is
: how can I install the extra packages in that location, so that I won't run out of space by installing new software?

I hope someone can help.
Old 03-22-2014, 06:07 PM   #2
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
You will not install packages somewhere else without using persistence.

Upgrading packages take up about the same amount of room no matter where you put them so I don't understand where your problem is. Make the partition where the ISO is larger so that it can do this.

Personally I would use persistence.
Old 03-26-2014, 02:43 PM   #3
Senior Member
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian, Arch, FreeBSD & OpenBSD novice, Hackintosh
Posts: 1,177
Blog Entries: 7

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Craft your own live CD/USB/whatever.

It allows you to add some packages, and it will build them into the image.

Otherwise, as widget states, you need to use persistence, bound to /. That can create some issues however, but in most cases you probably won't have any issues. For all the details see the live manual at the above site.

Mounting persistence as /media, you can manually extract packages there, but you can't install them. Then you'll run into issues with configuration files and support libraries not being where they should be.

I restrict my usage of persistence to /home, /var/cache and /etc.

I'd figure out what packages you need, and build a custom image. Every few weeks build a new one if you like to keep up to date with any updates. Live builder sends you an email so you can easily copy and paste the info into the builder to build the same image.

Last edited by goumba; 03-26-2014 at 02:44 PM. Reason: fixed link
Old 04-05-2014, 07:33 AM   #4
LQ Newbie
Registered: Dec 2013
Distribution: Slackware
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks a lot: I solved the problems by using persistence.


debian, live, usb

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
LXer: Ubuntu After Install - Automated installation of useful extra software on Ubuntu LXer Syndicated Linux News 1 04-08-2013 10:12 PM
[SOLVED] How to get packages from the /extra directory of the live DVD pottzie Slackware 7 10-14-2011 04:55 PM
help installing extra software from the fedora core 8 install dvd. Redtempo Linux - Newbie 9 04-25-2008 06:01 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:54 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