Solved

Linux boot from NT start menu...?

Posted on 1998-10-28
5
210 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

863 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

Need Help in Real-Time?

Connect with top rated Experts

29 Experts available now in Live!

Get 1:1 Help Now