Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dual boot linux and windows 2000

Status
Not open for further replies.

teknoguy

Technical User
Joined
Feb 1, 2001
Messages
182
Location
CA
does anyone know if windows 2000's selective boot up recongnizes linux. if i install linux will the boot up mode have linux in the list.

thanks.
ryan.
 
if you install Win2K first, and then install Linux, including LILO, it will work ---------------------------------------------------------------------
I have not failed, I've just found 10,000 ways that don't work
---------------------------------------------------------------------
Peter Van Eeckhoutte
peter.ve@pandora.be
*:->* Did this post help? Click below to let me know !
 
well peterve is right
but if u want the linux option to come under the win2000 menu then u have to do the following:

install linux on the first boot record instead of master boot record and follow the instructions below

Now you have to peel the bootsector from your Linux-root-Partition. With /dev/hda2 as your linux-partition, the dd-command is:
# dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1
There is something wrong if your bootsect.lnx has more than 512 bytes.
Now copy the file bootsect.lnx to a DOS-formated floppy if this is your way to transfer files to the NTFS-Windows-partition.
You can copy it with
# mcopy /bootsect.lnx a:
or with
# mount -t msdos /dev/fd0 /mnt
# copy /bootsect.lnx /mnt
# umount /mnt

then boot into nt and do the following

Copy the file from the diskette to C:\bootsect.lnx
give the following command
C:\attrib -s -r c:\boot.ini
Now change the file boot.ini with an editor, notepad for example, as follows:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
C:\BOOTSECT.LNX="Linux"
Restore the attributes after you have saved boot.ini with:
C:\attrib +s +r c:\boot.ini
After a shutdown of your Windows NT and a restart your should see the following:
OS Loader V4.00

Please select the operating system to start:

Windows NT Workstation Version 4.0
Windows NT Workstation Version 4.0 [VGA mode]
Linux

Select Linux
The things would work fine now
Kapil Aggarwal

Technical Director
Infovalley Interweb Pvt. Ltd.
Microsoft Certified System Engineer
visit
If u find the information provided here useful to u then let me know by clicking on the link below s-)
 
well sorry for thw NT thing
actually it was a cut copy paste from one of my previous threads Kapil Aggarwal

Technical Director
Infovalley Interweb Pvt. Ltd.
Microsoft Certified System Engineer
visit
If u find the information provided here useful to u then let me know by clicking on the link below s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top