Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231969

Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk
Date 2021-02-23 09:30 +0100
Message-ID <BLBeW-7eN-7@gated-at.bofh.it> (permalink)
References <BLpGO-8i-7@gated-at.bofh.it> <BLq09-eK-1@gated-at.bofh.it> <BLqtb-oP-1@gated-at.bofh.it> <BLqMy-KY-9@gated-at.bofh.it> <BLr5T-Rn-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Ma, 23 feb 21, 00:37:52, Semih Ozlem wrote:
> I am currently pre-planning. If it could be done, then I am going to go
> about searching and purchasing necessary devices in order to do the task.
> That's why I am asking in the first place. I have a usb device that I can
> attach for testing now.
> 
> Currently I am just running from a live usb. Here is the output of df -h

It seems to me like you are making some assumptions about Debian (and 
possibly Linux distributions in general) that lead to wrong conclusions.

While it is technically possible to install Debian packages to different 
locations this is most likely the wrong solution to your problem.

For a start it may help to understand the Filesystem Hierarchy 
Standard[1][2].

Additionally, a major difference between Debian (as well as most other 
Linux systems) and Windows is that library packages are installed to be 
available for all other packages on the system. This means that a 
library package forcibly installed to a different location is suddenly 
unavailable for packages that might need it. And this is just the 
beginning of potential problems if you go this route.

As you seem to want to experiment the best solution for you is to do 
just that: experiment ;)

I would recommend to start with a blank drive[3] and keep your 
partitioning as simple as possible (e.g. all in one partition).

As you start filling the drive you can look into what data (preferable, 
if your application supports it) or parts of the system you need to move 
to different drives. Common candidates are /home (user data) and /var 
(variable application data) and even /usr (system packages, rather 
unlikely though).

As has already been suggested, LVM can be used to make your storage more 
flexible, while adding significant complexity.

[1] https://manpages.debian.org/hier
[2] Live systems in particular might deviate significantly from it.

Have fun,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

is it possible to add a secondary disk to an existing debian systems  and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-22 21:10 +0100
  Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Brian <ad44@cityscape.co.uk> - 2021-02-22 21:30 +0100
    Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-22 22:00 +0100
      Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-22 22:20 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-22 22:40 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk "Andrew M.A. Cater" <amacater@einval.com> - 2021-02-22 23:20 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David <bouncingcats@gmail.com> - 2021-02-22 23:20 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-23 00:10 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David <bouncingcats@gmail.com> - 2021-02-23 00:20 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2021-02-23 17:20 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-02-23 17:20 +0100
                Re: is it possible to add a secondary disk to an existing debian systems and install programs to the secondary disk rhkramer@gmail.com - 2021-02-23 17:40 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-02-23 18:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Joe <joe@jretrading.com> - 2021-02-23 18:20 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Andrei POPESCU <andreimpopescu@gmail.com> - 2021-02-23 09:30 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Celejar <celejar@gmail.com> - 2021-02-25 15:50 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk <tomas@tuxteam.de> - 2021-02-25 16:00 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk IL Ka <kazakevichilya@gmail.com> - 2021-02-25 16:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Celejar <celejar@gmail.com> - 2021-02-25 16:20 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk IL Ka <kazakevichilya@gmail.com> - 2021-02-25 16:30 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk The Wanderer <wanderer@fastmail.fm> - 2021-02-25 16:50 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-25 17:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk The Wanderer <wanderer@fastmail.fm> - 2021-02-25 17:10 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk IL Ka <kazakevichilya@gmail.com> - 2021-02-25 17:00 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Celejar <celejar@gmail.com> - 2021-02-25 16:50 +0100
  Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David Christensen <dpchrist@holgerdanske.com> - 2021-02-23 04:10 +0100
    Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk martin f krafft <madduck@debian.org> - 2021-02-23 11:40 +0100
      Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 07:00 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Charles Curley <charlescurley@charlescurley.com> - 2021-02-26 08:00 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-26 08:40 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-26 13:30 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David <bouncingcats@gmail.com> - 2021-02-26 11:00 +0100
          Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Charles Curley <charlescurley@charlescurley.com> - 2021-02-26 18:30 +0100
            Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Greg Wooledge <greg@wooledge.org> - 2021-02-26 18:50 +0100
              Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 09:40 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 09:40 +0100
                About keeping a Debian installation happy [was: is it possible to  add a secondary disk to an existing debian] systems and install programs to  the secondary disk <tomas@tuxteam.de> - 2021-02-27 10:20 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Joe <joe@jretrading.com> - 2021-02-27 10:10 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 13:30 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2021-02-27 13:30 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk "Andrew M.A. Cater" <amacater@einval.com> - 2021-02-27 14:50 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk Joe <joe@jretrading.com> - 2021-02-27 15:20 +0100
                Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk David Wright <deblis@lionunicorn.co.uk> - 2021-03-01 01:40 +0100
        Re: is it possible to add a secondary disk to an existing debian  systems and install programs to the secondary disk martin f krafft <madduck@debian.org> - 2021-02-27 09:30 +0100

csiph-web