Page 1 of 5 123 ... LastLast
Results 1 to 10 of 45

Thread: How to format hard drive?

  1. #1
    Join Date
    May 2008
    Location
    Iceland
    Beans
    111
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Question How to format hard drive?

    Hi I have 2 hard disk 1. 250GB (A) and 1. 500GB (B).
    I have ubuntu on both disk but I start up on disk A and like to format disk B. Like it is to day I can not cope file into disk B which I like to use as extra disk, I like to do this with terminal but to know how....
    Thanks.
    Last edited by gretarsson; July 26th, 2008 at 10:37 PM.
    The live is to short to be microsoft user Ubuntu

  2. #2
    Join Date
    Apr 2007
    Beans
    206

    Re: How to format hard drive?

    im not really sure what your question is?

    I partition disks a lot and I like to boot up into PartedMagic (small live linux distro) it gives a nice GUI and makes things really easy.

  3. #3
    Join Date
    Apr 2006
    Location
    Midwestern USA
    Beans
    84
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to format hard drive?

    You could install Gparted using Synaptic, and that will let you format and partition drives.

    (Be very careful that you do not format the wrong drive!)

    You could also go to gparted.sourceforge.net and download the iso for Gparted and make it into a live CD. You would then boot into the live CD and use Gparted to do the formatting and partitioning.

  4. #4
    Join Date
    May 2008
    Location
    Iceland
    Beans
    111
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to format hard drive?

    Quote Originally Posted by A. J. Rimmer View Post
    You could install Gparted using Synaptic, and that will let you format and partition drives.

    (Be very careful that you do not format the wrong drive!)

    You could also go to gparted.sourceforge.net and download the iso for Gparted and make it into a live CD. You would then boot into the live CD and use Gparted to do the formatting and partitioning.
    Hi I tried to use gparted but it is easy to see what disk I haft to format but I have try every thing in that program, format and make new label but it is still same I can not cope files into that disk.
    Attached Images Attached Images
    Last edited by gretarsson; July 27th, 2008 at 12:09 AM.
    The live is to short to be microsoft user Ubuntu

  5. #5
    Join Date
    Jun 2008
    Beans
    53
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How to format hard drive?

    The partition sdb2 is already formatted. You just need to mount it.

    http://help.ubuntu.com/community/Ins... a Mount Point


    PB.

  6. #6
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to format hard drive?

    the disk is already mounted at /media/disk/ as per the screenshot. I think the problem might be that you do not have permission to write to the disk. Can you either try:

    Code:
    sudo nautilus /media/disk
    this will open nautilus with root privilidges

    then try drag and drop a file

    or post your /etc/fstab so we can see how the drive is being mounted

    Code:
    cat /etc/fstab

  7. #7
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to format hard drive?

    just as a note:

    if you wish to use the free space on the 2nd drive that the Ubuntu install is not using, you might find it easier, more logical, to resize the ubuntu partition /dev/sdb1 to around 20gigs or so, then create a new ext3 partition with the remaining space. I think this is what you want to do. If you do NOT want the 2nd ubuntu install, delete all the partitions & make a new ext3 partition using the whole drive. If you DO want to keep the 2nd ubuntu install, make a swap partition after sdb1 then use the rest of the space as a new ext3 partition. Make all the partitions primary, extended is not neccessery in this situation (allows for more than 4 partitions).
    Last edited by richardjennings; July 27th, 2008 at 12:48 AM.

  8. #8
    Join Date
    May 2008
    Location
    Iceland
    Beans
    111
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to format hard drive?

    Quote Originally Posted by richardjennings View Post
    the disk is already mounted at /media/disk/ as per the screenshot. I think the problem might be that you do not have permission to write to the disk. Can you either try:

    Code:
    sudo nautilus /media/disk
    this will open nautilus with root privilidges

    then try drag and drop a file

    or post your /etc/fstab so we can see how the drive is being mounted

    Code:
    cat /etc/fstab
    Hi and thanks
    But if I try sudo nautilus /media/disk I got this

    seahorse nautilus module initialized
    Initializing nautilus-share extension

    ** (nautilus:10911): WARNING **: Unable to add monitor: Operation not supported
    -------------------------
    and I still can not drag and drop file on that disk (this is extra hdd not prime hdd)
    The live is to short to be microsoft user Ubuntu

  9. #9
    Join Date
    Feb 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: How to format hard drive?

    Code:
    sudo mkdir /media/disk/test/
    any errors? if not, there should be a directory called test on the 2nd disks root partition.

    Code:
    sudo chown yourusername /media/disk/test
    you should now be able to write to the folder test on the 2nd harddrive.

    to test make a new directory in the test folder without root permission,

    Code:
    mkdir /media/disk/test/ok/
    Code:
    cd /media/disk/test/ok/
    did that all work?

  10. #10
    Join Date
    May 2008
    Location
    Iceland
    Beans
    111
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to format hard drive?

    Quote Originally Posted by richardjennings View Post
    Code:
    sudo mkdir /media/disk/test/
    any errors? if not, there should be a directory called test on the 2nd disks root partition.

    Code:
    sudo chown yourusername /media/disk/test
    you should now be able to write to the folder test on the 2nd harddrive.

    to test make a new directory in the test folder without root permission,

    Code:
    mkdir /media/disk/test/ok/
    Code:
    cd /media/disk/test/ok/
    did that all work?
    Hi and THANKS for the help but when I do this well see here I cope and paste it from my terminal....

    jon@jon:~$ sudo mkdir /media/disk/test/
    [sudo] password for jon:
    jon@jon:~$ sudo mkdir /media/disk/test/
    mkdir: cannot create directory `/media/disk/test/': File exists
    jon@jon:~$ sudo chown jon /media/disk/test
    jon@jon:~$ mkdir /media/disk/test/ok/
    mkdir: cannot create directory `/media/disk/test/ok/': No space left on device
    jon@jon:~$
    does this tell you some thing about what is wrong...
    The live is to short to be microsoft user Ubuntu

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •