[SOLVED]Hanging after booting from installation media

Yesterday I booted from a rw-DVD got to the terminal and could execute commands, connect to the internet and use elink etc no problem. I didn't go through with installation as I wanted to read up more on partitioning my drives for dual booting before actually doing so.
Trying the same thing today, and it hangs soon after I boot, regardless of whether I do anything. Printing the following:
nouveau E[ DRM] failed to idle channel 0xcccc0000 [DRM]
pci_pm_runtime_suspend(): nouveau_pmops_runtime_suspend+0x0/0xf0 [nouveau] returns -16
INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 1, t=18002 jiffiess, g=974, c=973, q=604)
This is without me typing anything. If I try to execute a command quickly after booting it sometimes works, but after a couple of minutes it will complain of a soft lockup.
I've tried burning another disk, and using a USB installation media, but the same thing happens. Any thoughts?
Edit: Trying to run it on a laptop with i7-4700MQ, 16GB ram, and Intel(R) HD Graphics 4600 / NVIDIA GeForce GTX 770M
Second Edit: Booted with nomodeset, which worked and allowed me to install. Just trying to sort out the sodding boot loaders now...
Last edited by glfharris (2014-07-11 22:42:31)

Welcome to the forum.
First of all, you should get in the habit of using [ code ] tags when posting code, not [ quote ] tags (well, unless you want to apply some styling to it, like bold, italic, etc).
This is wrong:
# umount /dev/sdc
This is correct:
# umount /dev/sdc1
You were trying to unmount the drive as a whole, which obviously isn't mounted, instead of the first (and probably only) partition. Had you followed the advice from the note to use blkid and check if it's mounted, this wouldn't have happened. But the fact that a DVD produced that error puzzles me... I have no experience with UEFI, but I think you need to press F10, F11, or something like that, to able able to get to a UEFI boot menu, and choose the optical unit as source.
I hope you used a BitTorrent client when downloading the ISO, and not some direct link (which are prone to CRC errors). If you used a direct link, then check the MD5 and make sure that it matches the one from the Download page. For future reference, torrents are checked while they're being downloaded.

Similar Messages

  • Win 7 pro installed on hp touchsmart 320-1030, the machine cannot boot from installation DVD. Assist

    I have installed Win 7 professional on hp touchsmart 320-1030 with an OEM DVD to overwrite Win 7 premium  preinstalled from factory.
    I want to reboot the machine with the same DVD after completing the installation, to test for possibility of reimage in case of crash. Although in bios, I specify cd\dvd as firts boot media,  the machine cannot boot from installation DVD.  I have 20 machines that behave this way. Can anyone assist?
    Note: I had to delete all partitions on the PC before doing a fresh installation of Win 7 pro as Premium can not joing domain.

    Hello,
    So, you installed Window 7 Pro with a DVD, you boot with it to install the O.S, and now it does not work?
    Have you tried to load the BIOS default values or even updating the BIOS?
    If it had work before, cant understand why it does not work now...
    Let me know.
    Thanks,
    I work for HP! Please remember to provide and if this helped click ON

  • Disk Utility broken while booted from Installation CDs??

    Situation: I have a Macbook Pro with a 120 GB HDD. I had partitioned it into two partitions, and later desired that I should have only one partition on the drive. I booted the Mac OS X installation CDs and attempted the following three-step procedure:
    1. Use Disk Utility to image my system partition into a file on an external USB drive
    2. Verify the image and repartition ("Erase") my laptop's internal HDD
    3. Restore the disk image from the external HDD to the laptop's HDD.
    I made it to step 3 without issue. So currently I have one unbootable Macbook Pro, an 85 GB image of a system partition on a USB HDD, and a perfectly bootable Intel Mac Mini from which I'm writing this post.
    Problem: Disk Utility doesn't seem to be able to restore images when booted from the Installation CDs. On the 'Restore' tab there are two fields you must fill in, a 'source' field and a 'destination' field. The source field has a button where you can summon a very helpful file-picker, and it pulls up my disk image from my USB drive just fine. However, the destination field can only be filled in by clicking and dragging a drive from the left panel in Disk Utility.
    However, it seems impossible to do this while booted from the Installation CDs. When I attempt to click and drag a disk from the left panel list, all I end up accomplishing is selecting multiple items from the list. To make a visual illustration:
    Instead of this, like I get when I try it on my mac mini booted normally:
    http://upload.pbase.com/silentplummet/image/72221384.jpg
    ...I get this, which is a photo of my macbook pro booted from the installation CDs:
    http://upload.pbase.com/silentplummet/image/72221397.jpg
    There doesn't seem to be any way to actually select a destination drive. If I had to hypothesize, I would guess that the GUI is crippled when you boot from CD and click+drag is deactivated. But that appears to make it impossible to restore images since the only way to select destination drives is by clicking and dragging.
    Now I am a college student; I'm not really losing revenue or anything over this, but this is an awful oversight on Apple's part and I am stuck on what to do about it. There is no documentation that says "Restore functionality is crippled in Disk Utility when booting from installation CDs." Here are the steps I have tried for an alternate solution:
    -Commandline diskutil. Unfortunately Apple has crippled it and there appears to be no imaging functionality whatsoever.
    -Mount the image manually and cp the files back over. Unfortunately I can't make it preserve permissions. I passed the right options to cp but it just won't do what it's supposed to. I tried copying it anyway and using Disk Utility to repair the permissions, but it still wouldn't boot.
    -Call Applecare. The support rep was kind and helpful but couldn't offer a solution. The higher-ups fed me some BS about not supporting third party applications, well, I hardly think Disk Utility constitutes a third party application.
    My next step is to boot the MBP in target disk mode and use my mac mini to restore the image to the MBP HDD, but I have to buy a firewire cable for that and I don't really want to.
    Seeking: acknowledgement that Disk Utility is broken and Apple *****, or otherwise immediate solutions to restore the image to my HDD that do not constitute monetary expenditures on my part.
    Macbook Pro 15" 2.0 GHz Mac mini 1.5   Mac OS X (10.4.6)  

    Others have (in the Mac Pro forum) noticed this bug in Disk Utility on the Intel version install disks. Your easiest fix would be to reinstall OSX on you Macbook disk, boot it, mount the disk image from the USB drive, and use the Migration Assistant to copy over all your accounts and data files.

  • Booting from external media on S8-50

    I am attempting to install proper GNU/Linux on my S8-50. The hardware should work well for this, but I can't find a way to pop up a boot menu or otherwise get it to boot from different media. This capability should be a no-brainer for any computer, but seems to be sorely lacking these days.
    I've done a good share of exploring, but to no avail. Holding volup while powering on doesn't appear to do anything. Holding voldown boots me into an Android recovery shell which is already past where I really want to be. VolUp+Down puts me into the firmware's "FastBoot" mode, but it doesn't appear to actually work to flash partitions (say ESP).
    On boot, the EFI firmware seems to only momentarily power the USG OTG port. Even using efibootmgr to set the next boot to be setup menu or efi shell, the usb port isn't configured to accept keystrokes. Adding EFI entries to boot from mmcblk1/Controller(1) or adding a partition/path onto mmcblk0/Controller(0) also fail to boot.
    Rather than full-speed-ahead overwrite bootia32.efi or go hunting for the real keyboard/debug connector inside the case and face returning an (even more) defective tablet to the store, I figure I would post a last-ditch question here to see if there is any recovery procedure I'm missing before deciding to give up on this device.
    Thank you.

    Does the version of Leopard Server support Apple Pro RAID? and have you checked Server AD?
    http://discussions.apple.com/forum.jspa?forumID=1232

  • [SOLVED] can't boot from ssd after "reset" from recovery usb flash drive

    I have a Twist s230u with the original Hitachi 500GB hdd, running Windows 8.1.  I want to replace the Hitachi 500GB hdd in my Twist s230u with a PNY 240GB SSD that i've purchased.
    While running Windows from the Hitachi HDD drive I followed the "create a recovery drive" procedure to create a recovery usb.  Then I removed the Hitachi HDD from the s230u and installed the PNY 240 SSD in its place.  I booted the s230u from the recovery flash drive that I made.  I selected the "Reset Your PC" option and then the option to wipe all partition/files.  After the Reset completes, I try booting from the SSD but am unable to do so.  I just go back to the F12 boot menu.
    I put the SSD in a drive dock attached to another computer.  Disk Management shows the partitions as follows - 
    I've looked at the partitions on the SSD after the Reset - Disk Management console shows a 1000 MB Recovery partition, a 260MB EFI System partition, and a 221GB primary partition with volume label Windows8_OS.  It is not marked as Boot, Page File, or Crash Dump.
    Diskpart shows an an additional 128MB Reserved partition between the EFI partition and the primary partition.
    I do notice that the 10.6 Lenovo Recovery partition is not present - but I did make sure that I included that partition on the recovery key - though the files on the recovery key only use 8.03 GB for some reason.  Made the key on two different flash media.
    Diskpart also shows the following for the SSD:
    DISKPART> attributes disk
    Current Read-only State : No
    Read-only : No
    Boot Disk : No
    Pagefile Disk : No
    Hibernation File Disk : No
    Crashdump Disk : No
    Clustered Disk : No
    (It also looks like this when I run DISKPART from the recovery media with the SSD inside the internal drive bay of the s230u.)
    When I did the Reset on the SSD in the s230u, and when I tried to boot from it - I had the Secure Boot disabled, the "Legacy Boot first" option set, etc.  
    Can anyone point me in the right direction to be able to boot Windows 8.1 from this SSD in the s230u?  I've been working on this for a couple of days.
    (I also tried cloning the HDD to the SDD using Minitool Partition Wizard, Macrium Reflect, Clonezilla, Acronis, etc - the SSD wouldn't boot after those clone operations either, and I thought maybe I'd have better luck with a reinstall from the USB recovery media.
    (I also tried installing from a Windows 8 iso I burned to a DVD.  I got a product id mismatch message when I tried to install from that, and I was not allowed to proceed.)

    well, I seem to have solved my own problem.  Maybe someone will learn from my mistakes.
    I went into System Setup, went to the Startup tab, and changed the boot setting from "Both" to "UEFI Only".  After doing this I booted from my USB recovery drive, and Reset the PC.  After the Reset, I booted the s230u from the ssd, and I booted into a fresh Windows 8 installation.  
    It seems that the Reset operation could not work properly while the boot setting was "Both" (UEFI and Legacy) and "Legacy First."
    I got a clue when I looked at the contents of the EFI System Partition and there was nothing there except a Temp folder. The EFI System Partition had not been properly written by the Reset operation.  I got some helpful hints on how to see the contents of the EFI System Partition here - http://www.fixedbyvonnie.com/2013/12/how-to-repair-the-efi-bootloader-in-windows-8/#.U-Qz2_ldW7q
    I've also buggered up my original HDD now, so that it won't boot to Windows now.  Now to fix that!  

  • [Solved] Getting a rolling screen while booting from installer

    So, this problem is one that originally existed for me with the latest Ubuntu stable live CD.  It did not happen with an old Live CD I had from 2007.  I ended up trying the netboot install CD for Arch because I've been thinking of switching to this distro anyway, and when I saw the same problem happening I thought I'd come here.  I gave this preamble because it might help point to where the issue is (something in more recent versions of the kernal maybe?)
    So here's what happens.  I boot from the 64 bit netinstall CD.  It goes along the boot process fine until I get to:
    Waiting for udev events to be processed
    Note, I'm only pretty sure that's what it says, as I have to write it down from my own memory as the screen is unreadable after that point.
    A bit after that the screen starts scrolling rapidly, like it's out of sync or something.  I can't really read anything on the screen because it's scrolling so fast.
    In terms of hardware I have an older 64 bit system, with a video card going to an analog TV (old style, not HD).  I think I can get more hardware info from the install CD from the menu before it actually gets to booting up the system, if there is some sort of specific information that would help.
    Thanks in advance for all your help.
    Last edited by zenten (2012-04-17 12:12:57)

    It booted fine fully installed with an older version of Ubuntu that I ended up breaking in a totally unrelated issue.  Rather than trying to restore what was left I thought I'd just install from scratch.  And I haven't tried a monitor hooked up, because that would require a lot of lugging things around and whatnot.
    I'm going to try http://schlunix.org/archlinux/iso/2009. … so.torrent and see if that works, and if so setting up that framebuffer console.

  • Can't boot arch installation media with nvidia 9600GT – nouveau error

    Hello!
    I recently tried Arch Linux and was very pleased with the performance and distro philosophy. I've managed to install it on my laptop following the beginners guide. Though, today I tried the same thing on my desktop computer and can't even reach the installation command line. This desktop have a nvidia 9600GT graphics card installed.
    I leave my process here for better understanding:
    Boot computer with installation media (I'm using the archlinux-2013.08.01-dual.iso);
    Select Boot Arch Linux (x86_64) option from the menu;
    Kernel starts to boot and then it gives me the following right after the Triggering uevents message:
    nouveau E[ PFIFO][0000:02:00.0] DMA_PUSHER - ch 1 [DRM] get 0x000000000 put 0x0000000000 ib_get 0x00000000 ib_put 0x00000001 state 0xa0000000 (err: IB_EMPTY) push 0x00406040
    the boot process freezes and I have to manually shutdown the computer.
    Just to be sure, I tried the same installation media on a different computer and it boots normally.
    I'm thinking of swaping the graphics card temporarily just for the initial installation. After that I could install the nvidia drivers and connect this graphic card back on. But sadly I'm one graphics card short.
    Can you help me?
    Thank you in advance.

    cfr wrote:
    Welcome to Arch.
    Try editing the kernel command line and adding nomodeset. This should force the OS to fall back to an alternative because nouveau requires modesetting, if I remember correctly.
    Wow! That solved it! Thank you.

  • MacBook Pro 13" Late 2011 Experiencing Significant Slow Down After Boot Camp Installation

         Okay, so today, after installing Windows 7 on my MacBook Pro via Bootcamp Assistant, I experienced significant performance slow down (fans going at full blast, applications opening after extended periods of time, keystrokes not being registered) when I returned to my OS X partition/second hard drive. I have dual hard drives, one of them being a Samsung 256 GB SSD with OS X Mavericks and the other being my original 500 GB HDD, divided into a 250 GB OS X Mavericks partition and a 250 GB Windows partition. I have the SSD set as my startup disk and I have it located in the main HDD bay. I moved the old HDD into a caddy and placed it where the optical drive normally should be.
          After multiple failed attempts to install Windows via USB and Bootcamp Assistant, I decided to reinstall my optical drive and use a Windows installation disk. This attempt proved successful, and I was able to install Windows 7 onto the 250 GB partition I had created for it on the 500 GB HDD. After completing basic setup of Windows, I removed the optical disk drive and reinstalled the SSD and the HDD into their original spots (SSD in the main HDD bay, HDD in the caddy where the optical drive normally is).
         After completing this tedious process, I booted my Mac back up using the SSD. However, I noticed something was wrong when the login screen, apps, and nearly everything else on my desktop had slowed to crawl. I decided to check my Activity Monitor to see what the problem might be. Activity Monitor told me that the task "kernel_task" was taking up anywhere from 200-600% of my CPU, which explained the slowdown in performance. I looked around to see if there were others with the same problem as me, and I found that Spotlight Indexing might be an issue, with a potential remedy being move my Bootcamp Partition into the Privacy section of Spotlight under System Preferences. After doing that, I experienced no increase in performance and everything was still going very slowly.
         The next step I took was to see if booting into Safe Mode would help the issue. After booting into Safe Mode on my SSD, I noticed that things were back to their normal speeds, with applications opening at the speed they should be and keystrokes being registered instantaneously. However, the fans were still going and had not shut off once booting into Safe Mode. In addition, I checked Activity Monitor and the "kernel_task" in question was no longer taking up massive amounts of the CPU.
         At this point, I don't know what to do and I need help in restoring my Mac to original speeds. I may end up deleting my Boot Camp partition as a last measure if all else fails, seeing as I installed Windows in the first place for running a few programs and games that I can live without. However, I'd prefer to not have things come to that and fix things before deleting the Boot Camp Partition. I've heard that if everything runs normally in Safe Mode, then the issue is third-party software. Is this true?
         Any help would be greatly appreciated as I am writing this from the MacBook in question in Safe Mode because it's essentially useless in normal SSD operation.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    Copy a line of text in this window to the Clipboard.
    Paste into the window of another application.
    Wait for the test to run. It usually takes a few minutes.
    Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*AutoCad \*dropbox \*GoogleDr\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */  /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/ { next;} /(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n  "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n  [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n  ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' '" L*/P*/*loginit*' 'L*/Ca*/com.ap*.Saf*/E*/* -depth 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 4 3 32 5;D12 26 48 49 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Dual G5 hangs while booting from internal hard-disk

    Hi,
    When I switched my Dual G5 (2x2.5GHz around 15 months old, 1.5GB ram, 160GB hard disk, OS 10.4.6) on yesterday, it wouldn't boot from the internal hard disk. The spinning "wheel" (under the Apple logo) didn't show up and after a couple (5? 10?) of minutes the fans started making more noise than they ever did. I tried again with the same result.
    It did boot from CD though and the disk was accessible. Disk Utility didn't report a problem and the hardware test neither. Subsequent rebooting from the internal hard disk failed again.
    Then I reinstalled 10.4 (with archive & install), but with the same result. Then I got a Firewire drive from the computer support department, formatted it, installed 10.4 and copied (nearly) the entire internal hard disk's content to it. I was able to work normally from that disk.
    Then I booted again from the 10.4 installation disk, formatted the internal drive, reinstalled 10.4 and then it did boot from the internal drive. I migrated all my files and now everything is working again (although a few things might have gone missing). And I lost nearly a day of work.
    I conclude from this that it wasn't the disk, but that somehow an essential part of the boot software got damaged.
    My question: how did this happen? What could have caused it? Is there someone with a similar experience (i.e., failure to boot from disk while the disk is still ok)? Is there any way to prevent it from happening again?

    we have g5s the same as you. the few times we've ever had an issue with them refusing to boot up have been solved by running diskwarrior. it's an utter 'must have'.
    it's a harsh fact that drives (and the operating system that sits on them) do fail from time to time. careful housekeeping (repairing permissions regularly, running disk utility repair and/or diskwarrior) will help to prevent any major problems.
    if you have an issue that can't be fixed by doing these things (and we just had one with a file sharing problem) the best course of action is a full reinstall.
    we keep a fw800 drive with the latest installers of every application we use handy in each room for this purpose. it's time consuming to stay on top of but worth it when it all goes pear-shaped.

  • Booting from Installer Disk

    I have an issue with a 12" 867Mhz Powerbook G4.
    It was showing the file/question mark icon on boot. Booting from a 10.4 retail DVD and running disk utility confirmed that the hard drive had died. I replaced the hard drive with a new 80GB IDE drive.
    Next step is to install 10.4, but it will no longer boot from the disk. I turn it on holding alt and get the option to boot from the disk - the machine recognises that it is a Tiger install disk. When I select it I'm taken to the grey screen with the Apple logo and then it seems to hang. The DVD spins for a while and seems to be in use but then it stops.
    Does anyone have any ideas what could be causing this and what I can do to resolve it? I have checked the disk in another mac and it is working correctly.

    Yes, it sounds like you didn't connect the new drive correctly, or tripped over the optical drive upon doing so. One thing you can try is the startup manager, instead of the 'C' key, as the 'C' key doesn't always work. The startup manager is used among other things to boot the Hardware test volume, but you can also use it to force boot up the installer:
    http://support.apple.com/kb/TA27043?viewlocale=en_US
    256 MB of RAM is hardly enough, even though it is the required minimum. And what can happen if you don't have enough RAM, some may be of sufficiently low quality, that it can't get everything it needs into memory. If after upgrading the RAM following specs*:
    http://www.macmaps.com/badram.html
    you still can't boot the disc with the startup manager, have an authorized service technician determine how badly you might have munged the hard drive installation.
    - * Links to my pages may give me compensation.

  • MacBook Pro 2010 hangs when booting from Windows install disk

    Hi there,
    I'm trying to install Windows 7 via Bootcamp. I've used Bootcamp before so familiar I'm with how it should work. I have a USB CD drive, which I've used on other machines OK, and an official Windows Install Disk.
    After Bootcamp finishes copying over all it's drivers etc to my external USB drive, it reboots. However, whenever I try to boot from a disk it always just hangs on the Apple logo (no spinning cog/wheel). This happens whenever the Bootcamp installer performs a reboot and/or when I hold down ALT on startup and select the boot CD.
    I can still boot in to mac partition. Could this be a problem with the EFI? Any help with identifying this problem or how get the information to fix this problem would be much appreciated
    Thanks.

    Try resetting PRAM…
    http://docs.info.apple.com/article.html?artnum=2238

  • [SOLVED] Attempting to boot from USB key in UEFI mode

    I am attempting to boot from a USB Key in UEFI mode to dual boot windows 8 and arch linux.  I'm unsuccessful in getting the USB key to boot in UEFI mode. 
    I am following the guide on page: https://wiki.archlinux.org/index.php/Un … _Interface due to the fact that I am receiving error " No loader found. Configuration files in /loader/entries/*.conf are needed."
    I am attempting to use the archiso media and have created refind.conf according to https://bugs.archlinux.org/task/31894#comment102233 in (USB)/EFI/boot/refind.conf
    However, I'm stuck on the initial step from the wiki: Install refind-efi pkg. In the usb's filesystem, overwrite the file EFI/boot/bootx64.efi with /usr/lib/refind/refind_x64.efi.
    My question is: How do I install the refind-efi package onto the USB key using an arch linux host machine and the USB plugged into the machine.
    Last edited by tonysoprano (2013-02-13 04:09:56)

    swordfish wrote:1. Might be possible, that the uefi integration is pretty bad. Have you already looked for an update of the uefi bios?
    This is my thought, too. The "memory map has changed" message sounds like the firmware is messing with the way memory is laid out in the middle of the boot process. A firmware update, if available, is likely to be the best way to deal with this problem. If not, trying Fedora's patched GRUB Legacy and GRUB 2 are also worth doing; it's conceivable that one of them includes a workaround for the problem.
    2. In your first posting you mention Windows 8 on this machine. Is W8 starting in uefi mode?
    This is important, but if the disk uses GPT partitioning, then Windows is starting in EFI mode.
    3. If W8 is starting in uefi mode, are you sure that secure boot is disabled?
    It is; if it weren't, neither rEFInd nor ELILO could start -- or even if they were configured to start in Secure Boot mode, ELILO doesn't launch its kernels in a way that respects Secure Boot, so the ELILO failure can't be caused by Secure Boot. Also, when launched with Secure Boot active, rEFInd returns a clear error message about a security violation and then returns to its main menu; it doesn't hang the computer.
    One possible workaround occurs to me if all else fails: Have rEFInd launch a BIOS version of GRUB. The setup procedure, in outline, is as follows:
    Create a BIOS Boot Partition on the disk.
    Install the BIOS version of GRUB 2.
    Configure rEFInd to include a scan for BIOS-mode boot loaders by uncommenting the "scanfor" line in refind.conf and adding "hdbios" to it.
    Thereafter, you'll see a new "generic" icon, which should launch GRUB, which should launch Linux in BIOS mode, even though Windows launches in EFI mode. This will work on most modern UEFI-based computers with a single hard disk, but things get trickier with multiple disks and with some UEFI implementations that lack the necessary firmware features. If a future firmware update fixes the problem, or if a future kernel's EFI stub loader includes a workaround, the EFI-mode booting will become an option once again.

  • Firefox hangs after resume from hibernation

    The problem is basically exactly like described here, only the solution presented there does not actually work for me:
    http://askubuntu.com/questions/59062/a-script-on-this-page-may-be-busy-or-it-may-have-stopped-responding-everytime
    What happens is that every time I hibernate my laptop (with Windows 7 Pro, 64bit), when I resume from hibernation, FF is completely unresponsive (hangs) for minutes. Easily around 5 minutes. Eventually a dialog box pops up with the following:
    "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
    And the two buttons are: "stop script" or "continue". After I click "stop script" the unresponsiveness finally goes away, and FF starts working normally again.
    I think possibly even clicking "continue" also makes it go back to normal, but I'm not sure anymore since I have recently just switched to sleep mode out of frustration in order to not deal with it anymore, and I don't remember exactly if I get the same result from clicking either option.
    This is extremely frustrating.
    Someone else reported an extremely similar symptom here:
    https://support.mozilla.org/en-US/questions/935110?esab=a&as=aaq
    It might even be the exact same symptom. Maybe that person simply never waited long enough for the dialog box to appear, but otherwise the unusability symptoms are the same.

    Ok so I finally got around to testing this thoroughly, as you suggested. I used FF in SafeMode for about 2 days now, and went through at least half a dozen hibernation/resume cycles. Probably closer to 10. I can conclude that using safe mode (aka restarting with all add-ons disabled) did not solve it at all. The issue remains.
    As always, simply resetting FF (either with enabled or disabled addons) seems to make this problem less severe, if not almost go away completely. But after a few hibernate/resume cycles, it becomes really bad. Before posting this, I was using Opera for like 10 minutes after resuming from hibernation before FF finally snapped out of it, and windows that I had clicked on in the task bar, like 10 minutes ago, finally popped up.
    I have not yet tested the disabling hardware acceleration. Sounds quite doubtful that it might help but I'll try.
    How can we get the developers' attention on this?
    33 others report having this problem (as of this post). And there are similar reports elsewhere. But after many new versions of FF, it seems that the developers are not addressing these bugs but are instead focused on new features to compete with whatever Chrome rolls out.
    Thanks!

  • MBP shuts down after booting from a disc

    How is everyone doing? I hope okay with their macs!
    Well, if I boot from my MacBook Pro Install discs, the computer boots off of the discs.
    But if I try booting off any media that I burned, the computer shuts down automatically.
    What I do:
    Put in the disc (I tried both DiskWarrior and Drive Genius 2),
    hold down the C key,
    the apple logo displays,
    the discs starts to spin louder (like if it were to start reading it),
    then the computer restarts after showing the spinning wheel for about half a second.
    I thought that maybe it had to do with me adding a firmware password as requested by Orbicule's Undercover... so I removed the firmware password and I still got the same results.
    Does anyone know why this is happening [to me]?
    Any replies or comments are thanked in advance.

    I found out why... its because I have the new macbook pro with the penryn processor.
    Penryn processor's fault.
    End of story.

  • [SOLVED] UEFI system booting from MBR partition table and GRUB legacy

    I'm trying to understand once and for all the process by which Arch can be booted from a system with UEFI firmware and an MBR partition table. Some of the information on the wiki seems conflictual / non-nonsensical at times. Apologies in advance if this has been answered time and time again, but I did search around and all I found was fixes to get Arch to boot rather than comprehensive explanations of the boot process.
    Now, the way I would imagine it works is that it's just completely identical to the way it would work with a BIOS firmware. The UEFI firmware detects an MBR partitioning scheme (or is configured to know it's an MBR partitioning scheme), activates some "legacy" mode and executes the MBR boot code, just like a BIOS firmware would.
    The wiki however, says different. From the Macbook article: "Do not install GRUB onto /dev/sda !!! Doing so is likely to lead to an unstable post-environment."?
    So what is there in the MBR boot sector? Nothing?
    How does the firmware know what to boot if there's no 0xEF BIOS boot partition and no Grub stage 1 in the MBR boot sector?
    Also, how does installing Grub stage 1 to a partition work? Does it have to be at the beginning of the partition? Wouldn't that overwrite some existing data?
    I'm especially puzzled since many guides to installing Vista on a macbook recommend simply formatting as MBR, and installing as normal, which I suppose entails having the Windows installation process write its boot code to the MBR, ie the equivalent of installing grub stage 1 to /dev/sda rather than to the /boot partition, as the Macbook article suggests.
    Any input is appreciated.
    P.S. I realize it's probably simpler, if I just want to dual boot Windows and Arch, to install Windows 7 in UEFI-GPT mode, let it create the EFI System Partition, and then install GRUB 2 to that partition, but I'm still curious about the UEFI-MBR boot process.
    Last edited by padavoine (2012-06-06 09:35:10)

    padavoine wrote:
    CSM in UEFI firmwares do the exact same job as normal BIOS firmware.
    So it's something specific to the Mac that it's able to boot from a partition's VBR while ignoring the MBR?
    The reason that warning is given is because grub-legacy modifies more than just the MBR boot code region.  It can overwrite some parts of GPT header.
    Not true, the instruction is given in the context of an MBR format, not in the context of a GPT format, so there's nothing to overwrite and Stage 1.5 should be safely embeddable in the post-MBR gap.
    In BIOS boot (normal case in non-UEFI firmwares or CSM in UEFI firmwares) does not read the partitition table (atleast it is supposed to be dumb in this regard), it simply launches whatever boot code exists in the 1st 440-byte of the MBR region.
    So again, you're saying it's specific to the Mac UEFI that it lets you choose a partition whose VBR to load, regardless of what's in the MBR?
    I haven't used Macs so I can't comment on Mac firmware behaviour. But normal BIOS firmwares (legacy and CSM) launch only the MBR boot code and not the partition boot code. We need some chainload capable boot manager in the MBR to launch the partition VBR.
    grub-legacy does not know anything about GPT. So when you install grub-legacy to /dev/sda, it install the MBR boot code (stage1) and stage 1.5 code to the (supposed) post MBR gap. Since there is no actual post MBR gap in GPT (which has been taken over by the header and partition table), grub-legacy does not check for GPT and it assumes the post MBR gap actually exists which is invalid in case of GPT. grub-legacy embeds the stage 1.5 code in GPT header and table region (which grub assumes to be unused post MBR gap) and thus corrupts it.
    0xEF is the MBR type code for UEFISYS partition. grub stage 1 (used in grub-legacy, not in grub2) is the 440-byte boot code stored in MBR for use in BIOS boot.
    That's precisely my point: with neither proper executable code in the MBR (since grub was installed to a partition, not to the MBR) nor a UEFI system partition, what does the firmware default to, and how does it know what partition to boot from?
    In that case it might fallback to UEFI Shell (if it exists)  or give an error similar to the case where BIOS does not find any bootable code in 440-byte MBR region.
    So even with bootcamp/CSM, the disk also needs to be MBR partitioned. So Macs use something called "Hybrid GPT/MBR" ( http://rodsbooks.com/gdisk/hybrid.html ) where the MBR table is synced to match the first 3 partitions in the GPT table.
    I know what Bootcamp does, and that's not what I was referring to. I was referring to standalone Vista installs. I wasn't puzzled at the fact that they were using MBR, I was puzzled at the fact that contrary to the recommendations for the standalone Arch install on the wiki (with MBR partitioning, not GPT), they didn't do anything to try and prevent Windows from writing to the MBR.
    You can't prevent Windows from overwriting the MBR region. You have to re-install the bootloader (grub2/syslinux etc.) after installing Windows. That is the reason why it is recommended to install Windows first and linux later.
    Thats not true. I actually find it is much easier to install Windows UEFI-GPT using USB rather than a DVD.
    I haven't done it since the only UEFI system I own has no DVD drive, but I was under the impression that it was simply a matter of choosing DVD UEFI boot in the firmware's boot menu.
    format the USB as FAT32 and extract the iso to it. That it.
    No, thats not it, precisely, it doesn't work out of the box with a standard Windows install USB, you need to fiddle around:
    2.3 Extract bootmgfw.efi from [WINDOWS_x86_64_ISO]/sources/install.wim => [INSTALL.WIM]/1/Windows/Boot/EFI/bootmgfw.efi (using 7-zip aka p7zip for both the files), or copy it from C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.
    2.4 Copy the extracted bootmgfw.efi file to [MOUNTPOINT]/efi/microsoft/boot/bootmgfw.efi .
    Most of the Windows isos already have /EFI/BOOT/BOOTX64.EFI file, so no need to extract the bootmgfw.efi file.
    There is no difference between in BIOS booting in UEFI firmwares and BIOS booting with legacy firmware.
    There has to be a difference, at least in the Mac firmware (sorry, I keep switching), since legacy firmware, AFAIK, cannot chainload a bootloader in a partition's VBR without there being some sort of "stage1" code in the MBR.
    No idea about Mac EFI. Apple made a spagetti out of UEFI Spec. To actually understand how Mac firmwares work, read the blog posts by Matthew Garrett of Redhat, about his efforts in getting Fedora to boot in Macs.

Maybe you are looking for

  • How to connect my tv to apple extreme

    what kind of cable needed for connecting the Airport extreme to my Internet ready TV Samsung Smart Class

  • SSL Failure every afternoon - InitializeSecurityContext (returned code=InternalError)

    Hi, I hope someone can help me with this. I've got an ASP.Net application that initiates an HTTPS request to another server as needed.  The Application Pool is automatically recycled every night, and the end users have no trouble until about 12:30 to

  • Mac-mini 2009 airdrop not compatible in Lion??

    Airdrop doesn´t work in Lion with Mac mini 2009 model. Anyone thiks ther will be a firmware update or anything similar to fix this problem??

  • Picking List output

    Hello Experts, I have configured the picking List output type to print the picking list at the time of delivery creation. However, when i change the delivery quanitity or picking quantity, it is printing the output document. How can i avoid this situ

  • URL filtering problem

    Hi! I'm trying to set up local url filterin in my 881 router. However I can not use the parameter-map type urlfpolicy local ... command because there is no urlfpolicy type in the cli. cisco(config)#parameter-map type ?   consent        Parameter type