Mount a new hard disk inside root directory? (like /videos)

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mig_akira

Mount a new hard disk inside root directory? (like /videos)

Post by mig_akira »

Hello everyone!

I have a PC that I use to serve media to my local network. When I installed Mint Helena on it, I chose sda to be my main hard disk, with both / and /home in it, and chose sdb to be a musics only partition, /music.

So my directory system is like:

/
/home
/usr
/music

etc. So I don't have to mount sdb, and it doesnt appear as a mounted partition on my desktop.

I bought a new hard disk, and I would like to set it to be just like my sdb, which is in root partition, as part of the system, in /videos (not in /media/sdc) How can I do it?

Also, it is a WD EARS, which has 4kb sectors size. How can I properly format it in ext3?

Thanks!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: Mount a new hard disk inside root directory? (like /vide

Post by DrHu »

Create the directory name(folder) you want using sudo, and match the permissions and any mounts that media did, so that it will be available to you

Code: Select all

sudo mkdir /videos
--on whichever hard drive you intend to be using..
mig_akira wrote:Also, it is a WD EARS, which has 4kb sectors size. How can I properly format it in ext3?
I am not sure what WD EARS means (unless windows partition); however in almost any partition manager, including the one that comes with Linux mint, you can delete and format the partition as you like, follow the selections (right-click the appropriate partition and see which selections are available to you), you can also use the menus in the partition manager and do a similar process

gparted..partition manager howto guide..
http://www.dedoimedo.com/computers/gparted.html

You may need to make use of the command

Code: Select all

sudo blkid
--in order to determine the udev names for your hard drives, if you don't use labels in /etc/fstab
http://www.unixtutorial.org/2008/05/ubuntu-uuid-how-to/

/etc/fstab labels partition names and udev (uuid)..
--search on these forums, there will likely be something there that can help with the decision about partition setups..
http://forums.linuxmint.com/search.php? ... s+in+fstab
mig_akira

Re: Mount a new hard disk inside root directory? (like /vide

Post by mig_akira »

Ops sorry! The WD10EARS (the complete name) is the hard disk I bought...it has 4k sectors, instead of the regular 512bytes, so it might have some performance problems! But I found a way to kinda solve it: http://www.linuxconfig.org/linux-wd-ear ... ced-format

I followed your tips and was able to mount it on /videos!

Thanks a lot!
Locked

Return to “Storage”