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, 01:54 PM   #1
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Rep: Reputation: 30
Red Hat 8.0 Major Problem!!! Please Help


I partioned my drive using Partition Magic. I then Installed Red Hat 8.0 and now when i boot up I am not able to get to Windows XP!!! Can any one tell me what to do help me please!!!!! When i reboot it just loads up into Linux... When I boot up it does not show 2 operating systems.... All it does is load up Linux?!?! PLEASE HELP ME

I poped in my HP recovery disks that reformat the drive and load up what my computer origionally came with and it gives me an error stating that there is no c drive or some thing!!! And then it Aborted the Recovery! OMFG this is pissing me off and i have no clue what to do or how to do it!!! Some 1 please help me!!!! PLEASE

 
Old 11-24-2002, 02:03 PM   #2
membrax
Member
 
Registered: Nov 2002
Location: 50'48''N - 4'21''E
Distribution: SuSE7.1 - SuSE8.1 - SuSE8.2 - RH6.2 - RH7.1 - RH7.3 - RH8.0 - RH9.0 - Fedora Core 1
Posts: 281

Rep: Reputation: 30
XP needs to own the HDD MBR.

I'd suggest you to uninstall Linux, boot on a DOS-bootable disk, make FDISK /MBR to erase what Linux placed on it.

Afterwards you'll have to find a way to boot XP and rewrite the MBR boot block needed by XP to run.

I wonder why you played with partition magig before installing RH8.0
RH would have handle it perfectly instead of you ...

GL, m8 !
 
Old 11-24-2002, 02:42 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I see you did it in a panic, but that doesn't mean it's ok.

Anyway, I don't know which one the mods will wanna keep open, here's the link to the other (in the newbie section):
http://www.linuxquestions.org/questi...threadid=36331

Will everyone try to post answers in only 1 of the 2 threads, I'd say the other one because it seems to be the more appropriate forum to me, but I'm just a member so for now, let's pick this one.

From now on though, Nefarious, you should only post your question 1 time. IF you aren't sure where that should be, post it in this forum, and then if needed, a mod will move to the appropriate forum.

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

Rep: Reputation: 69
Login as root, open up a terminal and type:
fdisk -l (that's FDISK -L lowercase)

Post that here, then:
In the terminal, type:
whereis lilo (if nothing returns, then)

OR

find lilo (if nothing appropriate returns, then)

OR

updatedb &&
locate lilo

If still nothing returns, you might have grub installed... I will poke around on setting grub up for dual boot if that's the case.

For now though, we really would need to see what fdisk -l gives

Also, in that same prompt type:
cat /etc/fstab

And post the output of that here as well.

Cool
 
Old 11-24-2002, 03:04 PM   #5
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
how do i login as root? i kno the pass and all but where do i go to login?
 
Old 11-24-2002, 03:09 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Where are you? Are you logged in in graphic mode? Or are you at a command prompt?

If in graphic mode type:
CTRL ALT F2

Then at that prompt type:
root

And then enter password.

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

Rep: Reputation: 69
Be careful what you do as root, you can dork your system worse than it already is.

Cool
 
Old 11-24-2002, 03:10 PM   #8
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
nono... i kno but how do i log in as root?
 
Old 11-24-2002, 03:17 PM   #9
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
Quote:
Originally posted by MasterC
I see you did it in a panic, but that doesn't mean it's ok.

Anyway, I don't know which one the mods will wanna keep open, here's the link to the other (in the newbie section):
http://www.linuxquestions.org/questi...threadid=36331
i closed the one in the software section, it had no replies yet.
 
Old 11-24-2002, 03:24 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Oh man! Triple post...

Anyway, I am not quite clear... You boot your system (are you in linux already?) and then you would either be at a command prompt waiting to be logged in as a user or root, or at a graphical login screen, still waiting to be logged in as a user or root. At this point you'd type (either way, if you are graphical it will put you in command, if you are command, nothing will happen) CTRL ALT F1

Then from there type:
root

And then, enter roots password.

Cool
 
Old 11-24-2002, 04:00 PM   #11
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
OK....... This is what i get
fdisk -l
Disk /dev/hda: 240 heads, 63 sectors, 7990 cylinders
Units = cylinder of 15120 * 512 Bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 5908 44664448+ 1c Hidden Win95 FAT32 (LBA)
/dev/hda2 * 5909 5922 105840 83 Linux
/dev/hda3 5923 7906 140999040 83 Linux
/dev/hda4 7907 7907 257040 f Win95 ext'd (LBA)
/dev/hda5 7907 7907 257008+ 82 Linux Swap

Cat /etc/fstab

Label=/ / ext3 1 1
Label=/boot /boot ext3 1 2
none /dev/pts devpts 0 0
none /proc Proc 0 0
none /dev/shm Tmpfs 0 0
/dev/hda5 Swap Swap 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0
0
/dev/sda4 /mnt/zip Auto noauto,owner,kudzu,ro 0
/dev/fd0 /mnt/floppy Auto noauto,owner,kudzu,ro 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0
0


when i do find lilo = i get no file found
 
Old 11-24-2002, 04:07 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ok, so things are looking good for you...

/dev/hda1 is your "C" drive And it looks like:
dev/hda4 is your "D" drive, or similar.

Cool, so now we just need to setup your bootloader (which appears to be grub *breathes*) to boot your win partition.

I'll be back with more info on that...

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

Rep: Reputation: 69
Ok, since you don't care, and it'd be MUCH easier for me to walk you through a lilo setup, let's install lilo and use it as your bootloader.

Plop in your install CD, locate the rpm for lilo:
cd Redhat
ls | grep lilo

Now that you have that file:
rpm -Ivh filename.rpm

Ok, so now lilo *should* be installed, and we will work with that.

Let me know if you run into problems so far..

Cool
 
Old 11-24-2002, 04:17 PM   #14
Nefarious
Member
 
Registered: Nov 2002
Location: NY, USA
Distribution: Slackware / College Linux / WinXP
Posts: 198

Original Poster
Rep: Reputation: 30
confused...
 
Old 11-24-2002, 04:26 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Uh oh...

Ok, we are going to install LILO. This is another boot loader to get your system up. We are locating the RPM on the install disc, and then installing it, all via the command line.

So, first thing you'll wanna do is put in the install CD, then you'll wanna mount the cd (if it doesn't auto mount):
mount /mnt/cdrom
And then change to that directory:
cd /mnt/cdrom
And locate the RedHat folder and change into that directory:
ls (that's LS lowercase)
cd redhat (case sensitive, so make sure it matches what LS showed)
Then we want to find the file for LILO so we can install the rpm:
ls | grep lilo

This will list all files (ls) and then limit what's displayed to the files that contain lilo (grep) the pipe | puts the 2 arguments together to show only a few (or 1) files.

Then we are going to install that 1 file that is lilo, it might have a name like: lilo-2.22.i386.rpm Or something, so note that name and then:
rpm -Ivh lilo-2.22.i386.rpm (or whatever the filename is)

This will install the lilo file from the cdrom.

Cool
 
  


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 08:20 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