Announcement

Collapse
No announcement yet.

problem with ntfs&fat32 partitions

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

    #16
    Re: problem with ntfs&fat32 partitions

    OK, I'm not sure I'm following you. You mean you did the edits, rebooted your system, and got the partition mounted and visible, but now it won't let you access the files in it?

    Comment


      #17
      Re: problem with ntfs&fat32 partitions

      Let's try a simpler approach.

      Open a console and type:
      Code:
      sudo mkdir /media/sdc1
      sudo mkdir /media/sdc2
      sudo mv /etc/fstab /etc/fstab_OLD
      This will create two additional mount points and rename the current fstab file to fstab_OLD.

      Then, from within the console, type:
      Code:
      kdesu kate /etc/fstab
      When the editor opens, you will have a blank page. Copy and paste the following into the document:
      # /etc/fstab: static file system information.
      #
      # <file system> <mount point> <type> <options> <dump> <pass>
      proc /proc proc defaults 0 0
      # /dev/sdb1
      UUID=db16e84e-6401-4f07-815c-9e555189a78e / ext3 defaults,errors=remount-ro 0 1
      # /dev/sdb5
      UUID=36cf2f85-c8b5-4050-b8ea-a9ca24795a23 none swap sw 0 0
      /dev/sda1 /media/sda ntfs-3g nouser,defaults,atime,exec,force 0 2
      /dev/sdc1 /media/sdc1 ntfs-3g nouser,defaults,atime,exec,force 0 2
      /dev/sdc2 /media/sdc2 ext3 defaults,errors=remount-ro 0 2
      /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
      /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
      Save and then close Kate. This will put a new fstab onto your system. Perform a normal shutdown/reboot. See if you are not now able to see and access your other HDs and partitions.
      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


        #18
        Re: problem with ntfs&amp;fat32 partitions

        Originally posted by Snowhog
        Let's try a simpler approach.

        Open a console and type:
        Code:
        sudo mkdir /media/sdc1
        sudo mkdir /media/sdc2
        sudo mv /etc/fstab /etc/fstab_OLD
        This will create two additional mount points and rename the current fstab file to fstab_OLD.

        Then, from within the console, type:
        Code:
        kdesu kate /etc/fstab
        When the editor opens, you will have a blank page. Copy and paste the following into the document:
        # /etc/fstab: static file system information.
        #
        # <file system> <mount point> <type> <options> <dump> <pass>
        proc /proc proc defaults 0 0
        # /dev/sdb1
        UUID=db16e84e-6401-4f07-815c-9e555189a78e / ext3 defaults,errors=remount-ro 0 1
        # /dev/sdb5
        UUID=36cf2f85-c8b5-4050-b8ea-a9ca24795a23 none swap sw 0 0
        /dev/sda1 /media/sda ntfs-3g nouser,defaults,atime,exec,force 0 2
        /dev/sdc1 /media/sdc1 ntfs-3g nouser,defaults,atime,exec,force 0 2
        /dev/sdc2 /media/sdc2 ext3 defaults,errors=remount-ro 0 2
        /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
        /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
        Save and then close Kate. This will put a new fstab onto your system. Perform a normal shutdown/reboot. See if you are not now able to see and access your other HDs and partitions.
        OHH,noo.My linux is destroyed.I cant boot anymore.I start linux and the blue line gets to the half way and then nothing.It show something like consola.What now?

        Comment


          #19
          Re: problem with ntfs&amp;fat32 partitions

          Hmmmm. So, you get a text login prompt? Looks like this:

          dusan@gutsy:~$

          or something similar?

          Comment


            #20
            Re: problem with ntfs&amp;fat32 partitions

            Something like that.I am not sure.What to do?Can I use somehow backup of fstab?

            Comment


              #21
              Re: problem with ntfs&amp;fat32 partitions

              Sure, that's why we made it.

              If you made it as Snowhog suggested, then what you want to do is log in to the text prompt with your user name and password. Then execute the following command:

              Code:
              sudo mv /etc/fstab_OLD /etc/fstab
              Or, if you named it /etc/fstab.bak, then the command is:
              Code:
              sudo mv /etc/fstab.bak /etc/fstab
              And then shutdown and restart your system with this command:

              Code:
              sudo shutdown -r now


              Comment


                #22
                Re: problem with ntfs&amp;fat32 partitions

                Originally posted by dibl
                Sure, that's why we made it.

                If you made it as Snowhog suggested, then what you want to do is log in to the text prompt with your user name and password. Then execute the following command:

                Code:
                sudo mv /etc/fstab_OLD /etc/fstab
                Or, if you named it /etc/fstab.bak, then the command is:
                Code:
                sudo mv /etc/fstab.bak /etc/fstab
                And then shutdown and restart your system with this command:

                Code:
                sudo shutdown -r now


                Nothing.Neither of option.Message is:
                root@kubuntu:~#
                command 'sudo' is available in 'usr/bin/sudo'
                the command could not be located because '/user/bin' is not included in the PATH environment variable.

                Comment


                  #23
                  Re: problem with ntfs&amp;fat32 partitions

                  OK, you are logged in as root.

                  So, my previous message is correct, except you can disregard "sudo" in the front of the commands.

                  Comment


                    #24
                    Re: problem with ntfs&amp;fat32 partitions

                    Originally posted by dibl
                    OK, you are logged in as root.

                    So, my previous message is correct, except you can disregard "sudo" in the front of the commands.
                    To type without 'sudo'??

                    Comment


                      #25
                      Re: problem with ntfs&amp;fat32 partitions

                      Yes.

                      Comment


                        #26
                        Re: problem with ntfs&amp;fat32 partitions

                        @dibl

                        It wont to work.I typed both commands.And got message:no such file or directory.I am sure that I made a backup.Is there plan B?

                        Comment


                          #27
                          Re: problem with ntfs&amp;fat32 partitions

                          Read this post completely before you do anything. If you don't understand any part of it, or have a question, ask.

                          Reboot. Select recovery mode. That should get you to a command line (root) prompt. Assuming that does, then type the following exactly, pressing ENTER after each command:
                          Code:
                          cd /
                          ls -l /etc/fstab*
                          This will list all fstab files. You are looking for the renamed copy you made earlier. If you named it as I suggested, it should be listed as:
                          fstab_OLD
                          Assuming that's what you named it, then type the following exactly, pressing ENTER after each command:
                          Code:
                          rm etc/fstab
                          mv etc/fstab_OLD etc/fstab
                          shutdown -r now
                          This will remove (if it exists) the non-working fstab file and rename the backup (fstab_OLD) to fstab, and perform a reboot of your PC. This should get you back to where you began.
                          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


                            #28
                            Re: problem with ntfs&amp;fat32 partitions

                            Originally posted by Snowhog
                            Read this post completely before you do anything. If you don't understand any part of it, or have a question, ask.

                            Reboot. Select recovery mode. That should get you to a command line (root) prompt. Assuming that does, then type the following exactly, pressing ENTER after each command:
                            Code:
                            cd /
                            ls -l /etc/fstab*
                            This will list all fstab files. You are looking for the renamed copy you made earlier. If you named it as I suggested, it should be listed as:
                            fstab_OLD
                            Assuming that's what you named it, then type the following exactly, pressing ENTER after each command:
                            Code:
                            rm etc/fstab
                            mv etc/fstab_OLD etc/fstab
                            shutdown -r now
                            This will remove (if it exists) the non-working fstab file and rename the backup (fstab_OLD) to fstab, and perform a reboot of your PC. This should get you back to where you began.
                            This is not working.When I type cd/ it says no such file or directory?

                            Comment


                              #29
                              Re: problem with ntfs&amp;fat32 partitions

                              Originally posted by helen1[/quote
                              This is not working.When I type cd/ it says no such file or directory?
                              There is a space between cd and /
                              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


                                #30
                                Re: problem with ntfs&amp;fat32 partitions

                                Originally posted by Snowhog
                                Originally posted by helen1[/quote
                                This is not working.When I type cd/ it says no such file or directory?
                                There is a space between cd and /
                                lol,is there always space?

                                This is a error message(part)

                                fsck died with exit status8[fail]
                                file system check faild.

                                Comment

                                Working...
                                X