Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
root (hd0,0)
chainloader +1
The hd0,0 refers to the first drive (0) and the first partition (0). If
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".
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.
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.
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 :-)
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
fixmbr
fschk c: /r
Of course the fschk command is optional. From there you can actually add entries to your Windows boot loader for booting Solaris.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.