add hardware

Asked by sosoy77

i want to know ho to do this:now i have a hdd 160 gb whit kubuntu in it and i want to add another one whit 250 gb an this one i want it only whit media and ktorrent and i want a partition 100gb and 150gb. And the first whit 160 i want to partition in 40gb for os,and another two prtition 60gb and 60gb.please tell me how to add the hdd and how to partitoin.please help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Simply add the hard-disk then you can use gparted to create, delete, resize, format and check partitions.
Open a terminal and install qtparted or gnome gtparted

sudo apt-get install qtparted or gparted

After add or delete partition you must address your /etc/fstab file.

HTH

Revision history for this message
sosoy77 (sosoy77) said :
#2

Simply for you,i am new,and if u wana help me you must tell me step by step.thanx anyway.if u have time please help

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Connect the new hard disk to the system and boot Ubuntu

How to install gparted:
1) - Open a terminal update the system and install gparted

sudo apt-get update; sudo apt-get upgrade; sudo apt-get install gparted

when the system ask you for password give your user password, you don't see nothing when you type it, then press enter.

then type
sudo fdisk -l

copy and paste the result here.

Thank you.

Revision history for this message
sosoy77 (sosoy77) said :
#4

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa40ba40b

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 29644 238115398+ 83 Linux
/dev/sda2 29645 30401 6080602+ 5 Extended
/dev/sda5 29645 30401 6080571 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000d2c2

   Device Boot Start End Blocks Id System
/dev/sdb1 130 13515 107523045 83 Linux
/dev/sdb2 13595 19390 46556370 83 Linux

Disk /dev/hdc: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000870e

   Device Boot Start End Blocks Id System
/dev/hdc1 1 4998 40146403+ 83 Linux
marius@ubuntu:~$

Revision history for this message
Ralph Janke (txwikinger) said :
#5

You can also install the gparted (for gnome/ubuntu) or qtparted (for Kde/kubuntu) using a package manager. here is a webpage that describes all the details: https://help.ubuntu.com/community/InstallingSoftware

I hope this helps

Revision history for this message
Ralph Janke (txwikinger) said :
#6

Oh .. I forgot to paste in the webpage about installing the harddrive: https://help.ubuntu.com/community/InstallingANewHardDrive

Hope this helps.

Revision history for this message
sosoy77 (sosoy77) said :
#7

i can t edit in /etc/fstab i try whit kate but ;..The document could not be saved, as it was not possible to write to file:///etc/fstab.
Check that you have write access to this file or that enough disk space is available.please help

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

Please open a Terminal and type:

sudo kate /etc/fstab

give your user password when requested, you don't see nothing when you type it, then press enter.

Thank you

Revision history for this message
sosoy77 (sosoy77) said :
#9

man i try in every way but no result,i can t do the thing whit mount point.please help,i mean i did a mount point but when i open the partition i see a folder ,,lost+found''but when i try to move something in the partition ,,creating of folder /sda2/lost+found folder failed.please help pleaseeeee

Revision history for this message
Ralph Janke (txwikinger) said :
#10

How does your entry in the fstab look like? You might not have given read-write rights.

It should be something like

/dev/sda1 /media/sda1 auto user,noauto,atime,rw,nodev,noexec,nosuid 0 0
/dev/sda2 /media/sda2 auto user,noauto,atime,rw,nodev,noexec,nosuid 0 0

Revision history for this message
sosoy77 (sosoy77) said :
#11

oke now i want to try to install the system so the hard disk will be found there but i don`t know what mount point to assign to the second hard drive the first partition from the first hdd has the "/" as the mount point but what mount point should i set to the other partitions

Revision history for this message
Ralph Janke (txwikinger) said :
#12

Whichever you like. If you create a partition that is solely for your own userdata, you could mount it to /home/username (after copying your /home/username folder to it). Or you can create a folder inside your home directory to mount it to. If the partition is for several users, you want to put it to a more general place, like /mnt or /media.

Can you help with this problem?

Provide an answer of your own, or ask sosoy77 for more information if necessary.

To post a message you must log in.