Announcement

Collapse
No announcement yet.

Problems with truecrypt

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

    Problems with truecrypt

    Hi i am using truecrypt 6.3a on Lucid. i cant mount more the 8 containers. I get this error report:

    Code:
    Failed to set up a loop device:
    /tmp/.truecrypt_aux_mnt9/volume
    how can i fix this problem?

    thanks
    kubuntu feisty
    newbee

    #2
    Re: Problems with truecrypt

    You can change the maximum number of loop devices(8 by default) with the max_loop=<number> kernel parameter in Grub, or you can manually create a new loop device at runtime:
    mknod -m0660 /dev/loop9 b 7 9
    chown root.disk /dev/loop9
    Using mknod to create the additional loop back devices you need would seem to be a more permanent solution to the problem, and one which wouldn't change with a Grub change.

    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Problems with truecrypt

      should i have to type

      Code:
      mknod -m0660 /dev/loop9 b 7 9
      chown root.disk /dev/loop9
      in the terminal?
      kubuntu feisty
      newbee

      Comment


        #4
        Re: Problems with truecrypt

        Yes, but use "sudo" in front of those commands or they won't work.
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Re: Problems with truecrypt

          i have type this 2 commands in the terminal but after a restart i get the same error report.
          kubuntu feisty
          newbee

          Comment


            #6
            Re: Problems with truecrypt

            What does

            vdir /dev/loop*

            show?

            You may have to change the kernel parameter after all...
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: Problems with truecrypt

              I get this here:

              Code:
              vdir /dev/loop*
              brw-rw---- 1 root disk 7, 0 2010-06-15 20:12 /dev/loop0
              brw-rw---- 1 root disk 7, 1 2010-06-15 20:12 /dev/loop1
              brw-rw---- 1 root disk 7, 2 2010-06-15 20:12 /dev/loop2
              brw-rw---- 1 root disk 7, 3 2010-06-15 20:12 /dev/loop3
              brw-rw---- 1 root disk 7, 4 2010-06-15 20:12 /dev/loop4
              brw-rw---- 1 root disk 7, 5 2010-06-15 20:12 /dev/loop5
              brw-rw---- 1 root disk 7, 6 2010-06-15 20:12 /dev/loop6
              brw-rw---- 1 root disk 7, 7 2010-06-15 20:12 /dev/loop7
              kubuntu feisty
              newbee

              Comment


                #8
                Re: Problems with truecrypt

                do you have a solution?
                kubuntu feisty
                newbee

                Comment


                  #9
                  Re: Problems with truecrypt

                  From vdir /dev/loop* it is obvious that your use of the mknod command was not correct. Only 8 loops are listed.
                  brw-rw---- 1 root disk 7, 0 2010-06-15 20:12 /dev/loop0
                  brw-rw---- 1 root disk 7, 1 2010-06-15 20:12 /dev/loop1
                  brw-rw---- 1 root disk 7, 2 2010-06-15 20:12 /dev/loop2
                  brw-rw---- 1 root disk 7, 3 2010-06-15 20:12 /dev/loop3
                  brw-rw---- 1 root disk 7, 4 2010-06-15 20:12 /dev/loop4
                  brw-rw---- 1 root disk 7, 5 2010-06-15 20:12 /dev/loop5
                  brw-rw---- 1 root disk 7, 6 2010-06-15 20:12 /dev/loop6
                  brw-rw---- 1 root disk 7, 7 2010-06-15 20:12 /dev/loop7
                  The proper commands, in a Konsole terminal, are:
                  sudo mknod -m0660 /dev/loop9 b 7 9
                  sudo chown root.disk /dev/loop9

                  After you do them redo "ls /dev/loop*" and see if you get /dev/loop9

                  Add as many as you need, and oon't forget that you may have to add max_loop=<number> as a kernel parameter in Grub,
                  "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                  – John F. Kennedy, February 26, 1962.

                  Comment


                    #10
                    Re: Problems with truecrypt

                    GG:
                    Are you attempting to get the OP a single additional loop device? If so, then shouldn't it be /dev/loop8 (the numbering begins with 0)?
                    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


                      #11
                      Re: Problems with truecrypt

                      ok. i have to type

                      Code:
                      sudo mknod -m0660 /dev/loop9 b 7 9
                      sudo chown root.disk /dev/loop9
                      in the terminal.
                      What do you mean with:

                      After you do them redo "ls /dev/loop*" and see if you get /dev/loop9
                      GreyGeek replied:
                      Just listing the contents of the /dev directory that begin with "loop"
                      and how can i do this:

                      Add as many as you need, and oon't forget that you may have to add max_loop=<number> as a kernel parameter in Grub,
                      GreyGeek replied:
                      You can test it by editing your default grub menu line and adding it to the end of the line.
                      https://help.ubuntu.com/community/Grub2
                      Go to the section titled "Editing Menus During Boot"
                      kubuntu feisty
                      newbee

                      Comment


                        #12
                        Re: Problems with truecrypt

                        Hi all,

                        can someone help me? do someone have the same problem? i am not a expert. do someone have a step by step solution for me?

                        thanks!
                        kubuntu feisty
                        newbee

                        Comment


                          #13
                          Re: Problems with truecrypt

                          Originally posted by GreyGeek
                          You can change the maximum number of loop devices(8 by default) with the max_loop=<number> kernel parameter in Grub, or you can manually create a new loop device at runtime:
                          mknod -m0660 /dev/loop9 b 7 9
                          chown root.disk /dev/loop9
                          Using mknod to create the additional loop back devices you need would seem to be a more permanent solution to the problem, and one which wouldn't change with a Grub change.

                          hi what i have to type when i want to mont 15 containers at one time? should i type:

                          mknod -m0660 /dev/loop9 b 7 15
                          chown root.disk /dev/loop15

                          ?
                          kubuntu feisty
                          newbee

                          Comment


                            #14
                            Re: Problems with truecrypt

                            No.

                            Your system probably already has 8 loop devices (/dev/loop0 through /dev/loop7). If you want 15 loop devices then you must add /dev/loop8 through /dev/loop14.

                            mknod -m 660 /dev/loop8 b 7 8
                            mknod -m 660 /dev/loop9 b 7 9
                            mknod -m 660 /dev/loop10 b 7 10
                            mknod -m 660 /dev/loop11 b 7 11
                            mknod -m 660 /dev/loop12 b 7 12
                            mknod -m 660 /dev/loop13 b 7 13
                            mknod -m 660 /dev/loop14 b 7 14

                            The "b" parameter signifies a block (buffered) device. "7" in the Major number and the digits "8" through 14" are the miNor numbers. A list of Linux major and minor numbers, maintained by Alan Cox, can be found at http://www.lanana.org/docs/device-list/devices-2.6+.txt

                            Don't get the loopN and the minor number N mixed up. It will confuse YOU (not Linux).

                            Then:
                            chown root.disk /dev/loop8
                            chown root.disk /dev/loop9
                            chown root.disk /dev/loop10
                            chown root.disk /dev/loop11
                            chown root.disk /dev/loop12
                            chown root.disk /dev/loop13
                            chown root.disk /dev/loop14




                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment


                              #15
                              Re: Problems with truecrypt

                              Originally posted by sisqonrw
                              should i have to type

                              Code:
                              mknod -m0660 /dev/loop9 b 7 9
                              chown root.disk /dev/loop9
                              in the terminal?
                              i thought that i have fix the problem with this 2 commands. but i get the same error report after restart of my pc. whats wrong?
                              kubuntu feisty
                              newbee

                              Comment

                              Working...
                              X