[SOLVED]How exactly are USB drives mounted?

When I plug in a USB drive, Cinnamon brings up the device in Nemo so I can see its files. The location it's mounted at is /run/media/<username>/<long string I assume to be a UUID>/. How is it that I can mount it again at another directory and use it from there? Also, when I unmount it from the second directory, is it already safe to remove it or do I need to unmount it from the first one as well?
Last edited by Hurricane (2014-01-01 18:52:25)

ewaller wrote:How, "Exactly"?
http://www.usb.org/developers/docs/usb2 … 070113.zip
http://www.usb.org/developers/docs/devc … 9-2010.pdf
This is actually along the lines of what I was looking for, lmao.
nd7rmn8 wrote:cant you place the relevant info by uuid in your /etc/fstab, and then when it automounts, it should mount to that location specified.  twas what i did back in my ubuntu days...
That's the way I had it on my 8.04. I remember having to set that myself though.
xtraroot wrote:If it's mounted on more than one place, you'd have to unmount it in those places if you've done file transfers and want to make sure it's safe to remove. You only mentioned one place that it's mounted though?
I had it mounted at that default location and then I had mounted it onto ~/mnt (I recreated /mnt in my home directory)
tomk wrote:You seem to lack some understanding about your own system. If your USB devices are automounted when you plug them in, that's because you configured your system to do that. The fact that you are asking how that works should worry you IMO.
I never configured my system to do that. When I used Arch and XFCE, I don't remember USB drives being automatically mounted. I had to do it myself. Cinnamon apparently does it automatically. What I wanted to know was why, if it does it automatically, does mount not give me an error about trying to mount the same partition again in a different place.
Thanks for your answers everybody.

Similar Messages

  • How to enable USB drive in Virtual Machine Oracle VM?

    Hi,
    I just create Oracle Enterprise Linux 5.3 and Windows server 2003 Virtual Machine in Oracle VM. I want to use USB drive in each virtual machine.
    How to enable USB drive in Virtual Machine Oracle VM?
    Thank you very much for your helping.
    Fujimaru

    Hi,
    Have you integrated VMM and SCOM?
    Hope the links below could be helpful:
    Operations Manager Integration and PRO Improvements in SCVMM 2012
    http://blogs.technet.com/b/scvmm/archive/2011/04/14/operations-manager-integration-and-pro-improvements-in-scvmm-2012.aspx
    Integrating VMM 2012 and OpsMgr 2012
    http://blogs.technet.com/b/kevinholman/archive/2012/08/21/integrating-vmm-2012-and-opsmgr-2012.aspx
    And please also search for "IP address Pool" under monitors or rules, hope you may find something related there.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • "Drive not properly ejected"--How do I keep a USB drive mounted constantly?

    I have a 2-month-old iMac, and have had a USB external SATA-enclosure 2.5" 500gb drive attached the whole time. About a week ago, it started randomly giving the "Drive not properly ejected" message and usually it remounts after a few seconds. Sometimes it doesn't and I have to unplug it and plug it back in.
    I thought the drive was at fault, so I switched it with a similar drive that was connected to my AirPort Extreme base station. The problem stayed with the Mac. Also I imagined that (somehow) the iMac wasn't supplying enough power, so I bought a powered USB hub. The result is the same.
    I don't understand how it can work for two months and then suddenly get this problem. The only change along the line is that about a week ago I did a software update ("About this Mac" says it is 10.6.7). The latest update DOES coincide with the appearance of this problem.
    How do I resolve this?
    (Notes: There at least one other thread here where people seem to think that this is a Time Machine problem. I think this is because many people connect large external drives for the purpose of backup. I upgraded to iMac from Mac Mini. I installed Snow Leopard right after I bought the iMac and then tried to restore from my Time Machine backup. Something went wrong, so I mirrored my Mac Mini drive onto a 500gb SATA 2.5", put it in a FireWire enclosure and boot from that. I use the iMac's internal 1T drive for Time Machine. That may sound like "lazy man solution", but it could have a great advantage someday where I could plug that FireWire drive into my Mac Mini and not have any downtime should iMac need to be repaired. The random disconnecting of the USB drive doesn't coincide with any Time Machine events. TM is working fine.)

    Kappy,
    Thank you for your help with this problem!
    Your hypothesis for the drive/enclosure being a problem is good thinking, however:
    -The problem never existed for the first two months I had the iMac.
    -I can switch similar drives with iMac and AirPort Extreme, and the problem stays with the iMac.
    -It has nothing to do with Time Machine as I am using a FireWire drive to boot, and the iMac internal 1TB for Time Machine.
    -A friend suggested a cable problem, but I have tried many combinations and it wouldn't explain why suddenly after 2 months three sets of USB cables can fail at the same time (at least one, I used for 3 years with Mac Mini.)
    I now have a 111gb drive connected to my AirPort Extreme and it has been copying files to my FireWire drive slowly but surely for two hours now. The same drive disconnected after 13 minutes on the iMac. All indications are pointing to OSX 10.6.7. The perfect test (for anyone with convenient resources) would be to install Snow Leopard from disc on a clean Mac and not upgrade it, plug in a USB drive and see if it can last a day or two. Then, upgrade to 10.6.7 and see what happens. I hope someone can try this.
    (Is this a ploy to try to sell more FireWire equipment? I hope not.)

  • Usb drive mount by a normal user

    how can i make a normal user mount usb drives? i added a line in fstab that allows users to mount /dev/sdb1, but this solves only partially the problem

    After a recent sys upgrade, I am having a somewhat similar problem.  I can still mount my usb stick, but the permissions are now a little screwy (EDIT: i.e. permission denied when trying to change into /mnt/usb directory).
    fstab entry:
    /dev/sdc1 /mnt/usb vfat rw,user,noauto 0 0
    after performing a mount /mnt/usb the permissions on /mnt are:
    d-wxrw-rwx 6 root users 16384 1969-12-31 19:00 usb
    well, the permissions on this drive seem strange to me, as well as the 1969 date.  Additionally if I look at the directory as root everything is executable, which should not be the case.  I've added my username to users and storage in /etc/groups to no effect.  I can mount fine using pmount, but I would much prefer things my way, plus i dislike the idea of being forced to mount things under /media (notions of liberty and such)
    Any thoughts or additional info needed?  I've become stumped enough by this odd behavior to actually register and post.
    Last edited by tousborne (2007-12-01 17:42:08)

  • All USB drives mount as read only for user

    I have searched a bunch and thee results I find seem to be irrelevant to my situation. Most relate to a single USB media that is a problem and won't read or write.
    On a new Arch install on a new computer (my third base system install). Running Gnome.
    All USB mass storage devices mount as read only for the logged in user. Root has write permissions and I can mkdir no problem. It is not an issue with the USB drive itself as this occurs with multiple USB media (I've tested several SD cards on a reader and at least two drives, all the media works correctly on my existing installations)
    I'm posting the contents of my /etc/group file in case there's an obvious error there I don't see, and my dmesg output upon plugging in the drive. User name is changed in the group file posted to "archie"
    This is a single-user system.
    /ect/group
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root,archie
    ftp:x:11:
    mail:x:12:
    uucp:x:14:archie
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    power:x:98:
    nobody:x:99:
    users:x:100:archie
    systemd-journal:x:190:
    archie:x:1000:
    avahi:x:84:
    polkitd:x:102:
    rtkit:x:133:
    gdm:x:120:
    brlapi:x:999:
    kvm:x:78:
    ntp:x:87:archie
    dmesg output
    [ 968.044188] usb 4-3: new high-speed USB device number 4 using ehci-pci
    [ 968.170628] usb-storage 4-3:1.0: USB Mass Storage device detected
    [ 968.171435] scsi7 : usb-storage 4-3:1.0
    [ 969.174450] scsi 7:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
    [ 969.175068] scsi 7:0:0:1: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
    [ 969.939417] sd 7:0:0:0: [sdb] 15572992 512-byte logical blocks: (7.97 GB/7.42 GiB)
    [ 969.941028] sd 7:0:0:0: [sdb] Write Protect is off
    [ 969.941037] sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
    [ 969.944664] sd 7:0:0:1: [sdc] Attached SCSI removable disk
    [ 969.945509] sd 7:0:0:0: [sdb] No Caching mode page found
    [ 969.945517] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 969.952682] sd 7:0:0:0: [sdb] No Caching mode page found
    [ 969.952693] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 969.956396] sdb: sdb1
    [ 969.965003] sd 7:0:0:0: [sdb] No Caching mode page found
    [ 969.965011] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 969.965015] sd 7:0:0:0: [sdb] Attached SCSI removable disk
    I'm sure I'm just missing something in user management, but I can't find what.
    Last edited by hooya (2014-04-27 03:10:49)

    I am also having the same problem. Root can read and write to automounted drives, but my user cannot. I've tried with a variety of drives, I am assuming they are being automounted by root instead of the logged-in user somehow. (I am running x directly, and am not using a display manager, if that has anything to do with it).
    When I look at how it is mounted it is as follows:
    /dev/sdc1 on /run/media/myuser/drivename type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

  • How Exactly Are You 'Meant' To Log Onto BT Wifi?

    Can someone tell me what exactly are you meant to use to log in to a hotspot ?  Is it the BT ID/Password you access your online customer account with?  Is it the @btinternet.com with the same or different password?  Is it something else?
    We got BT Infinity this past Monday (that bit works fine).
    We can see/access the local hotspots (BT Wifi/FON), but they fail to recognise our logins details as valid.
    When I use our valid BT ID/Password on the "Check the status of your BT Wi-fi account" page, it reports "Enter valid Username". If I switch it for the @btinternet.com address we were given, it says "Authentication failed. Invalid username or password" .
    The "Register for BT Wi-fi", section says "Enter valid Username" or "Resubmission Error!" respectively.
    To make matters even more confusing, when our broadband was originally switched over to BT from Plusnet (but the engineer had not arrived yet) I phoned up to ask how to access a hotspot, and a lady in one of the Indian call centres gave me a string of numbers to use as a username/password (eg 10563482 cgnywtbe).  Suffice it to say this made no sense, nor did it work.
    So exactly what is the correct process?
    Solved!
    Go to Solution.

    Check here. https://www.bt.com/wifi/secure/status.do?s_cid=con_FURL_btfon/status
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • [Solved] Delete files from usb drive connected to wireless router

    Hello,
    I have a home network with Samba for file sharing.
    I have a Netgear router with a Western Digital 2TB external drive attached to the router.
    I installed Samba according to the arch wiki and everything works fine but I cannot delete or access some files from the shared USB drive.
    I access the file as follows:
    $ cd /mnt/smbnet/WORKGROUP/READYSHARE/USB_Storage/
    Here are the permissions:
    $ ls -l /mnt/smbnet
    total 0
    drwxrwxrwx 2 root root 0 Dec 31 1969 DEANSNETWORK
    drwxrwxrwx 2 root root 0 Dec 31 1969 MYGROUP
    drwxrwxrwx 2 root root 0 Dec 31 1969 WORKGROUP
    $ ls -l /mnt/smbnet/WORKGROUP/
    total 0
    lrwxrwxrwx 1 root root 13 Dec 31 1969 READYSHARE -> ../READYSHARE
    $ ls -l /mnt/smbnet/WORKGROUP/READYSHARE/
    total 0
    drwxrwxrwx 2 root root 0 Dec 31 1969 USB_Storage
    $ ls -l /mnt/smbnet/WORKGROUP/READYSHARE/USB_Storage/
    total 0
    drwxr-xr-x 2 edgar users 0 Jul 22 21:04 BACKUPS
    drwxr-xr-x 2 edgar users 0 Jul 15 10:43 WD
    $ ls -l /mnt/smbnet/WORKGROUP/READYSHARE/USB_Storage/BACKUPS/
    total 0
    drwxr-xr-x 2 edgar users 0 Jul 11 22:36 Laurie_Laptop
    drwxr-xr-x 2 edgar users 0 Jul 22 21:04 TRASH
    drwxr-xr-x 2 edgar users 0 Jul 12 09:50 Work_Laptop
    If I try to delete the BACKUPS directory, I get errors:
    $ rm -r BACKUPS/
    rm: cannot remove ‘BACKUPS/Laurie_Laptop’: Permission denied
    rm: cannot remove ‘BACKUPS/TRASH/Documents/C++Prog/2541/BibleTriviaTest’: Permission denied
    rm: cannot remove ‘BACKUPS/TRASH/Documents/C++Prog/2541/HouseTest’: Permission denied
    rm: cannot remove ‘BACKUPS/TRASH/Documents/C++Prog/Bitmanip’: Directory not empty
    rm: cannot remove ‘BACKUPS/TRASH/Documents/C++Prog/CurrentMusicPrograms/Musc110’: Directory not empty
    etc...
    Attempting to change the mode doesn't work:
    $ chmod 777 BACKUPS/
    [edgar@arch USB_Storage]$ ls -l
    total 0
    drwxr-xr-x 2 edgar users 0 Jul 22 21:04 BACKUPS
    drwxr-xr-x 2 edgar users 0 Jul 15 10:43 WD
    Thanks for any help you can provide.
    Last edited by mrgar (2014-07-24 02:11:56)

    Here is the output:
    $ mount | grep /mnt
    smbnetfs on /mnt/smbnet type fuse.smbnetfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    The USB drive is Western Digital My Book 2 TB drive attached as a NAS to the router that shares it.  I installed Samba on the arch machine so I can access and backup various home computers onto the NAS.
    Here is some info I just found on the Western Digital Support site:
    The Western Digital units mentioned above use a proprietary file system and cannot be reformatted as FAT32, NTFS, or a Mac File System.
    The file system on the WD My Cloud EX2, WD My Cloud EX4, WD My Cloud, WD My Book Live, WD My Book Live Duo, WD ShareSpace, WD ShareSpace, WD TV Live Hub, My Net N900 Central, WD My Book World Edition, WD NetCenter hard drives support access from Windows, Mac and most Linux based computer systems through a SAMBA network sharing connection.
    I thought I would mention that I can access the NAS and write, read and execute from the drive.
    $ cd /mnt/smbnet/WORKGROUP/READYSHARE/USB_Storage/
    [edgar@arch USB_Storage]$ mkdir Test
    [edgar@arch USB_Storage]$ ls
    BACKUPS Test WD
    [edgar@arch USB_Storage]$ cd Test
    [edgar@arch Test]$ vim testfile.txt
    [edgar@arch Test]$ ls -l
    total 1
    -rwxr--r-- 1 edgar users 16 Jul 23 07:47 testfile.txt
    [edgar@arch Test]$ cat testfile.txt
    This is a test.
    [edgar@arch Test]$ rm testfile.txt
    [edgar@arch Test]$ cd ..
    [edgar@arch USB_Storage]$ rm -r Test/
    [edgar@arch USB_Storage]$ ls
    BACKUPS WD
    However I want to copy large files with cp -ruv from my arch machine to the NAS.
    This is where the trouble lies.  Thanks for your help.

  • How to enable USB drive and CDwrite in Trusted Solaris.

    hello
    I installed Trusted Solaris extensions in an X86 desktop and after that the cdwrite disappeared, the usb drive is not detected.
    How do I enable the CD writer and the zip drive ? I have a file to be copied urgently, the USB drive doesn't work, the CD writer is not seen on the menu and internet / email is still not functional on this desktop
    If there are some commands to be typed, please give me step by step instructions with command syntax and if there is a file to be altered please let me know where to find that file to be altered.
    Thank you.

    Hi Amit,
    It's the same for Solaris. Take care about the line breaks in the document (sometimes one command seems to be two commands, it's one with parameters) and there is also a small bug: On page 6, step 5, it must read "Directory = topicmaps/example" (as printed in the screenshot).
    Hope it helps
    Detlev

  • WD My cloud USB drive mount command???

    Hello,
    I've a backup script which is autoscheduled and backs up my data to the usb drive. I would like to keep usb drive unmounted until the script starts since twonky scans my usb drive as well and I couldn't disable it from both twonky setup and my cloud UI. After reboot it starts scanning again. (if you know this, it will be a better solution)
    So after reboot I would like to unmount the usb disk. I found the unmount command in the forum. Thansk to Nazar.
    However I don't know how to mount the drive from the script.
    Can you please help me on this?
    Thanks...

    mount [ -o options,.. ] /dev/sdb1 /path/to/existing/directory  or if you know your stuffs let it auto mount on boot, edit /etc/fstab as below, then mount -a or mount /dev/sdb1: /dev/sdb1   /path/to/existing/directory   filesystem(i.e. vfat)  options(i.e. defaults)    backup-dump(i.e. 0)   pass-fsck(i.e. 0) Note all above is not supported by WD and warrants warranty void. Wrong fstab entries may not boot up your nas properly so I don't recommend this unless you fully understood. I did a mistake once while mounting additional swap space which end up opening the drive just to recover. Read more https://en.wikipedia.org/wiki/Fstab

  • How to install USB driver for Windows?

    I'm trying to connect my LG VS980 phone to a Windows XP computer. I'm having difficulty installing the USB driver.
    After following several false trails, I found what I think is the right file: on a "Product Support" page which says it's for a "G2 Verizon VS980," there's a button labeled, "Install the USB DRIVER / USB DRIVER for Windows / DOWNLOAD." I clicked the button and downloaded a file 8 MB file. Its name is LG. Not LG.exe or LG.msi or LG.zip. Just LG.
    When I double click the file, Windows quite reasonably asks me what program to use to run it. I don't know what program to use any more than Windows does.
    There's a link labeled "Instructions... LG G2 VS980 SOFTWARE UPDATE below the download button. When I click it, it loads instructions for installing software on the phone.
    Can anyone make sense of this for me?

    Orthoducks wrote:
    I'll so my best to answer the questions.
    >...what you're looking to do a transfer with...?
    Initially I want to download pictures taken with the phone's camera. I've considered other uses for a USB connection that I can explore once it's working. I'm puzzled by the question, though. Why should the type of data I want to transfer affect the fact that I can't find an installable driver? I wonder whether my question means the same thing to you as it does to me.
    Because photos and music are the basic media people want to transfer between their phones and computers. (Computers in this sense are laptops, desktops, note books etc.) So the question to you was valid.
    >Also, have you tried any other computers?
    No. Again, I'm puzzled. What difference would another computer make? Would I be able to find a download from one computer that I can't find from another? (Only by blind chance.) Might another computer be able to execute or load a file with no filetype? (Only if it has magical powers.)
    Different computers may work where the computer you own evidently does not work. It is good to check the connection of the device to another computer to rule that out. I will answer the obvious of different operating systems and how they function.
    >And which software version if your phone currently running?
    That question makes sense. Unfortunately I can't answer it. I've looked up how to find the version number, and the instructions tell me to select an "About phone" item in the Settings menu, which doesn't exist.
    Doesn't exist? open the Settings Menu go all the way to the bottom (scroll down) the last entry is "ABOUT PHONE" click it. It will give hardware and software versions operating system number etc. Its there trust me. My wife just bought this phone and loves it.
    >Often times, the device drivers you're prompted to install are supported solely by the computer's software.
    I'm not sure what you're saying here. Taken at face value, it's a trivial and obvious: any driver that one installs on any computing device is supported solely by (i.e., depends on) the device's software. But how does that relate to the question about the version of Android? Android runs on the phone; the driver has to run on the computer.
    You stated you are using an older Windows XP computer, I can tell you I hooked my wife's phone to our Windows 8.1 computer and no drivers were necessary. It came up with an option on the phone screen and I chose USB Mass Storage for the connection. This option is also in the phones settings. Read the manual it has loads of information form you to use.
    The device had a drive letter assigned and it was labeled LG-Network and once you double click it the folders for music, photos, etc. are all there. Via using windows manager you can simply do a copy and paste to and from the different folders and drives with ease.
    Good Luck

  • Security question, how to disable USB drives?

    Hi. We´re implementing security measures on our small office, and in the account settings I´ve disabled cd burning for a given account, but I also want to diable the use of USB drives except for the compnay one. Is there a way to achieve this? Thanks

    Just FYI no matter how many securities you put on a USB port, there is always a way around it, but you can buy usb lock plug ins online. They are called USB locks. I don't know where to find them off the top of my head. they plug into the usb connector in the back of your computer.
    Message was edited by: mobias

  • How to eject USB drive?

    I have a USB drive that doesn't want to eject.  It get the error that it is in use and can't be ejected.  Yet, nothing is using it.
    I'm trying to eject through Finder.  Any ideas how to resolve this?

    Worked just fine.  Thanks.
    Funny how Apple tech support can never solve anything.  After an hour, they'll finally say, force quit everything, restart then restore to factory defaults.  That's the common workflow.  Get out the big hammer.

  • [SOLVED] BIOS not detecting USB Drives after i installed Arch

    SOLVED: In BIOS under 'Advanced' disable 'Fast BIOS Mode'.
    Original post:
    Hi there!
    I'm fairly new to the arch (and linux) scene and just setup my Samsung 530U3B with a brand new installation of arch. Everything went fine and the system is running flawlessly. Almost.
    I just happend to notice that BIOS is not checking for USB drives anymore, it just somehow skips that part. If enter the boot selection, the bootable USB drive won't show up. Neither does it show up in BIOS setup. I tried to boot with the same USB drive that i used to install arch just yesterday, the live media does not boot - the drive doesn't even blink. The boot priority is set to usb drive first, the boot selection screen (hammering f10 during boot) doesn't give me any other option than to boot from the normal SSD. Also, prior to the arch installation (came with w7 installed) the BIOS screen would stay for about 2seconds and then proceed to boot - this doesn't happen anymore. When i press the power button greeted by the grub bootloader in about 1s.
    I tried 2 different usb drives, both with the arch iso (same that i used to install the currently running OS, downloaded yesterday). The drives also show up once my arch is booted (starting to blink just after i hit enter in grub). Also, both drives boot without a problem on my desktop computer.
    Anyone got any ideas?
    I don't really now what kinda of information would be helpful so i'm just dumping stuff i know:
    BIOS: Phoenix SecureCore Tiano Version 04XK
    Machine: Samsung 530U3B
    SSD: Samsung MZ7PC128HAFU-000
    ISO used to install (checksum ok): archlinux-2012.07.15-netinstall-dual.iso
    Last edited by araex (2012-07-26 16:57:47)

    DSpider wrote:
    The boot priority is set to usb drive first
    Welcome to the forum.
    If you just set the USB stick to be first in the boot order, the next option (from the list) takes its place the moment you unplug it. You need to set the BIOS to boot from your equivalent of "Removable Devices" first, "Internal Drives" second and "Optical Drives" third.
    The USB stick doesn't show up at all. I set the priority as follows:
    1. USB HDD
    2. USB FDD
    3. USB CD
    4. SATA CD
    5. SATA HDD
    6. NETWORK
    I used that same configuration to install arch. USB doesn't seem to initialize at all. Also, if i enter "usb" in the grub commandline, no devices are listed.
    Thanks!
    UPDATE:
    I just figured it out. In my BIOS under 'Advanced' the 'Fast BIOS Mode' was enabled, once i disabled it, everything went fine. I don't remember changing that option. Silly me.
    Sorry for your time
    Last edited by araex (2012-07-26 16:56:30)

  • [SOLVED] Encrypted root on USB drive problem

    Hi,
    I have encrypted root on external USB harddrive. On one machine it works just fine, LUKS ask for password and system starts.
    On second it does not work. I tryed nearly all possible combinations of modules and hooks. I can also access my usb drive if I use break=y. I am using current kernel & utils, I definitely use right paths...
    Machine is an Dell with Intel chipset. My USB drive is like this:
      /dev/sdb1 - big fat32
      /dev/sdb2 - ext2 boot with Grub, kernel and initrd image
      /dev/sdb3 - root fs, reiserfs encrypted with LUKS
    I made little debuging and it seems that encrypt hook was launched, but did not make anything. Before I digg deeper I wonder that someone had same problem, or can give me advice.
    Kernel panic screenshot:
    PS: how can I put busybox to initrd image? echo * sucks.
    Thanks
    Last edited by Trained.Monkey (2007-10-10 09:42:13)

    I solved, problem is that encrypt is running BEFORE usb drive is fully initialized. Encrypted partition is not found and not used.
    Solotion:
    put sleep 5 at beggining of encrypt hook. You must also add sleep binary at installer.

  • [SOLVED] Problem with external USB drive started yesterday

    My system freezes for about 65 seconds at the login screen. After 65 seconds, I can login and everything is normal afterwards.
    I discovered that I can eliminate the freeze by disconnecting the external USB drive from the PC. Here are the error messages from kernel.log when the drive is connected:
    Oct 15 23:10:14 localhost kernel: [ 17.035091] usb 1-1.3: device descriptor read/64, error -110
    Oct 15 23:10:29 localhost kernel: [ 32.155955] usb 1-1.3: device descriptor read/64, error -110
    Oct 15 23:10:29 localhost kernel: [ 32.325394] usb 1-1.3: new high speed USB device number 4 using ehci_hcd
    Oct 15 23:10:31 localhost kernel: [ 34.045126] MediaState is connected
    There is supposed to be a kernel boot option (irqpoll) to prevent this from occurring. However, that option seems to no longer work for kernels after 2.6.39. If I try using it with Arch, the system will not boot, saying all the CPU's failed.
    I also don't understand why this just started happening yesterday, as the USB drive has been connected to the PC longer than I've been using Arch. Also, my kernel has not been updated since I installed Arch on Oct 8.
    Does anyone know another fix or workaround for this problem?
    Thanks,
    Tim
    Last edited by ratcheer (2011-10-17 01:30:08)

    Problem solved
    I feel stupid, but I also feel better. I turned off the PC, disconnected the power from the USB drive for about 15 seconds, reconnected the power, rebooted, removed the irqpoll kernel option, and Ubuntu started, perfectly. I need to learn that the USB drive just goes freaky sometimes and remember to do this. But, this is only the second time I've had to do this in months of use.
    Tim

Maybe you are looking for

  • How do I get my DAQPad-6020E channels to show up in LabView7?

    When I try to access my DAQPad-6020E using the DAQ Assistant Express VI in LabView 7 and I go thru the configuration it tells me that there are no physical channels available. How do I get the DAQ channels to show. All the other NI software sees the

  • Safari wont open a page

    At one particular web site ( a log on site for a library) Safari 4.0.3 the browser downloads the web page to download folder as "webquery-38.dll.html" When I click on it it either opens at another page of the library or as a text file. I have tried c

  • How to use sql report server web service (SSRS) in flex/actionscript

    Hi, I am trying to create a web page, that displays a report from my company's report server. I manage to import the ReportExecutionServiceService, but can't figure out how to get the report. anyone know where i can find good documentation of SSRS's

  • Trouble syncing photos into my ipod touch.

    Every time i try to sync photos into my ipod, itunes keeps copying my apps from my device into my library and it takes so long for the process to finish, is there a way to prevent this from happening or at least disabling itunes from copying my app.

  • I'm having trouble using standard input inside JDB

    Hello Java(R) community The problem is: I cannot read a stream of characters from the keyboard inside JDB. Just to set context I'm using: jdk 1.3.1_01 with jdb version 99/06/11 under RedHat(R) Linux(R) 7.1 I've written the following code: 1:import ja