How to avoid long EFI wait before GRUB?

Following the instructions for Single-Boot: Ubuntu Only on https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation I have successfully installed Ubuntu 10.04.3 Server LTS on my old Apple MacPro. Everything seems to be working just fine, except one tiny problem - it boots too slowly.
https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation states:
Avoid long EFI wait before GRUB If your Macbook spends 30 seconds with "white screen" before GRUB shows, try booting from your Mac OS X install disc, select language, then click Utilities->Terminal, and enter:
bless --device /dev/disk0s1 --setBoot --legacy
Assuming that the bootloader is on sda1, otherwise /dev/disk0s2 if it's on sda2, etc.
https://wiki.archlinux.org/index.php...it_before_GRUB
But the problem in my case is that I do not have Mac OS X install disc and not usre if Apple gives such disks for the systems which are already out of waranty.
I wonder is there any other way to avoid this long EFI wait before GRUB?

Several ways to do this:
If you're getting several measurements, you could have the instrument generate an asynchronous interrupt (an "SRQ" in GPIB terms), then collect the data in response to the SRQ callback.  While you're waiting for the SRQ's, you can have your main thread running the interface so responsive GUI.  You don't have to spinlock on the GPIB read waiting for instrument data.
Or, as you mentioned, you could spawn a thread to manage the measurements, and use a timer in the main thread to periodically allow you to check the status of the measurement thread.  Again, the main thread mostly just runs the user interface.
Either way, the idea is to keep the main thread freed up most of the time to run the GUI, and have it periodically check for completion of your measurement sequence.  While you're waiting in the main thread, you may want to make sure the user can't inadvertently re-trigger another measurement sequence until the active one is complete.
If you do find yourself doing a dead wait, you'd want to break this up into a series of shorter waits, and in between each wait, do a ProcessSystemEvents from the main thread to keep the GUI active.
Menchar

Similar Messages

  • How to avoid long user interface response time in long measurements ?

    Hi
    I tried to find more information regarding techniques how to avoid long user interface response times in case of extremely long measurement times with an external instrument communicating over GPIB, so I post this hoping to get some hint or a link to a guideline. I guess this is quite normal problem.
    Problem is that when I want to measure long time in order to get an average result from the instrument, I have to wait until the result is returned from the instrument. Obviously that makes the user interface response very slow in traditional technique. 
    My restriction is the old GPIB 488 instrument driver that I would not want to modify, but I have source code to it.
    What would be the best way to improve the response time for user interface ? I have looked into the few things:
    * multithreading
    * callback in main program for GPIB events
    * modifying instrument driver e.g. to support VISA and creating a VISA callback
    regards,
    Petri

    Several ways to do this:
    If you're getting several measurements, you could have the instrument generate an asynchronous interrupt (an "SRQ" in GPIB terms), then collect the data in response to the SRQ callback.  While you're waiting for the SRQ's, you can have your main thread running the interface so responsive GUI.  You don't have to spinlock on the GPIB read waiting for instrument data.
    Or, as you mentioned, you could spawn a thread to manage the measurements, and use a timer in the main thread to periodically allow you to check the status of the measurement thread.  Again, the main thread mostly just runs the user interface.
    Either way, the idea is to keep the main thread freed up most of the time to run the GUI, and have it periodically check for completion of your measurement sequence.  While you're waiting in the main thread, you may want to make sure the user can't inadvertently re-trigger another measurement sequence until the active one is complete.
    If you do find yourself doing a dead wait, you'd want to break this up into a series of shorter waits, and in between each wait, do a ProcessSystemEvents from the main thread to keep the GUI active.
    Menchar

  • When doing a full battery discharge, how long to wait before recharge?

    I use my 17" MBP as a desktop computer. Never need to travel anywhere with it, and never need to use it on battery. But I know that to maintain the health of the battery, it needs to be used. So I'd like to know the following:
    1. Apple tech support informed me that when I fully discharge the battery, I should keep it in that fully discharged state for six hours before recharging it. This is quite inconvenient, as it requires careful planning to ensure one won't need the computer for six hours when the battery runs out. Which causes me to do full discharges less frequently than perhaps I should. Does one really need to wait six hours to get the benefit of the discharge? Or can one plug the power adapter in immediately when the discharge is complete, so as to be able to keep using the computer?
    2. Some Apple staff say one should ALWAYS use the computer on battery. And only use the power adapter as a battery charger-- i.e. don't use the power adapter routinely to power the computer. Only plug in the adapter when you need to charge the battery. Is this true?

    Thanks to both of you.
    @eww: Yes, there was another question in my mind which both you as well as the thread you referenced, address: the need to use the battery frequently but lightly. This is a new concept for me, and I did not get guided at all in this direction by the tech support staff at apple. So reading the info you've given and referenced, it sounds like the best usage is frequent, partial use of battery. And recharging each time, before it is fully discharged. With full discharge and recalibration only once every 2-3 months.
    Two different tech support people at Apple told me that whenever I do use the battery, I should use it all the way down. Do not do partial usage. And it was one of the tech support staff in the Apple Store in Annapolis MD, who told me that I should ALWAYS use the battery. There was no misunderstanding; I spoke to him for about regarding related points on battery usage. And if you ask the tech support staff how often calibration should be done, you'll get different answers every time. One told me every week, another told me every month, another said he wasn't certain what the best schedule was.
    If you still have access to free tech support, do an experiment-- call the tech support line 4 or 5 times, and ask the same question each time: optimal strategies for battery maintenance, for someone using a MBP as a desktop. I did this 5-6 times in attempt to find out the best approach, and got different answers every time. And NONE of the staff gave type or detail of information which was provided in the reference you gave.
    So thank you very much for your help. You have made the matter really clear!

  • How long to wait before watching movie download on apple tv?

    Just purchased a tv season, then tried to play the pilot episode. It stopped 2 minuted in... Just froze. Eventually it returned To the apple scrolling pictures.
    So I then proceeded back to the episode, pressed start at the beginning (instead of resuming) worked great... Until about 5 minutes in. Freeze Again!
    So... How long should I need to wait to start playing the video so that it WON'T freeze?

    If it isn't in the Rentals category in the Movie menu, check the purchases history in your iTunes account and see if it's there. If it isn't, you might try one more time and see if it works.
    If not, you might want to contact iTunes store support. I had a problem a few months ago with my purchases not completing because of database corruption in the iTunes store that was affecting my account.

  • How to get siri to wait before ending dictation.

    I will create a note or imessage and can only have it take one line. If I say two sentences fast with a period in the middle it will take that but then will send the second sentence often before I finish it.
    Why is Siri not taking multiple sentences? Is there a setting that needs to be changed?
    Other posts say to press the mic on the keyboard that pops up. No keyboard pops up when you press and hold for sire and say create imessage or note, etc.

    One thing I have found on youtube is if you put the phone up to your face like your making a call, it takes multiple sentences fairly easily. When I do the same exact thing with it standing up on the desk it refuses to take more than one sentence. Is there any way to fix this where I can have it rest on the desk for the dictation?

  • How many days have you waited for approval?

    I have waited for 10 days. Still "Not on 32 stores" status for all the books I uploaded.
    How many days have you waited before you get your books approved? Does the status ever changed to say "Under Review"? Will you received an email when your book get approved?
    Thanks!

    OK, I finally have 1 book - out of 8 submitted approved. So I finally have answers to my questions - hope it help others too!
    How many days have you waited before you get your books approved?
    - in this case, about 11 days. Would say 2 weeks is a good bet.
    Does the status ever changed to say "Under Review"?
    - no. It just turned the red ligh to green, and show "On 32 stores".
    Will you received an email when your book get approved?
    - no.
    Now I still looking for the answer of: can the book get updated once approved? I just submitted a major revision (and grow the book from 70+ pages to 100+ pages) and see whether this will get updated. It goes through fine in iTunes Producer.

  • HT1657 How long do I have to wait before I can rent a movie

    How long do I have to wait

    You don't need to wait at all before you can rent a movie.
    If you mean how long have you got to wait before you can watch it, that's very much depends on your Internet connection speed.
    The first thing to check would be your internet download speed, you can do this at www.speedtest.net.
    For instant viewing 1080p HD movies require a recommended speed of 8 Mbps, 720p HD movies require a recommended speed of 6 Mbps, while SD movies require a recommended speed of 2.5 Mbps.

  • I AM TRYING TO DOWNLOAD MUSIC FROM I TUNES TO MY NEW IPOD BUT I KEEP GETTING "APPLE ID HAS BEEN DISABLED."  HOW LONG DO I NEED TO WAIT BEFORE IT'S "ENABLED" AGAIN?

    i am trying to download music from i tunes to my new ipod touch but i keep getting the message "apple id has been disabled."  how long do i need to wait before it's "enabled" again?  or what can i do to "enable" it again?

    Have you tried the links on this page http://www.apple.com/support/appleid/ ?

  • HT4479 How long do i have to wait befor my face time is active

    How long do i have to wait befor my face time is active

    Hello SassyMurad,
    Thank you for the details of the iMessage issue you are experiencing.  I recommend following the steps in this article when you are not able to activate iMessage on your iPod touch:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I dropped my iphone 5 in the toilet about 3 hours ago, I've had it in a bag of rice since. I tried turning it on, but nothing. How long should I wait before i go get a new phone?

    I dropped my iphone 5 in the toilet about 3 hours ago, I've had it in a bag of rice since. I tried turning it on, but nothing. How long should I wait before i go get a new phone?

    If water drained out of your phone when you pulled it out of the toilet it is most likelyh dead.  Stop trying to turn it on or plugging it in.  You really need to put it in a bag of rice for 3-4 days and just leave it alone.  It will take that long to get it totally dry to see if it is going to come back to life.
    Good luck, but since you tried to turn it on, and plugged it in while it was probably still wet inside I would not count on it surviving.

  • How long need to wait before apple developer program (personal) become activated?

    Hi,
    I received the payment confirmation email after purchasing the Apple developer program 6 hours ago.
    But the developer program is not activated yet. My apple ID: [email protected]
    How long need to wait before apple developer program (personal) become activated?
    Thanks

    Check your enrollement status by going to https://developer.apple.com/membercenter/
    If you still cant get in after 24 hours contact apple at https://developer.apple.com/contact/

  • How many updates can be released before I can no longer update??

    I am on iOS 6.1.3 and do not want to update to iOS 7 because I don't like it. My friend has an iPod touch 4, he has obviously missed a few updates and now he can no longer update and he is stuck on iOS 3.1.1. I was wondering how many updates must be released before I can't update my iPad any more. I will eventually update to iOS 7 but I don't want to wait to long and then I can't update at all!!! So does anyone know how many updates I can miss??

    - Corza - wrote:
    My friend has an iPod touch 4, he has obviously missed a few updates and now he can no longer update and he is stuck on iOS 3.1.1.
    Your frlend can always update the latest version supported by their device, which is iOS 6.1.3. What they can't do is update to anything before that.
    The same is true of your iPad. You will always be able to update to the latest version (currently iOS 7.0.3) but not anything before that. What that means is that your choice is to stay with iOS 6.1.3 or update to the current version.

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How to avoid the long time consuming process of settlement on periodic basi

    For investment Project(purpose of capitalisation) related expenses We would like to show it  Directly in Balance Sheet rather than P/L  A/C.Whether it is feasible or not?as per one of consultant it will be first hit the p/L and after settlement it will only be shown in B/Sheet.So how to avoid the long time consuming process of settlement on periodic basis.

    Hi, could you write down an example? And what you mean by investment project-is this an WBS?

  • How long BPM wait for an transport acknowledgement

    I have a send step with transport acknowledgement. When receiver system is not available adapter tries 3 times to deliver a message but my BPM has still a status "in work".
    How long BPM wait for an transport acknowledgement? Can I configure it? Will this BPM cunsume system resorces?
    What is the best strategy for work with transport acknowledgement?

    > You can add a deadline branch
    I don't like this approach... because I can change amount of attempts  and period. My BPM will be stopped but message could be delivered later... It will be diffucult to support dedline period in all business process

Maybe you are looking for