Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
No it's not all that different.
1. Set the jumper so the new drive is a slave and the first one is the master drive.
2. Boot up into the bios and make sure your hard drives are there.
3. Boot into Linux and use a command line tool such as fdisk, cfdisk, parted or use the GUI tool called qtparted to create the partitions on the new drive.
4. If you used a command line tool to create the partitions, then you will need to format them also. If you used qtparted, format is included.
5. Make a directory in the mnt folder such as /mnt/stuff
6. Mount the new partition in the new folder. For example .... mount /dev/hdb1 /mnt/stuff -t ext3
7. Put an entry in the /etc/fstab so your new partition will be available every time you reboot ....
/dev/hdb1 /mnt/stuff ext3 defaults 0 0
Note: if that is the last line in your fstab file, be sure to press enter to go to a new line so you don't get an error.
that's not as nice... you'd need to look into either software raid or Logical Volume Management (LVM) there are howto's on both these subjects at tldp.org, but generally it's a substantial amount harder than it is to have a seperate mount point for it.
no, that just adds subdirectories to it. the data is still totally locked away within a particular directory, on a particular drive. if you have a certain volume of data that is always going to be very different from the other, then you could move that to the new partition, but it's not like it's all one big usable space, they will just appear close to each other within the filesystem. If that's posible... then sure go for that, but if it's logically inconsistent to split the data into two halves (/var/data and /var/more_data_that_didnt_fit_on_the_other_drive) then it's not really a nice way to go around it. mind you... it'll still work of course...
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Remember, you can put a symbolic link in your directory structure, pointing to the new drive... I've done so in my one user account, giving me access to my 2ndary hard drive for storage purposes. You just name the symbolic link whatever you want, and it will appear in konqueror (for example) as a folder with a little arrow hanging on it. Other file managers will also treat it just like a sub-folder...