Dual Boot Winnt4.0 server

I have NT 4.0 server installed on C:
Installed Linux with lilo and Set NT to be the defualt
During Boot, I never get a LILO prompt. After booting
from flopppy the lilo.conf looks ok.
HELP!
phillipssdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

phillipssdAuthor Commented:
Edited text of question.
0
EatEmAndSmileCommented:
Which distribution of Linux are you using?

 Did you install LILO to the MBR (best option)?
0
phillipssdAuthor Commented:
OS 6.5
Linux-Mandrake 6.1 with enhancements woo-hoo
Forgot to mention the 10 GB drive is partitioned
as follos:
NT - NTFS  - 5GB
LINUX - 3GB
Remaining for win98 after i get this figured out.

No I didn't install LILO as MBR cause one help file i read
somewhere said DO NOT do that cause NT owns it and it will never boot NT again LILO or not .........

First Time LINUX'er ........ can you tell :-)
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

jelaiwCommented:
Where did you read that?  It's quite inaccurate.  If you want to use LILO as a boot loader instead of NT's, then go ahead use LILO in the MBR.  You can even use NT's loader to load linux if you wanted to!

In my slack7 distribution, they have an even better way of putting the loader in the superblock so all you have to do is set active flags in the partition.

But I digress..  here is a link to an article which explains this quite well.

http://www.ntfaq.com/ntfaq/install16.html

if you want to learn how to do it the other way, read the dual boot, and disk howto's at howto.linuxberg.com

hope this helps,

jw
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EatEmAndSmileCommented:
Have you installed Mandrake already? If not, good. Avoid a lot of frustration while there's still time and grab a copy of Slackware 7.0. Install a true Linux distribution, not a Linux-based one. (RedHat and Mandrake are not Linux, but Linux-based)

 Installing LILO and booting Linux and any other OSes you have installed became a seamless task since Slackware 7.0 came out.

 All you have to do is to run the "liloconfig" utility, then select the "expert" option and add a new LILO header, then you can add an entry for Linux, another for NT and why not another for your future Windows 98. Select "install" and it's done. A quite simple procedure.

 I really don't know how to do something like this in Mandrake, since these Linux-based distributions doesn't allow for much configuration, their main purpose is to sell the CD, install a load of stuff that you don't need on your poor HD without asking and leaving you with tons of questions about a system tjhat will run slower than any Microsoft Windows.

 Think about it.

 Good luck!
0
phillipssdAuthor Commented:
jelaiw, eatemandsmile, thnks you guys are great...
where do i get this slackware 7.0
0
jelaiwCommented:
You can get the cd from cheapbytes.com for $2/cd.

Or you can check out slackware.com for alternative methods (like downloading the iso).

Save some bandwidth and buy the cd, it's convenient to have.

However, slack7 isn't a magic bullet.  It's just another linux distribution, just like redhat, mandrake, and others and it has it's own quirks.  Using it doesn't preclude you from doing your own due diligence.

jw
0
EatEmAndSmileCommented:
The difference is that when you're using Slackware you're at least aware of what's happening. Something that "windows-like" distributions try to hide from the user's eyes.

 You should be able to grab a copy of Slackware even on magazine stores... Some magazines come with a CD also.

 Good luck!
0
grudCommented:
OK, In my experience it is difficult to get Windows NT booting after installing LILO onto the MBR of the primary HDD.
The best way to do this is to create a boot image and include it in your boot.ini from windows NT, this way the NT menu loads and gives you the option of LINUX or Windows NT.
How do you do this, I am using the Caldera distribution but following is how I implemented this dual boot with help from Calderas' Knowledge Base.

- Boot the computer into linux.
- Login as root.
- Open a console/terminal window.
- type "lilo -u /dev/hda" (hda indicates the Primary master IDE drive. If using a SCSI drive type "lilo -u /dev/sda")
- Edit the /etc/lilo.conf file. If it has a line that reads "boot=/dev/hd?" (where the "?" is a letter "a-z"), change the line to read "boot=/dev/hd?1". Example: change "boot=/dev/hda" to read "boot=/dev/hda1". (/dev/hda is the primary master ide drive. SCSI drives are designated as /dev/sda, /dev/sdb, etc.) If the line reads "boot=/dev/hd?#" where the "?" is a letter "a" thru "z" and the "#" is a number "1" thru "16", then do not make any changes.
- run lilo. You should see a response that says: Added linux *


Creating a boot sector image for linux:
- Insert a blank (dos/windows formatted) floppy disk.
- Mount the floppy (type "mount /mnt/floppy")
- Create the image (type "dd if=/dev/hda1 bs=512 count=1 of=/mnt/floppy/Bootsec.lin") This is used later to configure linux to boot from the NT boot loader.

After you have done this, NT should boot normally but you will not have the option to boot LINUX until you add it to the NT Boot.ini.

Adding Linux to NT's boot loader:

- Copy the Bootsec.lin file from the floppy created in the "Creating a boot sector image for linux:" section above, to the c:\ drive (the primary drive where NT is loaded).
- Add the following line in boot.ini:

c:\bootsec.lin="Caldera OpenLinux"

Now when you boot your computer you can choose between NT and Linux.

Good luck.
0
grudCommented:
Alternativly...

LILO cannot read NTFS. Normally this will cause an error message to be displayed if you try to configure LILO to boot NT from an NTFS partition. The steps below show how to configure LILO, in essence, telling it to trust that there is indeed an os to boot from the target location. In the following example NT is loaded on the first partition (NTFS) and OpenLinux is on the second partition of an ide hard drive.

1. Boot into Linux. If you did not install lilo to the Master Boot Record (MBR) then you will need to boot from the cd and at the "install:" prompt, type "boot root=/dev/hda2".
(Note: linux refers to ide devices with the /dev/hda = primary master, /dev/hdb = primary slave, /dev/hdc = secondary master, /dev/hdd = secondary slave. Partitions on the drive are designated by numbers. Thus, /dev/hda1 is the first partition on the primary slave. SCSI devices are designated as /dev/sda, /dev/sdb, etc.)

2. Login as root.

3. Open a terminal window.

4. Type "vi /etc/lilo.conf"

5. Press "i" (to insert text)

6. Scroll down below the section that looks similar to the following:
image = /boot/vmlinuz
label = linux
root = /dev/hda2
vga = 274
read-only
append = "debug=2 noapic nosmp"
(Note: if you want NT to be the default OS to load then add the following lines above the section described above.)

7(a). Add the following lines:
other = /dev/hda1
label = winnt
unsafe

"unsafe" tells lilo not to check for the boot sector.

7(b). If you did not install lilo to the MBR then change the line in the general section that reads:
boot = /dev/hda2
to read
boot = /dev/hda

8. Press the esc key (to return to command mode)

9. Press ":" and type "wq" to write changes and quit editing.

10. Type "lilo"

11. Restart the computer.

At the "boot:" prompt there are four basic options to boot the system.
1) Do nothing. After a few seconds the default OS will load (the first OS/image listed in the lilo.conf file is the default OS.) linux is the default os in the above example.
2) Press Enter and the default OS begins loading immediately.
3) Press the Tab key to display a list of the available OS images to boot and type the one to load. Pressing tab with the example above would display:
linux winnt
4) Type in the OS to load, eg, typing "winnt" and pressing enter will start Windows NT.

The main advantage of using LILO for the boot manager is that LILO can handle 16 different OS's/images.
0
phillipssdAuthor Commented:
Hey guys sorry took so long to reply but have been very busy....
All these Answers and Comments were great...
If I had more points I would issue them to all who replied.
Thank You!

I was able to get the ALL 3 OS's going.
I Blew the drive away and started from scratch.

First I loaded Win98 then NT.
Second Loaded Linux with LILO.
Only hassle is 2 boot prompts, (I can live with it)
1st prompt is LILO if i type nothing it
loads Linux. If I type DOS I get NT prompt with NTServer/Win98 as options
15 years later and Back to Unix world again WooHoo....... Thanks again guys!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.