I can't mount my slave hdd from startup?

Asked by memes13

Have got karmic and am struggling to get to grips with the whole command line creation so please can someone help me mount my slave HDD from startup and also make it recognisable to uTorrent which is on my boot HDD. I'm a total noob, be gentle, it took me a week to sort out my screen resolution!
Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ian Ace
Solved:
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :
#1

Provide us with the following informations. Post whatever outputs when you issue the command:

sudo fdisk -l (small letter L)

ls -l /dev/disk/by-uuid

cat /etc/fstab

Revision history for this message
memes13 (puskas-emese) said :
#2

sudo fdisk -l
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a71a9

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 4836 38845138+ 83 Linux
/dev/sda2 4837 4998 1301265 5 Extended
/dev/sda5 4837 4998 1301233+ 82 Linux swap / Solaris

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d7200

   Device Boot Start End Blocks Id System
/dev/sdb1 1 9729 78148161 83 Linux

 ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2010-02-23 12:28 6b51123f-94cf-4222-b711-a68544beb0ce -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-02-23 12:28 893b4a5a-48b0-476f-9509-a38b2318f474 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2010-02-23 12:28 c90e2bd9-7189-40c7-93b1-ccdb33d7be6f -> ../../sda5

 cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=6b51123f-94cf-4222-b711-a68544beb0ce / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=c90e2bd9-7189-40c7-93b1-ccdb33d7be6f none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

Revision history for this message
Best Ian Ace (iaculallad) said :
#3

Open your terminal and issue the command below:

sudo mkdir /media/Storage

Edit the fstab file with:

gksudo gedit /etc/fstab

and insert the line of code to the last part of your fstab file:

UUID=893b4a5a-48b0-476f-9509-a38b2318f474 /media/Storage ext4 defaults 0 0

Save and close the fstab file. I'm only assuming that you're sdb1 drive formatted with the ext4 filesystem.

While on the terminal, input the following codes:

sudo mount -a

chown the drive:

sudo chown -R your_username:your_username /media/Storage

Give it the proper permission with:

sudo chmod -R 755 /media/Storage

HTH.

Revision history for this message
memes13 (puskas-emese) said :
#4

Thanks Ian Ace A. Culallad, that solved my question.