Results 1 to 5 of 5
Hi.
I'm a total linux noob. Just installed Ubuntu 11.10 desktop 64bit.
I have two physical HDDs, C and D (I know in linux you dont call them like that)
...
- 01-08-2012 #1Just Joined!
- Join Date
- Jan 2012
- Posts
- 5
Total newbie question
Hi.
I'm a total linux noob. Just installed Ubuntu 11.10 desktop 64bit.
I have two physical HDDs, C and D (I know in linux you dont call them like that)
What I did during the installation is:
C: 1GB /boot
900GB /home
(rest of C: - about 100 gb) /
D: 4GB Swap
500GB unformatted space
The question is can use the unformatted 500gb space on physical drive D: become /home/myuser/torrent
This is a little bit confusing for me because /home is part of
physical drive C: ,and what I want is that /home/myuser/torrent will be part of physical disk D: .
Thank you.
- 01-08-2012 #2
Yes, you can mount your partitions how you want.
If you post the output of the commandI can be a bit more specific. That's a small L after the dashCode:sudo fdisk -l
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 01-08-2012 #3Just Joined!
- Join Date
- Jan 2012
- Posts
- 5
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0xcc40c505
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1953791 975872 83 Linux
/dev/sda2 1953792 1759766527 878906368 83 Linux
/dev/sda3 1759766528 1953523711 96878592 83 Linux
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
88 heads, 49 sectors/track, 226524 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: 0x0003d6c4
Device Boot Start End Blocks Id System
/dev/sdb1 2048 7813119 3905536 82 Linux swap / Solaris
- 01-08-2012 #4
The first thing to do is create and format your partition. I would recommend using gparted as it is a fairly simple graphical tool. You may need to install it under Ubuntu. If you do need to install it then the command
should do the trick or, you can use the Ubuntu graphical installer.Code:sudo apt-get install gparted
Once you have created your partition, right click it in gparted and select information and copy the uuid which will look something likeCreate the torrents directory in your home directory and then you need to edit your file system table to mount the partition when you reboot. This is not as scary as it sounds as it only involves editing a text file as root. I'm unsure what terminal editor Ubuntu uses, so press Alt + F2 and enterCode:8b545e24-80b2-461c-a8f2-4d211a2ce0be
and open the file /etc/fstab.Code:gksu gedit
Assuming that you formatted to ext4, add a line to the end of the file that looks likeotherwise adjust the bit where it says ext4 appropriately. You should see your other partitions in here already.Code:UUID=YOUR UUID HERE /home/myuser/torrent ext4 defaults 0 0
Save the file and finally from the terminal run the commandHopefully it goes without saying that messing with partitions and fstab can seriously bork your system if it goes wrong; so make sure you have a backup of any data you couldn't stand to lose.Code:sudo mount -a
<highhorse>I hope you are only going to torrent legal stuff</highhorse>If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 01-08-2012 #5Just Joined!
- Join Date
- Jan 2012
- Posts
- 5
It is WORKING !
Thank You !!!


Reply With Quote