Announcement

Collapse
No announcement yet.

How to Mount my Windows 2000 hard drive?

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

    How to Mount my Windows 2000 hard drive?

    Hi everyone,

    I'm fairly new to Linux (had Ubuntu intsalled a few month ago, but "lost" it when I had to reformat my Windows hdd) and have just done a fresh install of Kubuntu Dapper. Now I need help mounting the Windows NTFS hard drive (separate drive) so that I can access those files from within Kubuntu.

    Can anyone walk me through this?

    Thanks so much.



    #2
    Re: How to Mount my Windows 2000 hard drive?

    check out: http://ubuntuguide.org/wiki/Dapper topic 15

    Comment


      #3
      Re: How to Mount my Windows 2000 hard drive?

      Thank you.

      Which option under topic 15 do I want? (NTFS) I want to have the Windows data files available at all times so that I can import them into Kubuntu as needed. I guess available to all users, though no one else uses this computer at present.


      Comment


        #4
        Re: How to Mount my Windows 2000 hard drive?

        Code:
        sudo mkdir /media/windows
        sudo cp /etc/fstab /etc/fstab_backup
        sudo umount /dev/hda1
        kdesu kwrite /etc/fstab
        If there's a line for /dev/hda1, replace it with this one; if not, just add this one:
        Code:
        /dev/hda1 /media/windows ntfs nls=utf8,umask=0222 0 0
        Save and exit
        Code:
        sudo mount -a
        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

        Comment


          #5
          Re: How to Mount my Windows 2000 hard drive?

          :~$ sudo mkdir /media/windows
          Password:
          mkdir: cannot create directory `/media/windows': File exists
          kubuntu:~$ 

          Thanks for posting the instructions, Aysiu.
          See above. What next?

          Comment


            #6
            Re: How to Mount my Windows 2000 hard drive?

            Well, it already exists, so we can skip that step.

            In other words, you're saying to Kubuntu, "Hey, can you create this directory?" and Kubuntu is replying, "No, I can't. It's already been created."

            So now you just need to say, "Okay. I'll just use what's there, then," and keep going with the instructions.
            Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

            Comment


              #7
              Re: How to Mount my Windows 2000 hard drive?

              So.... KWrite is not opening?

              If not, try
              Code:
              sudo nano /etc/fstab
              Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

              Comment


                #8
                Re: How to Mount my Windows 2000 hard drive?

                When I copy the code and try to paste it into the terminal, all I get is a rectangular white cursor.  (BTW, I reinstalled Kubunt this morning, since I may have gotten in wrong the first time.)

                Comment


                  #9
                  Re: How to Mount my Windows 2000 hard drive?

                  And then...

                  umount: /dev/hda1: not mounted
                  kubuntu:~$ sudo umount /dev/hda1
                  umount: /dev/hda1: not mounted
                  kubuntu:~$ sudo mkdir /windows
                  kubuntu:~$ sudo cp /etc/fstab /etc/fstab_backup
                  kubuntu:~$ sudo kwrite /etc/fstab

                  Comment


                    #10
                    Re: How to Mount my Windows 2000 hard drive?

                    To paste into the terminal, press Shift-Insert.

                    Let's take it step by step.

                    1.
                    Code:
                    sudo umount /dev/hda1
                    Unmount the drive
                    2.
                    Code:
                    sudo nano /etc/fstab
                    After step two, you should be in an editor for your /etc/fstab file.

                    You should add the line
                    Code:
                    /dev/hda1 /media/windows ntfs nls=utf8,umask=0222 0 0
                    and make sure no other line in that file has the phrase /dev/hda1.

                    When you're done editing that file, press Control-X, Y, and Enter

                    3. Finally, to remount your partitions
                    Code:
                    sudo mount -a
                    Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

                    Comment


                      #11
                      Re: How to Mount my Windows 2000 hard drive?

                        GNU nano 1.3.10             File: /etc/fstab

                      # /etc/fstab: static file system information.
                      #
                      # <file system> <mount point>   <type>  <options>       <dump>  <pass>
                      proc            /proc           proc    defaults        0       0
                      /dev/hdb1       /               ext3    defaults,errors=remount-ro 0       1
                      /dev/hdb5       none            swap    sw              0       0
                      /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0


                      Aysiu,

                      So far, so good. But,how to I get rid of the dev/hdb1 line and where do I paste in the new one? (I don't want to make things worse!) BTW, when I tried to unmount the windows drive, it said it hadn't been mounted in the first place...

                      J.

                      Comment


                        #12
                        Re: How to Mount my Windows 2000 hard drive?

                        First of all, do not delete the /dev/hdb1 line. That line is your / filesystem in Kubuntu and should not be messed with.

                        The partition you're trying to mount is /dev/hda1, not /dev/hdb1.

                        Just type or paste (Shift-Insert) the appropriate line for /dev/hda1 at the end of the file. So the resulting /etc/fstab should look like this:
                        Code:
                        # /etc/fstab: static file system information.
                        #
                        # <file system> <mount point>  <type> <options>    <dump> <pass>
                        proc      /proc      proc  defaults    0    0
                        /dev/hdb1    /        ext3  defaults,errors=remount-ro 0    1
                        /dev/hdb5    none      swap  sw       0    0
                        /dev/hdc    /media/cdrom0  udf,iso9660 user,noauto   0    0
                        /dev/hda1 /media/windows ntfs nls=utf8,umask=0222 0 0
                        If you get an error about /dev/hda1 already being unmounted, that's fine. We just wanted to make sure it was unmounted--apparently, it is.
                        Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

                        Comment


                          #13
                          Re: How to Mount my Windows 2000 hard drive?

                          Please do not delete /dev/hdb1.

                          That line is important to giving you a functional Kubuntu installation!

                          To paste code in the terminal, press Shift-Insert.
                          Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

                          Comment


                            #14
                            Re: How to Mount my Windows 2000 hard drive?

                            Aysiu,

                            So, I've managed to get to the step where you paste the ntfs info into Kwrite, BUT...

                            I can't seem to copy/paste ANYTHING from the forum postings into either the terminal or kwrite, using either the Shift-Insert keys OR the paste command from the menus. What could I be doing wrong?!

                            J.

                            Comment


                              #15
                              Re: How to Mount my Windows 2000 hard drive?

                              Aysiu,

                              I went through all the steps, typing in the commands instead of copy/pasting them. (Still need help with that, if you wouldn't mind...)

                              Ended up with this. Now I will try the drive to see if it's mounted...

                              ... AND IT IS!

                              Thanks so much for bearing with me on this.

                              Now, if you would, a tip for the cut and paste problem...?

                              Oh yes, is there a way to write to the ntfs drive from within Kubuntu?

                              My very best to you.

                              J.

                              Comment

                              Working...
                              X