Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Ihave windows xp professional installed on my system and i want to make a dualboot setup with red hat linux 7.2. How would i goabout doing this without comprimising my xp install? Please give detailed instructions if posible(i have never dual booted 2 OS's before).

first of all
1. - do you have several partitions?if you do and you have one that's formatted or that you don't care about loosing it's data, then you're good to go.
just follow RedHat installation (well choice, by the way :) )
why? because RH let's you choose in which partition it is going to do it's thingie, and it even tells you in which one windows is and everything, so you only take your formatted one and edit it as "/" (meaning native) and that's very it
2. - if you only have one partition, then yo're gonna have to format it and run fdisk so that you can do several partitions on your computer, once you do that, first install your windows bulls---, and then go on with Red Hat
have fun

Hi I all ready have dual boot Linux and xp , but I would like to know if it s there a software utility that make both O/S seen each other or change from one to the other with out restaring the system if it is possible would you let me know hw Thanks I apreciated.

If you care to blow away your XP partition and make it a linux partition, I believe that the latest version of VMware will let you run a virtual window of XP without losing a lot of system performance. May be wrong, but check it out.

Are there any tools equivalent to FIPS that will work on an NTFS disk partition? I have an 80GB drive that came formatted as one partition for Windows XP.

Hey~
I already got a dual boot w/ XP and 98. (I kept 98 because i know of the problems XP has had running older apps.) I know want to install Linux Mandrake 8.0 on my system but it won't let me because of a partition table error. I checked it out and it turns out XP has but an EXTENDED Partition about itself?? It was supoose to setup as a NTFS Partition. Can anyone help me fix this problem?

I am trying to dual boot xp and Linux. I am using the NT file system for xp, went ahead and installed linux (rh7.2) with Lilo and xp would no longer load. It showed up under Lilo, but when I chose it, i would get a message stating that the NT loader could not be found, and press cntl+alt+dlt to reboot. Any way to fix this?

Has anybody tried to dual boot Windows XP and Linux Mandrake 8.1???
Can you tell me (please, detailed infos) how to get a good dual os system on a notebook???
(dell inspiron 8000) I want to put xp and mandrake 8.1 on mynotebook.Thnaks!

Not sure, but it sounds like this problem:
"I am trying to dual boot xp and Linux. I am using the NT file system for xp, went ahead and installed linux (rh7.2) with Lilo and xp would no longer load. It showed up under Lilo, but when I chose it, i would get a message stating that the NT loader could not be found, and press cntl+alt+dlt to reboot. Any way to fix this?"Is due to Lilo over writing you master boot record. When Lilo asked about boot sector there should have been an option to put the boot sec to a floppy. The default however is sector 0 (or so) and if you just said "OK" then it now boots only to Linux. You may want to try booting to a DOS Boot disk with FDISK on it and run the command: (fdisk /mbr)
This has worked for me in the past with 98 / linux dual boot but XP uses NTFS sooo.... Anyway what that command does is recopies a backup of your XP (or at least with win 98) mbr or master boot record. You may not be able to boot to linux after this but... I thought I would throw it out there.. Good luck.

The fix to getting XP and Linux dual booting is very similar to NT+Linux. I sucessfully accomplished this today by saving the first 512 bytes of the partition boot sector (with dd) to a file and adding that as a boot option within XP. This process is decribed here:
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html

I've successfully dual booted winxp and rh 7.0. i have a fat32 partition on the drive with my linux install for swapping files. The only way I can figure out to boot the linux partition is using the boot disk created at installation time.
HTH

Has anybody tried to dual boot Windows XP and Linux Mandrake 8.1, with de operating systems in diferent disk.???

I have also tried to dual boot XP and Mandrake 8.1 but in the way I did some years ago with NT and Linux. Unfortunately, it didn't work. When I stripped the boot sector from Linux and placed it in a file, I added c:\bootsect.lnx="Linux". "Linux" showed as a boot option but would not boot - any ideas please. Thanks

The best way would be to install Linux on a different phisical hard drive. As a boot manager, choose Lilo. Once you have it installed, you may not be able to boot your Windows XP. To solve this, open your lilo.config file (or lilo.config.xxxx, xxxx is some other name) and ad following lines at the bottom:
other=/dev/hda1
label=XP
loader=/boot/chain.b
table=/dev/hdasave your lilo.config file, roboot your machine, then chose which operative system to start.
That's it.

I also have XP Pro and Mandrake Linux 8.0 on seperate drives. I want to setup a dual boot using something other then LILO. What would you recommend, and how do I do it?

I had a problem with dual booting linux (red hat 7.2) and window xp on separate drives: linux on master, and window xp on slave.
I chose grub as the boot manager during Linux installation. The /boot/grub/grub.conf looks as follows:
default=0
tile red hat
root (hd0,0)
kernel ...
initrd ...
title window xp
rootnoverify (hd1,1)
chainloader +1I was able to boot linux just fine. However, when I tried to boot window xp, the boot manager went into an infinite loop with an everlasting pitch noise. Window xp boots fine by itself.
Any suggestion on how to fix this problem?
Thanks in advance,
Ben

Is there any software other than Partition Magic 7.0 that will allow me to resize an XP partition? i dont wanna buy Partition Magic for only one time use.

Guys... guys.
Follow the NT+Linux instructions. They work. If they don't, you're doing something wrong.Assuming you have Windows XP installed:
0) Defrag your XP drive.
1) Use Partition Magic to create an EXT2 partition.
2) Create the swap partition while you're at it.
3) Do not change the active partition yet.
4) Install Linux.
5) When installing the boot sector under Linux, install it to the root filesystem.
( /dev/hdaNN, NOT /dev/hda, where NN is the partition number of the root filesystem
6) Create a boot floppy when prompted.7) Boot using the boot floppy.
8) Log in as root
9) dd if=/dev/hdaNN of=bootsect.lnx bs=512 count=1
10) Insert an MSDOS formatted floppy.
11) mount -t msdos /dev/fd0 /mnt
12) cp bootsect.lnx /mnt
13) umount /mnt
14) Remove floppy
15) Reboot box (shutdown -r now)
16) Let XP boot
17) Drop to a shell (run cmd)
18) cd \
19) attrib -s -r -a boot.ini
20) Edit boot.ini
21) Add line at the bottom of the file
C:\BOOTSECT.LNX "Linux"22) Save file
23) Insert floppy and copy bootsect.lnx from it to C:\24) Reboot box
25) Rejoice as you choose which OS to run.

I could try the above to fix my problem, however I am using a secondary (slave) hd to boot linux - will it work the same? Also in linux I have configured the boot device to the Master Boot Record (MBR) of my master XP HD (like you are not supposed to). To add confusion my HP has a recovery partition on this drive also, booted by pressing F10 during the 0.5 seconds of bios.
However, after trying many frustrated combinations of options in lilo.conf I discovered I could boot both linux and XP fine ONLY after completely switching off my machine. Restart from XP = everything works fine; restart from linux = lilo crash??? (I get an L).All this was after deleting the partitions on my slave through RH 7.1 CD, and going from there.
What process / data could be being retained / not re-created after a linux restart?
Be Seeing You.

Hey, I want to dual boot Win XP Home and RedHat Linux 7.2 also! The major problem I have with doing this is that my system didn't come the Operating System Installation CD. So if I screw up partitioning, then I will be completely locked out.
Someone has suggested that I use Ghost something or other to take an image of the hard drive so that I can still load the OS if something goes wrong. But I am afraid to try this. If something goes wrong to the point where I can't load WinXp, I will be locked out of the WinXP OS with no way to reinstall it.
My WinXP drive is NTFS formatted, and it has 2 partitions. One is the C drive and the other is an HP_RECOVERY partition formatted as FAT32. I really don;t have money to spend on utilities to help me out, so if anyone knows of a free way to help me in my situation, I'd appreciate it!

I can tell you one thing, there is no easy way. just another way that MS makes life miserable!

Looks like Jim Greer has the right ideas here. I am running XP and RedHat 7.2 however with no success. I have a huge hard drive and I have the XP on a 12 Gb partition at the beging of the disk. A middle section formated for fat32 of about 50Gb for file storage (M3's for example) and the final 8Gb of the disk is seperated into the partitions mentioned (512Mb for swap, 32Mb for \boot and the remaining 5Gb for the \ partion) I am putting Lilo booting to the first sector of the partition as stated .. but when I try to reboot to the floppy that I made, I get a windows error as follows:
"Windows could not start because the following file is missing or corrupt: \system32\hal.dll
Please re-install a copyu of the above fileHas anyone else seen this error?! I am thinking it has something to do with the NT boot loader, but need some advice!? Drop a reply or drop me a aline personally if you want, I'm stumped!

you can also modify XP's boot loader to reflect your linux partitions:
http://pcquest.ciol.com/cgi-bin/printer.asp?id=15488

Here are some instructons, just like one
guy said above if it don't work your not
doing it right.http://www.poopoccurs.com/linux/dualboot.html
So far about 93% get this to work the first
time some after trying for months before
finding these instructions, and even some of
the erros above are mentioned and resolved.Good luck all

This is a great source, thanks for all the input. Here are my questions.
I am installing Redhat 7.1 on a dell inspiron 8100 that has loaded XP Pro with NTFS. I believe that the /boot or /root has to be installed below the 1024 cylinder barrier. I generally try to keep no more than four primary partitions on the PC. How do I mix the extended partitions with primary ones to get the following:
A) /Swap - before or after the 1024 limit
B) /boot - Do I need or just include in /root?
C) /root with /home included or break up /root before 1024 and put home after the XP partition?
D) Common Fat32 space to use between XP and Redhat - Put at end of driveCurrently there are three partitions - Partition info from Partition Magic 7
1) Dell recovery space - 32 MB - primary
2) XP NFS 27GB - primary
3) Not allocated - 180 MB primaryWhat is the best use of the partitions including the system ones from dell and order of them to get a PC that will boot and reboot using the instructions above. I have done before with NT successfully, but not shared.
Does Redhat 7.2 remove any of these considerations?
Thanks, Kris

Hey guys. I see all of you condesendingly suggesting that we make an image of our linux root superblock and copy to the XP partition and edit boot.ini to boot from NTLDR. That is how I like to do it. The problem is, this method DOES NOT WORK ON WINDOWS XP.
I was running a beta of XP dual booting with redhat 7 and didn't change anything on the linux side or my image file on the windows side. I updated my beta to windows xp final and when I select linux from the NTLDR menu I get a screen of ones and zeros.
I have reinstalled my linux system several times (slack, rh7, rh7.2). I make the image and copy it over to XP and I get the exact same thing EVERY time I try to load linux.
So...the point is, you keep talking to everyone like we are dummies when you haven't even tried what everyone is trying to do. There are tons of sites out there that tell you exactly how to run the dual boot. I know how to do it. I ran that way for a long time under win2k and under the xp beta. But, when xp went final, it stopped working.
Until you figure out a new way to dual boot linux with xp from the NTLDR, stop spouting answers that everyone already knows doesn't work.
Someone on here said "Guys... guys.
Follow the NT+Linux instructions. They work. If they don't, you're doing something wrong." Sorry man, but it DOESN'T work. Don't tell us it works when you haven't tried it. I know you haven't tried it, because I know it doesn't work.Sorry for the rant, but I am getting fed up with trying to get it to dual boot and I hate booting off floppy...and it just pisses me off when people presume they know everything when they don't.
Kind regards,
Matt

I have a web page with the way I accomplished my dual boot between XP and Linux. It is a converted word doc I gave to a friend that used the instruction to get his laptop set up. us them if you want. I set Slackware 8.0 and XP. but should work with any good distribution
Here is a Link to the site.
http://home.twcny.rr.com/maclain/XPandLinux.htmgood luck
Hope it helpsJim

First of all, does any body use SuSE 7.3? And secondly,I can dual boot SuSE 7.3 with XP Pro no problem but it needs the boot disk. How can I run both OS's without needing that floppy? I forgot it at home one time and I was screwed.

I was able to dual boot by using Partition Magic 7.0. Follow Appendix E of "Installing a Second OS" PDF document included with this tool. I selected LILO as the boot loader in the Red Hat 7.2 install, (write it to the boot partition NOT the MBR). Then I installed Boot Magic. OK, I've got two boot loaders now but it works!

I have tried the method described in
http://www.computing.net/linux/wwwboard/forum/6141.html and many other websites for dual boot of Windows XP Home and
Red Hat Linux 7.2. It did not work anyway. I have the
following partitions :
hda1 : Windows XP (15 GB)
hda2 : /boot (32 MB)
hda3 : / (9 GB)
hda5 : swap (1 GB)
The /boot and root (/) are in different partitions
as suggested by the Linux installation guide.First, I had installed Windows XP in the first
partition, namely hda1, in NTFS. Then while installing
Linux I gave the option of installing LILO in the
first sector of the boot partition.I tried dd both with if=/dev/hda2 and with
if/dev/hda3 : neither worked. While system is turned
on, if I choose XP, its ok; but if I choose Linux, the
system hangs with no message. I have checked inside
linux that initrd.img, vmlinuz etc are properly
situated in /boot. The only way to load linux is still
the boot floppy.Please give suggestion as what to do.
Thanks.
- Goutam Paul

Iam running xp pro and mandrake 8.1 with no problems... This is how I did it
1. used partition magic pro 7 to create linux partition and swap file (putting the lixux partition before C: drive)
2: set the linux partition active
3: set your bios to boot from CD rom
4: insert linux cd and it installs to the proper partition
5: when I boot the linux screen lets me choose what to boot linux or windowsLinux must be loaded before C; drive to work because windows does not reconize linux but linux will reconize ms
There should also be some free partition software at cnet or something that might help if you don't have partition magic pro 7

I have jsut sucessfully installed mandrake 8.1 on my system with windows xp for a dual boot. the first time I did it I ran the regualr setup and it scrwed up my xp boot. I then reinstalled xp .
then i did the expert set up of mandrake , installing it back into its partitions that i created the first round.
I was planning on following the ntfs fix posted above.
was not needed, It booted fine this time. I chose the regular lilo boot and it worked.
sorry I cant offer more but I am new to linux and so I am a novice. Just here to tell you that it worked.

Just a quick note to say that, after following Jim Greer's notes to the letter, I have successfully installed Win XP and Linux Mandrake 8.2 beta 3 to dual boot successfully. I did use a FAT32 filesystem for my XP partition, as some other instructions I found mentioned that linux has a difficult time accessing a NTFS partition.
Don't listen to those who say it doesn't work!
Greg

Windows XP and Redhat Linux 7.2 can be dual-booted using Grub - the default Linux bootloader for Redhat 7.2.
I just got a brand new system with a 100 GB hard drive and with Windows XP installed. I used Partition Magic 7 to non-destructively resize the WinXP NTFS partition down to about 50GB and left the rest of the drive unallocated and unformatted.
Next I installed Redhat Linux 7.2 (I just let it boot/install from the CD when I rebooted). I chose Custom Install (if you want to interact with Disk Druid) and selected the "Use free space on drive" option and accepted the Automatic partitioning setup choices, which are fine.
You are asked which bootloader you wish to use (Grub, LILO or none) and where you wish to install it (to the MBR, or to the first sector of the root partition).
After having read a good deal of "authoratative" but utterly useless advice and documentation on all of this, and trying much of it - to no avail - what I finally found that DID work was to simply accept the Redhat installation defaults - and I allowed it to install Grub right to the MBR.
When I finally did that (duh!) and rebooted I was presented with the very pretty graphical Grub boot menu. I selected "Windows XP" and it worked...it booted right up! Perfectly! Then I rebooted out of XP and selected "Redhat Linux 7.2" from the Grub boot menu and Linux booted and ran flawlessly. Heavenly.
Grub can handle properly booting both OS's, and handle an install of Redhat onto a large hardrive with WinXP already installed - and a portion of the drive free.
Notes:
** Partition Magic 7 info states that it can handle drives "up to 80 GB". My drive was 100 GB and it handled it without complaint or problem. Sort of nice to know.
** If you overwrite your Windows XP MBR and wish to restore it you can put the Windows XP CD in the tray, reboot, and from the options select Rescue mode - from the command prompt type "fixboot" and it'll repair the MBR. Also sort of nice to know.

Another success note for RH7.2 & WinXP. After reading Brent's notes above I took the plunge and everything worked the first time. Machine had a preinstalled WinXP taking the whole of a 40G disk. Shrunk WinXP NTFS with Partition Magic 7 to 15G. Leaved the rest unallocated. Booted RH7.2 from CD and used fdisk(I assume only using diskdruid works equally well) to create a linux second partiotin and an extended partition with the swap and extra space for a FAT32 partition. Set install to use GRUB in the MBR, finished installing Linux, and everything works.... I get the GRUB screen on poweron and can boot to linux or WinXP. Thanks Brent

Brent's plan did not work for me.
When I followed his instructions exactly, my XP boot sector was ruined and had to be fixed. Once fixed, Linux would not boot. And so on.
However, I have successfully set up a dual boot by using information available about dual-booting Windows NT/2k and Linux -- which works just the same with XP.
There are a whole bunch of webpages dedicated to the subject. An easy one to follow is: www.enterprisedt.com/publications/dual_boot.html
Basically, you set up Windows XP with NTFS in the first partition, you leave the rest unpartitioned for Linux to setup. Once you setup linux (with the Grub or Lilo NOT in the MBR), you boot into Linux with the boot floppy you created at setup, and you then go in to the terminal and create a small "bootsect.lnx" file which you put on a floppy. Then you reboot to Windows XP. In windows, you copy the "bootsect.lnx" file to the "c:\" directory, and you edit the "boot.ini" file to add one line which refers it to the "bootsect.lnx" file. When you reboot, the Windows XP "boot.ini" file gives you a choice of booting XP or Linux. If you choose Linux it takes you to the Grub/Lilo boot option and then in to Linux.
Works great for me.

I've got my system working with XP and Red Hat 7.2!! I followed the instructions from this page... http://www.poopoccurs.com/linux/dualboot.html and everything went smooth!
Good luck!

I successfully created a dual boot system with Windows XP Pro and Red Hat Linux 7.2.
The trick is to keep in mind where on your hard drive you plan to install Linux...for those of you who say the above methods don't work...then you have forgotten about the 1024 boot boundary.
If you install the two OS's on the same hard drive but on different partitions, and your system BIOS supports LBA32, then you are in good shape.
All you have to do is when installing Linux, make sure to put the LILO in /boot and not in the Master Boot Record...also check the "enable LBA32" box...this part is critical for large hard drives.
Then create your boot floppy and make a backup of the bootsect.lnx that you created using the above methods from previous posts.
change the boot.ini...and you are on your way to dual booting!

the is a good program that allow you boot different OS. It is called System Commander. I know it works because I a student of Network Adminitration Systems and my school. They use that utility to boot the OS.

Yup,
Brent's advice worked for me too...
word for word! Windows XP installed 1st, RH 7.2 installed 2nd. Using Fat32. Don't know if that makes a diff.
Cheers!John

I'd like to confirm response no.36
I had WinXP running on a 60GB drive, split in half. I used PartionMagic to shrink the 'D:' partition and create space for my Linux install.
I then installed RedHat 7.2 and used the default GRUB boot-loader and installed it in the MBR.
Works fine ;)
Andy

I followed Brent's method (more or less) (i.e. basically following the Red Hat 7.2 default set-up options), and it worked just fine for me (although not on my first try, but see the tips below so maybe it can work for you on your first try). I'll run through a summary of my whole set-up process to point out where I diverged from Brent's process (but I don't think any of these affect whether the process would've worked or not), and also point out where I screwed up and give my tips.
I started off with Windows XP installed with factory-installed defaults. Then, I used the XP "Disk Management" control panel utility to repartition my hard drive. (What I did was just to completely get rid of the "D:" partition, but I think what I could've done and probably would do if I were starting over is to just make it smaller.) So that freed up some space to install Linux in. Then I booted from the RedHat 7.2 installation CD and just used the default settings (e.g. partitioning, MBR, GRUB, etc.) (In the interest of complete disclosure, I did fiddle with the default partitioning a little bit in that I shrank my Linux root partition so that I'd keep some free space, but, again, I don't think that affects whether the dual boot would work. Note that even if you choose to let the Redhat installer use the default partitioning, it still lets you adjust the partitioning on the next screen.) Basically, that was it!
Well, that sounds easy doesn't it! I did skip the fact that it took me several times before I could get it right. But a couple of those times were totally needless, and that is where my tips come in.
Tip #1: when you come to the part of the installation process where it asks you what you want your default boot system to be, you must type in a name for your XP boot option. The first time I went through the install I just clicked right through this screen without paying much attention. Well, when GRUB came up, it didn't give me the option of booting XP. I thought I had screwed something up with the XP partition and so ended up reinstalling XP! In retrospect, this was probably totally unnecessary because XP was there all along but it just wasn't appearing in GRUB because I hadn't named the boot option. (When I went through the install again, in addition to naming it, I also made XP my default system to be on the safe side, but I don't think this was really necessary.)
Tip #2: Make sure to select the right mouse type! (duh) The second time I installed, I accidentally said my mouse was USB rather than PS/2. Well, what happened then is that when I booted up in Linux, it just gave me a command line (because it was kicking me out of X because it thought I didn't have a mouse). At first I thought something was wrong with the dual boot, but when I thought about it, I realized that Linux was running just fine, I just didn't have the GUI. I looked back over the boot log and sure enough, there were errors about the mouse which told me what had happened. So, maybe I could've fixed that some other way, but I just re-installed a third time and was more careful, and everything turned out great.
chinep

Gents,
I failed with all attempts, until I found a little utility named Bootpart. I followed the instructions to put LILO on the root and not on the MBR, but could never get past the blinking cursor. I downloaded Bootpart, a little 25KB util, and ran it from the command prompt. I made a folder named Bootfile, unzipped Bootpart into it, and at a command prompt, ran bootpart. It listed my partitions, with an * next to the bootable ones, and my new Linux install was on #3. So I ran bootpart again, with the proper input: c:\bootfile\bootpart 3 bootlnux.bin Redhat. That made the 512 byte bootloader file for me,and edited the Boot.ini with a new Redhat entry. I rebooted, selected Redhat, and Viola! It worked! Before, always the blinking cursor. Perhaps it had something to do with the transfer of the bootsect.lnx file via floppy. I don't know. But those instructions never worked, even after 5-6 tries. I hope Bootpart can save someone else some grief! Get it from here:
http://ourworld.compuserve.com/homepages/gvollant/bootpart.htmGood Luck All! -Rob

iam running xp/redhat7.2/freebsd4.3 (stable)
it runs very nicely
i installed windows xp as a fat32 on 10 gig
then installed redhat 7.2 prime/swap on 8 gig
then i installed the fbsd 4.3 stable because it has a VERY nice boot manager. dooesnt need much space at all.it works very nicely this way
i think your guys shoudl read the HOW-TO's
it really isnt that hard ;)

I have a little bit different situation here:
I have succesfully installed RedHat Linux 7.2 and Windows 2000 Professional on the same drive, and each OS boots right from NTLDR.
Now I want to replace Windows 2000 with Windows XP.
Any ideas?
Thanks in advance

In case you care...
I myself would like to load XP from Lilo and not the other way
around ( I have seen the trick to add the lilo generated boot
sector to c:\boot.ini. I guess this would work but I'd prefer
Lilo to start first -- I just enjoy Microsoft coming second!
:-)) Having LILO as the MBR requires having BOTH the Linux
kernel _and_ the Windows XP kernel _below_ the 1024 cylinder on
the harddisk. My partitioning (see below) achieves this.I tried it both ways, both with the C:\boot.ini thing _and_ with
LILO in the MBR. Turned out LILO MBR worked but that booting
Linux from C:\boot.ini didn't, for me.
Kind of surprising considering all the previous struggle
I had had getting LILO in the MBR to boot XP. All I know is I
recognised a lot of the struggles people have been writing
about, and suddenly they were gone and things just worked again
as it always have in the past with MSDOS 6.2 / Win 3.1,
Windows 95, Windows 98, NT, Windows 2000 and now Windows XP. I
have done my dual boot strategy with them all, and it is a sound
-- if tedious -- technuiqe.Nowadays I try to force the hardware supplier to place the OS at
cylinders 2 to 1023, counting from 0 -- or if he counts from 1,
at cylinders 3 to 1024. That way, even if I have to reorder the
partition numbering in the partition table in the MBR manually
-- which I have written a little shell script using dd for -- I
can always either from Linux or from XP's rescue system fix
c:\boot.ini afterwards AS LONG AS I DO IT BEFORE ACTIVATING THE
OS FOR THE FIRST TIME .. i.e. before ever running it. Then I
run a Linux rescue CD with a script of mine to set up partitions
and filesystems. This is my general layout:Disk /dev/hda: 9729 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0Dev Boot Start End #cyls #blocks Id System Mountpoint
hda1 0+ 1 2- 16033+ 83 Linux /boot
hda2 * 2+ 1023 1022- 8209183+ b Win95 FAT32 /C [C:]
hda3 1024 2047 1024 8225280 b Win95 FAT32 /G [G:]
hda4 2048 9728 7681 61697632+ f Win95 Ext'd (LBA)
hda5 2048+ 3071 1024- 8225248+ 83 Linux /images
hda6 3072+ 4095 1024- 8225248+ 83 Linux /cdmaster
hda7 4096+ 4195 100- 803218+ 82 Linux swap
hda8 4196+ 4261 66- 530113+ 83 Linux /
hda9 4262+ 5285 1024- 8225248+ 83 Linux /usr
hda10 5286+ 5417 132- 1060258+ 83 Linux /var
hda11 5418+ 6441 1024- 8225248+ 83 Linux /opt
hda12 6442+ 7337 896- 7197088+ 83 Linux /home
hda13 7338+ 7475 138- 1108453+ 83 Linux /tmp
hda14 7476+ 9728 2253- 18097191 b Win95 FAT32 /F [F:](The "-" and "+" means subtract or add 512 byte from the
cylinder boundary -- in the space beween there are partition
tables, boot records and stuff. I use sfdisk to see all this
info. And for all my formatting.)
Anyway, this is my working lilo.conf:#boot = /dev/fd0
boot = /dev/hda
vga = 771
read-only
menu-scheme = Wg:kw:Wg:Wg
lba32
prompt
#timeout = 80
timeout = 300
message = /boot/message
default = XPimage = /boot/vmlinuz
append = "disableapic hdc=scsi hdd=scsi"
label = linux
root = /dev/hda8
initrd = /boot/initrdimage = /boot/vmlinuz.suse
append = "disableapic hdc=scsi hdd=scsi"
label = suse
root = /dev/hda8
initrd = /boot/initrd.suse
optionalimage = /boot/memtest.bin
label = memtest86#image = /boot/ORIGINALMBR
other = /dev/hda2
change automatic
optional
label = XP
table = /dev/hda
loader = /boot/chain.bTake care,
Leif Erlingsson +46-70-447-8271 +46-8-778-5038
Katrinebergsvagen 70
146 50 Tullinge, Sweden leif@lege.com http://lege.com
ech`echo unli|tr il oc|sed 'su\([su]\)\([on]\)uo li\2\1x is u'`ol

Sorry about the messy appearance of the above post. I'll use some "_" characters to make tables more readable.....
In case you care...
I myself would like to load XP from Lilo and not the other way
around ( I have seen the trick to add the lilo generated boot
sector to c:\boot.ini. I guess this would work but I'd prefer
Lilo to start first -- I just enjoy Microsoft coming second!
:-)) Having LILO as the MBR requires having BOTH the Linux
kernel _and_ the Windows XP kernel _below_ the 1024 cylinder on
the harddisk. My partitioning (see below) achieves this.I tried it both ways, both with the C:\boot.ini thing _and_ with
LILO in the MBR. Turned out LILO MBR worked but that booting
Linux from C:\boot.ini didn't, for me.
_______ Kind of surprising considering all the previous struggle
I had had getting LILO in the MBR to boot XP. All I know is I
recognised a lot of the struggles people have been writing
about, and suddenly they were gone and things just worked again
as it always have in the past with MSDOS 6.2 / Win 3.1,
Windows 95, Windows 98, NT, Windows 2000 and now Windows XP. I
have done my dual boot strategy with them all, and it is a sound
-- if tedious -- technuiqe.Nowadays I try to force the hardware supplier to place the OS at
cylinders 2 to 1023, counting from 0 -- or if he counts from 1,
at cylinders 3 to 1024. That way, even if I have to reorder the
partition numbering in the partition table in the MBR manually
-- which I have written a little shell script using dd for -- I
can always either from Linux or from XP's rescue system fix
c:\boot.ini afterwards AS LONG AS I DO IT BEFORE ACTIVATING THE
OS FOR THE FIRST TIME .. i.e. before ever running it. Then I
run a Linux rescue CD with a script of mine to set up partitions
and filesystems. This is my general layout:Disk /dev/hda: 9729 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0Dev__Boot_Start__End_#cyls__#blocks___Id__System______Mountpoint
hda1_________0+____1____2-____16033+__83__Linux_______/boot
hda2___*_____2+_1023_1022-__8209183+___b__Win95_FAT32_/C__[C:]
hda3______1024__2047_1024___8225280____b__Win95_FAT32_/G__[G:]
hda4______2048__9728_7681__61697632+___f__Win95_Ext'd_(LBA)
hda5______2048+_3071_1024-__8225248+__83__Linux_______/images
hda6______3072+_4095_1024-__8225248+__83__Linux_______/cdmaster
hda7______4096+_4195__100-___803218+__82__Linux_swap
hda8______4196+_4261___66-___530113+__83__Linux_______/
hda9______4262+_5285_1024-__8225248+__83__Linux_______/usr
hda10_____5286+_5417__132-__1060258+__83__Linux_______/var
hda11_____5418+_6441_1024-__8225248+__83__Linux_______/opt
hda12_____6442+_7337__896-__7197088+__83__Linux_______/home
hda13_____7338+_7475__138-__1108453+__83__Linux_______/tmp
hda14_____7476+_9728_2253-_18097191____b__Win95_FAT32_/F__[F:](The "-" and "+" means subtract or add 512 byte from the
cylinder boundary -- in the space beween there are partition
tables, boot records and stuff. I use sfdisk to see all this
info. And for all my formatting.)
Anyway, this is my working lilo.conf:#boot = /dev/fd0
boot = /dev/hda
vga = 771
read-only
menu-scheme = Wg:kw:Wg:Wg
lba32
prompt
#timeout = 80
timeout = 300
message = /boot/message
default = XPimage = /boot/vmlinuz
append = "disableapic hdc=scsi hdd=scsi"
label = linux
root = /dev/hda8
initrd = /boot/initrdimage = /boot/vmlinuz.suse
append = "disableapic hdc=scsi hdd=scsi"
label = suse
root = /dev/hda8
initrd = /boot/initrd.suse
optionalimage = /boot/memtest.bin
label = memtest86#image = /boot/ORIGINALMBR
other = /dev/hda2
change automatic
optional
label = XP
table = /dev/hda
loader = /boot/chain.bTake care,
Leif_Erlingsson______________+46-70-447-8271_____+46-8-778-5038
Katrinebergsvagen_70
146_50__Tullinge,__Sweden____leif@lege.com_______http://lege.com
ech`echo unli|tr il oc|sed 'su\([su]\)\([on]\)uo li\2\1x is u'`ol

I am having problems similiar to the above. Have not tried the steps mentioned before, but will try them. My config seems to be slightly different than what has been listed here tho. Here's my setup:
pri master: WD 27GB drive, broken into 3 fat32 partitions
Pri Slave, DVD
Sec Master: Burner
Sec Slave: Zip
Tertitary Master: 40GB HDD with a 30gb Fat32 Partition and the linux. The following O/Ss are on my box that I want to get to work together.1) Win98 (C:)
2) WinXP (D:)
3) Linux (2nd HDD)Linux installs fine, and puts grub up no sweat. But for some reason it keeps trying to define grub's Windows boot as hd(1,4) which from reading the Grub site, translates to /dev/hde5. Well Windows is no where on hde! It's on HDA. How do I fix that?
Thanks!

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |