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.
Ok, I'm about as newbie as they come, so be gentle.
I installed Redhat 9.0 on a partition of my hard drive. The other partition on my hard drive has WinXP. My computer only boots to Redhat.
I've tried to Google an answer but the pages I've come across that talk about GRUB and LILO in terms that are way beyond me and leave me fairly confused. Is there someone or somewhere that will walk a total newbie through this. As best I can tell, I need to figure out what partition WinXP is on, get this GRUB thingy to recognize it and agree to give me it as a boot choice?
Use FAT32 for WinXP. If you're using NTFS, and you resize it, XP hates that, and you must reformat that partition and reinstall XP. Afterwards, you'll have to put Grub or LILO back (or reinstall RedHat). I found that the hard way. Fortuantely, it was already dead and I was using Linux to troubleshoot it.
I shoulda asked before now: Do you see the XP logo for a short time while it tries to boot, then you get an error message?
Last edited by lectraplayer; 11-01-2003 at 09:33 PM.
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/hda5
# initrd /initrd-version.img
title Red Hat Linux (2.4.20-8smp)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/ hdc=ide-scsi
title Red Hat Linux-up (2.4.20-8)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
title DOS - HP Recovery
title WinXP 2
title WinXP 3
title WinXP 4
title WinXP 5
DOS boots into HP Recovery which wants to wipe all my data and start anew.
WinXP options 2-5 either get me an "Error 13: Invalid or unsupported executable format", or it just goes nowhere.
Here is what I get when I type sbin/fdisk -l
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 593 10336 78268680 17 Hidden HPFS/NTFS
/dev/hda2 * 1 592 4755208+ b Win95 FAT32
/dev/hda3 10337 10349 104422+ 83 Linux
/dev/hda4 10350 14593 34089930 f Win95 Ext'd (LBA)
/dev/hda5 10350 14463 33045673+ 83 Linux
/dev/hda6 14464 14593 1044193+ 82 Linux swap
Partition table entries are not in disk order
And no, I don't see the windows XP logo, it goes straight to GRUB (I think). I tried reinstalling RedHat in hopes I could configure the boot launcher to find my WinXP partition but no luck (or I couldn't figure out the right way to do it).
Try to go 'cd /mnt/windows'. Usually, that's where your Windows partition will be automounted (at least with Mandrake). Seriously, do find where it's at in the file system, or mount it in somewhere.
First, try to just type in 'mount' at a konsole (Ctrl-Alt-F1->F6). It should print out a thing telling about all your mounted partitions. Look for either FAT32 or NTFS listing. ...then try to CD to the folder that is listed there. (not the /dev/hda or whatever, but the other path that's listed, may be that /mnt/windows I mentioned a second ago).
Last edited by lectraplayer; 11-02-2003 at 05:25 PM.
Demonbane: I've unhidden hda1 but when I try a GRUB entry with
It says "Booting command-list" and then it hangs and I have to manually shut the computer down. I'm not sure what partition type it is because I apparently have no cfdisk. It doesn't show up as a command and the helpfile has nothing about it.
lectraplayer: Here's what I see when I type mount:
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda3 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
It appears your Windows partition isn't listed. Try ls /dev/hd* and see what you get. What all do you have? Try mounting each one and seeing what's in it. You may recognize your Windows partition by the files in it. Also, look at your raid and SCSI drives, whatever they are in /dev.
Last edited by lectraplayer; 11-03-2003 at 08:18 PM.
Ok, I have a feeling that I've really messed up my windows partition through some attempts to find it. So I have a new strategy. I'd like to reinstall WinXP to a different partition so I can get back to an OS I am familiar with and then get a data recovery program to hunt through my partitions to try and get my files back.
So I need to figure out how to create a new partition that the WinXP will recognize, setup on, and boot from. I think I should have enough space on my linux partition that it can donate the space to the new partition.
I tried to setupWInXP before but it had booting issues.
By the way, thanks for your help so far, I'm sure you're thinking "what a schmuck this guy is." Well, that's what I'm thinking too (and my wife!).