LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2002, 06:59 PM   #31
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69

Open up your /etc/grub.conf file with a text editor, add this to the bottom of it:

title WinXP
rootnoverify (hd0,0)
makeactive
chainloader +1
unhide (hd0,0)


Then make sure you have these 2 lines in that file as well:
default=0
timeout=10


Ok, now save that, and exit your text editor.

If you are unsure, simply post the contents of your grub.conf file and then someone can make the changes, and you can see what we mean.

From there that's it. You should at that point be able to boot into your winbloze OS.

Cool
 
Old 11-24-2002, 07:00 PM   #32
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Go with David's idea, it's MUCH better than mine. Straight forward, with commands and all.

Cool
 
Old 11-24-2002, 07:01 PM   #33
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I don't have it, my employer is blocking IM's and they are forbidden.

They are my internet connection at the moment.
 
Old 11-24-2002, 07:02 PM   #34
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
ok 1 sec how can i log in through the terminal?

I kno i can do ctrl + alt +f2 but that dosent allow me to read this and see the cmds to do as well as type them in

Last edited by Nefarious; 11-24-2002 at 07:04 PM.
 
Old 11-24-2002, 07:06 PM   #35
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if you are a normal user then you can get to root by running this command


su -


then type root's password at the password prompt

or,


ctrl+d to logout and log back in with username root
 
Old 11-24-2002, 07:07 PM   #36
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
ok the su - worked im logged in as root now
 
Old 11-24-2002, 07:08 PM   #37
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I understand, you are using X, so run the su - command
 
Old 11-24-2002, 07:08 PM   #38
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
cd /etc/grub.conf /etc/grub.conf.backup is what i type in and i get
-bash: cd: /etc/grub.conf: Not a directory

LOL opps my bad its cp not cd.... ok its done

Last edited by Nefarious; 11-24-2002 at 07:10 PM.
 
Old 11-24-2002, 07:11 PM   #39
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
when i type in cat /etc/grub.conf i get

# 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=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-18.8.0)
root (hd0,1)
kernel /vmlinuz-2.4.18-18.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-18.8.0.img
title Red Hat Linux (2.4.18-14)
root (hd0,1)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
 
Old 11-24-2002, 07:14 PM   #40
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok

do cat /etc/grub.conf

then select the text shown and center click to post it here
 
Old 11-24-2002, 07:15 PM   #41
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
ok when i echo'd those cmds i got this now

# 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=0
timeout=10
splashimage=(hd0,1)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-18.8.0)
root (hd0,1)
kernel /vmlinuz-2.4.18-18.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-18.8.0.img
title Red Hat Linux (2.4.18-14)
root (hd0,1)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img
title WinXP
rootnoverify (hd0,0)
unhide (hd0,0)
makeactive
chainloader +1
 
Old 11-24-2002, 07:17 PM   #42
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cool

ok if you run the echo commands you should be ok
 
Old 11-24-2002, 07:18 PM   #43
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
run them?

I coped what you typed in and added them like you said and it added them at the bottom of the grub.conf ..... now what do i do?

Should i reboot and see if it will allow me to boot into windows xp?
 
Old 11-24-2002, 07:18 PM   #44
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
looks good man

it should work now
 
Old 11-24-2002, 07:19 PM   #45
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
edited above
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Go crazy with Red Hat Linux 9 in 24hrs (aka major install problem) hyper guy Red Hat 5 08-22-2004 04:19 PM
Major Red Hat 9 Problems Doctor_j Linux - Newbie 11 05-05-2004 05:29 PM
Red Hat 8.0 Major Problem!!!!! Nefarious Linux - Newbie 7 11-24-2002 05:07 PM
Red Hat 8.0 Major Problem!!!!!! Please Help Nefarious Linux - Software 0 11-24-2002 01:53 PM
Red Hat 6.0 major install prob Durandal Linux - Newbie 1 04-23-2002 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:08 AM.

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
Open Source Consulting | Domain Registration