Ubuntu :: New Triple-booted Installation Doesn't Load Grub2
Aug 5, 2011
I'm attempting to triple boot Windows 7, Mac OS X, and Ubuntu 11.04 on non-Mac hardware. Chameleon is my primary bootloader, which is supposed to chainboot into grub2, but all I get when I choose the Linux boot option is a black screen with blinking cursor. If I try to boot Ubuntu while holding shift, I get the word GRUB, followed by a space and a blinking cursor. grub2 is installed to the Ubuntu partition, and attempts to reinstall it there or to the MBR from a LiveCD result in errors. The MBR and GPT partition tables are synchronized. How do I go about making Ubuntu bootable, without breaking my other two operating systems (or at least leaving them recoverable)?
I built a new desktop computer.The goal was to triple boot the system with Windows 7, Mac OS X Snow Leopard, and Ubuntu 11.04. This endeavor has been significantly more complicated than I originally expected, but with the of a forum-goer at InsanelyMac.com, I've managed to get pretty far with a complex installation process. I've attempted to get Ubuntu running using two methods, neither of them achieving what I'm hoping. Both methods follow.
In the first method, I install Mac OS X using a specially designed install CD that boots into the Snow Leopard installation DVD. The disk is partitioned to have a FAT partition, followed by a Mac OS X journaled partition, ending in a second FAT partition. Mac OS is then installed to the second partition. The Windows boot CD is then used to format the first FAT partition as NTFS, which Windows 7 is then installed to.
As I'm sure you know, this installs Windows Boot Manager. Then I boot into OS X using the boot CD mentioned earlier, and install Chameleon, a bootloader specifically designed for Hackintosh systems, and (supposedly) capable of booting into all three operating systems I'm trying to work with. Finally, I divide and reformat the remaining FAT partition into an ext4 partition and a swap partition, and install Ubuntu to that ext4 partition, with the bootloader installed to the same partition. This will break the Windows bootloader, as now the MBR and GPT tables are no longer syncronized. Ubuntu is also unbootable; attempting to chainload into grub2 leaves me at a black screen with a blinking cursor. The former problem is solved by booting into a LiveCD and installing and running gptsync. Windows is now bootable, but Ubuntu remains in 'limbo'.
The second method I attempted is very similar, but deviates in the last few steps. After installing Windows, I instead install Ubuntu 10.04 LTS, as I thought I might have fewer bootloader issues with that distribution (don't ask why; it was a lucky hunch).This breaks Windows Boot Manager, but this time grub2 throws me into the grub> prompt.I can boot into Ubuntu just fine using the set root/linux/initrd/boot commands, but my motherboard's Ethernet port is not detected by the OS, so I can't directly download and run gptsync. Once I do manage to run it, though, Windows is then also repaired.
Unfortunately, since I can't access the Internet, I can't do a distribution upgrade that way. Trying to upgrade from the recent release's LiveCD...well...doesn't upgrade, just overwrites. So I get the same black screen with blinking cursor problem. I've tried reinstalling grub2 through a LiveCD using grub-install both using the --root-directory flag and the chroot method.
System specifications:
Intel Core i7 (LGA1155)
Corsair VENGEANCE 4x4GB DDR3
I have been searching in preparation to install 10.04.1 with 2 installations of Windows,already installed.(Win 7 then Vista) I have left room at the end of the drive for Ubuntu. When I get to the stage to select the boot options and click on advanced, what should I select?
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again. i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3c3a81f5
I mucked things up a bit-- 1) I had only windows on my drive. 2) Using 10.04 on USB, I made a 10gb ext3 partition and a 1gb swap area and installed 10.04. No problems at all using grub2, and the GUI is nice for dummies like me. 3) I got antsy so I made an 8gb partition and installed 8.04 on it. It automatically installed grub (the old grub).
Now when I boot my machine the Old Grub loads, not Grub2. I can select 8.04, 10.04, or XP no problem. When I select 10.04 and use the GUI I can see 10.04, 8.04, and XP, but things are in a different order (clearly the grub2 order). Questions: 1) How can I get grub2 to take over booting? (I like the GUI) 2) I'd like to install puppy linux too, but I'm afraid of really screwing things up. Can someone recommend a safe way of installing it (besides just running from a USB- I've had mixed luck using USB OS's over long timeframes).
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code: title grub2 find --set-root /boot/grub/core.img kernel /boot/grub/core.img
This is my first post to this forum! I'm just getting into openSUSE and really excited to get involved in it. I have a MacBook running OS X 10.6 (Snow Leopard) that I triple booted using Disk Utility. I installed openSUSE, (not WFindows yet), and have it set up to load using reFIT. reFIT can see that openSUSE is installed, but when I choose to load it it displays the following error message:
"No bootable device -- insert boot disk and press any key" I have the feeling there is something very simple I'm doing wrong I know this post isn't extremely detailed to please let me know whatever other information I should provide.
Having downloaded remastersys, I tried to make a custom iso with mixed results.Whilst i got all my installed programs included, it didn't install my MacBuntu theme or cairo-dock by default. How can I manipulate remastersys to load MacBuntu and cairo-dock to launch when my custonm iso is booted?
i wiped my entire hard drive that had xp as its only OS. I freshly installed a Windows 7 ultimate and everything went perfectly. I then decided to install 10.4. I split the partitions correctly (i had experience doing this already with my laptop, which has xp/10.4). Ubuntu 10.4 install went flawlessly, except for one thing. Now when i boot up the pc, it goes straight into 10.4. I have tried holding shift during the start up to force the boot menu, and it just shows the Ubuntu 10.4 OS as choices. Any clue what i could do to make Win7 appear in the boot menu?
So I recently tried to install Ubuntu Lucid in the following configuration code...
The installation procedure went fine, and it said it had successfully installed GRUB2. But then, when I tried to boot up the fresh system, GRUB2 didn't even load!!
It's not giving me any GRUB errors, or giving me a 'grub recovery>' prompt, so I suspect that it really isn't even booting into GRUB.
I tried booting into the LiveCD, and installing grub to BOTH /dev/sda and /dev/sdb, but it still does not work, and I am at a loss.
I am a long time ubuntu user (4.10) and have had a fair bit of experience installing ubuntu and the many mishaps along the way.
So after having no internet for a year I decide to try the new 10.04 flavour by ordering the cd from the site.
Installation went well, no hiccups. But when I restarted the comp it went straight to Xp, so I thought I'll just use the SGD to boot the partion anyway and fix this small problem later.
After SGD confused sda with sdb, I figured out that GRUB2 is now the standard boot loader.
So thats where I am lost, I have searched the forums quickly (25 pages or so..) and realise that I am not going to fix this easily or by trial and error.
I had Fedora 7 and Windows Vista dual booting on my computer. I just installed Fedora 10. When the live CD asked me where to install it, I chose "Remove all Linux Partitions and create default layout" The installation went perfectly, but now when reboot my computer, it boots directly into Fedora; GRUB does not load to ask me which OS I want to load. I know I did not overwrite Vista because I can still view my Vista files through Fedora. Here is my grub.conf file:
[Code]...
What do I need to do to make GRUB load again upon booting?
I' ve tried to do a iso multiboot 1gb pen stick with grub2 bootloader. I 've already readed all is it possible finding on the WWW but there are some problems i don't understand how to solve.
This is my sitution:
-koala 32bit installed on my pc with grub2 bootloader
-1gb pendrive parted as follow:
In the first fat16 partition there is installed grub2. On the second ext2 one there are iso files.
This is what i've do to install grub2 on my pen:
So i've created /boot/grub/grub.cfg file with the follow lines:
When i reboot by the pen stick, grub load up to it says me:
I've been using Ubuntu since 7.10 Gutsy Gibbon. I only recently fully switched to Linux OS's, and Ubuntu is now my primary. I currently have 9.10 installed. CURRENTLY I also have Backtrack 4, and Fedora 12 (Ugh!).Previously, I thought something was wrong with my my filesystem in Ubuntu 9.10, and after an upgrade of the linux kernel, I started to get Error: You need to load the Kernel First. That's where my problems started. I had upgraded to 9.10 from 9.04 and I still had Grub Legacy, so I went through hoops to try and get it to work, but eventually everything just kind of broke, and I completely wiped off my partitions on it and started fresh installs of all 3.
And now that the new linux kernel is released, 2.6.31-20 generic (I think... That's what the highest number on a file I can find in /boot is)I went through a few more hoops and ladders and tried to get it to work, but to no avail. I've looked the internet for a solution to this and tried just about everything but there is no unified answer, and I've seen on Launchpad there are alot of bugs that are classified as 'Fixed', but the problem still remains.I took out the 'quiet splash' part in the GRUB2 line for the newest kernel and it didn't do anything. It only changed it to "Error: Couldn't find file".This is the top two kernels (Main and Recovery for the new, and Main and Recovery for the previous working one)
Quote:
### BEGIN /etc/grub.d/10_linux ### menuentry "Ubuntu, Linux 2.6.31-20-generic" { recordfail=1
So I have an MBR that is Grub legacy,(from HardyHeron) and I cannot edit/upgrade this MBR. (I won't get into the reasons, other than I will mention SafeBoot).
I have a new encrypted LucidLynx Linux installation on partition 4 and an unencrypted /boot partition on partition #3.
When I boot up, I get the "Error 15" Grub error, which is expected as Grub legacy is looking for /boot/grub/stage2 or something like that and /boot/grub/stage2 does not exist in my GRUB2 installation in /boot/grub.
I thought if I could make a link from the GRUB2 binary of interest to /boot/grub/stage2, then maybe the GRUB legacy would be tricked into loading the GRUB2 binary.
what is the binary of interest in the GRUB2 installation that is the main binary?
I have two hard disks sda and sdb. I have Windows XP installed on sda2 and Ubuntu 10.04 on sdb5. When I installed Windows XP, Ubuntu stopped booting. I tried to repair grub2 from a Live CD unsuccessfully. Now I have completely messed up my MBR of both HDDs. I just want to configure grub2 to load both OSes in dual boot mode.
I recently installed Ubuntu 9.10 onto my second hard drive, and now I can't boot into Vista (installed on hard drive #1). Grub2 just doesn't seem to be recognizing that there is a Windows Vista installation on the first hard drive.
I followed this guide (with Fabien's changes) because it seemed like they were having the exact same problem. But after rebooting, Vista is still not showing in the GRUB menu. In fact, the GRUB menu doesn't even show up unless I press Shift because it thinks that Ubuntu is the only OS installed on my computer.
My results with boot_info_script:
Code: ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks for (UUID=e94a058d-1d19-4a98-924b-1a5fce405bdd)/boot/grub. => Windows is installed in the MBR of /dev/sdb sda1:
[Code]....
When I was installing Ubuntu to HD2 (the 500gb one), I got a peculiar message saying that Windows was installed on it. There wasn't anything on HD2 though, because Windows Vista was most definitely installed on HD1.
However, if I chose to overwrite HD1 with Ubuntu, the message wouldn't come up. It seemed like the installer was confused as to which hard drive actually held my Windows Vista install.
I have installed Lucid Lynx more than a dozen times in the past thirty hours and I've almost got it working with RAID. The current problem is with /dev/md0 not existing when grub2 tries to access it. When I boot from the alternate CD in rescue mode, Ubuntu sees /dev/md0 as a software RAID array and I can access the files accordingly. When I boot from the grub2 bootloader, it sits for a while before spitting out "Gave up waiting for root device" and tossing me into the initramfs shell where I can see that /dev/md0 doesn't (yet) exist. What can I change within grub2's configuration to inspire it to start /dev/md0 before trying to mount it?
I'm installing Ubuntu server 10.04 LTS in several machines with identical hardware using clonezilla.Every thing is ok except than wen starting a cloned machine, grub waits the user to make a selection to boot from.The hard disk has 3 partition:
Device Boot Start End Blocks Id System /dev/sda1 * 1 14 112423+ 83 Linux /dev/sda2 15 1059 8393962+ 82 Linux swap / Solaris[code].....
how to do to start automaticaly? This is the content of grub configuration file (/boot/grub/grub.cfg)[code]...........
I have installed Linux Mint 9 within Win XP and have installed an additional HDD as a Slave on the same IDE cable as my DVD drive. I installed ubuntu on to the additional HDD using the live CD and when I try to boot the computer I am greeted by two versions of GRUB?! First version appears to be the one that comes with Mint and so asks me to boot either Windows or Mint, when I select Mint I get ubuntu's version of Grub, it asks me to boot one of three OS's; here's where it gets weird:
Top of screen says: GNU GRUB Version 1.98-1ubuntu5-1mint2 If I select Win, it boots fine. If I select Mint it boots fine however if I select Ubuntu it says: error: no such device error: file not found error: you need to load the kernel first
I pressed "e" within grub and was faced with this: insmod ntfs set root ='(hd1,1)' search --no floppy --fs-uuid --set f6422203421e479 loopback loop0 /linuxmint/disks/root.disk setroot =(loop0) linux /boot/vmlinuz-2.6.3-21-generic root =dev/sdb1 loop=/linuxmint/disks/root.disk ro quiet splash initrd/boot/initrd.img-2.6.32-21-generic
I have Ubuntu 9.10, PuppyLinux431 and Windows XP on a Toshiba laptop. I like Ubuntu, but the speed of PuppyLinux is addictive, so that was my default boot until I upgraded Ubuntu which included an upgrade to Grub2.
My problem: Grub2 doesn't recognise PuppyLinux. Using information from [url] I have made an executable file named 07_Puppy in /etc/grub.d and did update-grub from root. Still no luck. I can boot PuppyLinux from the grub command line using the following commands:
Just before grub displays the boot menu, I think I see a very brief message about a syntax error, but it's gone before I can read it.
Here is the contents of my grub.cfg:
Quote:
Why Grub2 doesn't see Puppy and let me boot it from the menu?
I installed Ubuntu9.10 on a USB hard drive attached to my laptop. Laptop has pre-installed XP in the in-built hard-drive. Point to be noted is that my hard-drive is protected via encryption software called Pointsec.
The installation of Ubuntu on the USB hard drive went through fine and I'm able to boot Ubuntu from it.
But now the problem is, GRUB2 fails to detect the Windows XP installation.
Can someone tell me how I can force GRUB2 to boot Windows XP from hd0,0?
The GRUB1 way of configuring /etc/grub/menu.lst does NOT seem to work with GRUB2.
I've just installed the 64 bit edition of 9.10 on my workstation. My raid drivers worked without any custom installation, which is very impressive! I am however having a problem installing grub2. I boot to the live CD, run the install process, resize and partition my free space as an ext4 primary partition with mount point /. Everything installs except grub, so I'm always booting in to windows.This seems to be a bit off as I've never had this occur with dual booting before.
I tend to update stuff slower than most - I'm still using Hardy and I probably won't upgrade to Lucid until June-ish. I wanted to test drive GRUB2 so I upgraded following instructions here:When I chainloaded GRUB2, I got a menu that only contained Ubuntu; my Windows Vista bootloader entry had disappeared. I couldn't find a sample "40_custom" entry to modify when I tried to create an entry for Vista myself. Had no problem booting into Ubuntu and I could still boot Vista from the old menu. Spent about 20 minutes on it, then I gave up and reinstalled legacy GRUB.
my wireless network doesnt recognize that any network is around. The broadcom STA driver will not install and it says "Please have a look at the log file for details: /var/log/jockey.log" the jog file says
I have /dev/sda with Squeeze and Win 7 on it, and /dev/sdb with Squeeze. I've managed to get Grub 2 to boot from /dev/sdb1, but only by disabling /dev/sda from being a boot option in the BIOS. When it is available to boot, and lower priority than /dev/sdb, grub does not recognize the UUIds of the disks. So, I've disabled it for now and can boot from /dev/sdb no problems. Trouble is I cannot get Win7 to boot. Grub prints:
error: no such device: f0903a3a903a081c error: invalid signature
When I boot into Squeeze and run 'blkid' I can see that:
menuentry "Windows 7 (loader) (on /dev/sda1)" { insmod ntfs set root='(hd0,1)' search --no-floppy --fs-uuid --set f0903a3a903a081c chainloader +1 }
I don't understand how Grub 2 cannot recognize the UUIds. Can Grub 2 to be made to work with volume labels or just plain old /dev/... descriptions? Maybe I should give grub-legacy a go.
I have a gateway laptop that I have attempted to dual boot, but the computer only sees the Ubuntu OS and the Vista Windows Recovery Partition. (Actually, gnome reports 3 separate Ubuntu OSs... part of the problem?)
When I type fdisk -l, I get the following message code...
As many people have posted before regarding this issue, i think it was me who messed things up as i believe i incorrectly put grub on the sda1 ? when they asked about grub config during installation i was a bit lost, and even though i went off the help it said if you were not sure choose all of them..
So i am wondering if there is an easy way to fix this. As i am running sata drives on my laptop, so my windows xp recovery option is out... and all i have is a windows image, which i would like to try and repair from ubuntu as i can start ubuntu up.
Here is my boot setup:
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #5 for /boot/grub.
i have Vista 64Bits Ultimate installed on an 1TB hard disk whit 3 partitons I have a 2nd 160GB HD in my system which i installed Ubuntu 10.4 on. All went ok, except after the installation finished and the system rebooted it booted straight into windows, whitout ever displaying GRUB. Now i found a way to boot either system, by using the bios and setting the applicable HD to 1st device. (or something similar)
Any way on how to solve this? keeping to have to enter the BIOS to select the HD and Thus OS i want to boot aint very practical. (im currently using ubuntu BTW)
Code:
Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #1 for /boot/grub.
has anybody tried 10.10 on their PS3 (FW 3.15)? I first ran an update from 10.04 (which was working fine, including ext4 FS), and upon rebooting after the update, all I had was a black screen after PetitBoot. I then tried to do a clean install with the 10.10 PPC+PS3 Alternate CD, but same black screen after selecting any type of install from CD in PetitBoot. I then installed the OtherOS that's on the 10.10 CD (KBoot); same black screen. Went back to PetitBoot and tried the PS3 desktop 10.10 CD; same problem. I was almost ready to give up and reinstall 10.04 when I thought of using the "linux-old" option in PetitBoot. This loaded the newly upgraded Ubuntu 10.10 on my HD, with the difference that it's using kernel 2.6.32 instead of 2.6.35. This works fine. So here's my question (at last ): was the PS3 port of 10.10 tested by anyone before being pushed as a release on cdimage.ubuntu.com, or is there an incompatibility with kernel 2.6.35 that was never noticed, except for here where it didn't seem to go anywhere: [URL]? If I'm the only one left on earth with firmware 3.15 and interested in Ubuntu on PS3 at this point.
I've been trying to install Ubuntu 10.10 on my custom built AMD Athlon FX-53 system to use as a web server. I downloaded the AMD64 desktop version and whenever I boot to the CD it'll go through the loading screen, bring up the install background and then the mouse cursor will appear. After that the mouse cursor keeps switching between the loading one and the regular one and it never fully loads the installer.
The system specs are:
AMD Athlon FX-53 @ 2.4 GHz (Stock) 1 Gb OCZ PC-3200 ram (2x512) PNY Verto FX5200 Western Digital 40 Gb IDE hard drive based off an Asus SK8V motherboard (Skate 5 to me...)
I was able to install the 32-bit version and I've tried 2 burns, one on a CD-RW and one on a CD-R and the checksum is the correct one based on whats posted on the site.