I am trying to install Ubuntu 16.04 on my 24Gb integrated SanDisk iSSD with another secondary 500Gb drive, as answered in: How to boot Ubuntu from SSD drive which cannot be selected as boot device?
Even though gertvdijk's answer is great, I still cannot understand the symbolic links that he mentions.
I want to make some folders that uses much space, for example /sbin/
to store the information on the larger drive instead.
Lets say I make /sbin/
a symbolic link to /folder/on/large/drive/
with: ln -s /sbin/ /folder/on/large/drive
Will this do the trick? If I would use apt-get install to install a program and apt want to place files in /sbin/
would it automatically be placed in /folder/on/large/drive
instead?
Or would mount --bind /sbin/ /folder/on/large/drive
work better?
mount --bind
as far as I know is used for mounting iso filesystems, so not used with folders typically – Sergiy Kolodyazhnyy Oct 17 '17 at 17:16--bind
is used to re-mount a directory from an already-mounted filesystem to an additional location. It's sometimes necessary to do that when mounting iso filesystems too, but mounting folders is specifically what it was designed to do. – Ethan Marmaduke Oct 17 '17 at 18:09