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!
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.
I've set up many systems with Grub before yet this one for some reason refuses to boot WinXP. This system has two disks. It boots Gentoo and RH9 just fine (off of hda); but choosing WinXP (hdc) just gives me a "chainloader +1" and black screen.
Note: since linuxes are on hda, and WinXP is on hdc (hdc's mbr is written by with NTbootloader), if i tell the BIOS to boot off of ide1 it will boot XP. Telling BIOS to boot off of ide0 results in GRUB loading, where (as mentioned above), Gentoo & RH work but not WinXP.
See any errors below??
contents of grub.conf:
title Gentoo Linux (2.4.20-genkernel-bbj) athlon
kernel /kernel-2.4.20-gentoo-r8 root=/dev/hda1 hde=ide-scsi
title Red Hat Linux (2.4.20-20.9) athlon
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hde=ide-scsi
title Windoze XP
fdisk -l /dev/hda
/dev/hda1 * 1 2422 19454683+ 83 Linux (gentoo partition, reiserfs)
/dev/hda2 2423 2447 200812+ 83 Linux (RH & gentoo /boot)
/dev/hda3 2448 2543 771120 82 Linux swap
/dev/hda4 2544 5005 19776015 f Win95 Ext'd (LBA)
/dev/hda5 2544 2607 514048+ 83 Linux (RH /var)
/dev/hda6 2608 5005 19261903+ 83 Linux (RH /)
fdisk -l /dev/hdc
/dev/hdc1 * 1 3824 30716248+ c Win95 FAT32 (LBA) (WinXP)
/dev/hdc2 3825 9729 47431912+ 83 Linux (/archive)
No other disks. cdrw is /dev/hdd, dvdrom is /dev/hdf (promise raid in non raid mode). Any problems with this setup?
I actually had a similiar problem, it kinda silly but i'll tell you about it anyway. It turned out to be the nano editor(I think) I was using to edit grub.conf, I was absolutely sure that I got everything right but it just wouldn't work, so I ditched the old grub.conf and wrote a new one using vi and it worked.
Also if xp wasn't on hdc when it was installed you may need to remap the drives so that the drive becomes the first.
If everything else fails, you might want to try doing it the other way around - using ntldr to grub instead.
Hi Demonbane, how do i do the map thing? Can you illustrate with an example that would apply to my situation? i.e. hda and hdc. Thanks. PS - i checked, and there are no stray new lines or anything. I always use VI.
I just read grub documentation again though, i dont think this is gonna work with windows xp, not to mention that this may not be your problem to begin with.
Try roonoverify (hd1) as well, that loads the mbr in your second harddisk, and as I mentioned before consider using ntldr as the main bootloader, personally I've experienced less problems doing it this way.
Glad to hear you've got it sorted out, its probably not xp itself but the nt os loader that is complaining when it isn't on drive0. But anyway interesting to hear that the map command does work for XP.
Distribution: openSuSE 13.2 / 12.3_64-KDE, Ubuntu 14.04, Mint 17
Glad you solved it. Is it still the good old boot loader Version 4.01 of NT4.0 btw.? I used that one for SuSE 6.4 but SuSE 8.1 mangled over my MBR with GRUB -- since that worked from the first boot, I didn't change it back either.
Also good that you could make use of the docs. This is a great site for creating new bookmarks so I try to pass them along.