Announcement

Collapse
No announcement yet.

How to add a second hard drive?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to add a second hard drive?

    Can anyone point me to information on how to add a second and third hard drive? My computer is only running Kubuntu and not a dual boot.

    Thank you,

    Wad

    #2
    Re: How to add a second hard drive?

    Are you asking how to physically install hard drives to your pc or setup a multiboot system once they are installed? If the latter, you may find this link helpful in editing Grub http://www.tldp.org/HOWTO/Multiboot-with-GRUB.html . There may also be a way to reinstall Grub from within Kubuntu and let it detect other OSs, but I'm not sure. If they are new hard drives, they will need to be formatted and partitioned prior to another OS being installed or data written to them if you are just using them for storage. Hope I understood your question and this helps. If not, there are others more Linux savvy thaI on here to help.

    Comment


      #3
      Re: How to add a second hard drive?

      Sorry....my question was a bit ambiguious in hindsight. The hard drives are already physically installed. How do I mount them?
      Again this is not a dual boot situation, I just want to add storage.

      Thanks,

      Wad

      Comment


        #4
        Re: How to add a second hard drive?

        The simple way:
        1. Create partition(s) and filesystem(s) on your new disk
               (qtparted is a nice GUI-based software for this)
        2. Create mountpoint directory(s) for your partition(s)
               (like /media/datadisk, or something similar)
        3. Edit /etc/fstab to include your new partition(s)
               (something like:   /dev/[partition]       /media/datadisk     ext3    defaults        0       2
        4. Mount the partition(s)
               (mount /dev/[partition])

        If you need/want to mount your new drive to an existing directory (that has data in it, like /home), it gets a little trickier, but there's a howto in here, for example:
        http://www.linuxhomenetworking.com/linux-adv/lvm.htm

        Comment


          #5
          Re: How to add a second hard drive?

          Thanks Kubicle,

          Just wnat I was looking for!

          Regards,

          Wad

          Comment


            #6
            Re: How to add a second hard drive?

            That works fine, but I've got a question and a suggestion. First off the suggestion, this is what I put into fstab:
            Code:
            /dev/hdb1    /media/share   auto  defaults,umask=0000    0    0
            The great thing about that is the "umask=0000" allows all users to read/write/execute on the harddrive automatically from boot. My question is, what does the <pass> parameter mean? As in what does that last '0' do? or the '2' in your suggestion kubicle? Thanks.

            Comment


              #7
              Re: How to add a second hard drive?

              These may help:

              How to edit and understand /etc/fstab
              http://www.tuxfiles.org/linuxhelp/fstab.html

              As in what does that last '0' do? or the '2'
              The 6th column is a fsck option. fsck looks at the number in the 6th column to determine in which order the filesystems should be checked. If it's zero, fsck won't check the filesystem.
              /etc/fstab demystified
              http://linuxhelp.blogspot.com/2006/0...mystified.html

              Fstab (wiki)
              http://en.wikipedia.org/wiki/Fstab
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment

              Working...
              X