UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Sounds to me like you installed XP on one disk and linux on the other, but you "grubbed' the wrong (non-booting) disk.
There is a fine grub document on this site to use, but here is what I discovered on my system.
I had installed WinXP on the secondary master IDE hard drive and had the bios booting from it. When I installed Ubuntu, I installed it in the primary IDE Master drive.
Once Ubuntu finished and re-booted, WinXP would boot, but no grub menu.
I changed my bios setting to boot from the primary Master IDE and there was the grub.
The faster way to find, out if my theory is correct in your system, is to hit F9 or F12 (depends on your system) to get to the device boot menu, then boot a different drive.
Make sure that the boot flag is set on your "Linux" drive. To find out boot with linux and type in the command prompt (xterm) "sudo fdisk -l" (no quotes). You should see an asterisk under the word boot for both your drives. If not use fdisk to fix it (the fdisk "a" command to be exact).
I am an ocasional Linux user but my family is more inclined to use WinXP, so I edited the grub "menu.lst" to boot WinXP instead of Ubuntu which is it's default.
Thank you all again for the suggestions, I have a good reference file now for the future! After combining many of your ideas, I came to the conclusion that I had either deleted the Grub file or possibly installed it on a pen drive (if that's possible). I couldn't find the stage1 file anywhere no matter what boot sequence I used or how I searched for it. Eventually, I chose to install Feisty with a clean install on my secondary drive and during that process the grub was installed on my primary. Now when I boot, Linux is the first choice so I don't have to choose Windows unless I want it. I had a little trouble with the external modem when I went from Dapper to Feisty, but eventually was able to find a Linmodem driver that worked for my original internal Conexant modem and so far so good. I have to enter "sudo wvdial" in a terminal to get on-line instead of it being automatic...when I try to set up the modem with Network as I did the external previously (when it worked), it won't complete it for some reason. I had to go into /etc/wvdial file and enter my isp information, then use the Terminal command. I lost the information I had on the drive I was trying to gain access to before this all started, but easy come easy go. I have a free Gutsy Gibbon ordered, my dial-up isn't too keen on downloading, and I'm in no rush to bother with an iso burn. Thanks again, I am back in the Linux saddle and learning something every day.
The following fix worked for me aster a lot of reading and experiment. I ran into this problem after I suffered a corrupted XP installation. I have always installed XP on C: drive (hda1) and Linux (various flavors) on the hdd2 (with hdd1) for swap and hdc1 to hdc4 for "mounted on" working/data partitions.
To restore grub: I booted Debian running in ram, from CD and (presuming your Linux installation on the hdd2 is OK) type: grub <hit return>, on the grub command line type: root (hd2,1) <hit return>,then type: setup (hd0,0) <hit return>, finally type: quit <hit return>. Your finished. Shutdown and fter a cold reboot (power off) I get the grub menu up. Its that simple! Hope this helps.(dja.)