Ubuntu Installation :: Keep Grub2 Access To 10.04 After Installing 10.10?
Oct 22, 2010
For some time now I have kept 2 partitions for (K)ubuntu versions so go back if the new one is troublesome.So, I have a common /boot partition, 2 partitions for (K)ubuntu versions and a common data partition which both versions can access.After installing 10.10 I lost the grub connection to the earlier version. This did not happen in the past. So far I've failed to get it back by various attempts to do so.Did I make a mistake in allowing the /boot partition to be formatted during install of 10.10 (can't remember what I did before) or has the /etc/grub.d/os_prober in 10.10 failed in some way?
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 trying to install GRUB2 on root partition under RAID 5. I tried using the alternate CD, but installation failed. Now I'm trying under the live CD and grub-install ... but I'm being told it can't find the device even though /dev/sda2 (root partition) and /dev/sda are mounted.I have 4 discs, each with a swap partition (/dev/sdX1) and a root partition (/dev/sdX2).
In short, what I'd like to find is a workaround to install Grub2 onto a USB stick, from a PC running Windows, without using a GUI. After searching, I don't find any way to install Grub2 from Windows. I do have a nice little MS-DOS batch file that installs syslinux onto a USB stick. It's simple, fairly fool-proof, and I'd like to convert it to install Grub2.Did find an example of running grub-install without actually installing anything: grub-install --grub-setup=/bin/true /dev/sdaSo, IFAIKT, this just creates the Grub2 'boot.img' file, and maybe also modifies the 'core.img' file? Is that right? If so, then a little DOS utility to write a USB's MBR using the boot.img should work, yes?
However, I notice the boot.img file is 512 bytes. As I understand it, a drive's partition table is included in that space. I'd like to take that boot.img and use it to install Grub2 on any arbitrary USB stick, without altering the existing partition table. If I snip off the last 72 bytes so the image is only 440 bytes, it seems like this should work (assuming that every USB stick will have Grub2 installed in the /boot/grub subdirectory).If this sounds right, is there a DOS-based MBR update utility that you would recommend? I find several, such as MBRUtility, MBRWizard, and MBRFix, among others
I tried doing a search and couldn't find anything relatively recent on the topic so here is my question.
I am fairly new to the linux world and am in the process of trying out a couple different distributions. I am doing this by installing them to an external hard drive. This allows me to test them out without affecting my main system in any way. I have already tried openSUSE and it installed with no problems. I am trying to install Ubuntu, however when the installation tries to install GRUB2 it fails asking me for a different location to install it to.
When installing I unhook all drives from the computer except for the dvd drive, usb drive I'm installing from, and the external hard drive I am trying to install Ubuntu to. I'm not sure what else may be of use.
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 went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
I have win XP installed on my PC, then i formated partition to install ubuntu on it. after installing ubuntu on the formated partition, i can't access win xp. when i start the pc, the ubuntu is loaded without asking me which os to load. I installed boot_info_script.sh & its results are as follows:
Boot Info Script 0.60 from 17 May 2011 ============================= Boot Info Summary: =============================== => Grub2 (v1.97-1.9 is installed in the MBR of /dev/sda and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks in partition 7 for /boot/grub.
I was dual booting windows 7 RC and Ubuntu, and then I upgraded to Windows 7 when it came out, but left the RC on my computer because I had some files on there that I needed. Some of the files that I have on the hard drive where the RC is are encrypted and now I can't access that operating system therefore I can't access the files.
I've tried to install FEdora 15 using the Fedora 15 DVD for i686 architecture. However, after the step where I chose the setup for GRUB boot options, I got this error: "Some of your repositories require network access but networking could not be setup" (or something similar). Then I only had the option to exit the installer, but after reboot there was no GRUB and I have no means even to boot back to Windows.
How to install Fedora without networking or is Fedora the only distro so messed up that this can't be done? I've tried the Live CD/USB version but that version has no C compiler to allow me to install networking drivers after install completes. Now I was told to try the full DVD, by the full DVD managed to mess up my computer completely.
I did everything and restarted my machine, everything seems to be ok. But when i type in my IP on the browser which is 10.0.11.25 which would be the localhost machine, i get this below:
Code:
ERROR The requested URL could not be retrieved
While trying to retrieve the URL: [URL] The following error was encountered:
* Connection to 10.0.11.25 Failed
The system returned:
(113) No route to host
The remote host or network may be down. Please try the request again.
Can someone tell me how to do this? I just formatted a slaved drive for EXT4 and now I'd like to write grub over the MBR. Cannot really find much on Google. tried: grub-install /dev/sda1 and of course didn't work....
sda1: ubuntu 32-bits sad2: ubuntu 64-bits sad3: ext3 system for personal storage sda4: swap
My idea is to format my sda2 to become ntfs and install a windows xp system.., my question is how this could affect my current grub2 config since the MBR loads from sda1?
I am having trouble with setting up the grub based system on my external hdd. I am trying to have one grub which is going to load operating systems, and livecd if any (usb install). I am stuck at installing Ubuntu 10.10 Minimal version (i don't need gui for linux).Here is what I have done so far:
1. Created 2 primary partitions - windows 7 recovery and data (ntfs) 2. Created an extended partition for linux stuff. 3. Create a logic partition (10MB) for grub (ext2)
When i boot my spare machine i am not able to access the bios or use the arrow keys in the Grub2 menu with a usb keyboard.However,once Debian boots i am able to use the usb keyboard and mouse normally.The strange thing is if i attach a Ps/2 keyboard i can access the bios and Grub2 without problems.With the Ps/2 keyboard attached i entered the bios and checked the settings regarding usb and the following options are enabled:
Usb contoller [enabled] Usb 2.0 support [enabled Usb Legacy support [auto]
I have had it with the frustration of trying to figure out how to successfully install grub on my own, so I am hitting the forums. What can you tell me about installing grub/grub2 (whichever is best -- I want something that works) to my single hard drive computer. Operating systems: Windows XP, xUbuntu 9.10 Hard drive: Samsung SATA 2, 1 TB Desired result: Menu that loads upon boot so that I can select which OS I would like to load without inserting media device or disk.
I thought this individual had the most straight forward and thorough tutorial (of any I have seen) on the subject but precluded at least one thing for me that I cannot afford to ignore: I don't seem to have a "stage1" that can be loaded by the grub shell. Trying to find it in /boot/grub/stage1 in the grub shell, I get... "Error 15: File not found" What I do have in that directory is 'grubenv'. When I boot up, it loads grub, but it comes up with an error message saying, "File not found". Then, all I get is the 'grub rescue' prompt: "grub rescue>".
Obviously, after spending hours on this thing, this is not the whole story. But there have been so many attempts to try fix it with one thing or another, that I cannot easily relate them all, if I could even remember each one.
I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.
Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.
I have decided to dual boot again because I found a old hard drive laying around.
primary drive: sata 500 gb ubuntu 10.4 64 bit installed with boot
[code]...
secondary drive: 120 gb ide drive with xp installed. xp was installed first and wrote the mbr to sda1. I then installed ubuntu 10.4 and it overwrote mbr on sda with grub2. I have tried every combination of the 40_custom script for xp I have found here on the forums but to no avail. The 30_OS probe never seems to see it either. Grub 2 will not see xp. I have it in the menu from the custom_40 but it just reboots the system when I choose it. Any advice is greatly appreciated as I am ready to go back to legacy grub which only took 5 minutes to dual boot last time I did dual boot. I want to give grub2 a chance, since it supposed to be better, but I am getting frustrated.
Here is the output from the boot info script.
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. => Windows is installed in the MBR of /dev/sdb
Ubuntu 9.10 to 10.04 upgrade failed. This machine is purely linux (i.e. no windows partition). I know I should have saved my data first. I can no longer boot from hard drive. I can boot from 9.1 install disk and upon interigating the file system, can see my folders are still there but need to know how to access/save them before re-installing 9.10.
I posted this about 3 weeks ago in the 'Desktop' forum and with no replies feel this may be a better area
I've got Karmic installed on my netbook which I understand uses Grub2 which is still a BETA version.
I still seem to have the original GRUB (legacy) within the file system, still have a menu.lst file but is appears to be showing the contents of grub.cfg at boot time.
What is happening at boot time, is GRUB Legacy handing over to GRUB2 at boot or is the an option for GRUB2 to hand over to Grub Legacy.
Here is my current setup. I have installed Windows 7 Home Premium 64-bit, Ubuntu 9.10 64-bit, and BackTrack 4 Final in that order. All operating systems are able to boot and all is working well. The only problem I'm faced with is really just an annoyance. Which is BackTrack is showing up with a "Ubuntu 8.10" entry name.
Now I did some research on this. I found out that BackTrack was based on the Ubuntu 8.10 OS so it makes sense why it would show up that way. I found several articles and topics explaining how to modify the GRUB programming files. I guess to change the entry name, but all of them don't seem fool proof to me nor the best way to go about doing things.
One thing I wasn't able to find info on is where GRUB2 actually gets these entry names from. My theory is if I can find out where GRUB gets this info from, I can simply log into the BackTrack partition and change where the "Ubuntu 8.10" entry is to "BackTrack 4" and then run the update-grub2 command within Ubuntu to update the entry names.
Xubuntu 9.10 is on my master drive, and I use it to install/update grub.
When I installed Fedora, I answered "NO" to installing a boot loader.
After install, I booted Xubuntu and ran update-grub, grub couldn't find (apparently) my new fedora install.
I've tried adding it to /etc/grub.d/40_custom, and when I list /boot/grub/grub.conf, it appears to have added Fedora to the bottom of the menu.
When I boot, it doesn't stop at the grub screen, indicating only one installation of linux.
Here are the pertinent file listings, can you see where I've gone wrong?
Code: dav@dav-desktop:~$ cat /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates
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.
Right I had to uninstall windows xp and install windows 7 to play more games! I use windows to play games and that is it. I have restored grub before and I even double checked with this guide: [URL]
I have two hard drives sda - 320gb with windows sdb - 100gb /home -12 gb / -480gb (NTFS) shared
However after reinstalling grub it still boots into windows! I will boot into windows properly then shut it down cos its coming up with windows was not shut down properly and if that doesn't work it has then been shutdown properly and I will install grub again.
I have Win 7 in my hard drive (sda) and I installed Ubuntu 10.04 in other hard disk (a usb disk), but when I try to boot my pc from the usb disk (sdb), the grub shell is displayed. No menu is displayed. When I boot Windows 7 from sda, it runs correctly. The problem it's when i wanna boot Ubuntu. I ran bootscript on the live CD and this is what I've obtained:
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Windows is installed in the MBR of /dev/sda => Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in partition #1 for /boot/grub.
After discovering that the "/boot" partition did not end on a cylinder boundary, I booted back up into the alternate cd, re-partitioned everything and re-installed.It worked fine after thatI can't seem to get Grub2 Installed.
GRUB2 won't boot. It hangs just after the 'Boot from CD' thing in my BIOS.I've had 1.97 working on my PC about 24 hours ago, but I decided to start afresh and go for Xubuntu 10.10.I'll post the PC specs in the morning, but in the meantime, does anyone know how to fix this?It's going to be a Xubuntu only system, and I've tried to repair the GRUB files via the Live CD and here.