LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-10-2003, 01:53 PM   #1
ruzina
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Windows Linux


Hello,

Could you plz help me, I'm running windows XP (also win98 installed) and now I installed Red Hat also.

I issued the following command:
dd if=/dev/hdf8 of=/mnt/share/grub.dat bs=512 count=1
and this makes a grub.dat file to the shared partition, which is readable with both XP and Linux.
Then I copied this file to c:\. Now the problem is, that I don't remember what to add into the c:\BOOT.INI file to make this Linux visible and bootable from the OS menu at the Startup.

Boot.ini looks like this:
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
C:\ = "Microsoft Windows"

So what should I write into this?
Linux is installed on the second hard disk, and it's the 3:rd partition on the disk.

EDIT: Added C:\grub.dat = "RedHat" into the boot.ini file
still not working... just says "Not a bootable partition"

thanks in advance

Last edited by ruzina; 06-10-2003 at 02:22 PM.
 
Old 06-10-2003, 03:45 PM   #2
marshmellowman
LQ Newbie
 
Registered: Jun 2003
Posts: 19

Rep: Reputation: 0
just a quick n easy Question N suggestion
doesnt red hat come with lilo 4.0
if so lilo will install on yr primary partition and make xp visible as winnt and make win 98 visible as 'HEHE' win98
you just got to use the lilo boot loader on the first primary
Sorry if i'm off the mark for what yr trying to do
seems to me u just want to beable to boot into 3 differant O.S's
 
Old 06-10-2003, 03:51 PM   #3
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
what version of redhat did you install.
although that shouldnot matter anything over 7 i think even 6.2 ask you to install lilo/grub for a boot loader and this would of setup both windows and linux giving you 3 chooses upon boot.
So basically just install lilo or grub while in linux and setup the other so called os's
 
Old 06-10-2003, 03:56 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
doesnt red hat come with lilo 4.0
latest major version of lilo is 22.5
 
Old 06-10-2003, 05:27 PM   #5
marshmellowman
LQ Newbie
 
Registered: Jun 2003
Posts: 19

Rep: Reputation: 0
last time i used red head
 
Old 06-11-2003, 09:15 AM   #6
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
to setup grub as root

root: grub-install /dev/hda

this will install grub over your master boot record.
find out what partions are for winXP and win98 and add them to
/boot/grub/grub.conf

after the linux setup at the bottom
use something like this example

title WinXP Virus
rootnoverify (hd0,1)
chainloader +1

altough your safest bet is to reinstall linux and make sure the boot loader gets setup.
 
  


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
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 35 02-07-2006 04:29 PM
Solution Dual Boot Windows & Linux [ALL DONE IN WINDOWS] No Linux terminology DSargeant Linux - Newbie 4 11-10-2005 12:37 PM
Vnc only works linux to windows not windows to linux mbdayton Linux - Networking 2 04-16-2005 07:36 PM
Red Hat Linux 9 + Windows Server 2003 + Windows XP + Fedora in same domain wolfy339 Linux - Networking 5 03-02-2005 07:03 AM
Samba - Linux box can see Windows, but WIndows can't see Linux Korff Linux - Networking 1 06-02-2003 11:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 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