Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-27-2002, 05:53 PM   #1
LQ Newbie
Registered: Mar 2002
Posts: 19

Rep: Reputation: 0
Dual Boot Winxp / Linux

After many lost hours trying to install a dual boot system with WinXp and Linux, I'm looking forward that somewhere is a real Crack who can finally help me to solve my troubles. First of all I don't want to set lilo on MBR because of bad experience (Reinstalling Windows). So, my goal to start linux from the Winboot-loader...
I've installed RedHat 7.2 using LILO Boot-loader on the first sector of the boot partition and NOT ON MBR. A linux bootdisk has been successfully created... So, I can normally boot up WinXP and Linux will only boot up by using the appropriate bootdisk.

In Linux I created the bin-file using:
dd if=/dev/hdb2 of=/tmp/LiloBoot.bin bs=512 count=1
mcopy /tmp/LiloBoot.bin a:
Then I started Windows and copied the file to d:\
This I added to the boot.ini: d:\LiloBoot.bin="RH Linux 7.2"
Note: "I removed /fastdedect from Win entries because I heard this will ignore booting up Linux
Then I restarted the system and tried to boot up by choicing the Linux panel entry. No luck at all... The system restart again and come back to the boot menu...

So, in my opinion I set up everthing correctly und I'm wondering why it's not working. Below you'll find my hole system specification. I'd be very grateful if some could help me in that matter...

Tanks in advance for every reply *Cheers Marco

My System profile:
HD1 (60GB)
c: -> 1 Partition -> NTFS -> Win2000 (This I want to uninstall later)
d: -> 2 Partition -> NTFS -> WinXP (Main OS)

HD2 (10GB)
Linux Redhat 7.2

From Disk Druid:
dev/hda1 Win2000 NTFS
dev/hda2 Erweitert
dev/hda5 WinXP NTFS

dev/hdb1 Boot
dev/hdb2 EXT
dev/hdb3 Swap


/dev/lilo.conf (created automatically by RH Installer):
boot=/dev hdb1

Old 03-28-2002, 01:31 PM   #2
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
They don't look right to me.

/dev/hdb1 is /boot. Why this?

dd if=/dev/hdb2 of=/tmp/LiloBoot.bin bs=512 count=1

Then according to your lilo.conf
boot=/dev hdb1

Your partitions are uncommon. That could be a problem. If it's your first, I suggest you go for defaults: reformat HD2, do NOT make any /boot, either dedicate the entire disk to Linux or make it empty, boot to RH7.2. CD, use DiskDruid to make only ONE partition /, write lilo to /dev/hdb, write bootdisc, install, try bootdisc and then finally do the dualboot.
Old 04-03-2002, 02:35 AM   #3
LQ Newbie
Registered: Mar 2002
Posts: 19

Original Poster
Rep: Reputation: 0
jetblackz, tanks for your reply...

You were right... The boot partion is hda2...

This I've already changed... My main problem was the hall.dll error by booting up linux. This was because I copied the LiloBoot.bin to my d-drive... The LiloBoot.bin must be on the first partition (for Windows always c otherwise you'll get the hall.dll error meassag by booting up linux...

Now it works.. YES!

Cheers mgroyal
Old 04-03-2002, 09:40 AM   #4
Registered: Mar 2002
Location: malaysia
Distribution: Mandriva 2006 RC1
Posts: 486

Rep: Reputation: 30
Windows XP screws up, can't play many old games!

and linux is too tedious for users who want everything fast!!!!
Old 04-03-2002, 10:41 AM   #5
Senior Member
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Hey futurist:
Open mozilla or netscape and type:
That tells you what Windows got coming!
Old 04-04-2002, 01:37 AM   #6
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
This is what I did to dual boot Win2000 & Mandrake Linux 8.0:

1. Install Windows 2000. Partition part of it for Windows 2000 (either NTFS or FAT32 will work).

2. Install Linux (any distribution).

You have to follow the following two steps exactly:

a. When asked where to install LILO, DO NOT install LILO in the MBR (Master Boot Record), since this will overwrite Windows OS Loader and you may have to reinstall Windows 2000. Instead, install LILO in other partition (superblock of the root partition of Linux drive).
b. Create a Linux boot disk. For now, this will be your only way of booting up to Linux.

3. After you have finished installing Linux, boot up to Linux (use the Linux boot disk).

4. Dump Linux boot sector to a file. Type the following:
dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1
If your linux boot partition is not in the hda2 partition, change if=/dev/hda2 accordingly (use df to get the correct partition).
For example, if your linux boot partition is in hda3, change the command to:
dd if=/dev/hda3 of=/bootsect.lnx bs=512 count=1

Once you run this command, you will have bootsect.lnx file in "/" (root) directory.

5. Mount a DOS formatted disk. Type:
mount -t msdos /dev/fd0 /mnt

6. Copy the bootsect.lnx file to the diskette:
cp /bootsect.lnx /mnt

7. Boot up to Windows 2000 (by removing the Linux boot disk).

8. After booting up to Windows 2000, insert the DOS disk, and copy the file A:\bootsect.lnx to C:\ drive.

9. Edit C:\boot.ini. Usually this file is not visible. Start notepad, then open file C:\boot.ini. Add the following line to the bottom of the file:

10. Now reboot, and you will option to boot either to Windows or Linux.

Good Luck!


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
Dual Boot Linux And WinXP theutherwhitemeat Linux - Software 9 07-31-2005 01:38 AM
Dual Boot In Linux and WInxp reply2vinay Linux - Hardware 7 07-23-2005 01:36 AM
how to dual boot linux/winxp henrylam Linux - Newbie 4 05-16-2004 06:59 PM
Dual Boot WinXp and Linux sparex Linux - Newbie 7 04-12-2004 12:03 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration