Dual boot
Hi guys
I'm not sure this is the right websire for my problem but i'll try anything now. I have a laptop with Windows XP. I partitioned the drive and installed opensolaris on the second partition. No wheneveri turn on the laptop, Grub opens and only gives me the option for Solaris and not wiondows. I haven't been able to boot to Windows since. I've seen alot about editing the command lines for Grub but i'm new to this. Does anyone have any idea's on how to solve this? i feel like it's not such a big thing but it's beating me right now. Big thanks |
I'd suggest that you boot opensolaris and add an entry for Windows to grub.
Add these lines to /boot/grub/menu.lst: Code:
title Windows XP Windows were installed on the third partition of the second drive you would use hd1,2 instead. To answer your question about the command line, just type "root (hd0,0)" and "chainloader +1". |
Hey
how do I access the menu.lst?? Do I have to open the Terminal? If so I did that and there wasn't a manu.lst. I created one using touch manu.lst and then used vi to add the command lines. This didn't work. Can you see where i'm going wrong? Thnaks for your help |
Delete the file you created. Some systems use /etc/grub.cnf or
/boot/grub/grub.cnf. Look through the /etc, /boot and /boot/grub directories for a file named menu.lst or grub.cnf. When you find the right file it will have many lines, and the new entry you add should go at the bottom. |
Hi
I looked in both directories and can't find either grub.cnf or menu.lst I can see nbgrub and pxegrub in the boot/grub directory.. What if I make the windows partition active using some other software that I have? Will it then boot to Windows? Appreciate your help with this |
Can you check all three directories, /etc, /boot and /boot/grub?
Odds are the Windows partition is already active. You can tell by running "fdisk -l". What we need to do is update the early booting process to allow that partition as an option. |
What version of grub are you using?
Code:
cat /boot/grub/installed-version |
Hey
I can't see either menu.lst or grub.cnf in any of those places. After I type in fdisk -l what is the next step? If i was to give up on this whole problem, could I just remove Solaris and get back to just using the windows partition? I have to use my laptop for work tomorrow and i'll be in a bit of bother if it's not sorted :-) |
Is there a /boot/grub/grub.cfg file? sorry about that has it wrong the first time a around so reedited it.
|
Sorry mate, I can't see grub.cfg either. I do see other files just not the one's we need.
I have found the menu.lst on the Solaris cd. It has some content to. can I copy this across? |
Do you have this file here
Quote:
|
If you must pop in the Windows Installer CD and boot to recovery console. Run the following commands to restore Windows as your primary boot...
Code:
fixboot How advanced are you with Unix/Linux in the terminal. Do you know your way around? Do you understand the general structure of the OS such as where stuff it booted from, startup, and where programs are installed? I'm just trying to get a feel for where you stand as a user because it's quite possible that us telling you to run these commands may be ineffective if you don't know how to run them. Please let us know... SAM |
All times are GMT -5. The time now is 02:49 PM. |