?
Solved

multiple booting problems

Posted on 2003-03-09
4
Medium Priority
?
326 Views
Last Modified: 2008-03-06
I am trying to triple boot a machine with win98, winXP, and Debian. I had Debian and XP dual booting happily, however I was getting increasing annoyed with XP's compatibly with DOS programs.

The oppertunity(sp?) arised (XP was giving me a BSOD just after bootup) so I backed up what I wanted to keep, and "nuked" the XP partition, making a partition for '98 in the process, and then by required procedures, installed '98 and then XP, leaving my Debian partitions alone. The install of '98 removed the LILO boot manager, and the installation of XP replaced it with MS's own boot manager.

naturally, I wanted to access my Debian install, so I used the faithfull linux boot disk, edited the LILO config file to include the windows OSs and ran LILO, this caused lilo to be reinstate as the boot manager. this was fine untill I wanted to get into either of th Windows, where both refused to boot. Win98 says something along the lines of "disk is not bootable, please insert a bootable disk" (I have set the partition's (hda1) "boot" flag to "true" so I see no reason whi this is not booting. WinXP does something different, after the "boot: " prompt, it displays a flashing cursor, and just sits there.

I have tried setting both MS partition's boot flag to true, to no avail.
0
Comment
Question by:candLe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
Flash828 earned 300 total points
ID: 8099238
If lilo just sits after a "boot:" prompt flashing, it means that lilo's hasn't written the boot sector properly (actually to be technically accurate, it hasn't formed the load map properly, it HAS written the boot sector).  Anyways, make sure that in lilo.conf, everything is as it should be, meaning the proper location of the kernel, etc.  Then DONT FORGET to run "/sbin/lilo -v" to remake the load map.  See if there are any errors.  If there are none, then reboot and try lilo again.  It should work now.

At any rate, my experience suggests that the NT boot loader is the way to go to dual boot (or tri-boot) os's with XP.  The way this is done:

  1)  Install Linux (Already done)
  2)  Get into Linux
  3)  Install lilo to the boot record of the partition,
      NOT to the MBR.
  4)  Run "lilo -v" to make the boot record
  5)  Place floppy in drive, then run the following command:
      dd if=/dev/hda1 of=boot.lnx bs=512 count=1

      NOTE: replace if=/dev/hda1 with the proper location to your /boot directory in linux.  You can get this information from /etc/fstab, or by using df to see the mount points.  IT MUST BE the location of your /boot directory.

  6)  Copy the file onto the DOS-formatted floppy via the following command:

      mcopy boot.lnx a:

      or

      mount /mnt/floppy
      cp boot.lnx /mnt/floppy
      umount /mnt/floppy

  7)  Install Other OS's with Windows XP last
  8)  Once in XP, copy the boot.lnx file to c:\boot.lnx
  9)  Edit c:\boot.ini and add the following line at the bootom:

      c:\boot.lnx="My Linux Installation"

 10)  Reboot and your good.

The latter half of this comment is my oppinion and my oppinion alone.  It may or may not be what your environment needs.
0
 

Expert Comment

by:bentbike1
ID: 8102028
not knowing what your system is and if your working in a profestional enviroment but a simple solution is to go out and buy several smaller drives for the respected OS's then instal each on on a drive installed as master then after wards decide which is to be your perment master drive from there on every time you boot up decide from your bios prompt what drive you want to boot from other wise youll need a partion manager program and then that will not work go to maximum exposeure they did an interveiw with a gent who had i think 80 diffrent os' installed on one drive there he explains how he did it and all of the pain he whent thru
0
 

Author Comment

by:candLe
ID: 8102577
Flash828:

can you point LILO at a particular file for booting into XP/98 as you do with linux (you point it at ..../"your kernel")


hda1 = 98
hda2 = XP
hda5 = Linux

I'll try your solution - I'll post/accept when I come out the other side :)
0
 
LVL 3

Expert Comment

by:Flash828
ID: 8106154
I believe you can point lilo to the device where the boot sector exists on.  For instance, if you install Linux to hda (your primary master) and install windows to hdb (either your primary slave, or your secondary master, or your secondary slave), then you can have an entry as follows for the windows booting:

other=/dev/hdb
    label=win

If you have one drive you have to install windows then Linux to get it to work, to the best of my knowledge.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question