Solved

Dual booting Linux S.u.S.E and NT Servre 4.0

Posted on 1998-12-09
10
209 Views
Last Modified: 2013-12-15
I need my system to boot into the systems above.  I tried using LILO but surprise, surprise, NT didn't like it.
I have NT set up on the first partion (of a 4GB drive) and Linux setup up on the second partition with 2 extra partitions for swap space.  
I can now boot into NT using its own OS Loader v4.1, but need to add an antry to allow me to boot the second partition, i.e. Linux.
I can at the moment boot into Linux, but need to use LILO that I have on a floppy.  This is extreme hassle!
Anyone got any ideas.  I dont mind re-installing both OS's if needs be!
0
Comment
Question by:robinM
[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
  • 3
  • 3
  • 2
  • +2
10 Comments
 

Expert Comment

by:firnich
ID: 1631845
At first you have to install LILO on your Linux Partition (not on the Master Boot Record of your Disk). For example on /dev/hda3

The next step is to copy the bootsector of your Linux-partition (dev/hda3) in a file:

dd if=/dev/hda3 bs=512 count=1 of=/tmp/liloboot.bin

After that copy the file liloboot.bin to your WinNT Partition (in root)

At last you have to add an entry in your c:\boot.ini-File like that:
c:\liloboot.bin="Linux"

Reboot your system - a new entry in your NT-bootsequence is now added.
0
 

Author Comment

by:robinM
ID: 1631846
Just the answer I am after.  Please give me until the same time tomorrow to accept your answer.  I wont be able to try it until I return home this evening.
0
 

Author Comment

by:robinM
ID: 1631847
Just the answer I am after.  Please give me until the same time tomorrow to accept your answer.  I wont be able to try it until I return home this evening.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Expert Comment

by:97330
ID: 1631848
I would recommend you to have the LILO in the master boot record and then add some coding in the /etc/lilo.conf in linux:
boot=/dev/hda
map/boot/map
install=/boot/boot.b
prompt
timeout=100
image=/boot/vmlinuz
    label=linux
    initrd=/boot/initrd
    root=/dev/hda1
    read-only
image=/boot/vmlinuz
    label=NT
    root=/dev/hda1
    read-only
and then next time when you reboot, at the "LILI boot:", press TAB and then enter NT, it should work
0
 
LVL 1

Expert Comment

by:arthurd
ID: 1631849
You could also try using "loadlin".  I think you could add that to the NT boot loader or you can just run it from inside NT and it will boot to linux.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1631850
97330: sorry your lilo.conf example never boots NT
image=/boot/vmlinuz
         label=NT
         root=/dev/hda1
         read-only

robinM: have you cross-posted?
0
 

Expert Comment

by:97330
ID: 1631851
I asume there is only two OS, one is NT and one is Linux, if just directly typed in what I wrote above, it will never work, coz you have to figure out which is the partition in the
    root=/dev/xxxx
xxxx could be hda0,hda3 ....
that label=NT is just the name that I assigned, it doesn't matter.
I also use this on my machine, and it works fine, ahoffmann, would you mind to point out which part I made a mistake?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1631852
97339, image=/boot/vmlinuz  should be   other=/dev/hda1
0
 

Author Comment

by:robinM
ID: 1631853
Thanks for your help everyone.  Decided to stick to using a floppy to boot linux.  Microsoft sucks.  I might just buy another machine.

ahoffman, please submit an answer so I can close.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1631854
install lilo on MBR, boot NT via LILO with lilo.conf as follows:

other=/dev/hda1
         label=NT  

0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

738 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