Solved

Linux boot from NT start menu...?

Posted on 1998-10-28
5
215 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
[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
  • 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

707 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