LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-20-2005, 02:42 PM   #1
reply2vinay
Member
 
Registered: Jul 2005
Posts: 42

Rep: Reputation: 15
Angry Dual Boot In Linux and WInxp


Hai Iam Vinay,
I Installed Winxp In One 40gb Hard disk.After Installtion i connected this harddisk to Primary Slave.After that i am taken another 40gb hard disk and connected into Primary Master...
I Started Installtion Fedora Core1 In Primary Master Hard disk.
Installtion Is Completed.After rebooting the system in startup Fedora and
Dos is there.When i Click Fedora It is Booting and i Can Mount the partitions (FAT)of winxp.But When I Go to DOS Menu In Startup
just Chainloader +1 is Coming BUT Winxp Is not booting and Continues beep is coming....

HOW Can i Boot With Winxp?
How Can i MOunt NTFS partitions of Winxp?


My System Configuration:

Intel Celeron2.4GHz
INtel Desktop Boards (845GVSR)
128MB RAM

PLease tell me ASAP...
 
Old 07-20-2005, 03:02 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Perhaps Windows wants to be the master, not the slave.
I'm not joking. That may actually be the problem.
Also, I'm confused--you installed these OSes on hard drives, then connected those hard drives? Huh?
Now that they're connected, how about reinstalling Windows on master, then installing Fedora on the slave.
Make sure it install Grub on the MBR.
 
Old 07-20-2005, 07:14 PM   #3
reply2vinay
Member
 
Registered: Jul 2005
Posts: 42

Original Poster
Rep: Reputation: 15
1st Hard disk i Connected into Primary Slave and Installed Winxp Then i Connected 2nd Hard disk into
master and Installed Fedora LInux......
 
Old 07-21-2005, 01:22 AM   #4
cerealdaemon
Member
 
Registered: Dec 2004
Distribution: Fedora Core 5 (Bordeaux), Kubuntu Dapper Drake
Posts: 92

Rep: Reputation: 15
generally it's been my experience that XP and Fedora don't like to coexist on the same machine.

But when I did have XP and fedora on the same computer, I had of course different hard drive and I had the XP drive jumpered as master with the GAG Bootloader installed in the MBR section of the machine. I had then Fedora installed on the slave drive. Simply choose which OS you want to boot when GAG loads and you shold be good to go.

As far as using GRUB or LILO, I've not had any experience with LILO and I've found the GAG has far fewer issues when dealing with the MBR on a windows volume and GRUB does.

Hope that helps a little bit.
 
Old 07-21-2005, 02:00 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Search for "grub and map".
 
Old 07-21-2005, 10:58 AM   #6
IMFire3605
LQ Newbie
 
Registered: Feb 2005
Location: Phoenix, Arizona USA
Distribution: Fedora Core 3
Posts: 9

Rep: Reputation: 0
Well the problem you are facing is "Gate's Braindead Bas$%^&$ Child" wants to think its superior and the only OS out there, and it is in the NTLDR that you are running into. Either reinstall XP with the hard drives the way they are to reset the NTLDR system to notice it is on the second disk not the first or you need to make the XP drive the first drive (Master) instead of the slave, this of course will mess up where your boot loader is installed. Next, you have to install the boot loader onto the Master's master boot record, personally to do that I would do the get the KNOPPIX Live Linux CD, mount my linux partions like they would be mounted normally under KNOPPIX /mnt directory, mount -t auto -o rw /dev/hdb1 /mnt/oldlinux;mount -t auto -o rw /dev/hdb2 /mnt/oldlinux/boot editing /mnt/oldlinux/etc/lilo.conf.anaconda and save it /mnt/oldlinux/etc/lilo.conf then chroot /mnt/oldlinux and type lilo after that, then CTRL+D and reboot. Otherwise you're reinstalling linux again just to boot it.

Lilo has worked great for me ever since I got into using linux all these years, and stick with it being it handles booting both winblows and linux nicely with no problems unless your tweeking around where you shouldn't if you don't have the experience.

I run Fedora 3 and XP side by side and have had no problem with XP first disk and Fedora Second disk.

NTFS under linux, is not really that hard, configure the kernel source to add NTFS read-only support or being this is a RedHat system, do a google search on linux NTFS and download the NTFS module in .rpm format and install it which is what I did from the NTFS projects website.

But hey, here's a bonus, 2000/2003/XP can also read-only a linux partition, and I use ext2ifs-0.3 NTFS driver system to do this which is loaded as a service under NT5.x systems.

Now you can copy files between the two, not actually write to the other's partition, otherwise if you are wanting write access on a windows partition in linux the XP partition needs to be formatted FAT32 (which stinks compared to NTFS, IMHO).
 
Old 07-22-2005, 10:56 AM   #7
tareqth
Member
 
Registered: Jul 2005
Posts: 31

Rep: Reputation: 15
This is the simplest way that strongly worked for me:

1. During WinXP setip, repartition your Hard drives this way:
Code:
hda - master
  hda1   50MB
  hda2
hdb - slave
  hdb1
hda1 is a reserved partition to install GRUB, just allocate it with about 50MB to ensure fitting it in the first 1024 cylinders and leave it unformatted.

2. Install WinXP on hda2, this partition (or more) should eat what's available on hda. I recommend using FAT32 not NTFS to ensure Linux protability of data.

3. Now boot linux installation.
A. delete hda1 and reallocate it, choose it to be "/boot" (boot partition)
B. hdb1 is where linux lives, format it with ext3 file system set it to be "/" (linux installation partition)
C. Choose installing boott loader on the first sector.

4. Start linux in rescue mode. Reboot from FC1-DC1, type
Code:
linux rescue
in command prompt, and when it loads type
Code:
chroot /mnt/sysimage
5. Mount your floppy drive, and format it with DOS comatibility:
Code:
mnt -t msdos /mnt/floppy /dev/fd0
mkdosfs /mnt/floppy
6. Copy your linux boot loader to the floppy diskette:
Code:
dd if=/dev/hda1 of=/mnt/floppy/linux.bin bs=512 count=1
7. Now reboot the machine normally (WinXP should naturally boot), login WinXp with administrative rights goto Start->Run and type this command:
Code:
notepad c:\boot.ini
8. Copy file LINUX.BIN from flopyp drive to c:\.

8. With notepad openned editiing boot information file boot.ini, add this line:
Code:
LINUX.BIN="Redhat Fedora Core 1 Linux"
(Or whatever you want the item to show at boot ...)

9. That's it !

Last edited by tareqth; 07-22-2005 at 10:58 AM.
 
Old 07-23-2005, 01:36 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
There is no need to re-install anything.
A simple 2 line addition (and maybe update 1 line as well) to menu.lst (or grub.conf depending on what FC uses).
After the "title" line for DOS add;
Code:
map (hd0) (hd1)
map (hd1) (hd0)
If you have a line root (hd0,0), or rootnoverify (hd0,0) change it to rootnoverify (hd1,0).

This has all been explained many times.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot Linux And WinXP theutherwhitemeat Linux - Software 9 07-31-2005 01:38 AM
WinXP/LINUX dual-boot Slack1_more Slackware 4 09-27-2004 06:58 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
dual boot WinXP and Linux charliecb2 Linux - Newbie 2 05-29-2002 04:51 AM
Dual Boot Winxp / Linux mgroyal Linux - Software 5 04-04-2002 01:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:08 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
Open Source Consulting | Domain Registration