R
R
Ruslan Banochkin2012-12-14 20:20:26
linux
Ruslan Banochkin, 2012-12-14 20:20:26

Tricky Partition Mounting

Khabravchane, help. On the Ubuntu forums, they are frankly "stupid" and do not know what to advise.

I have a small ssd and a spacious hdd. When installing Ubuntu, I placed the /home directory on the ssd, but I want to move the Music, Pictures, Videos and other media folders to the hdd. I think my motives are clear. I won’t carry a bunch of media files on ssd + they won’t all fit there, but the configs of many programs that are stored in / home will remain on ssd = high performance.

But here's the problem. With the help of a tweaker, I reassigned the standard paths to the media folders so that they are located on the hdd. But when Ubuntu reboots, these paths are reset. It seems that because the disk does not have time to mount, Ubuntu thinks that the folders are not available and creates new folders.

Duck here. How to make it so that almost instantly when Ubuntu boots, a partition is mounted on hdd (the path to it is /dev/sdb1) and standard Ubuntu media folders work without problems when they are located on a separate hard drive.

And please, give really useful tips and links, and not just “go google”. Googled but didn't solve the problem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pomeo, 2012-12-14
@pomeo

ln -s is not suitable?

V
Vlad Zhivotnev, 2012-12-14
@inkvizitor68sl

Mount somewhere in /mnt from /etc/fstab, and then symlinks or mount --bind from the same fstab.

R
rPman, 2012-12-14
@rPman

With the help of a tweaker, I reassigned the standard paths to media folders

Probably the point is in this tweaker, what kind of tool is this?
And what, a simple symbolic link no longer works?
in terminal:
cp -r ~/Video && rm -rf ~/Video && ln -s /mnt/ssd/Video ~/Video
ps number of users...:
sudo gedit /etc/fstab
add something like:
/dev/sdb1/Video /home/sk8er/Video none bind 0 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question