Swap header not found! on Hibernation

I have Arch installed on an Asus UX32VD and I want to use suspend to disk.
Unfortunaly I didn't create a swap partition so I tried it with a swap file.
Activating suspend to disk doesn't work. dmesg gives me the error "PM: Swap header not found!"
The swap file is at /var/cache/swap/swap0
filefrag -v /var/cache/swap/
Gives me the output:
Filesystem type is: ef53
File size of /var/cache/swap/ is 4096 (1 block, blocksize 4096)
ext logical physical expected length flags
   0       0  2629764               1 eof
/var/cache/swap/: 1 extent found
So I added "resume=/dev/sda2 resume_offset=2629764" to the kernel parameters
Have I forgotten something else?
Thanks a lot for your help
br DX

The argument passed to filefrag should be the actual swap file, not the directory that it is in:
filefrag -v /var/cache/swap/swap0

Similar Messages

  • [Solved]PM: swap header not found attempting to suspend encrypted disk

    Hi all,
    I have my root partition set up as a dm-crypt encrypted volume, and I followed the instructions here to set up a swap file.
    I also followed these instructions to add the resume hook to my mkinitcpio.conf between encrypt and filesystems.
    I modified the /etc/default/grub file like so:
    GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=/dev/disk/by-uuid/0cb6b266-ce81-4b2f-9958-722c788c46ef:cryptroot cryptkey=/dev/disk/by-uuid/18868ab9-e0dd-4634-9f9e-69f3d3686d3f:ext2:/laptopkey root=/dev/mapper/cryptroot resume=/dev/mapper/cryptroot resume_offset=4952064"
    I determined the offset using the swap-offset tool provided by the uswsusp package.
    And I ran
    mkinitcpio -p linux
    and
    grub-mkconfig
    When I type "systemctl hibernate" the system begins to hibernate, then comes back up immediately. Journalctl -xn gives this:
    Jan 08 23:38:57 lefty-laptop systemd[1]: systemd-hibernate.service: main process exited, code=exited, status=1/FAILURE
    Jan 08 23:38:57 lefty-laptop systemd[1]: Failed to start Hibernate.
    -- Subject: Unit systemd-hibernate.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
    -- Unit systemd-hibernate.service has failed.
    -- The result is failed.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Dependency failed for Hibernate.
    -- Subject: Unit hibernate.target has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
    -- Unit hibernate.target has failed.
    -- The result is dependency.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Service sleep.target is not needed anymore. Stopping.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Unit systemd-hibernate.service entered failed state.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Stopping Sleep.
    -- Subject: Unit sleep.target has begun shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit sleep.target has begun shutting down.
    Jan 08 23:38:57 lefty-laptop systemd[1]: Stopped target Sleep.
    -- Subject: Unit sleep.target has finished shutting down
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/9d1aaa27d60140bd96365438aad20286
    -- Unit sleep.target has finished shutting down.
    Jan 08 23:38:58 lefty-laptop kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
    Jan 08 23:38:57 lefty-laptop wpa_actiond[1017]: Interface 'wlan0' lost connection to network 'braains'
    Jan 08 23:38:58 lefty-laptop kernel: PM: Marking nosave pages: [mem 0x0009d000-0x000fffff]
    Jan 08 23:38:58 lefty-laptop kernel: PM: Basic memory bitmaps created
    Jan 08 23:38:58 lefty-laptop kernel: PM: Preallocating image memory... done (allocated 294215 pages)
    Jan 08 23:38:58 lefty-laptop kernel: PM: Allocated 1176860 kbytes in 0.22 seconds (5349.36 MB/s)
    Jan 08 23:38:58 lefty-laptop kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Jan 08 23:38:58 lefty-laptop kernel: e1000e 0000:00:19.0: setting latency timer to 64
    Then a bunch more stuff, then this:
    Jan 08 23:38:58 lefty-laptop kernel: PM: thaw of devices complete after 955.701 msecs
    Jan 08 23:38:58 lefty-laptop kernel: PM: writing image.
    Jan 08 23:38:58 lefty-laptop kernel: PM: Using 1 thread(s) for compression.
    PM: Compressing and saving image data (197765 pages)...
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 0%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 10%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 20%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 30%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 40%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 50%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 60%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 70%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 80%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 90%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving progress: 100%
    Jan 08 23:38:58 lefty-laptop kernel: PM: Image saving done.
    Jan 08 23:38:58 lefty-laptop kernel: PM: Wrote 791060 kbytes in 4.67 seconds (169.39 MB/s)
    Jan 08 23:38:58 lefty-laptop kernel: PM: S
    Jan 08 23:38:58 lefty-laptop kernel: PM: Swap header not found!
    Jan 08 23:38:58 lefty-laptop kernel: |
    Jan 08 23:38:58 lefty-laptop kernel: PM: Basic memory bitmaps freed
    Jan 08 23:38:58 lefty-laptop kernel: Restarting tasks ... done.
    Jan 08 23:38:58 lefty-laptop kernel: video LNXVIDEO:00: Restoring backlight state
    Jan 08 23:38:58 lefty-laptop laptop-mode[28617]: Laptop mode
    Jan 08 23:38:58 lefty-laptop laptop-mode[28618]: enabled, not active [unchanged]
    Jan 08 23:38:58 lefty-laptop laptop-mode[28622]: Laptop mode
    Jan 08 23:38:58 lefty-laptop laptop-mode[28623]: enabled, not active [unchanged]
    Perhaps the "PM: swap header not found" is not the primary error?
    Last edited by LeftyAce (2014-01-12 06:08:55)

    LeftyAce wrote:
    ROOKIE: which UUID do you use? If I list /dev/disk/by-uuid I get two results:
    total 0
    lrwxrwxrwx 1 root root 10 Jan 11 18:06 06f4c97e-fe09-45a8-a937-dedb6b18339b -> ../../dm-0
    lrwxrwxrwx 1 root root 10 Jan 11 18:06 a0eb0a15-6d5d-4df2-a0d3-6f7fb00885c6 -> ../../sda1
    I think one of them is the actual device, the other is the dm-crypt container? I guess I could try both...I'll report back.
    Usually I use the output of blkid to find out the correct uuid. The uuid to use for / or swap is the one pointing to one of /dev/dm*.
    LeftyAce wrote:For the record I am using resume=/dev/mapper/cryptroot. I think since the swapfile is a file not a block device in my case that's important. Since the encrypt hook runs first, that mapper volume is present and unlocked by the time resume comes around.
    In my case the same happens but for some reason it doesn't seem to work, and I've been procrastinating submitting a bug (I use hibernation very rarely and I know of a way that works).

  • Substitution HEADER not found

    DEAR GURUS,
    WHEN i POSTING IN MB1B   TCODE  309 MVT IT SHOWS ERROR "Substitution HEADER not found" .
    kINDLY CLEAR THE ERROR .
    SRITHAR K

    Dears ,
    I found.
    post goods issue
    Srithar K

  • I recently had to swap out my iphone 4s and I am having problems restoring photos and videos from icloud.  I get a message on my phone that says " the URL you are requesting is not found on this server".  Pics and videos have been deleted too.

    I recently had to swap out my iphone 4s and I am having problems restoring photos and videos from icloud.  When I restored my phone from icloud, half of my pics and videos have been deleted, the pics that were restored on my phone are very blurry, and the videos won't play.  I get a message on my phone that says " the URL you are requesting is not found on this server".  I have erased and reset my phone twice, but every time I do it, more pics and videos are deleted.  I have backed up to icloud and iphoto, however, some of the pics are no longer on iphoto either.  Is there someway to get the videos to play on my phone again?  Make the photos not as blurry as they are now and to restore the pics and videos that have been lost?  I really would love to have them back, this phone is supposed to be the best and right now it doesn't seem to be.  Please help if you can.

    I too have noticed that once i restored from iCloud. Pictures blurry and videos wont play!
    Need help too!!

  • Strange Console message: GetMenuRefTable not found in header

    I noticed many references to "GentMenuRefTable" in console.log. I did search this string in Google, but came up empty. Has anyone else seen this? Is this a problem? I think that only Apple's applications are writing this message, so I'm afraid it could be serious.
    <pre>
    Mail[266]: [FC] GetMenuRefTable not found in header
    Property List Ed[281]: [FC] GetMenuRefTable not found in header
    Property List Ed[281]: [FC] GetMenuRefTable not found in header
    Safari[301]: [FC] GetMenuRefTable not found in header
    Safari[301]: [FC] GetMenuRefTable not found in header
    Keynote[391]: [FC] GetMenuRefTable not found in header
    Keynote[391]: [FC] GetMenuRefTable not found in header
    Keynote[394]: [FC] GetMenuRefTable not found in header
    Keynote[394]: [FC] GetMenuRefTable not found in header
    Pages[398]: [FC] GetMenuRefTable not found in header
    Pages[398]: [FC] GetMenuRefTable not found in header
    Keynote[402]: [FC] GetMenuRefTable not found in header
    Keynote[402]: [FC] GetMenuRefTable not found in header
    System Profiler[467]: [FC] GetMenuRefTable not found in header
    System Profiler[467]: [FC] GetMenuRefTable not found in header
    System Profiler[494]: [FC] GetMenuRefTable not found in header
    System Profiler[494]: [FC] GetMenuRefTable not found in header
    iTunes[498]: [FC] GetMenuRefTable not found in header
    iTunes[498]: [FC] GetMenuRefTable not found in header
    iTunes[498]: [FC] GetMenuRefTable not found in header
    Property List Ed[527]: [FC] GetMenuRefTable not found in header
    Property List Ed[527]: [FC] GetMenuRefTable not found in header
    Finder[731]: [FC] GetMenuRefTable not found in header
    Finder[731]: [FC] GetMenuRefTable not found in header
    Finder[731]: [FC] GetMenuRefTable not found in header
    Finder[731]: [FC] GetMenuRefTable not found in header
    Console[1225]: [FC] GetMenuRefTable not found in header
    Console[1225]: [FC] GetMenuRefTable not found in header
    </pre>
    Macbook Pro   Mac OS X (10.4.8)  

    Hi, BanzaiMan. Welcome to the Discussions.
    I've not seen the GetMenuRefTable message and, like you, I've been unable to find any documentation for it.
    1. It's possible that the cause is related to some errant Startup or Login Item, perhaps some third-party code you've installed. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    2. Check asl.log (available under the /var/log list in the Logs list in Console) to see if there are any corresponding entries containing GetMenuRefTable. If so, the Level value will tell you if this is a problem.
    For example, the system.log message:
    Dec 17 10:24:10 PMG5 lookupd[435]: lookupd (version 369.5) starting - Sun Dec 17 10:24:10 2006
    has the following corresponding entry in asl.log:
    [Time 2006.12.17 16:24:10 UTC] [Facility netinfo] [Sender lookupd] [PID 434] [Message lookupd (version 369.5) starting - Sun Dec 17 10:24:10 2006] [Level 5] [UID -2] [GID -2] [Host PMG5]
    The time stamps are different as messages recorded in asl.log are posted in GMT (Zulu) time, not local time.
    The [Level 5] value indicates it is a Notice type message, i.e. a normal but significant condition, sort of a "strong FYI." Generally, messages with a Level of 5 or more can be ignored. The value of Facility may also provide more info concerning what is generating the message.
    Note that messages recorded in console.log may not have a corresponding entry in asl.log, but it's worth a look.
    Note that some of the information above is from the "System Logging"" appendix of my book, Troubleshooting Mac® OS X, Tiger Edition.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Header file 'dlfcn.h' not found

    Hi,
    I am trying to compile some dynamic library stuff in my application. I am getting the error "header file 'dlfcn.h' not found". I searched for the file dlfcn.h in directory "/usr/include" and "/usr/local/include" but unable to find the file.
    Please help me how to download this file?
    Thanks

    Hi header file........................etc
    You could make your own.
    Script is here;
    http://www.koders.com/c/fid7E0BB9E61334ACD4F547A739488E20E0F68C502E.aspx
    Just leave out the line numbers at the start of each line.
    regards roam

  • Error Occurred: PDF header signature not found.

    Receiving error on 2 different computers when trying to open pdf documents to print. One computer has Adobe Acrobat X and the other has Adobe Reader XL 11.0.05,
    Following is the error:
         Error Occurred: PDF header signature not found.
    What is causing the error and what changes need to be made to allow the documents selected to be opened?
    Thanks in advance,

    What software is issuing the warning or error?
    Is this form created in LiveCycle?
    That is the Adobe product that creates an XML form.

  • IHC errors valid clearing partner not found and no header details found while idoc creation after f110

    IHC errors :valid clearing partner not found and no header details found while idoc creation after f110
    Please let me know where the config is missing for ihc automatic payment program.in we02 status is not 53.
    Please help

    Hi
    Please share the error message in the IDOC.
    If the error message is IHC204 "No valid clearing partner was found", it may be due to the missing correct configuration in Set Up Creation of Payment Requests for Inbound IDoc in FI, which links the clearing partner, ALE logical system partner type and IHC account number.
    Cheers
    taro

  • Error:Administration header could not found for support message

    Hi All,
    we are creating the support message in CRMD_ORDER transaction. we are getting an error, "Administration header could not found for support message" while saving. And also it is coming out of the transaction.
    The transaction type is SLFN.
    Please advise.
    Regards
    kumar

    Did you find the solution to this error? I am also getting this error and need to solve the same. Can you please help?

  • Shared library: function is not found and recognized in header file

    Hello,
    I am trying to use Java methods into LV. I am doing so by creating Java Invocation Interface, usind which I can call Java methods into C++ and then create a shared library that can be called into LV.
    When I am importing my shared library into Labview, I am getting the following error messages:
    The shared library contains 3 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    jclass invokeJavaClass(JNIEnv* jenv, string className);
    The following symbols are not defined:
    jclass;
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    The following header file was not found in the specified header file or one of the referenced header files:
    -  string
    -  iostream
    -  cstring
    -  jni.h
    To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list.
     Please advise.
    Regards,
    H
    Attachments:
    SharedLibError.png ‏51 KB

    Hello Vivek,
    The LabVIEW dll that I am trying to import does not include any third-party device..all my code is fully based on LabVIEW. Maybe this helps you to guess what is happening: once I've parsed the dll' header appears an error
    like this one:
    void
    __cdecl Zdmt(LVBoolean *stop, double P, char channelName[],
        TD1
    *errorIn, TD14 *FFTOptions, TD12 *Calibration, char FileName[],
    int32_t minRecordLength, TD26 *InstrumentHandler, LVRefNum
    sessionRefArray[],
        LVRefNum *queueIN, TD1 *errorOut, LVBoolean
    *averagingDone,
        HWAVES LastRecordFetched, TD24 *Impedance, TD17
    *ColeColeCluster,
        TD18 *FFTcluster, TD5
    *InstrumentHandleOutputCluster, LVRefNum *queueOut,
        int32_t
    *Acquired, TD6 *FreqTimeInfoCluster, double *averagesCompleted,
    int32_t len);
    The following symbols are not defined:
    LVBoolean;
    int32_t; LVRefNum;
    Undefined symbols can prevent the wizard
    from recognizing functions and parameters. To correct this problem,
    check the header file to determine if you must add predefined symbols.
    Click the Back button to return to the previous page of the wizard to
    add a preprocessor definitionsl (for example, "NIAPI_stdcall =
    __stdcall" or "NIAPIDefined = 1").
    The following header file was
    not found in the specified header file or one of the referenced header
    files:
    -  extcode.h
    To fix, click the Back button to go to the
    previous page and add the header file path to the Include Paths list.
    I have replaced the first line #include "extcode.h" of
    the dll header file for #include "C:\Program Files\National
    Instruments\LabVIEW 8.6\cintools\extcode.h" that is the full path where
    the header file is located. However, new libraries seems to be missed:
    -  stdint.h
    -  MacTypes.h
    As far as I know,  Mactypes.h contains basic mac os data types and it doesn't have any relation with stdint.h...
    I have created both of them and stored into the same folder as extcode.h, but then other libraries are missed!!!
    Do you know if it would be possible to create the .dll generating all the header files associated for its data structures???
    And if this is not factible, then what do you suggest me? because I hope to not having to create all the header files until it stops giving me an error!
    thanks for four time,
    ben

  • Integrating Google Maps in Oracle Apex and 404 Not found error page

    Currently using APEX version 3.2.0.00.27 installed in OracleXE version 10.2.0.1.0. Have been attempting to recreate some examples of Google Maps within APEX. Found a nice set of examples here that build up to what I'm looking to ultimately do by incorporating google maps into APEX:
    http://blog.whitehorses.nl/2009/10/04/integrating-google-maps-in-oracle-apex/
    Unfortunatly, I'm getting the "404 Not Found, Not found, The requested URL /apex/wwv_flow.accept was not found on this server" page when I try to recreate the "Map with Search" example. I'd like to see if this really works using the html input and button tags in the body/region source versus creating APEX items to pass the address values to the javascript in the html header of the apex page. I'm thinking it's just an html thing within APEX that you have to do it a certain way, but I haven't managed to hit that magic combination. have gone to the google maps api v2 and looked at the html they use (it's what these examples with apex are based on) and tried that just to see. Same 404 result.
    I've seen suggestions at this forum and elsewhere that the 404 error is due to a bug. have been to metalink, and really haven't seen anything that spells out what the bug is and how to patch it or work around it. May be I just haven't found the right note/doc yet. have seen suggestions to change something associated with the Anonymous account that APEX uses. Have turned on authentication in the application to use an APEX user account with a logon page to the application. Still get the 404. Although, I have not adjusted anything elsewhere, like a DADS config file, because the apex/xe configuration is using the plsql gateway. Not sure of any procedure for changing settings on anonymous account when using plsql gateway.
    Open to suggestions. APEX 3.2 is customer version, so going to 4 may not be an option yet. XE, on the other hand, can certainly be swapped for an 11g version standard or enterprise edition if need be. I don't think this is a db version problem though. I think it's more on the APEX side of things.
    Anyway, any help or suggestions are appreciated.
    thanks
    rtp
    Edited by: RTP on Jun 24, 2011 10:30 AM

    Hi I have the same problem.... if you found the solution, please put it here to see it... I need a solution to this its urgent!!
    Thanks!!

  • Localized string not found & menu will not display in Vista

    I have had an issue since late version 3 on my Vista Home Premium PC, when I installed a new copy and started seeing no menu, and the bookmarks and right-clicks respond with "Localized string not found..."
    I have tried the cleanup in a previous message in this forum - to delete the safari folders c:\users\xxx\appdata\Local\ - once I reinstall the current version, I have the same issue. I see the previous query was closed, or I would have replied to that.
    I am testing software for a web-based application, and we support Safari, so this is pretty important that we solve this - though I would be happy as a clam to drop support for Safari on the PC - that likely isn't going to happen. I have had no such issues on my G4 running OSX 10.4.

    Thanks!
    Okay ... I suspect that one of the en.lproj folders (English language resource files) for your Safari or your Apple Application Support has been blown up. So we'll try swapping out both your Safari and your Apple Application Support, taking a few other explicit precautions along the way, just in case. Best to print out a copy of these instructions, because at one stage of proceedings you won't be able to use a web browser.
    First download and save a copy of the SafariSetup.exe (installer file) from the Apple Website. Don't run the install online and don't start the install from the SafariSetup.exe just yet.
    http://www.apple.com/safari/download/
    Quit iTunes and/or QuickTime if you have them installed and running. (They both use Apple Application Support and can interefere with the Apple Application Support uninstall if you have them running.
    Now head into your "Uninstall a program" control panel. Uninstall safari. Uninstall Apple Application Support.
    (If you get any error messages during the uninstalls, halt proceedings and post back to let us know what they say. Precise text, please.)
    Next, we'll clear away any leftover program folders and files.
    Go "Start > Computer".
    In "Computer", open "Local Disk C:" or whichever drive your program files are installed on.
    Open the "Program files" folder.
    Right-click on the "Safari" folder (if it still exists) and select "Delete".
    Open the "Common Files" folder.
    Open the "Apple" folder.
    Right-click on the "Apple Application Support" folder (if it still exists) and select "Delete".
    Empty your recycle bin and restart the PC. (If iTunes is installed on the PC, you'll probably receive a message at this stage saying that iTunes will not run because Apple Application Support is missing. Click through the message.)
    (If you get any error messages during the program files/folders deletions, halt proceedings and post back to let us know what they say. Precise text, please.)
    After the PC restarts, do not open any applications. Disconnect from your network and/or the internet. Now shut down all your security software (firewall, antivirus, antispyware).
    Now start the Safari reinstall by doubleclicking the SafariSetup.exe you downloaded earlier. (This should also reinstall Apple Application Support.)
    Reenable all security software prior to reconnecting to your network and/or the internet.
    Did the reinstall go through okay? If so, do you have your Safari right-click contextual menus back again?

  • [SOLVED] Device not found and kernel panic

    Hi,
    I'm having an issue with the kernel. I get this weird error while booting:
    Booting the kernel.
    :: running early hook [udev]
    :: running hook [udev]
    :: Triggering uevents...
    ERROR: device '' not found. Skipping fsck.
    ERROR: Unable to find root device ''.
    You are being dropped to a recovery shell
    Type 'exit' to try and continue booting
    sh: can't access tty: job control turned off
    [rootfs /]# _
    I don't have the slightest idea what to type in that shell, so I exit (^D) and get an error with its shell, another one and finally a kernel panic. Do I have to report the other two error as well? I think this might be related to a recent change in my syslinux.cfg. I wanted to add hibernation cabability to my arch, so I added "resume=/dev/sda2" (my swap) to kernel options. It should not yield such a result though. As a matter of fact, I get it even if I remove that parameter at runtime. For now, I managed to boot with Fallback Initramfs.
    Here is syslinux.cfg, as well:
    # Config file for Syslinux -
    # /boot/syslinux/syslinux.cfg
    # Comboot modules:
    # * menu.c32 - provides a text menu
    # * vesamenu.c32 - provides a graphical menu
    # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
    # * hdt.c32 - hardware detection tool
    # * reboot.c32 - reboots the system
    # * poweroff.com - shutdown the system
    # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
    # If /usr and /boot are on the same file system, symlink the files instead
    # of copying them.
    # If you do not use a menu, a 'boot:' prompt will be shown and the system
    # will boot automatically after 5 seconds.
    # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
    # The wiki provides further configuration examples
    DEFAULT arch
    PROMPT 1 # Set to 1 if you always want to display the boot: prompt
    TIMEOUT 50
    # You can create syslinux keymaps with the keytab-lilo tool
    #KBDMAP de.ktl
    # Menu Configuration
    # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
    UI menu.c32
    #UI vesamenu.c32
    # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
    MENU TITLE Arch Linux
    #MENU BACKGROUND splash.png
    MENU COLOR border 30;44 #40ffffff #a0000000 std
    MENU COLOR title 1;36;44 #9033ccff #a0000000 std
    MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
    MENU COLOR unsel 37;44 #50ffffff #a0000000 std
    MENU COLOR help 37;40 #c0ffffff #a0000000 std
    MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
    MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
    MENU COLOR msg07 37;40 #90ffffff #a0000000 std
    MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
    # boot sections follow
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/disk/by-uuid/dc891acc-9ff7-4d95-bba4-bc2e502301e7 ro
    APPEND resume=/dev/sda2
    INITRD ../initramfs-linux.img
    # (1) Arch Linux Fallback
    LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/disk/by-uuid/dc891acc-9ff7-4d95-bba4-bc2e502301e7 ro
    INITRD ../initramfs-linux-fallback.img
    # (2) Windows
    #LABEL windows
    #COM32 chain.c32
    #APPEND hd0 0
    LABEL hdt
    MENU LABEL HDT (Hardware Detection Tool)
    COM32 hdt.c32
    LABEL reboot
    MENU LABEL Reboot
    COM32 reboot.c32
    LABEL off
    MENU LABEL Power Off
    COMBOOT poweroff.com
    Any ideas?
    Thank you,
    rubik
    Last edited by rubik (2012-07-22 10:03:59)

    Also, don't use "root=/dev/disk/by-uuid/...", that's just wrong. Udev kicks in after the bootloader phase.
    https://wiki.archlinux.org/index.php/Sy … nux_Config
    Here's mine:
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff ro quiet vga=current
    INITRD ../initramfs-linux.img
    And don't forget to mark it as solved.

  • CSS 8.3 in Win7 won't launch - error re: css_admin.exe Entry Point not found... Help

    New install of Win7 / all Win7 drivers installed & working
    Except... during launch of CSS 8.3 (w & w/o patch installed - tried both ways), an error window pops up with:
    css_admin.exe - Entry Point Not Found (title bar)
    (Red X in window)
    The procedure entry point
    ??0LocalFileFormatTarget@xercesc_2_7@@QAE@QBQAVMemo
    ryManager@1@@Z could not be located in the dynamic link
    library xerces-c_2_7.dll.
    ?? What is all this stuff mean ??
    (the underscore is NOT present in the window, by the way...)
    HELP!  Anyone have ANY idea what the above lingo is re CSS and why it won't launch without popping up a window with this error, whatever it is??
    I'm days into this reinstall and this is my "last" hangup / called support and they won't touch it since i didn't BUILD it with Windows 7 from them... just don't get this mindset.  Only spent 5 digits (around $20,000 +) with Lenovo so far last year / may be the last dollar - I've run into many issues with support lately, for one the T61p I have has had 2 sys boards swapped, processor, 2 keyboards (after "loose screws from sys board swap" were found rolling around inside - yes, loose) among many other issues / only TP I've ever had issues with / want to stay with them, but if I have to fight city hall to swap out a lemon, heading out into the wild blue.

    Try the following user tip:
    iTunes for Windows 11.1.4.62: "The procedure entry point: ?videoTracks@QTMovie@ [...] could not be located ..." error messages when launching iTunes

  • [Solved] - Root device not found - Unable to boot!

    Before posting links to other threads or to the pacman/mkinitcpio wiki page please go through the following.
    I know that many others are facing a similar problem, but I am posting this after spending 8+ hours (in 2 days) trying to get my system to boot.
    And worst of all I don't have a working CDROM so I have to boot via an iso on a pendrive which is very frustating.
    The exact message I get after the GRUB menu is:
    ERROR: resume: hibernation device '/dev/sda3' not found
    ERROR: Unable to find root device '/dev/disk/by-uuid/...'
    You are being dropped to a recovery shell.
    Type exit to try and continue booting
    Now I have already tried the following, by chrooting into my system:
    1. As per the pacman wiki page, boot via live arch, chroot and run full upgrade. Then reinstall udev followed by mkinitcpio and then remake the image.
    2. Downgrading to linux-3.3.4-2, udev-182-2x86-64 and mkinitcpio-0.8.8-1
    3. Rearranging hooks in mkinitcpio.conf (usbinput before udev), and adding ext4 to MODULES array. Done this in both downgraded version and new kernel version (3.3.8-1)
    After trying various permutations and combinations, I have failed and haven't been able to get past the first 8 lines after the grub menu.
    An important point to note:
    I had used the --force switch for 1 more package other than filesystem while updating which I don't remember now. I had to use it because some packages had gotten corrupted while downloading and I had to upgrade in parts. Also at no point during any of these trials did I get an error while rebuilding the initrd image.
    If I remove the resume hook in /etc/mkinitcpio.conf then the first line "ERROR: ... " changes  saying that "no hibernation device specified".
    Please suggest anything if you can!
    Last edited by theta (2012-06-15 15:44:15)

    ewaller wrote:
    Do you know the partition that is supposed to be your root partition?
    Grub cannot find it by its UUID.   Reboot, at the grub menu, highlight the kernel you want to boot, and press 'e'.  You are dropped into a simple editor which will allow you to change the boot command.  Replace references to /dev/disk/by-uuid/... with /dev/sdan, when n is the root partition number.
    One other possibility.  Does your system have multiple drives?  Any chance the BIOS could be swapping them ?  (On second thought, that would not break UUID, But... it is something to be aware of using the technique I proposed)
    If you do not know the partition arrangement, use that limited recover shell you mentioned to go look around and determine it.
    Hmm, Thanks for this advice but I can't help saying that I'm not a noob .
    Somehow the problem resolved itself with the new kernel update which came about half an hour ago (3.4.2-2). Suppose it will remain a mystery now!

Maybe you are looking for

  • Can not locate driver download page.

    Can not locate driver download page. Officejet Pro 8500 A909a MS Vista Ultimate 64 Bit. When using my Linux PC to try and locate drivers for another PC, the website just keeps sending me in circles and never displays the drivers to download.  Seems l

  • Close Front Panel

    Is there a way to close the VI front panel from inside the VI? I can trigger an exit of LabVIEW itself, but can't find an event to close the front panel. Thanks.

  • Save for web in CS5

    I bought a new computer that runs Windows 7 and this forced me to purchase a new version of Illustrator. I previously used CS4 and now I'm using CS5. In the old version I would do the following. 1. Open a new Illustrator document with the artboard 8.

  • Can't send and open photos

    I've noticed that I can't send any photo and I can't see any photo on my computer. Every time someone send me something, I have to open the file on my phone (android), similarly when I want to send something. How can I fix it?

  • Oracle  -- Run_Report_Object

    Hello: Is there a document on what are the valid combination of system parameter values that are valid in 10G? We like to give an option to run a report from a Form with an Destination type of "Email". Are there any ways this can be achieved from the