Ubuntu :: Grub - How To Load WinXp From Another HDD
May 31, 2011
I have two HDD, one of 80 GB with Lubuntu and a broken windows, the other HDD is 160 GB with another Win Xp, but it seems its windows boot loader is broken or the windows boot loader was essentially on the 80 GB HDD and was replaced by GRUB. GRUB only detect the WinXp on the 80 GB HDD. How can I make GRUB detect winXp on the 160 GB HDD?
When I load into winXP I can see the files for winXP and win7. When I load into ubuntu I can only see winXP. i did a sudo update-grub and got the windows loader, which then shows me winXP and ubuntu. what i would love is one boot page that has listed winXP, win7, and ubuntu. FWIW this is an acer netbook, winXP is on D:/ and win7 is on F:/, i used the windows installer wubi for ubuntu 10.10.
I installed karmic to a flash drive, and grub overwrote my winxp mbr. On boot it has an error that grub can't load and then shows the grub rescue prompt. I've tried fixboot and fixmbr and bootcfg /rebuild from the repair console with no luck. Grub loads if I leave the flash drive in, but it takes a long time.
The boot_info script provided this data: Code: Boot Info Summary: => Grub 1.97 is installed in the MBR of /dev/sda and looks for (UUID=18f3e5ee-7ef2-4158-8b84-853630827dea)/boot/grub. => No known boot loader is installed in the MBR of /dev/sdb => Syslinux is installed in the MBR of /dev/sdc .....
I installed Ubuntu 11.04 on my laptop alongside WinXP. For some reason Grub hides my CD drive from WinXP but not Ubuntu. I can access the drive in Ubuntu, but it doesn't appear in WinXP at all.
I know there is a solution to this, but I can't remember what it is. Something to do with modifying grub.conf or something like that.
I have been a happy little GRUB user for a while now, but now I want to use GRUB to boot a physically separate WinXP hard drive, and I can't seem to do that. Normally GRUB is easy, (I even have a nice splash screen of my own making). Its a champion solution for booting into Ubuntu Linux on /dev/sda5 or Win XP on /dev/sda1.
My second HD which Linux recognizes as /dev/sdb, has a Win XP boot sector and Win XP in one partition.
Normally I boot off /dev/sda using GRUB, and from Linux I can mount and have access to /dev/sdb - that works well. Occasionally however, I need to boot the separate Win XP system on the second HD, and to do that I switch the boot drive in the BIOS, but lately that is getting to be a bit tedious.
Initially I though to give the additional boot choice to GRUB, I simply had to edit /boot/grub/menu.lst and point to the second HD (where /dev/sdb = hd1 in GRUB speak). Unfortunately, when I select the new choice, it simply boots Win XP off the first HD.
I'm confident GRUB does look at the first partion on hd1 as expected as I can induce an error by having hd1 disconnected, or write silly partion numbers into menu.lst. So if it does in fact find the first partion on hd1, why doesn't it boot? Why does it default to WinXP on hd0?
I have diligently tried physically swapping SATA drive cables and playing with bios switching and have messed about a fair bit with menu.lst to make sure I have drive and partition numbers right, but all to no avail. I have also tried changing rdisk(0) in boot.ini to rdisk(1) on the second drive when it is not the boot drive.
I'm afraid the only other thing I can think of is that the second hard drive requires a Linux boot sector if I am going to boot it up from GRUB, but somehow that doesn't make sense. Surely GRUB can work across physically separate drives, so I'm open to other ideas first.
Here's today's problem: I upgraded to Ubuntu 10.04 and hope to have it run alongside Win XP PRO, which it had for months.
Only, when I select WinXP in GRUB, nothing happens. Oh the screen goes dark for a few seconds, but then the GRUB screen reappears. Ubuntu 10.04 functions correctly.
here are the contents of what I assume is grub.cfg code...
What I need to know is how to make GRUB load WinXP.
I have Win7 installed in my notebook, after I install WinXP, after I install Ubuntu 10.10
I need WinXP to my project...
I re-install Grub2 with live CD and the WinXP doesn't show up...
So I re-install WinXP... Re-install Grub2 and WinXP doesn't show up again...
So I custumise Grub2 and I put one line for WinXP (doesn't work)
But Now, Win7 line in Grub2 boot WinXP
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 #6 for (,msdos6)/boot/grub.
I've got an old Dell Precision 670 which has a SCSI disk. I installed 10.04 and everything worked fine - I could boot into 10.04 from the GRUB menu. I later added an IDE disk and installed WinXP Pro on it.
When I ran 'sudo update-grub', Lucid discovered the IDE disk and added a WinXP Pro entry to the GRUB menu. Now, though I can still boot 10.04 from the GRUB menu, I can't boot WinXP - the screen goes blank, and I have to hit Ctrl-Alt-Del to restart.
For what it's worth, here are the results of using boot_info_script055.sh:
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.
early tl;dr: The fancy grub breaks on my wubi 10.04 install, can I force it to use the old grub?
When I rebuild grub.cfg (last time was yesterday for kernel update to .37), and shut down / reboot, grub breaks because it can't 'loadfont' and a few other errors which are related to the 'graphical' grub boot menu.
To fix this I have to boot into a live CD (also Ubuntu 10.04) and run the following: Taken from [URL]
Code: sudo fdisk -l sudo mkdir /win sudo mount /dev/sda1 /win sudo mkdir /vdisk sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
[Code]....
I know how to fix it but is there a way to skip having to do this on upgrades (If I edit the grub.cfg before shutting down then this doesn't happen, obviously, but sometimes I forget and this is the result. I'd rather stop the problem at it's source than fight against the updater).
I am running fedora 11 and I am configuring my menu.ist file. I attached the menu.ist file in txt extension. What I want is:
1- I want the first option to be Windows XP (which is on the second HD) and I want the text to be Windows XP instead of Other. This option should be the default (so if I didn't press anything it will boot from xp). 2- To remove the 2.6.29.4-167.fc11.i686.PAE kernel from the list and keep the 2.6.30.5-43.fc11.i586.img available as a second option. 3- Increase the countdown time to 10 seconds.
I've been trying to setup some installation partitions made with Debian and Windows Installation CDs/Images and everything works well with the Debian, but not Windows. This is a similar setup as some Laptop companies do by putting a hidden "recovery" partition.How do I get grub to boot say WinXp/Win9x or what have you?Is there a better alternative?
My set up is internal hard drive Windows 7, external Ubuntu Karmic. The reason I have it this way, despite Linux being my main OS, is because my internal hard drive is 6 years old and half the capacity of my external new one. Have tried quite a few set ups with various Linux platforms, but have finally settled on above. As yet, I don't know Linux or Ubuntu all that well. Getting somewhere, but it's a steep learning curve.
Because of constant errors reinstalling WinXP - umpteen installations and it keeps crashing - the problems are with security updates and SP3 - I finally bit the bullet and intalled Win 7. I only need Windows for a few essential programs or I'd happily never look at it again, so it filled me with horror doing this, but I couldn't take the crashes any more. So, today, Win 7 installs just nicely. However, I can no longer boot my external Ubuntu hard drive. The error is, 'Grub loading stage 1.5... Grub loading please wait... Error 15'. I load up the live cd, but when I try to follow instructions given to other people with Error 15 (editing files, accessing root) I don't have permissions.
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 have an HP Pavilion m7480n PC with Windows XP installed on the C-drive. I successfully installed FC 12 onto the spare USB drive. When I rebooted the PC all I got was a blinking underscore at the extreme upper left position of a totally black screen. After a bit of experimenting I found that if I hit the F1 key during the boot process, go into the BIOS setup, do nothing within the setup, and press ESC to get out of the setup then the PC will go back into the boot cycle a second time. During the second time however a small text message appears with words to the effect "Press any key to enter GRUB..." after which the GRUB splash screen comes up with the choice for FC 12 or "Other" (referring to Win XP). At that point I can boot into either one.
Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager System is AMD 64 Have dual boot with XP on seperate hard drive
[code]....
Then the wheelspin:
Seem to have knocked out GRUB as normal loading screen does not appear anymore. Worse, I think I accidently installed grub to something labelled SDC5.
Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?
When I start the computer the boot menu doesn't prompt, when I try to load it manually it doesn't prompt neither, it just reset the command line.The grub.cfg was generated by update-grub.It's really annoying to load the kernel manually each time the computer starts.
I just installed Ubuntu Remix 10.04 on my wifes MSI U100 netbook. I did a dual boot just in case she had to get into Windows for something. I let the install automatically partion (did the side by side option). Anyway, Ubuntu works fine and imported all her documents and stuff. Problem is Windows XP won't boot. The first time I tried to boot Windows XP I got a message saying the hardware had changed and I had to select safe mode, normal boot, last known good, etc... I booted normally. I got the splash screen followed by a quick flash of BSOD and a reboot. I does this no matter how I try to boot Windows (safe, command prompt, etc). Anyone have any idea what the problem is?
I just did a restart on my computer (so the new keyboard layout I made would load up). After the grub screen, I just got a black screen and a flashing cursor. My caps lock indicator was also flashing for some reason.
Tried booting to recovery mode. Got some messages I didn't understand and then the same thing. I'm posting from my LiveUSB.
I was messing with some files in /usr/share/X11/xkb, but I don't see why that should make a difference.
Edit: copied from my post below So, I copied some of the messages down that I got from trying to boot to the recovery kernel. I didn't copy them all, cause they went by quickly, but here is the stuff from the last page where it starts to look bad.
There are numbers before each line that look something like this:
Code:
I didn't copy those.
Code:
And then there were a bunch of lines that looked more or less like this with different specifics:
Code:
I can get the rest if they are important.
There may be small mistakes, as I copied this all by hand (since my damn computer is broken and all).
I was having problems with a video driver for ubuntu 10.10 64 bit so decided to try and down grade to 32 bit.I kind of carelessly just deleted the ubuntu partition with Gparted thinking that worse case scenario I would still have access to windows 7, since I was running a dual boot. This was a terrible idea and I ran into a bunch of problems. I managed to reinstall ubuntu and it runs fine. However when I try to load windows 7 it justs loops back to the grub screen. Trying to avoid reinstalling everything to get a proper boot
I'm having difficulties booting into my Wubi 10.04 install on my computer. I've been using this install for at least 6 months now with minimal problems, but this one is serious enough to make me have to use my old Microsoft Vista install (which is no fun because it's, well, Vista). But anyway, to the problem:I got on my computer this morning and turned it on. It came up like normal showing the logo DELL as the BIOS (I believe revision A12 if it matters at all) boots up and then goes to the Windows GRUB menu. From there, like normal it shows two options: Windows Vista and Ubuntu. And from there I selected Ubuntu. Like normal it has a few small command-line things it goes through, but then it does one that I've never seen before and goes so fast I wasn't quite able to read it, and then the screen stops and restarts from the beginning.
Normally, after this it would bring up the GRUB menu showing the various kernels that are installed for Ubuntu. There, I would select the latest kernel and continue on to the Ubuntu login screen where I would login and there I'd be on Ubuntu.This might be because yesterday I did some system updates on Ubuntu and it wanted a restart (it said "Restart Required" and the power button on the screen was red). But, instead I just delayed the restart and eventually just Shut Down the computer that night, thinking the Shut Down might render the same thing.I'm hoping I can at least go back and recover the files I had on Ubuntu. Not that any were really important, but I'd kinda want them back regardless. If this is impossible, what should I do to get back at using Ubuntu again? Should I try to partition my harddrive? Should I reinstall Wubi? Or should I even just try to fix whatever is broken that prohibits me getting on to Ubuntu?
So a few days ago I was running windows clearing things out and decided to not have ubuntu anymore. What I did was uninstall wubi and then went into disk manager and deleted the corresponding partitions. And a long time ago i decided to upgrade from 10.x LTS to 11.04 again still having windows and that messed with my grub. I phoned a "friend"(we aren't anymore I forgot to pay him for his service) and he had a grub image or something and set that up after the bad install of 11.04.
Anyway back to the main problem. After deleting the partitions I realized OMG i may have subsequently did what every he did to make grub work so i could get into windows. My fears were right apon reboot i didn't have grub and it went into rescue mode. So i took my seemingly "bad burn" of 11.04 live CD image and installed it thinking since the conflicted partitions have been removed and it actually worked! But alas no grub to load it just boots into 11.04. code...
none of them worked because i kept getting errors of directories not found, no specified area, ect. And my only other solution is to reload windows but OH NOES!! I lost my product key for XP pro. This is what prompted me to fix grub in the first place since thats all i need to get into XP! So please, PLEASE! give me a hand here i'll tell you anything you need to know to help me fix this, monday august 8th is my project deadline and all my work was on windows.
while trying to boot in windows 7, I accidentally hit the wrong Grub option, which started a recovery service for window. I got a white screen with red letters saying ERROR and the computer froze there. I decided to reboot it, but now all I get is the Grub rescue prompt.
When I try and boot my Debian computer I get the messages: Grub Loading stage1.5. Grub loading, please wait... Error 15 Is there any way of recovering from this - or is it simply a fresh install? I was attempting an upgrade from Lenny to Squeeze and despite a few hurdles it looked like it was all happening. Got the new kernel loading, and the new grub. It looked as though grub2 was working so I ran the grub-remove-legacy-support command (something like that) and now my computer won't boot grub or Linux.
I'm assuming the MBR on my harddrive is lost, however I don't know what state the partition is in. I'm guessing that maybe this has been lost as well. I tried a few tools from the Ultimate Boot CD but nothing here was able to re-install my grub or boot from any partition or even mount my file-system. I'm fearing the worst but would like it confirmed before I blow it all away with a new install.
So after having performance issues with Karmic in ext4 I decided to install Hardy with ext3. Was blazing fast, epic, I loved it. But I wanted firefox 3.5 & all the other cool stuff Karmic has.. so I decide to install Karmic, but this time with ext3 instead of 4.
First installation: After the installation went fine, no errors while installing or anything. I remove the CD and reboot. "GRUB Loading, please wait.. Error 15" I did my googling, with the live CD to try and figure out a way of fixing this error. No luck. I did find out that the error is caused by the GRUB trying to load form the wrong drive. So I try to boot directly from the Karmic drive, Error 15. Try to boot directly from the Windows drive, Error 17.
This is the first time this has ever happened to me. First time installing Hardy, everything went great. Installing Jaunty, everything went great. Installing Karmic (for the first time) everything went great. Uninstalled Karmic and installed Hardy, everything went great. Uninstalled Hardy to install Karmic = FAIL!. I did a clean install every single time. The OS is being installed (clean) in the same drive.
A 40GB drive for Windows. A 200GB drive for Ubuntu +/home +swap, and a 120GB(FAT32) for storage.
I installed Karmic 3 times, yes.. 3 times. The last time I installed I removed both the 40GB & the 120GB drives. Leaving only the one I was going to use for Ubuntu, the 200GB drive. After the installation I rebooted and Karmic loaded without problems. I'm in Karmic right now and it isn't all sluggish like it was with ext4, guess my old drives aren't good with ext4 *sight*.
But I can't use my Windows drive. When trying to boot directly from it, it gives me "GRUB Error 17" - I have to disconnect the Ubuntu drive to boot into Windows. Quick question: What the **** is going on?
Someone help, please.. I'm tired of this ****.. and if I have to install Karmic one more time, I won't. I'll just give up and disconnect my Ubuntu drive, put it away and let it accumulate dust somewhere, seriously.. Someone help me correct this without having to install the OS again.
The GRUB error is while the GRUB is loading. It doesn't give me the option to select a OS.
My system will not start. It reaches "Grub loading stage 1.5" and "Grub loading please wait....", then the machine tries to restart from scratch. I have tried using my bootable Heron CD but it gets to "Loading Kernel 100%" then tries to restart. I used the Normal option; the other options do not seem to work. Other symptoms are that the wireless mouse has been double clicking for one btton press and resuming from hibernation has often led to the system freezing within a minute or two. Memtest shows the RAM to be OK.
I messed it up with the grub in Ubuntu Netbook and the grub loader just prompt the "grub console" during the system boot.
However, I can boot manually by selecting manually the kernel:
Code: kernel /boot/vmlinuz-2.6.32-24-generic boot
But, of course, that is not really practical for an everyday use.
I tried with the update-grub command, but nothing happens, the grub.cfg is there, with all the kernels list, but the grub loader won't load it! It is just ignoring it!
If I load the config file manually it prompts the grub command line again (with the "welcome" message), so, it IS loading the grub.cfg, but it's not working!!!
This is the content of my grub.cfg file:
Code: # # DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub
I have finally installed ubuntu 10.4 alongside windows 7.However, the grub doesn't show windows 7 so I can't boot into it.
Attached is a screenshot of "gparted". Windows 7 is installed on "sda2" and Ubuntu is on "sda6". How do I edit the grub to be able to load into windows 7?
And I faced another problem after installation. The pc kept freezing, I couldn't enter ubuntu nor use the live version on my usb stick. It kept freezing.
EDIT: I restarted and it froze again. I had to restart at least times before it allowed me into ubuntu. I'm wondering if it's a hard-disk issue since it's giving me a hard disk error whenever I login. Even though I've been running windows 7 for the past 9 months without any problem.