Solved

Linux boot from NT start menu...?

Posted on 1998-10-28
5
211 Views
Last Modified: 2010-04-20
I have a primary slave HD with SlackWare 3.4 installed. When I installed LILO on the master, it destroyed my first primary partition... Is there a way to add Linux to the boot.ini file? (The option multi(0)disk(1)rdisk(0)... seemed to assume that NT was to be loaded from that partition.)
0
Comment
Question by:obg
  • 3
  • 2
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1638404
NO.
Use lilo and add the NT partition as  other = /dev/hda1 (or equivalent)

Note that lilo make a copy of the MBR, so it might be a good idea to first reinstall the original NT MBR and then running lilo.

For details: there is a howto/Linux+NT.gz
0
 
LVL 10

Expert Comment

by:rbr
ID: 1638405
yes it is possible. The pts distribution has an help where this is discribed.


Start liloconfig (say that lilo will be installed at the linux root partition)
Add the linux partition to the config
delay should be zero
install lilo
Copy the bootsector into a file (dd if=<Linux Root-Partition> of=<File> bs=512 count=1
(e.g. dd if=/dev/hda3 of=/bootsect.lin bs=512 count=1)
cp this file to the NT boot partition (via DISC if it's NTFS or directly if it's dos)
add the following line in boot.ini
C:\bootsect.lin=Linux


0
 
LVL 10

Expert Comment

by:rbr
ID: 1638406
If done this with my PC and it works without any problems.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1638407
Hey rbr, nice idea.
Does it work also if my 1'st partition (C:) is NTFS? As with booting DOS, I thought that it's just possible to boot other systems if the 2'st partition (NT) is in FAT format.
If this works you should get the points :-)
0
 
LVL 10

Expert Comment

by:rbr
ID: 1638408
Yes if you copy the file with a disc on the NTFS volume it should work!
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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