Announcement

Collapse
No announcement yet.

help me please im new tp linux

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

    help me please im new tp linux

    hi this is first time to use kubuntu 7.10 an linux i installed it but i cannt mount my ntfs patitions i heard about about ntfs-3g but i couldnt configure it or use i think its allready installed but need to configure iread some topics but it was for ubuntu not kubuntu and didnt work to me. please help me step by step with ntfs-3g i want to autu configure i usually bring ides from friends and i connect different hard drives so i dont want to manually configure it everytime
    thanks

    #2
    Re: help me please im new tp linux

    when i type sudo fdisk -l in konsole

    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000f283

    Device Boot Start End Blocks Id System
    /dev/hda1 1 644 5172898+ 7 HPFS/NTFS
    /dev/hda2 645 9059 67593487+ f W95 Ext'd (LBA)
    /dev/hda3 * 9060 9729 5381775 83 Linux
    /dev/hda5 645 8327 61713666 7 HPFS/NTFS
    /dev/hda6 8328 9022 5582556 7 HPFS/NTFS
    /dev/hda7 9023 9059 297171 82 Linux swap / Solaris

    Disk /dev/hdd: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x045b84ff

    Device Boot Start End Blocks Id System
    /dev/hdd1 * 1 2550 20482843+ 7 HPFS/NTFS
    /dev/hdd2 2551 4865 18595206 7 HPFS/NTFS

    Disk /dev/sda: 2055 MB, 2055733248 bytes
    16 heads, 32 sectors/track, 7842 cylinders
    Units = cylinders of 512 * 512 = 262144 bytes
    Disk identifier: 0x0ab669f5

    Device Boot Start End Blocks Id System
    /dev/sda1 1 7842 2007536 e W95 FAT16 (LBA)


    And in fstab here what inside

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/hda3
    UUID=b2aa2de3-f3c3-4db7-875e-356a1ee8d886 / ext3 defaults,errors=remount-ro 0 1
    # /dev/hda7
    UUID=e4698827-2e01-42c5-8ed2-b54255903478 none swap sw 0 0
    /dev/hdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0

    Comment


      #3
      Re: help me please im new tp linux

      Originally posted by AHAROON111

      i usually bring ides from friends and i connect different hard drives so i dont want to manually configure it everytime
      This sentence is a bit confusing -- do you mean you bring someone's USB hard drive and connect it to the USB port? Or do you mean you actually connect IDE/PATA hard drives to the main board on your computer?

      It is not a difficult thing to edit your /etc/fstab file to automatically mount the NTFS partitions of your existing hard drive. But what distribution and version are you running? Kubuntu 7.04 and 7.10 use /dev/sda for drive numbering -- hda is not used anymore by *buntu.

      If you will open the Konsole and issue the command
      Code:
      blkid
      it will be possible to identify the UUIDs of the NTFS partitions, and use those to make mount lines in the /etc/fstab file.

      Also, open KMenu>System>Adept Manager and make sure the package "ntfs-3g" is installed. If not, mark it and then click "Apply" on the top menu to install it.

      Comment


        #4
        Re: help me please im new tp linux

        Thanks for reply. i dont have any usb drive they are all IDE\Pata hard drives and connect them to my main board.

        i have Kubuntu 7.10 and here is fstab

        # /etc/fstab: static file system information.
        #
        # <file system> <mount point> <type> <options> <dump> <pass>
        proc /proc proc defaults 0 0
        # /dev/hda3
        UUID=b2aa2de3-f3c3-4db7-875e-356a1ee8d886 / ext3 defaults,errors=remount-ro 0 1
        # /dev/hda7
        UUID=e4698827-2e01-42c5-8ed2-b54255903478 none swap sw 0 0
        /dev/hdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
        /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
        and when i use the command
        fdisk -l
        here is what i get
        Disk /dev/hda: 80.0 GB, 80026361856 bytes
        255 heads, 63 sectors/track, 9729 cylinders
        Units = cylinders of 16065 * 512 = 8225280 bytes
        Disk identifier: 0x0000f283

        Device Boot Start End Blocks Id System
        /dev/hda1 1 644 5172898+ 7 HPFS/NTFS
        /dev/hda2 645 9059 67593487+ f W95 Ext'd (LBA)
        /dev/hda3 * 9060 9729 5381775 83 Linux
        /dev/hda5 645 8327 61713666 7 HPFS/NTFS
        /dev/hda6 8328 9022 5582556 7 HPFS/NTFS
        /dev/hda7 9023 9059 297171 82 Linux swap / Solaris

        Disk /dev/hdd: 40.0 GB, 40020664320 bytes
        255 heads, 63 sectors/track, 4865 cylinders
        Units = cylinders of 16065 * 512 = 8225280 bytes
        Disk identifier: 0x045b84ff

        Device Boot Start End Blocks Id System
        /dev/hdd1 * 1 2550 20482843+ 7 HPFS/NTFS
        /dev/hdd2 2551 4865 18595206 7 HPFS/NTFS

        Disk /dev/sda: 2055 MB, 2055733248 bytes
        16 heads, 32 sectors/track, 7842 cylinders
        Units = cylinders of 512 * 512 = 262144 bytes
        Disk identifier: 0x0ab669f5

        Device Boot Start End Blocks Id System
        /dev/sda1 1 7842 2007536 e W95 FAT16 (LBA)
        as you see i have 80 GB with 3 ntfs partitions and 1 partition ext3 and 1 swap
        and 40 GB with 2 ntfs Partitions
        and usb flashdrive 2 GB

        Comment


          #5
          Re: help me please im new tp linux

          hi Again sorry for too many asking i used the command
          blkid
          and here is what i got
          /dev/hda1: UUID="AC80DE0580DDD644" TYPE="ntfs"
          /dev/hda3: UUID="b2aa2de3-f3c3-4db7-875e-356a1ee8d886" SEC_TYPE="ext2" TYPE="ext3"
          /dev/hda5: UUID="1C6322FE268AB80" LABEL="Cairo D" TYPE="ntfs"
          /dev/hda6: UUID="C4505BFA505BF222" LABEL="New Volume" TYPE="ntfs"
          /dev/hda7: UUID="e4698827-2e01-42c5-8ed2-b54255903478" TYPE="swap"
          /dev/hdd1: UUID="5CE428F0E428CDD8" LABEL="Hard2" TYPE="ntfs"
          /dev/hdd2: UUID="DAA8303DA8301B09" LABEL="Hard2" TYPE="ntfs"
          /dev/sda1: SEC_TYPE="msdos" UUID="FACD-7C9A" TYPE="vfat"
          and fstab contain these line only
          # /etc/fstab: static file system information.
          #
          # <file system> <mount point> <type> <options> <dump> <pass>
          proc /proc proc defaults 0 0
          # /dev/hda3
          UUID=b2aa2de3-f3c3-4db7-875e-356a1ee8d886 / ext3 defaults,errors=remount-ro 0 1
          # /dev/hda7
          UUID=e4698827-2e01-42c5-8ed2-b54255903478 none swap sw 0 0
          /dev/hdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
          /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
          what should i have to add in fstab??

          Comment


            #6
            Re: help me please im new tp linux

            hi again
            i solved 50% of my proplem now i could mount these ntfs partitions every time i turn on my pc if i shut down then i have to mount them again manually i want to do this automatically also if i get new hard drive i want to be mounted automatic without any command from me.

            i used these commands to solve proplem i didnt change fstab just run these commands

            blkid

            sudo mount -t ntfs-3g /dev/hda1 /mnt/windows/hda1
            sudo mount -t ntfs-3g /dev/hda5 /mnt/windows/hda5
            sudo mount -t ntfs-3g /dev/hda6 /mnt/windows/hda6
            sudo mount -t ntfs-3g /dev/hdd1 /mnt/windows/hdda
            sudo mount -t ntfs-3g /dev/hdd2 /mnt/windows/hdd2
            when i shutdown i have to run these command aain anyway to make these automatically??

            Comment


              #7
              Re: help me please im new tp linux

              Did you check, as dibl suggested, to see if the package ntfs-3g is intalled?

              K Menu | System | Adept Manger

              Search for ntfs-config
              If it isn't installed, install it. This will also install ntfs-3g. The process 'should' update your fstab file, but if it doesn't, post back. You are only a few steps away from getting what you want.
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: help me please im new tp linux

                Originally posted by AHAROON111
                i dont have any usb drive they are all IDE\Pata hard drives and connect them to my main board.
                Well, there's a fundamental problem here. Setting aside the issue of USB drives, the Linux filesystem is designed to (at boot time) scan /etc/fstab and establish the mounted partitions and drives accordingly. /etc/fstab is a static file (again setting aside the issue of USB drives, which apparently is irrelevant to the posted question).

                So, you have the /etc/fstab file which says "drive x, partition 1 is a "b" formatted filesystem". If you pull the plug on that drive, and plug in a different drive, and reboot the computer, you haven't changed /etc/fstab -- it still has the original information. So, you will quickly create a borked-up mess by plugging IDE drives in helter-skelter and attempting to run your Linux system. IDE/PATA drives are not "hot pluggable" in Linux.

                It certainly is possible to add an IDE/PATA drive to a computer with Linux running on an existing IDE/PATA or SATA drive, but the /etc/fstab file must be edited to correctly reflect the partitions and filesystem format on the added drive -- it won't happen automatically.

                I hope this is clear and understandable -- I see that you've had some success reading your NTFS partitions, so that's progress!

                Comment


                  #9
                  Re: help me please im new tp linux

                  Maybe I overlooked it here, but I didn't see any example of "ntfs-3g" use in the fstab file. See below.


                  Code:
                  /dev/sda1  /media/sda1  ntfs-3g defaults,locale=en_US.utf8  0  0
                  /dev/sda2  /media/sda2  ntfs-3g defaults,locale=en_US.utf8  0  0

                  Comment


                    #10
                    Re: help me please im new tp linux

                    hi again i used ntfs-config tool it works good i dont know if i restart it will automaatic mount all partitions or not but any way its easy to use the tool instead of using commad eery time i turn on pc to see drives thanks for helping

                    Comment

                    Working...
                    X