Installation :: Unable To Dual Boot Grub2 Auto Os Prober
Nov 3, 2009
Problems with dual boot, grub2 auto os prober
Drive #1 (sda) Master CS Ubuntu 9.04 grub upgraded to grub2 version 1.96
Drive #2 (sdb) Slave CS Ubuntu 9.10 grub2 version 1.97 /boot is (sdb1) root is (sdb5)
grub2 is installed in /boot (sdb1) and the mbr of (sdb)
I want to be able to boot drive #2 from drive #1 grub menu at boot time. I have run �update-grub and it probes and finds (sdb5) and creates a new grub.cfg called grub.cfg.new in the /boot folder, but the new cfg file does not show (sdb5) or (sdb) it shows all other changes that I made such as splash screens and they are working. How do I get it to recognize drive #2 with Ubuntu 9.10. I can boot each drive independently of one another and I can boot 9.04 with 9.10 if I swap the drives around. And run update-grub The auto probe is working in the Ubuntu 9.10 and may be working partly in the 9.04.
This may or may not be a problem, but is a pain anyway. When I run update-grub in 9.04's grub version 1.96, it does not change anything in the current grub.cfg it does make a new file called grub.cfg.new I have to go into /boot/grub and change grub.cfg to old and change grub.cfg.new to grub.cfg I do not have this problem running the same command in Ubuntu 9.10's grub. It finds changes and os's and automatically updates the current grub.cfg
I know there are already a lot of these posted. I've been reading them. The solutions posted have not worked for me. Well, OK, I haven't tried the 'reinstall GRUB 2' nuclear option. But, really. Like most, what I have is a computer (netbook really) running Win7 starter that I have installed Kubuntu 10.10 32 bit in a partition (sda7). Unlike most of the other complainants, GRUB shows me the Win7 partition just fine. Everything works. So, all I really want to do is (1) give me more than 10 seconds to respond to the GRUB menu and (2) perhaps change from default Kubuntu to Default Windows. Actually, one of the edit entries I found indicated that GRUB should be able to remember which I booted to last and default to that, which would be kind of nice. Or even set the timeout to -1 so it always waits for me.
Anyhow, since I cannot get sudo update-grub to work, all of this is moot. Everything seems to work until the end of the script where I get the dreaded "OS-prober: cannot access /var/lib/os-prober/mount/boot" message and GRUB's operation doesn't change. So, the reason I'm posting is that every other thread I've read devolves into people saying that the SYSTEM partition has two folders /boot and /Boot and get rid of the /boot. And this seems to work for many people ... but ... in my SYSTEM partition (sda2, the 100MB windows boot partition) there is only /Boot. There is not, I repeat and emphasize NOT a /boot folder. Yes, I'm looking at it with administrator privileges. I use Krusader - root mode and show hidden files is turned on. Yes, I installed BURG. It works fine but doesn't help my issues (although the brightly colored boot screen does catch my attention faster). And I had the OS-prober problem before BURG.
After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-
[Code]....
Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-
[Code]....
But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off
I recently got a netbook and setup as dual boot between win7 starter and 9.10 (64bit). Win 7 starter is not impressive so i want to nuke it and give the space all to my /USR partion. I am comfortable working with Gparted and assume that i can launch using my gparted live usb and delete the windows partion and then resize the /usr partion.
what changes do i need to make w/ Grub2? I would prefer not to see the Grub menu at all and have it load right the main kernel if possible. Also, if this is possible is there a way to get to the Grub menu during boot should i need to select a different kernel?
I've already had WinXP SP3 installed on one HDD, so i've installed 10.04 on my spare HDD. When I try to boot to Win, I get ntoskrnl.exe missing error. This is my boot info script report:
Code:
Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Windows is installed in the MBR of /dev/sda => Windows is installed in the MBR of /dev/sdb
[code]....
I've tried with different boot orders in bios, reinstalling Grub2 (several times ), I've even tried to install lilo through software center but didn't know how to configure it ...
I recently installed Ubuntu 10.04 on my dual boot system and noticed that my boot options were changed. I typically have Windows XP as the default OS. Here are the steps that worked for me to get Windows XP as the default boot using Grub2.During my initial Window XP install I had partitioned my hard drive into 3 partitions:
Code: Partition 1: NTFS format (Windows XP installation) in Linux it is called /dev/sda1 Partition 2: NTFS format (Data for Windows XP) in Linux is is called /dev/sda5
Been using Linux for many many years but Grub2 is annoying the heck out of me at the moment.
My home desktop PC is set up as follows:
/dev/sda � 40GB 10k Raptor with Ubuntu 10.10 installed /dev/sdb � 500GB HDD formatted to ext4 /dev/sdc � 500GB HDD split up as follows:
/dev/sdc1 � 80gb NTFS partition with Win7 installed /dev/sdc1 � Remaining drive space NTFS but nothing on it yet
Grub2 refuses to detect that Windows is installed on the 3rd HDD. I've googled and spent hours trying all sorts of things to get it to detect it and add it to my boot menu.
If I disconnect all drives except the Windows drive it boots up straight into Win7, so it's healthy and happy. (as healthy and happy as Windows can be, I need it for work purposes only!)
Does anyone have any tips on what would be the best method to force grub to realise that Windows is sitting there?
As far as I understand, the Win7 partition should be (hd2,1) � does that sound right to you?
I haven't tried booting off an Ubuntu CD and re-installing grub, since I can get into Linux and all the guides seem to be about how to restore grub after a Windows install eats it...
I'm thinking of dual-booting Ubuntu 10.10 and Arch Linux. It seems that I'll have to do some editing of the grub.cfg file, but I have seen numerous warnings not to do so. After a bit of poking around, I've heard about a script that does the editing for you built in to Linux (or maybe just Ubuntu).
My questions are:
- If the aforementioned script does exist, how do I use it?
- else if it doesn't exist, how do I not directly edit grub.cfg?
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 have a Dell Studio 14 laptop with Windows 7 64bit preinstalled. The processor is core i5 and the machine has 4GB RAM. I freed 25GB of memory from my Hard disk and tried to install Ubuntu 10.04 (AMD). Everything went fine. I restarted and Logged into Ubuntu. It worked like a charm. Then I restarted to Windows7. This also worked well as expected.
But, when I rebooted again, I got a black screen saying that �No modules found. Press any key to restart� When I press a key, it says �No operating system found�, probably after checking through a network (it printed lines starting with PXE).
I tried exactly in the same way with Ubuntu 8.04 in my machine, and this worked without any problem. The Bootloader was not corrupted after restarting from Windows. I noticed the problem with Ubuntu 9.10 and 10.04. I feel like a problem regarding the bootloader version. AFAIK, 9.10 and 10.04 is using GRUB2 when 8.04 use the old version of GRUB. Will I have to switch to the legacy GRUB? (I would love to keep using GRUB2). If yes, I would like to know How.
I have a Dell ZINO HD and dual booted fine prior to 10.04. Grubs seems to not identify the Win7 OS partition correctly. According to Disk utility DEV/SDA1 is a DELL utility partition, DEV/SDA2 is the RECOVERY partition, DEV/SDA3 is my Win7 OS partition...and DEV/SDA5 is my Linux partition. Ubuntu boots fine... but with GRUB using SDA2 (HD0,2) for win7 I cannot boot to it... is there a fix?
The following is in my GRUB.CFG file ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Windows 7 (loader) (on /dev/sda2)" {
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.
yestoday,after I upgrade,unable to boot windows xp. if I use grub ,windows xp can boot up.but now I want to use grub2, boot info script's results.txt is at below.
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 #6 for /boot/grub. sda1: File system: vfat Boot sector type: Fat16 Boot sector info: No errors found in the Boot Parameter Block.
I have Ubuntu 10.04 LTS and Windows XP installed on my laptop. Usually when booting, I get the GRUB 2 menu and I can boot into either Ubuntu or XP.I was playing around with EasyBCD, then after trying to remove it I was unable to boot into Windows, I used a Windows 2000 CD recovery console to fix the MBR (using: fixboot and fixmbr).Now Windows starts up when I power on, but I don't get the grub menu anymore with an Ubuntu option. If I boot from the Ubuntu Live CD and try to mount my Ubuntu partition (/dev/sda5) I get this error:
mount: wrong fs type, bad option, bad superblock on /dev/sda5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try
fresh installed F12 on secondary drive, XP on primary drive. Then swapped drives making F12 primary. I boot into F12 fine, I also get menu to boot Other but when I choose this option instead of going into XP I get error 22 no partition? I can swap the drives around & boot into windows fine. I know I must not be pointing or having F12 pointing to the correct partition for XP.
I have a fairly old Dell Dimension 8400 with two disks. I have Windows XP on the first disk (750GB) and have a second unused 200GB disk that I installed Ubuntu 10.10 onto.
Here are the problems I had:
1) After the install, the computer would only boot into Linux. I had no options at all at boot up for which OS to boot into.
2) I verified that my 750GB WinXP disk was still intact (/dev/sda). I tried created a file for WinXP in /etc/grub.d taken from the 40_custom file. I added a menuentry section to it and ran grub-update. grub-update complained about an error ddf1 invalid # of disks in RAID partition.
3) Ubuntu didn't seem to know about my Linksys AE1000 wireless adapter. And since I has no Wireless on the computer, I couldn't download drivers.
4) I rebooted the computer after trying to update grub and now my PC boots into Windows again.
I expected to install Ubuntu and then have grub2 give me a choice of WinXP or Linux. Why did it intitally boot only into Linux, and why did it strangely revert back to WinXP later on?
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 read that installing ubuntu 10.10 will inevitably install grub2 with it(unless you use flash drive workaround). i am wondering how slackware 13.1 reacts to grub2.
Does it go on like nothings changed (if configured correctly)? Or does it freak out and have a fit? If slackware doesn't play nice with grub2. i don't think i will use ubuntu 10.10.
I've just installed Fedora 10 onto a box which had XP and Knoppix dual-booting. XP is on 1 HDD and Knoppix and Fedora share a second HDD. I installed from Fedora Live CD and accepted the Fedora MBR when it came to that option. I edited the Fedora MBR to show Knoppix residing on /dev/sdb1 (with Fedora on sdb2). XP boots without a problem, however, when I try to boot into Knoppix, I get the message "invalid or unsupported executable format".Following advice in other strings, here is my grub.conf file entry:
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that
[code]....
Finding another post on MBR problems, I've tried, also without success, amending the grub.conf file as follows:
I have win 7 and F13 installed on my computer but I am having trouble setting up dual boot so I can choose to boot F13 or win 7. I have tried to set up grub, how to install grub and set up a dual boot so I can use F13.
I have two separate hard disks, one having ubuntu 10.04 and one having Windows XP. I'm unable to get an option to choose from grub menu as to which operating system i want to boot into.
Today I attempted to install Win 7 on my Ubuntu 11.04 machine so I could dual boot. The Win 7b install went smoothly, but when I tried to fix grub everything went to hell.
I initially tried to reinstall grub using this walk though [URL] However, when I start the computer I get:
"GNU GRUB version 1.99~rc1-13ubuntu3
Minimal BASH-like line editing is supported....
grub> "
I tried to use the technique in [URL] to solve the problems, but when I try to run chroot I get a bin/bash error (I don't have the full error handy, but can rerun the steps if needed). The only potential cause that I can find doesn't apply to me since I am using a 11.04 64 bit live usb on a 11.04 64 bit install.
I have a win7/10.10 dual-boot set up, more or less following the lifehacker.com tutorial (I know, I know). I had to reinstall windows, and its taken over the MBR so that only win7 boots now. My shared drive and the ubuntu filesystem are still there, I just can't get to them without a boot cd. So, I tried to follow the tutorials, which all basically say to reinstall grub or grub2. I tried one method, but ubuntu told me that installing grub2 anywhere but the MBR was a bad idea
I am trying to install ubuntu 10.04 on windows7.windows 7 was already installed.I ollowed these steps to install ubuntu 10.04.1)First i made some freespace in hard disk to install ubuntu using windows7 default options(By shrinking).2)I used USB drive to install ubuntu.I made it bootable using unetbootin.3)I followed normal steps install(language,area,keyboard,using manual partition i installed ubuntu in free space,etc).4)I got boot menu when it restarted.PROBLEM isAs long i use only ubuntu (boot into ubuntu --shutdown--boot into ubuntu --shutdown) it works well.
If once i boot into windows 7 and restart the system i am loosing boot menu options.The following error i am getting"no module name found Aborted.Press any key to exit".If i press any key,I guess its trying boot using internet and lastly it says Operating system not found and hangs.
I'm using Maverick Meerkat, 10.10, 64bit. I'm a pretty basic user but am trying my best to learn.
My background: I have a laptop on which I installed Win7 Ulimate on one partition. After installing Win7 I then installed Ubuntu on a separate partition. GRUB2 found both Win7 and Ubuntu perfectly. I could choose to boot into either one and the ability for GRUB2 to "remember" which OS I booted into last worked properly. I then did a kernel update a couple days ago via Ubuntu's Update Manager. After that, GRUB2 could no longer see Win7. I added a custom boot entry in /etc/grub.d/ so that Win7 would show up in GRUB2.
However once Win7 did show up in GRUB2 I kept having a problem with the Windows bootloader being missing. I used the Win7 Recovery DVD to get into Windows and then installed EasyBCD for Win in which I was able to create a Win7 boot entry and get the Win7 bootloader back. I set EasyBCD to skip the bootmenu so my current configuration now is that on bootup I see GRUB2, which shows Maverick Meerkat & Win7. If I select Win7 then Win7 loads via EasyBCD and it works fine.
The problem though is that GRUB2 does not auto-detect Win7 AND it no longer remembers the last OS that I booted into. I would rather not use EasyBCD if I can help it and would like to just use GRUB2 for everything.
My question is this: How can I get GRUB2 back to controlling Ubuntu & Win7 properly without the need for anything else in between. I have asked in the Freenode Ubuntu channel but haven't received any help besides "sudo update-grub" which I have done and it hasn't helped.
I'm using opensuse 11.2 and a week or so ago it suddenly stopped shutting down the computer, or rebooting. It shuts the screen down and that seems to be it, so I have ti switch it off. However a day or so later it began to reboot when asked, but still won't shut down. I'm dual booting it with Unbuntu 9.04 using grub2, but it's been that way for many months without problems.