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 05-06-2004, 01:40 AM   #1
lafarga
LQ Newbie
 
Registered: Sep 2003
Location: Philippines
Distribution: Knoppix 3.3 -Debian
Posts: 13

Rep: Reputation: 0
dualboot for winxp and linux but diff hard drive


good day....

how can i add my redhat9 on the winxp boot menu selection.
my 1st hardisk is installed w/ win98 and winxp and
my 2nd hardisk is installed w/ redhat9.
 
Old 05-06-2004, 02:15 AM   #2
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
I don't know how to do that, but an other posibility is to write your lilo/grub to mbr of your 1st harddisk, then change your lilo.conf/grub.conf so it can boot your windowses, and then run lilo/grub(im not shoure about this)
 
Old 05-06-2004, 03:46 AM   #3
nonperson
LQ Newbie
 
Registered: May 2004
Location: Napoli, IT
Distribution: compiled from scratch, and a gentoo system
Posts: 24

Rep: Reputation: 15
first add lilo to the MBR of it's drive (/dev/hdb?)
than do a 'dd if=/dev/hdb of=~/bootsect.lnx bs=512 count=1'
this will copy your drives boot sector to your home directory, the file will be called "bootsect.lnx" than get the file onto your windows xp C:\ drive.
edit your windows boot.ini file ( you can use msconfig too I think ) and enter the line "c:\bootsect.lnx="Nonperson iz 50 L337".
Thats all there is to it, basically you put your linux drives boot sector where the windows loader can find it.
Now i've never dual booted from two hard drives before, so I don't know if this will work or not, but you might want to try this instead:
If windows can see your linux drive, and assigns it a drive letter, than you may be in luck. Try and just add the drive letter to your 'boot.ini' file, just a line that says "f:\" or whatever. Windows might be able to do it that way, keep your fingures crossed.........
 
Old 05-06-2004, 06:30 AM   #4
lafarga
LQ Newbie
 
Registered: Sep 2003
Location: Philippines
Distribution: Knoppix 3.3 -Debian
Posts: 13

Original Poster
Rep: Reputation: 0
many thanks. it worked!!!!
 
  


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
using dial-up internet between linux/winXp on same hard drive bullnuts Linux - Newbie 2 09-18-2004 08:35 PM
Accessing Windows Partition on Diff. Hard-Drive sduffy89 Debian 1 08-25-2004 01:39 PM
winXP / linux dualboot via GRUB problems r0bman Linux - Software 4 07-20-2004 04:14 PM
Linux/WinXP Dualboot and Raid bluebox Linux - Hardware 3 07-01-2004 12:49 AM
Dualboot with Linux, Win2k Server and WinXP?? eXor Linux - Distributions 3 01-22-2003 06:31 AM


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