?
Solved

Linux and NT

Posted on 2000-03-08
14
Medium Priority
?
283 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
[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
  • 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
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

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
 
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 300 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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…
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.
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

771 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