LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-28-2004, 01:12 AM   #1
jonpyers
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
Unhappy Stuck in RedHat!


Well, I'm brand new to Linux, very brand new. And I'm having some trouble. Since I've installed RedHat 9, I've been stuck in it, and have not been able to boot back to my WindowsXP... It doesn't show up on the OS chooser screen when I reboot. Is there any way I can reboot back into XP?

Sorry for being so vague, if you need more informating or anything, i'll tell you.

Help, anybody?
 
Old 03-28-2004, 01:20 AM   #2
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 465

Rep: Reputation: 40
what choices are you getting at the boot menu? If DOS is an option use that and it will start XP if everything is configured properly I think.

If you post the contents of grub.conf (might be grub.config or some other variation I can't remember) presuming Grub is your boot loader, then I am sure one of the experts will be along soon to help


mark
 
Old 03-28-2004, 01:28 AM   #3
jonpyers
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
At the boot menu I'm only getting a choice to boot RedHat :/

My boot loader is LILO, and the contents of lilo.conf.anaconda is...

prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdc=ide-scsi root=LABEL=/"


Thanks for the help so far
 
Old 03-28-2004, 01:40 AM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Hi there,

I'm assuming you installed on a 2nd partition of your primary drive right? The reason why your boot loader won't give you a choice of which OS's to load is because you haven't specified it. In your lilo config, you need to add these rules:

#boot windows
other=/dev/hda1
label=dos

After adding this, run 'lilo -v' to make it into affect. Have fun....


-twantrd
 
Old 03-28-2004, 01:44 AM   #5
jonpyers
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry, when I said I was new to Linux, I meant I was really really really new, hehe

When you said "run 'lilo-v' to make it into affect", I got lost. Where do I run 'lilo-v'?
 
Old 03-28-2004, 02:30 AM   #6
jonpyers
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
uh oh..

Oh man, I must be really tired. Sorry about all that, I'm actually using the GRUB boot loader, and here's my grub.conf:

# 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,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img


Sorry again, heh. Anybody have any ideas on how I should change this to make booting to XP an option? Thanks for the help guys.
 
Old 03-28-2004, 03:54 AM   #7
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Dual booting with GRUB huh? Hmmm, haven't tried that yet. Found a quick site that shows a bit of how to do it and seems pretty easy.

http://www.faqs.org/docs/Linux-mini/...with-GRUB.html

-twantrd
 
Old 03-28-2004, 09:13 AM   #8
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.1 and Slackware Arm
Posts: 465

Rep: Reputation: 40
Umm, when you installed RH9 did you tell it to install on a separate partition/ free disk space etc.

I (fwiw) shrunk my Win XP from 80gb (ie my whole hard drive) to 30 gb and then installed RH9 on the freed up ~50gb of space.

From what you have posted it looks like you have installed only RH9. My grub.conf looks like this:

Code:
# 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,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptlsmp)
        root (hd0,1)
        kernel /vmlinuz-2.4.22-1.2115.nptlsmp ro root=LABEL=/ hdd=ide-scsi
        initrd /initrd-2.4.22-1.2115.nptlsmp.img
title Fedora Core (2.4.22-1.2115.nptlBOOT)
        root (hd0,1)
        kernel /vmlinuz-2.4.22-1.2115.nptlBOOT ro root=LABEL=/ hdd=ide-scsi
        initrd /initrd-2.4.22-1.2115.nptlBOOT.img
title Fedora Core (2.4.22-1.2115.nptl)
        root (hd0,1)
        kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi
        initrd /initrd-2.4.22-1.2115.nptl.img
title WinXP
        rootnoverify (hd0,0)
        chainloader +1
~
~
~
~
~
note that I use only the "Fedora Core (2.4.22-1.2115.nptl)" when re-booting because I haven't got around to deleting the other options yet.

If it turns out that you have deleted/lost the XP partition then the standard advice seems to be to re-install XP first if you need it , use a good partition manager (Partition Magic worked for me) to free up some hard-drive space and then re-install RH9, telling it to use the free space (that you created with partition magic).

Please take my suggestions with a pinch (pound) of salt because I am a newb too.

Hope this helps,

mark
 
Old 03-28-2004, 12:16 PM   #9
jonpyers
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hmm I think I may have messed up the partition for XP, and I tried using a boot disk, (my BIOS settings were set to load from the disk) and that didn't work, it just booted straight to GRUB, then I tried using the XP CD (after changing BIOS to load from my CDRom drive), and that didn't work either.

How would I go about formatting my computer totally, to start with a fresh start?
 
Old 03-28-2004, 12:48 PM   #10
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
hrm thats strange...

it should be booting from the disc...

make sure you save after changing the boot priority
 
Old 03-28-2004, 01:00 PM   #11
jonpyers
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I have

I'm going out later to buy another hard drive, then format that and put XP on it. Yeah I'm really that desperate, I need to get a project for school done by tomorrow, and I need to use programs that I can't use in Linux on it.

Thanks for the help though people, if you have any ideas as to what I could try to save this HD, please help me out.

- Jon Pyers
 
Old 03-28-2004, 02:46 PM   #12
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
If you're in school like me, then you must be poor (at least I am!) eheh. If your hard-drive is big, no need to buy a 2nd one (unless you really don't have time and need it). This is what I would do.

1. Make 2 partitions on the hard-drive (can be done with WinXP install)
2. Then install winXP on the first partition
3. Afterwards, install linux on (2nd partition which is pretty much 'free space')
4. After the install, the boot loader will recognize linux partition not windows. You will need to configure the boot loader (grub, lilo) to boot up windows as well.
5. Done.

I have not dual-booting with grub before but looking at the link and chefmark's configuration, it doesn't seem that bad. Hope that helps!

-twantrd
 
Old 03-28-2004, 04:30 PM   #13
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Rep: Reputation: 15
Well, What I did was quite simple. I already had windows installed, and then when I installed Linux I used the disc-druid partitioning tool to make the partitions for my Linux. and when it came to the bootloader I just changed the label for Windows.

So the way there is a possibility that you have formatted your XP partition and installed linux on that one... (Hell, I know I was confused when I first saw the /dev/hdaX)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck in Redhat 7.2 eaglesfan17 Linux - Software 2 09-16-2004 02:42 PM
stuck at redhat 9 login stanley_shilov Linux - Newbie 6 11-15-2003 03:04 AM
I'm Stuck, so Stuck. basttrax Linux - General 3 11-14-2003 10:59 PM
Im stuck please help me install Redhat 9 tododo Linux - Newbie 9 11-03-2003 06:45 PM
stuck redhat install zovres Linux - General 2 04-28-2003 06:04 PM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration