Solved

Linux and NT

Posted on 2000-03-08
14
276 Views
Last Modified: 2013-12-15
I have NT installed on one partition and nothing is installed on a second partition.  I want to install Linux.  I've been reading documentation, but I can't find out if I will be able to select an OS when I start the computer.
Is there a way to do this or do I need to use a boot disk for Linux?
0
Comment
Question by:iamundson
  • 5
  • 5
  • 2
  • +2
14 Comments
 
LVL 4

Expert Comment

by:swwelsh
ID: 2596630
Yes, you can do it. The best way is to add the linux partition to the NT boot loader menu. This is explained in the NT loader HOWTO available here:
http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader.html
0
 
LVL 3

Expert Comment

by:iharding
ID: 2596679
You can either have NT take care of the choosing, use LILO or if you really want to test things out before you change your setup, a boot disk works great.  BTW, LILO is the LInuxLoader, and works before NT can take over.
0
 

Author Comment

by:iamundson
ID: 2597167
I read that mini-howto already, but it wasn't clear on the exact steps I need to take to accomplish this.  If I already have NT on partition 1, should I just insert the Linux boot disk?  I'm not sure what to do after that.  The documentation I have isn't very clear to me, and I want to make sure I don't delete anything valuable from my NT partition.
0
 

Author Comment

by:iamundson
ID: 2597168
I read that mini-howto already, but it wasn't clear on the exact steps I need to take to accomplish this.  If I already have NT on partition 1, should I just insert the Linux boot disk?  I'm not sure what to do after that.  The documentation I have isn't very clear to me, and I want to make sure I don't delete anything valuable from my NT partition.
0
 
LVL 3

Expert Comment

by:iharding
ID: 2597187
What distribution are you going to use?
0
 

Author Comment

by:iamundson
ID: 2597238
Red Hat Linux 6.1
NT 4.0
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2597434
if your pc can boot from the cd-rom (check out your bios), insert the rh linux 6.1 cd onto the drive, boot the machine and install rh6.1 onto your second partition. you will be presented with a gui installation which is very easy to follow. somewhere in the installation process the linux loader will ask you where you want to install the linux loader. install it in your mbr (master boot record).

when installation is done and your machine reboot. you will see a boot prompt (boot: ). press tab to choose which os you would like to boot. you nt will be labeled dos. you can change it though by editing /etc/lilo.conf and replacing the word dos with nt4 or whatever name you want to call you nt os. after editing the file run /sbin/lilo -v to make the changes effective.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 2

Expert Comment

by:bernardh
ID: 2597436
if you want a more detailed installation guide, go to this site:

http://www.redhat.com/support/manuals/RHL-6.1-Manual/install-guide/
0
 

Author Comment

by:iamundson
ID: 2598150
I did that ut when I reboot and press tab I only et the choice of Linux.  There is no NT option available.  Now I need to know how to get back access to my NT partition
0
 
LVL 2

Accepted Solution

by:
bernardh earned 100 total points
ID: 2598551
1. run fdisk /dev/hda
2. on the 'Command (m for help):' prompt, type p to display partitions on /dev/hda. from there you can determine which is your nt partition.

3. now, edit your /etc/lilo.conf, it should look (almost) similar to this:

boot = /dev/sda
timeout = 50
prompt
  default = nt
  vga = normal
  append = "mem=64M"
  read-only
map=/boot/map
install=/boot/boot.b
image = /boot/vmlinuz-2.2.12-20
  label = linux
  initrd = /boot/initrd-2.2.12-20.img
  root = /dev/sda4
other = /dev/sda2
  label = nt

4. now run /sbin/lilo -v

5. reboot your machine...

6. when boot: is displayed, press tab
it should display nt and linux as the available operating systems
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2598562
note: if you didn't see any FAT16, FAT32,  or NTFS partition when you run fdisk and type 'p' on the command prompt, you probably installed it on your nt partition. another case is when you chose the server class install, it will wipe out all data on your hard disk.
0
 
LVL 4

Expert Comment

by:rickson
ID: 2599591
does your winnt is a NTFS format. if so linux cannot access nt filesystem. hte other way i know is using a magic boot from powerquest.
i also install it 2 os nt(fat) and linux (native). but i don't face any problem.
0
 

Author Comment

by:iamundson
ID: 2602575
I don't know how to edit my /etc/lilo.conf

how do i do it?  I don't know a lot about Linux.
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2605501
vi /etc/lilo.conf

to change a word press Esc followed by cw (change word) then type in the new word. to save changes, press Esc followed by :wq!

to make changes to lilo effective, run /sbin/lilo -v
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

759 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

22 Experts available now in Live!

Get 1:1 Help Now