You should add the partitions in question to your /etc/fstab
. The following line will automatically mount /dev/hda2
at boot (that's hidden in the flag default).
/dev/hda2 / ext2 defaults 1 1
If you don't want to mount, you would issue noauto
amongst your options. In your question you appear to be using uuids to address your partitions. You should probably write something like:
UUID=A2E6A54AE6A52011 /mnt/somedisk auto defaults 0 0
Using man fstab
you can learn the specifics of the file's syntax.
Update after you posted your fstab and so on.
You really did screw up the mounting. I am surprised you can boot with four devices mounted into the same mount point /. Presumably, it mounts the first (your all important root partiation /dev/sda8) and then fails with mount point not empty
when it tries the others (or some other error dependent on the type of file systems involved)
At any rate, you need to learn about fstab. Have a look at some of the first google hits for understanding fstab.
So here is what you should do:
First create the mountpoints:
sudo mkdir /mnt/sda2 /mnt/sda3 /mnt/sda5 /mnt/sda7
If you wish you can be more creative with the names. You can also put them somewhere other than /mnt. Your choice.
Next edit your /etc/fstab and put in lines for each of them
/dev/sda2 /mnt/sda2 auto defaults 0 0
/dev/sda3 /mnt/sda3 auto defaults 0 0
/dev/sda5 /mnt/sda5 auto defaults 0 0
/dev/sda7 /mnt/sda7 auto defaults 0 0
I think you had a spare whitespace between the slash and the mnt/sda. These things matter since you broke the mount point into two.
Then, do not reboot. You should be able to test it saying:
sudo mount /mnt/sda2 # and so on for the other partitions
If that works, on next boot they should all come up. If you wish you can replace /dev/sda2 and so on with their respective UUID
footnote instead of screenshots, simple text would have made it possible for me to copy and paste your fstab. As it is, it's pretty but uses more bandwidth and conveys less usable information.
Once you physically install the drives in the system, and made sure that they are recognized by your computer's BIOS, boot the computer up, and see if Ubuntu can see the drives. To do that, open up the terminal, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo fdisk -l
Once you see the drives listed, go ahead and create your partitions from terminal using the fdisk command, Gparted, or Disk Utility.
Best Answer
To mount hard drives on startup, you need to edit the
/etc/fstab
file. Just open the file in your favourite editor(be sure to usesudo
)and add the appropriate lines for your hard drives
Just put in the UUID, mount point and filesystem type. See this for more info.