Ubuntu / Apple :: Grub EFI Will Not Make/use A Grub.cfg
Apr 22, 2010
I was able to make a grub.efi boot loader finally. But in the end it did not make or generate a grub.cfg, so every time i boot using this loader I get the grub bash shell and nothing else. I tried copying the on from my harddrive to the EFI folder on my flash drive but still nothing.
What i did was compile the loader from source using the directions here, then formated a 4 GB flash drive to gpt, and a fat32 File system. Then moved all of the grub items to /efi/grub. Once done i then rebooted, booted to a rEFIt cd and then used it to boot to the USB (the folder is not blessed yet). Then once i got to the loader screen its just a EFI screen, no boot choice Nothing... just a recovery bash. What am i doing wrong... did i do a step wrong, did i compile wrong? What?! could some on PLEASE tell me how to get the EFI grub to make/use a grub.cfg file!
So I have 2 ide hdds but whenever they are both connected, grub gets stuck at GRUB loading stage 1.5. how can I resolve this problem? both are Maxtors with ext4 fs. primary is 20 gb and secondary 80 gb. Jumpers are set to cable select. Boot order in bios is correct. (primary first, secondary isn't in the list at all)
I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.
Code: grub root (hd0,3) setup (hd0) quit reboot
Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.
If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.
Code: Device Boot Start End Blocks Id System /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris /dev/sda2 263 13316 104856255 83 Linux /dev/sda3 * 13317 14621 10482412+ 83 Linux
I have installed 11.2 next to my 11.1 version I have a few big problems with 11.2 and I like to completely remove it. there are 2 grub's active now. I want to remove the 11.2 grub and make the 11.1 grub master again, but I do not know where to change this, the MBR points to the 11.2 grub and changing menu.lst probably does not have any effect.
I would like to know if there is any differences on how to install and to configure GRUB 2 in the different architectures (BIOS/IBM PC-Compatibles, EFI/MacIntel and Corebbot)? Does the Ubuntu installer automatically recognize the different architectures and install the appropriate GRUB 2 package ('grub-pc', 'grub-efi' or 'grub-coreboot' according to the arch)? Or does it just install 'grub-pc'? Is the location of GRUB 2's configuration files different depending on the arch of the computer? Or are they all located in '/boot/grub/', '/etc/grub/default' and '/etc/grub.d/', no matter the arch of the computer? Are the files' structure and options to configure GRUB 2 ('/etc/grub/default' and the scripts in '/etc/grub.d/') different depending on the arch of the computer?
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
I'm just slightly confused here, but... what the? Why does installing grub-doc remove BOTH grub-pc, and grub-common? So basically it seems like by installing grub-doc, I have uninstalled grub totally (yes, it is still there as the bootloader, but i have no way of updating it now!) from my system. What's the conflict between grub-doc and grub-pc, such that grub-pc has to be removed?
I just install ubuntu Linux fully on my computer. Now i then install Grub-EFI, and EFI amd64. I also blessed my Linux partition. Now did i install everything to boot grub EFI? if i did. how do i know im booting using Grub EFI and not GRUB?
I decided that I wanted to take Arch for a spin for the next week or so (I've had Ubuntu installed for a while) and so I thought the logical thing to do was to erase my partitions and start over with a new live cd...
Well.. that didn't work. I tried to do it from Disk Utility in OS X which succeeded in deleting most everything... EXCEPT grub is still in the mbr (or whatever it runs from through rEFIt). But all I see when I start up in the non-OS X partition is:
Code: GRUB
At any rate, no Live CDs work, I can't delete the partitions from OS X (including after booting up from the OS X Install disk).
If I hit F1 I can get the "grub>" prompt. But I can't figure out how to launch a live cd. To my knowlege, there's not a "bios" for rEFIt where I can force it to boot from CD, is there?
I have OS X, Ubuntu 10 x64 and Windows 7 x64 installed on my Macbook Pro new unibody. Right now when I choose Windows or Linux in the rEFIt boot menu both options take me to the GRUB menu, and I can boot everything but it's a bit redundant and annoying.
I currently have kubuntu 11.04 on my laptop harddrive that is in an external enclosure. it is on the outside of the machine and connect to the computer via USB.It works fine on my windows machine and I love the fact I could also plug it into my kubuntu machine at home and use it as a regular harddrive too. Although my new job basically wants me to use a mac. Apparently you need something called an efi support on my grub so here are the questions:
Does kubuntu 11.04 have efi support on its grub i.e. can I plug my hard drive with my kubuntu on via USB to a mac and boot from there? If not how could I get one? Also does getting efi support make any difference when I plug it into my kubuntu machine at home? So can I back up my data as I used to?(by simply plugging it in)Could I still plug it into my windows machine as before and work if I get efi support?
p.s. If you have trouble with heavy laptops give external harddrives a go its like carrying an ultra light linux machine (with all your data in it)!
I set up my Mac Mini to dual boot Windows 7 and Ubuntu. I started with Windows only, and allowed it to rewrite the partition table (GPT/MBR). When I tried to install Ubuntu, it didn't see Windows until I used Gdisk to delete the GPT portion. Then it recognized the Windows partition and installed Ubuntu as per normal. Now when I boot, I get GRUB and the option to boot Ubuntu or Windows 7. The only problem is that the USB keyboard (Aluminum or standard PC keyboard) doesn't work until an OS is loaded.
Is this an EFI problem? I'm starting to think that EFI is required for USB keyboard support at bootup since it replaces the BIOS functionality. Is this even remotely accurate? Did I mess things up by not going the rEFIt route? I'm not sure what I can do at this juncture as I can only boot into Ubuntu.
I could install OS X, rEFIt, then Windows and Ubuntu, keeping rEFIt as the boot loader, but if there's an easy solution I'd like to avoid that. More importantly, I'd like to understand what's going on.
First up, assume i know nothing about computers. I have a MBP 5,5, and choosing the logo for windows brings up the grub menu, as does choosing ubuntu's logo. I've read a lot saying i need to install GRUB natively under ubuntu, but I've had no luck doing so. can anyone essentially walk me through this step by step? or offer alternatives?
Last night I installed ubuntu 10.10 unto a macbook pro 5,5 following the instruction from the MactelSupportTeamAppleIntelInstallation however I made a mistake during the installation process. I forgot to go into advance settings and choose to install the bootloader on /dev/sda3. I'm not exactly sure why this step was needed since everything was working fine anyways, but I was wondering how can I remove the bootloader from /dev/sda and install it on /dev/sda3 without breaking anything. [URL]...
when booting I can only acces a broken GRUB and this is how I might have done it wrong. I installed Ubuntu the first time using dual-booting which I think is the worst way since it could be done better by using a Virtual Machine such as Parralels or VMware. Well later I noticed that after removing Ubuntu there was still 2 problems 1.when selecting a OS during startup When I select "Windows" it goes to a broken GRUB which displays something like this " Use tab to complete the first commands" GRUB><where you're suppose to type> and I can't type so I hard reboot it. 2. I could not get rid of LinuxSwap. Much later I removed LinuxSwap by booting in a Ubuntu live disk and then removing the partition as well as the Linux "/" and after booting to Mac OS X leopard disk0s1 the Mac OS X system partition was mounted which was bad since it was suppose to be invisible to even the root user unless viewed by terminal on any user.
Now later I reformatted it as "Mac OS X something extended" and at first it was unjointed and impossible to mount and after I reformatted it it appeared as disk0s3. Now the problem appeared.This is the stuff I can do1. I can type some commands in the GRUB but when I typed find / the output is something like can't find /2. I might be able to boot up a live disk however my Linux Ubuntu live disk is broken.3. this is my dad's second hand Mac G5 iSight, not mine and it was a bargain, it was cheaper than my iPad with Mac OS X Leopard 10.5#
I am trying to triple boot osx, win7 and ubuntu 10.10 on my macbook pro. This is the way I did it:
-Installed osx and created 2 partitions in disk utility, one for osx and another formated as dos fat to manually hybritized my drive and allow for windows installation (the new bootcamp is currently messed up, so can't do it that way).
-Installed win7 by bio booting the cd, and deleting the formatted partition (dos fat) and creating a new one via win installation.
-Installed ubuntu by bios booting the cd and creating its own partition in setup.
Now, when I turn on my macbook and press alt, 2 icons come up, mac and windows (so good so far!). But when I go into the windows option, grub loads and I see 5 entries:
-Ubuntu -Ubuntu safe mode -Memtest -OSX 32 bit -OSX 64 bit
Obviously osx is not going to boot under bios boot. But where is win7 that should be in the list?
I am persuaded now (too late) that I need to invest in a robust backup scheme.
I had refit dual-booting snow leopard and ubuntu 10.10.
I tried to upgrade to 11.04 and it got stuck on bootup after the upgrade.
So I went into disk utility and deleted what I thought were all partitions except the mac one. I rebooted, and now I get the grub no partition error.
Did I delete my mac partition? I don't think that I did. How do I boot back into mac os x? Using the option key on bootup no longer shows a mac disk and inserting the mac os x system cd doesn't show any options either.
I am able to install 11.04 (64bit) on my MBP, but after installation I cannot boot into it.[URL]...
Quote:
This information will not work for iMac (11,1) users installing recent versions of Ubuntu (e.g., Maverick). The presence of the bios-grub partition that the Ubuntu installer creates by default (e.g., sda3) causes a conflict that prevents syncing the GPT and MBR partition tables. Deleting sda3 does not help since grub2 requires that bios-grub partition, nor will it use either sda or sda4 aborting with the error: "This GPT partition table has no BIOS boot partition; embedding won't be possible!". So installing Ubuntu with the bios-grub partition fails and installing without it fails. See "Single-Boot". And this seems to be the problem, as trying to re-install grub from the live-cd results in that error message. Looking at this forum there are a lot of people running ubuntu on the same laptop, so my question is: How??
I've just successfully installed Ubuntu 11.04 on my macbook pro, but when I boot, I just get a blinking cursor. I've tried the following to try to fix it, with nothing working:Press "Shift" to boot into GRUB (result: doesn't respond)Using liveCD, edit grub settings to allow for this (result: same as before).Chroot using liveCD to install required video packages (result: updates work, but installing new or upgradingexisting packages fails because it can't properly start jobs. I assume this is because it wants to use resources that would exist if the system were truly booted from the HD but the resources don't exist in the LiveCD environment)Chroot using LiveCD and try using jockey-text to install NVidia drivers as suggested on https://help.ubuntu.com/community/MacBookPro5-3/Lucid by command line instead of by GUI.Can't connect to certain sockets (the device files don't respond because they're not in the active system, I guess).
I've been running Ubuntu for some time on an old MacBook 3,1. It has been a happy OSX / 10.04 dual boot. I'm attempting a triple boot: OSX / Ubuntu 10.04 / Ubuntu 10.10. The partition scheme is similar to this, I've lost exact partition sizes:
I reinstalled Mac OSX and my Mac files on my 24" intel core 2 duo iMac from a Time Machine backup. The Linux and Swap partitions appear to be unaffected. However, rebooting into Linux 8.04 stops at the Grub stage.
I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.
I previously had Ubuntu installed on my MBR. I deleted that partition (32 GB), resized my Mac partition back up to (250 GB), and then reduced it to 200 GB and created a new one with 50 GB via BootCamp to install Windows 7 from a DVD that I burnt (I got a Windows executable from MSDNAA that I used with Wine to obtain the ISO image. Insert rant about having to download Windows with a Windows executable here.).
I've tried burning two different DVDs. I used Burn on my Mac to burn a data DVD+R with the HFS+ and Joliet filesystems (I think) and then tried again with the ISO9660 and UDF filesystems. The latter has not shown any signs of working besides mounting on OS X. The first DVD would not boot whenever I held 'C' down at time of boot. So I went into BootCamp and clicked "Start Installation". It restarted my computer and this is where the real confusion comes up. I think that it tried booting via the empty partition. The reason I say this is that there are remnants of GRUB and when I boot, I get a screen that says this: error: unknown filesystemrub rescue>
This seems to be a variant of a problem many people have had, but after several hours trawling through various forums, I haven't seen a reliable match for my situation.In brief:Adding a third boot partition (of Ubuntu) to my existing dual boot of OSX 10.6 and Windows 7 seems to have crippled the Windows boot from working, because Grub apparently takes over the process. Yet Grub does *not* appear to be on the Windows partition.
More verbose:I have an older MacBook Pro (3.1, running Snow Leopard) that I recently refitted with a new 240GB SSD HD. With the extra space (it was previously only 120GB) I decided to add a dual boot with Windows 7 using bootcamp. This all went swimmingly well.Encouraged, I decided to follow this Lifehacker article's suggestion and triple-boot the machine with Ubuntu (I'd never used Linux before):So I now have the nice rEFIt boot partition selection screen, and, indeed, I'm up and running in Ubuntu, and enjoying it.
Only one problem: I can't get into Windows any more. If I try to go in through rEFIt *or* by holding down OPT at startup and selecting the windows partition directly, the result is the same: I get thrown into Grub's selector, and selecting the Windows partition from there leads to an error message and a dead end.Having read through numerous postings, I get the impression that Grub is doing something or living somewhere that it ought not to be, but in most cases I've seen, people had accidentally installed Grub onto the Windows partition (or indeed onto EVERY partition). So far as I can tell, this isn't the case with me. Here's my boot summary:
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ==============================
i have installed 11.04 first and 10.04 after 11.04 . is it possible to make the grub of 11.04 as primary . i mean in booting i wanna move with grub.cfg of 11.04 .