LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-09-2002, 08:49 PM   #1
prpsarathy435
LQ Newbie
 
Registered: Dec 2001
Location: Mumbai, India
Distribution: net
Posts: 18

Rep: Reputation: 0
redhat unix v 8.0 with xp


I have windows 2k and linux 8.0. i was using grub as the boot manager and it was working fine. I tried to install the windows xp in the process it changed the boot manager and i could not access redhat 8.0. i tried to use the osloader. It could recognize the linux but when i try to boot it says that there is no boot availabe to boot. What is the solution. How to reinstall the redhat linux through osloader (www.osloader.com). Otherwise how to reinstall the redhat linux without parititioning the hard drives and also get the grub as the boot manager. In that case does it automatically recognize the winxp and win2k

can any body help me.
 
Old 12-09-2002, 09:43 PM   #2
ubien
Member
 
Registered: Oct 2002
Distribution: RH 8.0 and fluxbox
Posts: 122

Rep: Reputation: 15
Id say install all your windows OSs that you want to install and then install linux last. Windows likes to take control of stuff without you asking it to, like the MBR.
 
Old 12-09-2002, 11:38 PM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
okay, the problem was the order in which you installed everything. You installed Windows at the end....as a result, Windows rewrote the MBR and whiped out your entire RH system.

What you have to do is the following:

1.You already have Windows installed, ok

2.Re-install Redhat, now that you have Windows in there.

3.partition your hardrive to house Linux and Windows....and then use either Lilo or grub boot loaders to boot Windows and Linux.

 
Old 12-10-2002, 07:55 AM   #4
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
It's simple. use a boot/root/rescue disk, I think RH8's CD is one and just run grub again. it should solve the problem. And if it doesn't do that and run lilo (to install it to the MBR) and boot from there.
 
Old 12-10-2002, 09:09 AM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
i had this problem, but i was using Lilo, all i had to do was type lilo at the prompt and it worked just fine. They way i had it set up was all my Windows stuff on 1 disk and RH7.3 on its own HDD, when i installed XP, the Windows bootloader took over, i used the boot disk to get back into Linux then ran the command:

#lilo

and that fixed all my problems, i didnt have to re-install anything, I havent done it with grub, but i would think (not 100% sure) that it would do the same thing. But like I said, I was using 2 seperate drives. I had like 3 versions of windows on 1 disk and rh7.3 on the other, lilo (and grub) both treat the Windows OSs as 1 and if i wanted to boot into any of em i just select Windows (the default name was DOS) from the menu then I would get the Windows boot menu and select the one i wanted.

Last edited by Robert0380; 12-10-2002 at 09:13 AM.
 
Old 12-10-2002, 09:41 AM   #6
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
BY DEFINITION! you never have to reinstall anything on Linux (not exactly true, but applies for most cases). I've never used grub, but I think it'll behave like Lilo. Just boot from the CD and type rescue. then run grub. once you've restored it you can boot and then add the winXP lines in the configuration file (I assume it would be something like /etc/grub.conf)
 
Old 12-10-2002, 01:05 PM   #7
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
no, you guys didn't get it. Windows reformated the entire Hardrive, there is no more Linux in his hardrive, because of Windows, don't you guys read?

Everytime you Install Windows, it whipes the entire MBR and the entire Hardrive, if you just do a Standard Installation. He installed Linux first, then Windows...thus it follows that there is no more Linux!, duh!
 
Old 12-10-2002, 01:40 PM   #8
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
No it doesn't. Windows XP does not format any partiton, specially when it's using another FS. if not check with fdisk (a linux one, using a boot disk). If you have a little brain and know that Windows likes to kill every other OS on your box you'd know how to use fips (on the cd/dosutils) and resize the partitions. If you've lost all your instalation the I suggest you to install Windows (start with the older version) and after you've installed all windows' and your windows's boot loader works you can install redHat. It will give you the choice between windows boot loader or starting linux.

Anywya, next time do a little research before installing windows... it is a death sentence for anything, if you don't know what you are doing.
 
Old 12-10-2002, 01:44 PM   #9
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 63
Alright, let's not allow this to get out of hand, shall we? Ciccio, I think you'll find that with XP installations, if it finds partitions that are not NTFS/Fat32 it will try and remove them and format them as if they were blank space, unless you explicitely tell it not to do so.
 
Old 12-10-2002, 01:55 PM   #10
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
yes, I know, I've installed it a few times with Linux... I've never had any problems. I apologise for being rude to you or anyone else, but I have a problem with Microsoft now, you see, I've lost more that 30 GB in files because of the stupid scan disk that is suposed to repair the partitions... well.. it happend to destroy my entire file system on a ext3 partition... (on the primary HDD)... anyway, after that I never let it run.

Ok, I know there are a few good documents out there on teh web.. I'll searh and tell you what I've found. (abount installing multiple OS)
 
Old 12-10-2002, 09:54 PM   #11
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
I wasn't aware that WindowsXp would actually gave you an option to whipe your entire disk clean, or to save some of the other partitions. I guess it must be a new feature that was copied from Linux. At any rate, we still haven't heard from the author of the thread exactly which step chose. If it is possible to prevent WinXp to install over a partition where Linux is on, and that is what prpsarathy435 did, then he should post it in a clearer manner. Or, if WinXp actually did over write the entire Linux system...so shall he in a clearer manner post it.
 
Old 12-10-2002, 10:51 PM   #12
prpsarathy435
LQ Newbie
 
Registered: Dec 2001
Location: Mumbai, India
Distribution: net
Posts: 18

Original Poster
Rep: Reputation: 0
xp / 2k & rh8.0 dual boot

Yes, i could boot through cd of rh8.0 ( and i used the upgrade option, it did not update the boot as it said that since no change in kernal it has not updated the boot ) but helped me to create a boot disk. Now my system works from boot disk but generally i feel the floppies are not realiable. so i want it to boot from the hard disk.

Can you explain to me how to install grub alone.

In the meantime, i tried to follow the instruction in the redhat site but it is not working. i really donot know why

http://www.redhat.com/advice/tips/dualboot.html

( You may choose to let another boot loader handle the
install, in which case you will want to:

Boot into Linux and copy the boot image from the first sector
of your boot partition. You'll want to take 512 bytes of this
partition once, and write it out to a file called bootsect.lnx.
The entry should look like:

dd if=/dev/hdX of=/bootsect.lnx bs=512 count=1

Move that file onto your c:\ drive and edit boot.ini, adding the
following line:

c:\bootsect.lnx="Linux" )
 
Old 12-11-2002, 12:35 AM   #13
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
here's a good Grub how-to help file, check it out, it's really nicely laid out,

http://www.linuxselfhelp.com/gnu/gru...er/grub_1.html
 
Old 12-11-2002, 05:43 AM   #14
prpsarathy435
LQ Newbie
 
Registered: Dec 2001
Location: Mumbai, India
Distribution: net
Posts: 18

Original Poster
Rep: Reputation: 0
2k / rh 8.0 / xp

I was having a win2k ( c: ) and redhat 8.0 ( another partition )using grub. I was trying to install the xp. I installed it in e:.

Now i am in position to boot rh 8.0 with a boot floppy.

i want your help in setting a boot manager by which i can boot all the three.

Revert
 
Old 12-11-2002, 05:50 AM   #15
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
ok well, boot RH with boot disk, then install grub so that it is installed in the MBR, then you need to know the paritions of your WinXP and Win2K, and Linux, so that you can label them and thus be able to boot them,

now...do you want to use Grub or Lilo?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to redhat Linux from unix machine rasha Linux - Networking 7 08-15-2004 07:23 PM
Running SCO Xenix/Unix Program on Redhat 8.0? DWA007 Linux - Software 4 07-21-2004 12:16 AM
Is Redhat really the best distro choice for a unix/linux admin course? MissMetal Linux - Newbie 2 01-14-2004 10:24 PM
Can Sco Unix 5.0.5 and Redhat Linux 8.0 coexist in same harddisk? parthiban76 Linux - Software 0 06-24-2003 08:03 AM
RedHat Linux 7.2 to join Unix davem Linux - Networking 1 07-16-2002 03:52 AM

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

All times are GMT -5. The time now is 05:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration