LinuxQuestions.org
Register a domain and help support LQ
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 02-12-2003, 12:07 AM   #1
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Rep: Reputation: 15
Dual Boot Problem (Windows XP & Red Hat 8)


I have Windows XP on my 120 gig HD and I just installed Red Hat Linux 8.0 on my new 80 gig HD. Everything went fine, but when I boot up my computer I get two choices, windows or linux.. If i choose windows, a black screen with only the words "Loading Windows XP" appear and stay forever...

I use LILO and I think that my boot config is bad or something, but I am *brand* new to linux, please explain in full detail how to configure lilo so i can boot into windows!

email me please...thanks
sypkensj@hotmail.com
Jason
 
Old 02-12-2003, 09:54 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You should post your lilo.conf file so people can take a look at it. I'm not to familiar with lilo but it sounds like this is a configuration problem. You didn't mention if booting Linux works.

Anyway LILO is probably trying to boot XP in the wrong place. Post you lilo.conf file.(I think its called lilo.conf) Whatever the lilo configuration file is post it.
 
Old 02-12-2003, 10:18 AM   #3
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
You have to be more specific.. how do i post that

I don't know any of the commands..how do i view it or anything?

....
I'm a newbie...remember
 
Old 02-12-2003, 01:10 PM   #4
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: Debian, INSERT-Linux, Fedora
Posts: 121

Rep: Reputation: 15
Open the file "/etc/lilo.conf" with an editor, cut the text from there, and paste it into your next reply here. Then we are (probably) able to help you.
(well, you don't HAVE to use an editor, you'r web-browser can open the file too..)

Last edited by Tih8710; 02-12-2003 at 02:30 PM.
 
Old 02-12-2003, 03:05 PM   #5
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Every program I try to open lilo.conf in says access denied...........

suggestions?
 
Old 02-12-2003, 03:09 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Make sure you are the root user.
 
Old 02-12-2003, 03:15 PM   #7
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
I am the root user...there are no other users.
is there a way that I could check?
 
Old 02-12-2003, 03:17 PM   #8
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Well how could you get an accessed denied error if you are root? What distro are you running? I believe you have to create another user besides root during installation.

whoami will tell you who you are.

Last edited by Crashed_Again; 02-12-2003 at 03:18 PM.
 
Old 02-12-2003, 03:20 PM   #9
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
whoami what ? how do i run whoami...

how would I log in as root.. I have a root password, and one account.

my AIM is sypkensj if you have that, since you are obviously online
 
Old 02-12-2003, 03:29 PM   #10
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
Well..got it thanks to crashed_again
heres my lilo.conf


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

image=/boot/vmlinuz-2.4.18-14
label=linux.bak
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdd=ide-scsi root=LABEL=/"

other=/dev/hdb2
optional
label=WindowsXP

image=/boot/vmlinuz-2.4.18-24.8.0
label=linux
append="hdd=ide-scsi root=LABEL=/"
read-only
initrd=/boot/initrd-2.4.18-24.8.0.img
 
Old 02-12-2003, 03:30 PM   #11
Tih8710
Member
 
Registered: Jan 2003
Location: Finland
Distribution: Debian, INSERT-Linux, Fedora
Posts: 121

Rep: Reputation: 15
Well, if your shell looks similar to this:
[root@localhost root]#

then you are root

But if it is ie like:
[sauron@localhost sauron]$

like Mine is,
then you are a REGULAR user. Reg's have no permissions to
open or modify .conf files in /etc/, only root does. (type "whoami" to see it. )
You probably are logged in as a reg, so do a "su root", and type root's
passwd to get The PoWeR of God on your box.. =)
 
Old 02-13-2003, 10:07 AM   #12
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
anyone know how to help me if thats my lilo.conf ?
still cant boot windows
 
Old 02-13-2003, 10:21 AM   #13
rzee
LQ Newbie
 
Registered: Feb 2003
Location: NY
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
Are you sure your xp black screen would not go away?

Try waiting 15 minutes, if you DO eventually get in, then it's because your XP is trying to access the linux drive.

Otherwise, what do I know, I am also a newb.
 
Old 02-13-2003, 10:37 AM   #14
sypkensj
LQ Newbie
 
Registered: Feb 2003
Posts: 24

Original Poster
Rep: Reputation: 15
15 minutes...is this just a guess or a valid response? I will try it..
just start it and leave for class i guess
 
Old 02-13-2003, 10:52 AM   #15
rzee
LQ Newbie
 
Registered: Feb 2003
Location: NY
Distribution: Mandrake
Posts: 17

Rep: Reputation: 0
Obviously the 15 minutes is just a number that I spitted out at random, but it does take a long time if windows is trying to access a linux drive.
 
  


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
Configuring Red Hat 7.2/ Windows XP dual boot mobok7v Linux - General 10 11-27-2006 03:47 PM
Cannot dual boot Windows XP with Red Hat 9 fries321 Linux - Newbie 6 08-03-2006 10:24 AM
dual boot Windows XP Pro and Red Hat Fedora Core 2 j2linux2 Fedora 5 10-01-2004 10:32 AM
how can i dual boot between windows and red hat? phancom Linux - Newbie 2 09-17-2003 10:53 AM
Dual Boot, Lilo Windows / Red Hat kbhadsten Linux - Newbie 15 06-21-2002 07:30 AM


All times are GMT -5. The time now is 01:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration