[SOLVED] New HD

I’ve just installed a new HD, how do I get my system to ‘see’ it and how do I format it?

It’s ok, I’ve found the utility so format it but cant mount it, how do I go about permanently mounting it?

Mounting it (at bootup) is a case of editing to your /etc/fstab file … but where do you want to mount it ? (if unsure, what are you going to use it for ? … Linux storage ?), and what file system did you use when you formatted it ?

What is the output from:

sudo fdisk -l
sudo fdisk -l

[spoiler]peter@Petes-ubuntu-pc:~$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b1c6d

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 971007999 485502976 83 Linux
/dev/sda2 971010046 976771071 2880513 5 Extended
/dev/sda5 971010048 976771071 2880512 82 Linux swap / Solaris

Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e3991

Device Boot Start End Blocks Id System
/dev/sdc1 63 490223474 245111706 83 Linux

Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000af405

Device Boot Start End Blocks Id System
/dev/sdd1 63 3907024064 1953512001 83 Linux

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0a42c484

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 488392064 244196001 7 HPFS/NTFS/exFAT
peter@Petes-ubuntu-pc:~$ [/spoiler]

What I want to do eventually is just have the 500Gb HD as my boot drive
and the new 2Tb HD and the other 1Tb HD

The 2 250 Gb HD’s taken out (after transfering the files onto the 2Tb HD)

You haven’t explained where you want to mount the new drive … or how you formatted it (ie. which file system you used) ?

Can you post the output from:

mount

and tell us the capacity of the new drive you just added ? … is it the 2TB drive (/dev/sdd) ? … and did you format it as EXT4 ?

Don’t quite get what you mean coming from a window$ environment

Can you post the output from:
mount

peter@Petes-ubuntu-pc:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdb1 on /media/Win-Storage type fuseblk (rw,noexec,nosuid,nodev,allow_other,blksize=4096)
/dev/sdc1 on /media/Win-MyDocs type ext4 (rw,nosuid,nodev,commit=0)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/peter/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=peter)
peter@Petes-ubuntu-pc:~$

and tell us the capacity of the new drive you just added ? .. is it the 2TB drive (/dev/sdd) ? .. and did you format it as EXT4 ?

The screenshot should tell you some info you need.

OK, looks like the 2TB drive IS the new one …if this is a single user PC, I’d mount it as ~/Storage … effectively giving you an extra 2TB of storage as a folder in your Home directory called Storage … but you may have something else in mind.

I suppose ideally (or if it’s a multi user PC) it would be mounted as /home (then all your /home/* folders copying to it … but this is slightly more work.

As I said … only you know what suits you.


Don't quite get what you mean coming from a window$ environment

Think of it like this … it can be addad as a directory ANYWHERE on the system … but anything outside your Home directory may cause you permission problems.

So if it’s PURELY for storage it would be advisable to be mounted in your home directory or AS you /home

It just has my login on it, if Jenny wants to use it, she doesn’t have to login, just used my login, which it is in mine all the time.
I’ve called it ‘Films & Storage’

I hate advising people where to mount new drives, because they inevitably come back wanting to use it for something else :o

OK, are you happy to just have it mounted as a directory in your home folder called “Storage” ?

if so, can you confirm there isn’t a folder ALREADY called Storage in your Hoe directory ?

Nope, the 1Tb is called Win-Video
The other 2 250Gb ones are called ‘Storage’ and ‘My Documents’ (to be removed after I have moved all the stuff onto the new 2Tb HD)
So it looks like it will need a new name, maybe ‘Video’ ?
[EDIT]
Saw an error, need to think of a new name…‘Drive4’ is all I can come up with

Just used gparted and it’s left 2.49Gb unallocated? whys that?

Just used gparted and it's left 2.49Gb unallocated? whys that?

No idea


I’m not bothered what you are labeling the drive/partition … that’s irrelevant.

I’m asking you if you have a directory called Storage in your Home directory ?

What is the output from:

ls ~/

root@Petes-ubuntu-pc:/home/peter# ls ~/
Desktop warzone.txt
root@Petes-ubuntu-pc:/home/peter#

Just took a look and there is no directory called ‘Storage’ in the Home directory

Also… if its of importance, I took out the 1Tb HD and put the new 2Tb HD in it’s slot.

Nobody said to change to a root prompt ???

and when I say YOUR home directory, I mean YOUR home directory (/home/peter) … not THE /home directory, or root’s home (/root)

Open a terminal, and enter:

ls ~/

and post the output.
(and don’t change to a root prompt first)

Hi Mark, just an update;
I’m making slow progress, I’m looking at an old thread http://linuxforums.org.uk/index.php?topic=9716.30 and carefully followinf the instructions and backing it up and editing it.
Managed to mount the new 2Tb HD and now moving files across to it.
I will then take out the first 250Gb HD and then put back in the 1Tb HD
Then move the remaining filed from the other 250Gb HD to the 2Th HD and then remove the 250Gb HD
So all I will have in my tower is the 500Gb HD Boot
a 1Tb HD
and the new 2Tb HD

I’m slow but I’m learning bits, if I need help, I’ll give you a shout.

Thanks
Pete

OK, your call … but if you’ve mounted it somewhere other than YOUR Home directory, you may run into permission problems.

And if you get the fstab entry wrong, you could end up with all sorts of problems.

Good luck.

I I may have not mounted it in my Home directory as a folder in my new 2Tb HD ‘Drive4’ has a padlock symbol on it?

And if you get the fstab entry wrong, you could end up with all sorts of problems.

Good luck.
[/quote]
I have got one problem, the NTFS drive is not being recognised for some reason, I reccon it’s something to do with the program or whatever to do with making the system understand/see NTFS drives?

Sorted the NTFS problem out, the program had again but I’ve fount the thread where you helped me with that problem last time and now I’ve reinstalled it.

The next one is, I think I may have mounted the 2Tb HD as root and not so when O boot as normal, I cant create folders or copy to it.
Need to unmount as and remount as