SOLVED: Mounting IDE ZIP Drives, "Special Device hdb4 Does Not Exist"

I thought I would post a follow-up, since I have finally resolved this long standing issue, which has plagued me since my first days with Linux many years ago.
As outlined in my original post below, every time I would attempt to access a Zip disk for the first time since boot, Linux (pretty much all distros I have ever tried, with the exception of SuSE 9.3) would fail to mount the disk and report back that "Special device hdb4 does not exist". Of course the "hdb4" part varies from distro to distro and machine to machine, depending on how your Zip disk is connected and how the distro names its disks, but the basic error has been constant. I have always worked around it by redoing the mount command specifying just the device, not the partition, and while that would always fail, it would force the creation of the device /dev/hdb4, and I could carry on. Annoying but effective.
FINALLY, a long term answer. I got my inspiration from a really snarky post I read in another online forum where someone had posted this very same question (this is a very common problem with no common answer it seems!). The respondant, who completely failed to provide a helpful answer, basically said "listen, the OS is telling you what is wrong - the device hdb4 doesn't exist - so fix it, and all will be just fine". Of course, the respondant didn't even bother to offer a suggestion about HOW to fix it.
However, therein lies the inspiration for the solution. Indeed they are right, /dev/hdb4 *doesn't* exist, so how to fix that? They had a point. I started researching the mysteries of mknod, a program that can create /dev files, and the even deeper mysteries of Linux device numbers, both major and minor.
In the end, I found a wonderfully informative document that described the current standard for the device numbering scheme used by mknod, and Linux in general. The key things of interest are this:
1/ The major number for IDE based drives is 3.
2/ IDE allows for 64 partitions per device, so the minor numbers are 0-63 for device "a", 64-127 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, hdb4 would have a minor number of 64 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 68.
3/ The major number for SCSI based drives, or those that your OS treats as SCSI, is 8.
4/ SCSI allows for 16 partitions per device, so the minor numbers are 0-15 for device "a", 16-31 for device "b" and so on. You derive the minor number of interest for your particular device by taking the starting value of the minor number range of interest for your device and adding the partition number to it. So, for example, sdb4 would have a minor number of 16 (the start of the minor number range for device "b") plus 4 (the partition number in "hdb4"), yielding a result of 20.
In my case, Arch seems to be treating all of my disk based devices as SCSI, perhaps because I do have a real SCSI interfaced Jaz drive in my machine. So, the Zip disk of interest in my machine is sdc4 (my real SCSI jaz is sda, my Arch root is sdb, and the IDE Zip is sdc). Applying the above, for /dev/sdc4:
- The major number is 8.
- The minor number is 32 (start of range for device "c") plus 4 (the partition number) = 36.
Armed with this knowledge, I su'd to root and entered:
# mknod /dev/sdc4 b 8 36
and like magic, there is was, /dev/sdc4. I popped a disk into the drive and my first attempt to access it was greeted with success, not the usual "device does not exist" error! By the way, the "b" in the above command is just part of the mknod syntax, and indicates that I am creating a block device (vs. a character device, or some other type of device - disk drives all seem to be "block" devices for apparent reasons).
SO, determine your major number by device type (it will usually be 3 or 8), compute your minor number by device letter and partition number, and add a mknod command to your system startup (so you don't have to do it manually every time) and you are done! No more annoying "device does not exist" errors.
Now for the kicker. It turns out that this information has been available under my nose all along. I just didn't recognize the code. If you do the following:
# ls -ald /dev/sd*
Linux obligingly provides you with the major number and the start of the minor number range for your device. Since Linux has always detected the Zip *device* (just not the partition) this is really all you need to know. When I issue the above command, I get an output like:
brw-rw----  1  root  disk  8,   32   date   time   /dev/sdc
Guess what, there they are! "8" is the major number of interest, "32" is the start of the minor number range of interest. If I had just recognized that, and known that all I had to do was add the partition number to the minor number to get the magic number to feed into mknod, things would have been easier.
Sorry for the long post, but like so many things in Linux, the OS doesn't make this easy on the uninitiated. I sincerely hope that this post may help lots of other people to resolve this vexing and longstanding problem.

Solved!
See the lengthy response in this post:
http://bbs.archlinux.org/viewtopic.php?id=36468
I posted the solution separately, with the most informative title I could come up with, so that others Googling this topic on the web may hopefully easily find it.

Similar Messages

  • Connection failed: SQLState:'01000' SQL Server Error:67 [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState:'08001' SQL Server Error:17 [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist o

    Help,
    setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine.  When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
    i get the following error:
    Connection failed:
    SQLState:'01000'
    SQL Server Error:67
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
    (Connect()).
    Connection failed:
    SQLState:'08001'
    SQL Server Error:17
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
    I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled.  I can connect to the other sql server in studio manager on the new machine however, i can't go do
    the same in the old server, says:
    cannot connect to hbfsqlpro1\hbfsqlpro1
    Additonal information a network related or instance specifc error occured while establising a connection to SQL server.  The server was not found or was not accessible.  Verify that the instance name is correct and that SQL server is configured to
    allow remote connections. (provider:SQL Network Interfaces, error 26 - error locationg server/instance specified) (Microsoft SQL server)
    the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine.  STarting to pull my hair out somewhat, i'm sure it's something really simple! 

    Hello,
    You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
    Make sure TCP/IP is enabled.
    http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
    Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
    Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.

    Hi, I've seen questions about this error posted elsewhere but I'm not sure if the same issues applied.
    I'm trying to connect to SQL Server from a VBA macro in excel. I've managed to do this with the code below where my query is return to cells in my active worksheet but for another query I want to run the data to be return is too large for Excel to handle
    and so I'd like to save it as a .csv file but using the second example of my code I get the message "[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied". Since I have access to this database from the first example
    of the code, I assume my conn.ConnectionString line of code is letting me down.
    Can anyone help me please?
    'Code to return data to worksheet'
    Sub macro2()
    With ActiveSheet.ListObjects.Add(SourceType:=0, Source:=Array(Array( _
            "ODBC;DSN=SQLRA - OPENBET;UID=user1;Trusted_Connection=Yes;APP=Microsoft Office 2013;WSID=pdfdf3001;DATABASE=open;Network=DBMSS" _
            ), Array("OCN;Address=SQLRA_DB,55455;ApplicationIntent=READONLY;")), _
            Destination:=Range("$BG$1")).QueryTable
            .CommandText = Array( _
            "select  A.ev_oc_id, B.ev_mkt_id, A.ev_id, D.start_Time, Upper(Replace(A.[desc],'|','')) , A.result, COALESCE(A.sp_num, A.lp_num) , ", _
            "COALESCE(A.sp_Den, A.lp_Den) from open.reporting.tevoc A, open.reporting.tevmkt B, open.reporting.tevocgrp C, open.reporting.tev D ", _
            "where  A.ev_mkt_id = B.ev_mkt_id and B.ev_oc_grp_id = C.ev_oc_grp_id and D.ev_id = A.ev_id and Upper(Replace(D.[desc],'|','')) = 'home' and upper(B.name) = '|today|' and D.ev_type_id in (264, 289) and D.ev_class_id = 49
    and D.start>= '" & Year & "-" & Month & "-" & Day & "'" _
            .RowNumbers = False
            .FillAdjacentFormulas = False
            .PreserveFormatting = True
            .RefreshOnFileOpen = True
            .BackgroundQuery = True
            .RefreshStyle = xlInsertDeleteCells
            .SavePassword = False
            .SaveData = True
            .AdjustColumnWidth = True
            .RefreshPeriod = 0
            .PreserveColumnInfo = True
            .ListObject.DisplayName = "Table_Query_from_SQLRA___OPEN_1"
            .Refresh BackgroundQuery:=False
        End With
    End Sub
    'Code that produces error'
    Sub macro1()
    Dim conn As ADODB.Connection
    Set conn = New ADODB.Connection
    Dim testSQL As String
    Dim qd As DAO.QueryDef
    Dim openbetdb As Database
        conn.ConnectionString = "driver={SQL Server}; server= sqlra_db;uid=user1;APP=Microsoft Office 2013;WSID=pdfdf3001;database=openbet"
        conn.Open
        testSQL = "SELECT * FROM open.reporting.TevType where ev_class_id = 49 and ev_type_id in(289,330,518,13492);"
        Set qd = Db.CreateQueryDef("tmpExport", testSQL)
        DoCmd.TransferText acExportDelim, , "tmpExport", "C:\\export.csv"
    End Sub

    Hello,
    Are you connect to remote SQL Server? If so,
    please make sure the target SQL Server is running and is listening on appropriate protocols. Please take a look at the following article about general steps to troubleshoot
    SQL connectivity issues:
    http://blogs.msdn.com/b/sql_protocols/archive/2008/04/30/steps-to-troubleshoot-connectivity-issues.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Update was terminated - Class PO - Number 366 - Device ARCH does not exist

    Dear Gurus,
    We are using Automatic PO generation through ME59, we also applied one SAP note to pick the custom document type through ME59 (normally the system pick NB as standard document)
    In  MN05 - if i set as default output type 1 - print ( then the document is generating with the correct document with correct number range)
    But if i set in MN05 - default output as 2 - fax ( then i am getting this Update was terminated - Class PO - Number 366 - Device ARCH does not exist).
    Please advice
    Regards
    RS

    Dear Friend,
    Output determination for fax is not done properly. check the device connnectivity.
    SPRo>>Maintain Message type of PO
    For the particular document type - i have removed the default PO Print out settings - now its working fine. Is this the right way?
    Please advice
    RS

  • [SOLVED] PowerDNS (pdns) - SQLite database '...' does not exist yet

    PowerDNS 3.2-5 is having some issues connecting to my backend database (sqlite3).
    beta powerdns # tail /var/log/errors.log
    May 7 20:12:41 localhost pdns[19098]: Caught an exception instantiating a backend: Unable to launch gsqlite3 connection: SQLite database '/etc/powerdns/database.sqlite' does not exist yet
    But when i do:
    beta powerdns # sqlite3 /etc/powerdns/database.sqlite
    SQLite version 3.7.16.2 2013-04-12 11:52:43
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    sqlite> select * from domains;
    1|<myhostname>|||NATIVE||
    sqlite>
    sqlite3 It fetches the records and domains to my liking but not PowerDNS.
    Same thing goes for a blank db without any domains or records, i can query it but not PowerDNS.
    Followed this guide in order to setup the proper tables and columns: http://doc.powerdns.com/html/gsqlite.html#idp9379264
    (without the DNSSEC part, i'll give that a go later on)
    It obviously loads the sqlite3 module, and tries to connect to the backend, which doesn't work, so the ArchLinux package is fine i'm guessing.
    More info:
    * Link to package: https://www.archlinux.org/packages/comm … 6_64/pdns/
    * chmod == 777
    * chown == nobody:nobody (and tried root:root as default)
    * running as root (not pdns)
    Last edited by Torxed (2013-05-08 10:52:05)

    Solved it.
    The guides are vague in this regard but once you've just read the config twice you'll understand the logic.
    First of all, no absolute paths for sqlite3, it should be:
    launch=gsqlite3
    gsqlite3-database=database.sqlite
    Secondly, find your chroot, and point it to your database location or put your database here (whichever):
    chroot=/var/empty
    The folder structure should be:
    /var/empty/database.sqlite
    And this py pointing to ./database.sqlite when starting sqlite3 in pdns, it should be able to lock on to the database.
    Peachy!

  • Mounting IDE ZIP Drives

    I have an ATAPI ZIP250 in my machine, and a fresh install of Arch 2007.08.  Arch sees the drive as /dev/sdc. When I pop a disk in the drive, it needs to be mounted as /dev/sdc4. The issue is that device sdc4 has not been created by Arch and thus it will refuse to mount the disk.
    I have discovered via trial and error that I can force the creation of this device by doing something rather stupid: attempt to mount the device itself, not the partition. This seems to cause Arch to examine the device and realize that it needs to create extra devices, which it does.
    So, what I have to do right now is pop the disk in the drive, then issue:
    # mount -t vfat /dev/sdc /mnt/zip
    Arch accesses the drive as a result, but this operation always fails, saying something about bad superblocks, filesystems, etc. BUT, it has the happy side effect of creating /dev/sdc4. From there on out, I can deal with the drive with the normal commands.
    This is an ongoing annoyance. Is there any way to make this all happen more transparently? I recall reading once that I could do something with udev rules or something else such that /dev/sdc4 would be auto created as needed. Alternately, could I just save off the /dev/sdc4 file and copy it back into place on each boot? Or perhaps some other mechanism?
    Does anyone out there have an ATAPI ZIP250 that they have got this seamlessly working on? Thanks!
    Last edited by mac57 (2007-08-19 21:29:13)

    Solved!
    See the lengthy response in this post:
    http://bbs.archlinux.org/viewtopic.php?id=36468
    I posted the solution separately, with the most informative title I could come up with, so that others Googling this topic on the web may hopefully easily find it.

  • Determining a Device That Does Not Exist

    Hello,
    We have a Citrix Xendesktop 7.1 PVS environment. The VHD disks are hosted on a volume on a Windows Server named S00CITRIXVHD01 that has 2 disks C drive(Disk0) and D drive(Disk1). In the event log of the server hosting the VHD disks I see this almost
    every day:
    The device, \Device\Harddisk3\DR145, is not ready for access yet.
    Harddisk2 is also in some log entries. The only problem is the server does not have a harddisk2 or hardisk3 in the Disk Management GUI. However If I open the registry to HKLM\Hardware\DeviceMAP\SCSIPORT2\SCSIBUS0  there are reg keys for:
    Target Id 0
    Target Id 1
    Target Id 2
    Target Id 3
    Target Id's 0 and 1 have info in them as I would expect but 2 and 3 are empty. I see other event log entries 
    Event ID 50:
    {Delayed Write Failed} Windows was unable to save all the data for the file . The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
    Event ID 157:
    System
    Provider
    [ Name]
    disk
    EventID
    157
    [ Qualifiers]
    32772
    Level
    3
    Task
    0
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2015-03-10T01:27:30.545675300Z
    EventRecordID
    275973
    Channel
    System
    Computer
    S00CITRIXVHD01.f.q.d.n
    Security
    EventData
    \Device\Harddisk3\DR145
    3
    0000000002003000000000009D000480000000000000000000000000000000000000000000000000
    Binary data:
    In Words
    0000: 00000000 00300002 00000000 8004009D
    0010: 00000000 00000000 00000000 00000000
    0020: 00000000 00000000
    In Bytes
    0000: 00 00 00 00 02 00 30 00 ......0.
    0008: 00 00 00 00 9D 00 04 80 ......€
    0010: 00 00 00 00 00 00 00 00 ........
    0018: 00 00 00 00 00 00 00 00 ........
    0020: 00 00 00 00 00 00 00 00 ........
    So now I have these mystery disks that aren't ready, then have an error and then surprise disconnect and I can't figure out what they are or why they are logging errors. I would appreciate any insight anyone can offer on how
    to track down what these drives are.

    Hi Rich Ellis-MC,
    If you are using Serve 2012r2 please try to install the following update then monitor the issue again.
    Extraneous log entries are created when you remove virtual disk devices in Windows 8.1 or Windows Server 2012 R2
    http://support.microsoft.com/en-us/kb/2958027
    Most of the similar issue occur when there have backup soft ware running or there have hardware issue, please try to stop the backup software then monitor this issue again,
    in your environment try to ask citrix may get more tips.
    More information,
    Description of the Event ID 50 Error Message
    http://support.microsoft.com/en-us/kb/816004
    Disk 0 has been surprise removed EventId: 157
    https://social.technet.microsoft.com/Forums/en-US/9feed539-493a-4fbe-9c75-d5619bedc2a9/disk-0-has-been-surprise-removed-eventid-157?forum=windowsserverpreview
    Error in virtual machine event log "disk 1 has been surprise removed"
    https://social.technet.microsoft.com/Forums/en-US/70d8cbee-a189-4555-80c1-3b19ebb51d0c/error-in-virtual-machine-event-log-disk-1-has-been-surprise-removed?forum=winserverhyperv
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • When i want to export movie as a quicktime movie in imovie09 i've saved it, it exports somewere, take a hard drive space but movie does not exist or i can't find it, please any help

    In imovie (8.0.6) i click share, then export movie as quicktime movie, choose a folder then click save and it starts working. At the end of job movie is not there but hard disc space is gone. So I'm keep loosing space but not getting movie. Please can someone help me with this.

    If you have Qt Pro, you can open the file and turn on a controller, then resave the file.

  • How to file a request for assistance on your site if you do not speak English? Apple is advertising in all languages​​, but to solve a problem or get a board that does not exist.

    For several months, when i use iTunes or Adobe, my mac osx Snow Leopard, does not close automatically, I doid use the power button.
    I tried a command on the terminel by : fsck)and yf .
    I received this message " The volume appaers to be OK. Then I enter"exit" and started my mac.
    At the close of it, and i found myself automatically on the console with this /
    Mon Aug 06 23:"' Host addrress IPXXX.XX.XXX.XXX.Brutele.be com.apple.SecurityServer(27)<notice>Session0x3011f2 Deal.<Warnin>/killing auth host.
    Continuing
    urmount of/home failed(45)
    urmount of/net failed (45)
    Since purchasing my Mac, I changed my e-mail
    [email protected]
    Currently [email protected]
    Can you help me find the solution to this difficulty.
    N.B. Je ne parle pas l'anglais et j'ai utilisé un traducteur en ligne ( Google traduction )
    Tank you

    The people who answer questions here are users like you. They are not Apple employees.
    Some people here speak French and will answer in French. You should also give a Google translation to English.
    There are also forums which use French language which are not operated by Apple. Here is one I found in a Google search for a question in French about OS 10.6. Using Google for your question will often give several sites to visit for help.
    Google translation
    Les personnes qui répondent aux questions ici sont des utilisateurs comme vous. Ils ne sont pas les employés d'Apple.
    Certaines personnes ici parlent le français et répondre en français. Vous devez aussi donner une traduction Google en anglais.
    Il ya également des forums qui utilisent la langue française qui ne sont pas exploités par Apple. Voici celui que j'ai trouvé dans une recherche Google pour une question en français à propos de OS 10.6. Utilisation de Google pour votre question donnera souvent plusieurs sites à visiter à l'aide.

  • [SOLVED] /usr/lib/aspell-0.60/xray.cset does not exist...

    Update:
    I'd still like to understand what this /usr/lib/aspell-0.60/xray.cset file is all about. But apearantly I don't really need it. I fired up my xubuntu installation to spellcheck the LyX document. And because the  ~/.aspell.en.pws on Arch had more added words in it I was about to copy it over the Xubuntu copy... Fortunately I compared them first and noticed that the working Xubuntu  ~/.aspell.en.pws  was a 212 line file beginning with "personal_ws-1.1 en 211" (evidently reflecting the number of words @ 1 per line) while the broken ~/.aspell.en.pws on Arch was a 299 line file beginning with "personal_ws-1.1 en 299 xray" Considering I had recently deleted one word/line from it the only part that didn't make sense was the word xray... changed that line to "personal_ws-1.1 en 298" and aspell is working again.
    But I still don't know where the word "xray" came from, nor why aspell thought it meant there should be an "/usr/lib/aspell-0.60/xray.cset" file... ???????
    End Update (Original post below)
    I think I did something stupid... And it broke aspell.
    What I did was: I was spellchecking a LyX document (which uses aspell) and
    I accidentally added a misspelled word. Whenever I've done that in the past
    I simply opened my ~/.aspell.en.pws with vim, and deleted the misspelled
    word from the list. But this time I'd been using aspell indirectly and
    while I closed LyX's pop-up spellchecking utility before I switched to a
    terminal window, I didn't close LyX itself. (I didn't think it would matter
    as long as it wasn't actively spellchecking at the time...) Well I got rid
    of the misspelled word OK. When I switched back to LyX every thing seemed
    to work normally until I pressed <F7> to start up the spellchecker again.
    At that point LyX crashed...
    When I try to use aspell from the command line in a terminal window I get
    this:
    JtWdyP -> /home/jtwdyp/tmp
    >
    JtWdyP -> /home/jtwdyp/tmp
    > echo "test txt a tst file" > test.txt
    JtWdyP -> /home/jtwdyp/tmp
    > aspell -c test.txt
    Unhandled Error: The encoding "xray" is not known. This could also mean that the file "/usr/lib/aspell-0.60/xray.cset" could not be opened for reading or does not exist.
    Aborted
    JtWdyP -> /home/jtwdyp/tmp
    > ls /usr/lib/aspell-0.60/xray.cset
    ls: cannot access /usr/lib/aspell-0.60/xray.cset: No such file or directory
    JtWdyP -> /home/jtwdyp/tmp
    >
    I've tried logging into my root account and:
    UnderTree =->
    UnderTree =-> pacman -S aspell
    warning: aspell-0.60.6-4 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): aspell-0.60.6-4
    Total Download Size: 0.00 MB
    Total Installed Size: 3.79 MB
    Proceed with installation? [Y/n] y
    checking package integrity...
    (1/1) checking for file conflicts [##########################] 100%
    (1/1) upgrading aspell [##########################] 100%
    UnderTree =->
    But aspell still fails with the same error, and the file:
    /usr/lib/aspell-0.60/xray.cset
    still doesn't exist...
    Next it occurred to me that for all I know, reinstalling with "pacman -S"
    might not be as complete as installing a new package so I thought that if I
    removed aspell first, I might be able to get a cleaner install...
    UnderTree =->
    UnderTree =-> pacman -R aspell
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: aspell-en: requires aspell
    :: enchant: requires aspell
    :: lyx: requires aspell
    UnderTree =->
    I'm not so sure I want to remove enchant & lyx to test that theory...
    So I guess I gotta ask, how do I go about getting a replacement
    "/usr/lib/aspell-0.60/xray.cset" file????
    jtwdyp
    J(tWdy)P
    Joe(theWordy)Philbrook
    Last edited by jtwdyp (2010-11-10 17:20:19)

    ukhippo wrote:Have you tried using “-t nat” instead of “-t NAT” in your iptables command?
    I hate you, and I love you (with emphasis on the love)...
    That did it, stupid spelling mistake trying to use NAT, bah Thank you!
    Last edited by Torxed (2014-06-04 17:52:07)

  • Root device mounted successfully, but /sbin/init does not exist ???

    I'm having the issue where when I boot after doing a fresh install, it gives me:
    ERROR: Root device mounted successfully, but /sbin/init does not exist
    Bailing out, you are on your own. Good luck
    sh: can't access tty; job control turned off
    [rootfs /]#
    My fstab:
    # /etc/fstab
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda1 LABEL=homerroot
    UUID=877deab9-624d-4e1d-90a1-ccc1d6ebc0c6 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda2 LABEL=homerboot
    UUID=77835da5-8a38-44c1-bf27-bb657df4484b /boot ext4 rw,relatime,data=ordered 0 2
    # /dev/sda3 LABEL=homeretc
    UUID=8a1b5bd8-b147-41e0-87df-70a4a9e12df2 /etc ext4 rw,relatime,data=ordered 0 2
    # /dev/sda4 LABEL=homervar
    UUID=8eb2e7b1-cdf1-46ce-9dc1-439d002bfae4 /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sda5 LABEL=homerusr
    UUID=bce162b4-d27f-450c-a0e6-4d3ebc6242dc /usr ext4 rw,relatime,data=ordered 0 2
    # /dev/sda6 LABEL=home
    UUID=62de76ab-b6d4-4e3d-a423-c287b81813a9 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sda7 LABEL=public
    UUID=d98a9c8e-2301-4e66-8c7f-26167633a4b0 /public ext4 rw,relatime,data=ordered 0 2
    This looks fine to me, but when /dev/sda1 is mounted at /new_root, none of the other devices are mounted....
    I don't know if this is what's causing the problem since /etc, and /usr are on separate partitions from root, but
    this would be the first time I get a problem dividing things this way (on ubuntu, mint, fedora, et cetera).
    So I tried:
    https://bbs.archlinux.org/viewtopic.php … 3#p1283343
    I get "* is owned by filesystem 2013.05-2" for all three dirs from step three.
    None of the other steps have any effect....
    I also tried:
    https://bbs.archlinux.org/viewtopic.php?id=172943
    My /dev/sda1 mounts to new_root, so I don't think I'm having his problem.
    And:
    https://bbs.archlinux.org/viewtopic.php?id=166423
    I reinstalled systemd-sysvcompat, and I'm sure that's not my problem.
    Interestingly enough, /usr/lib/systemd/systemd is an elf file on my target hard disk.
    Is this an outdated issue or something? Or should /usr/lib/systemd/systemd be a text file?
    Thanks in advance for your help guys!

    WorMzy wrote:Oh, and /usr/lib/systemd/systemd is supposed to be an ELF binary. Not sure why you think it should be a text file.
    I saw another thread saying that adding an entry there would help. I think it was "init=<something>".
    WonderWoofy wrote:A separate /etc is not supported whatsoever.  There needs to be initial access to a few things there.  I'm sure it could be made to work with some initramfs hackery.  But it is neither supported or wise to do so IMO.
    I'll not do the separate partitions then. Thanks. I'll check back if it works/doesn't-works.

  • WVC210 Device manger does not detect camera driver

    Hi, Iam doing a java application project which captures a vedio from linksys wvc210 network camera, the problem is the device manager does not detect the camera as one of the imaging devices or as any, and so the jmf registry editor does not also detect the camera in which i am stuck on how to make java detect it and work on it which is impossible without being detected with the jmf registry so i need windows first to detect it at the device manager which will lead jmf registry editor to also detect it.
    note that: the camera installation worked properly and i can access it normally. by the way iam using windows vista.
    any help please...

    First of all, thanks for ur reply, i will state the problem again: iam doing a java api application using the java media framework (JMF), the application goal is to capture a vedio from the ip camera, the application is done and works with my web cam which is detected by the java capture device manager, on the other hand the capture device manager does not detect the ip camera as one of the captured device in which i can't run my application on it. So the easiet way is to make windows detect it as one of the devices at the device manager so java capture device manager can detect it and my application will work immediatly. any suggestions ? 

  • [Solved] Error : The file or folder path /Probl?me 1 does not exist

    Hello,
    I encountered this error
    The file or folder <path>/Probl?me 2 does not exist
    while I was trying to open a directory already extracted from a zip file containing directories with special characters. In this case, it is a "è" that was misinterpreted as a "?".
    I searched the forums and on google, the solutions proposed do not work for me. Although, I have to deal with these files written in french, I would like to have my locale in english (US), with a system wide support for special characters.
    Attempt 1: Adding the option : iocharset=utf8 into the fstab, like this :
    fstab :
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    /dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    /dev/fd0 /media/fl auto user,noauto 0 0
    /dev/disk/by-uuid/24ba75ac-e52d-40eb-a599-83b394b500b2 /boot ext2 defaults 0 2
    /dev/disk/by-uuid/c797f409-00bc-479a-b4d6-ab49943f644b / ext4 defaults 0 1
    /dev/disk/by-uuid/668427a8-5f51-42bd-a316-fc7984bf5f4f /var ext4 defaults 0 2
    /dev/sda7 swap swap defaults 0 0
    /dev/disk/by-uuid/417cd1b7-8f06-414b-84d5-e8714d9646ab /home ext4 defaults 0 2
    /dev/disk/by-uuid/ef9aa00e-0515-4d7b-aa23-8096e787250d /usr ext4 defaults 0 2
    /dev/disk/by-uuid/17d401b7-2fc7-4d9f-8e17-657d86926d2e /tmp ext4 defaults,iocharset=utf8 0 0 <<<<<<<<<<<<<<
    /dev/disk/by-uuid/71e543b6-e06c-4b0e-b1e3-3b491ff1fefe /var/cache/pacman/repos ext4 defaults 0 2
    #/dev/sda12 /mnt/archive ext4 defaults 0 2
    #.host:/ /mnt/hgfs vmhgfs defaults 0 0
    This solution does not work, because after adding iocharset=utf8, in front or after a "defaults", after a reboot, while mounting the filesystem, there is the following error message:
    Mounting Locale Filesystem :
    mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    $ dmesg | tail
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    EXT4-fs (sda5): re-mounted. Opts: (null)
    EXT4-fs (sda5): re-mounted. Opts: (null)
    EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda10): Unrecognized mount option "iocharset=utf8" or missing value <<<<<<<<<<<<<<
    EXT4-fs (sda11): mounted filesystem with ordered data mode. Opts: (null)
    Adding 2104476k swap on /dev/sda7. Priority:-1 extents:1 across:2104476k
    tg3 0000:07:00.0: irq 44 for MSI/MSI-X
    Attempt 2: Changing all the locale features in KDE and in /etc/rc.conf as well.
    $ vim /etc/rc.conf
    LOCALE="fr_CA.utf8"
    HARDWARECLOCK=""
    TIMEZONE="America/Montreal"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    It is complicated to remove these directories. I had to use the inum to get precisely these directories before removing them.
    $ ls -il
    total 8
    1577566 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 1
    1577573 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 2
    $ find . -inum 1577566 -exec rm -i {} \;
    rm: impossible de supprimer « ./Probl\212me 1 »: est un dossier
    Note that the hypothetical character 'è' is represented has a '\212', a 'È' if seen as a extended ASCII character.
    These directories cannot be deleted this way :
    $ rm -r Problème\ 1
    rm: cannot remove `Problème 1': No such file or directory
    or
    $ rm -r ProblÈme\ 1
    rm: cannot remove `ProblÈme 1': No such file or directory
    What should I do to be make the operating system recognize those special character, and interpret them correctly ?
    Last edited by ramboman (2011-01-29 21:45:50)

    I found a working solution, but better solution are also welcome
    I had to have fr_CA not only in utf8 but also in iso88591. I had to modify the /etc/rc.conf this way :
    LOCALE="fr_CA" <<<<<<<<<<<<<<
    HARDWARECLOCK=""
    TIMEZONE="America/Montreal"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    To preserve the english US language system wide, I had to add the following line in the /etc/profile :
    # Allow french special character while in en_US
    export LANG=en_US
    The character misinterpreted by a "?" is now seen :
    as a "è" in dolphin
    as a "?" in the console
    It is now possible to access the folders.

  • New Hard Drive Does not exist!

    Hello, 
    I have an HP DV6 -3142 Laptop and recently after owning it for around a year, my hard drive seems to have crashed. When I try to boot up the laptop, it asks me to use system repair to "repair" my problem or start windows normally. Booting normally causes the laptop to be stuck at windos and revert back to booting up again (it's like a closed loop!). If i choose to "repair" I get stuck at a blue screen where the HP system recovery is supposed to help me either reset to factory settings or do a system restore. I also did a hard disk test in the BIOS and got an error 303. I had done a bit of research and from what i heard, It was a hard drive problem. I got a new hard drive (Samsung) and now when I try to install windows 7, It says that there are no devices to load windows 7 onto. In other words, the Hard disk does not exist (also did a test in bios). I tried to reseat the hard drive and reset BIOS, it didn't work. Now, when I try booting the new hard drive, it shows me a message saying "Media test failure: check cable".
    Any ideas on how i could go about fixing this problem?

    Welcome Larg.
    Sorry but it sounds like your new hard drive is DOA.
    If you have a SATA to USB I would hook it up to another computer and  test it that way.
    Or you may try to install it in another computer and see if you can test it that way.
    Sorry.
    REO
    HP Expert Tester "Now testing HP Pavilion 15t i3-4030U Win8.1, 6GB RAM and 750GB HDD"
    Loaner Program”HP Split 13 x2 13r010dx i3-4012Y Win8.1, 4GB RAM and 500GB Hybrid HDD”
    Microsoft Registered Refurbisher
    Registered Microsoft Partner
    Apple Certified Macintosh Technician Certification in progress.

  • Help with util.zip up files... does not work

    I am writing a program so my mum can zip up new photos she takes and then send them to me. The program creates a html file for the webpage plus a smaller version of her original photo and places them all in a 1 folder with a new name. Al this part works... I want to afterwards place my files in a zipped up folder that she can e-mail me with her normal client. How... I picked up this code on the net and have changed it to incoporate my parameters. The files which are created ..paths are (String in an String[]) I then send to my zipping method.
    The zip file is created but does not work when I try to extract from it ??? I also know that the String [] works becuse I have made a loop to check its properties at each index.
    what am I doing wrong?
    This is a modified code I found on the internet but with no author??
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.zip.ZipEntry;
    import java.util.zip.*;
    public class Test{
        private File zipDir;
        private String[] filename;
        public Test(String[] recivedFilename){
            filename = recivedFilename;
            try {
                ZipOutputStream zos = new
                        ZipOutputStream(new FileOutputStream("c:\\curDir.zip"));
                from,
                zipDir("c:\\batviapictures\\", zos);
                zos.close();
            } catch(Exception e) {
                //handle exception
        public void zipDir(String dir2zip, ZipOutputStream zos) {
            try {File
                zipDir = new File(dir2zip);
                String[] dirList = filename;
                byte[] readBuffer = new byte[2156];
                int bytesIn = 0;
                //loop through dirList, and zip the files
                for(int i=0; i<dirList.length; i++) {
                    File f = new File(zipDir, dirList);
    if(f.isDirectory()) {
    String filePath = f.getPath();
    zipDir(filePath, zos);
    continue;
    FileInputStream fis = new FileInputStream(f);
    ZipEntry anEntry = new ZipEntry(f.getPath());
    zos.putNextEntry(anEntry);
    while((bytesIn = fis.read(readBuffer)) != -1) {
    zos.write(readBuffer, 0, bytesIn);
    fis.close();
    catch(Exception e) {

    I make no guarantees that this will completely solve all your problems, but I just know these calls are needed but missing from your OP:
    try {
        ZipOutputStream zos = new
                        ZipOutputStream(new FileOutputStream("c:\\curDir.zip"));
                        from,
                        zipDir("c:\\batviapictures\\", zos);
        zos.flush(); // ADD THIS after all files have been written to the zos
        zos.close();
    } catch(Exception e) {
        //handle exception
    }And
    while((bytesIn = fis.read(readBuffer)) != -1) {
        zos.write(readBuffer, 0, bytesIn);
    zos.closeEntry(); // ADD THIS after each file is written to the zos
    fis.close();

Maybe you are looking for

  • K7N2 Delta L Won't Post

    Specs: MB - K7N2 Delta L FSB 400 CPU - AMD Athalon XP 2800+ Video - GeForce 2 MX400 (PCI) Hard Drive - (When attached)  Maxtor 160GB 7200RPM 8MB Cache RAM - Kingston 256 MB DDR400 CL2.5 (KVR400X644C25/256 PSU - AXIO 480W   3.3V - 28A +5V - 37A 12V -

  • Connecting MacBook to Sony Bravia LCD tv

    I really want to connect my MacBook to our tv to play region 1 dvd's and videos I've bought in iTunes. At the Apple Store they sold me 3 cables, 1 Mini-DVI to DVI connector, 1 DVI to HDMI cable and a cable for sound. I've got these both hooked up to

  • HP Pavilion dv7 doesn't start and I can't install operating system

    Product: HP Pavilion dv7-1125eo p/n: NA034EA#UUW I had Windows 8.1 Pro and I did a virus scan with Malwarebytes-program but I think that it completed before this and didn't find anything. I were also using Youtube and suddenly my computer turned off

  • Hiding url in JSP

    I have one little JSP application that is used to perform some test on user and based upon that test this application needs to load a different page that is on a different server and that page is just an html page. I need to hide url of the html page

  • Lens profiles not working well

    Very disappointed here. I was looking forward to the automatic lens  correction a la DXoin PS , but unfortunately it doesnt work very well. I tried all my lenses and none gets corrected by the included profiles to a satisfactory degree. My camera is