Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

win 2k boot options

  • 08-01-2002 6:32pm
    #1
    Registered Users, Registered Users 2 Posts: 10,501 ✭✭✭✭


    dye know the screen at the start when win 2k is booting up, it gives you the choice of the 2 operating systems, is there anyway to delete one from the list or to re-arrange the order?


Comments

  • Closed Accounts Posts: 875 ✭✭✭EvilGeorge


    Edit the boot.ini file , think its hidden on your primary partition (C more than likely)


  • Registered Users, Registered Users 2 Posts: 10,501 ✭✭✭✭Slydice


    cheers


  • Closed Accounts Posts: 17,163 ✭✭✭✭Boston


    its a system file, so you will have to enable that in folder/options/ hide system files, unclick.

    Be warned, dont mess around to much inthere, a comma out of place and you will have to go through the ordeal fo dos to correct the mistake, just to boot up. if you have just windows 2k/xp/me and no dos boot disk you will have to format.

    heres a guide to editing the boot.ini file under nt based OS's

    nicked from powerquest


    Solution: Editing the BOOT.INI with NTFSINI

    The BOOT.INI file is installed with NT’s loader on a primary partition on the first physical hard disk. If NT is installed on a primary partition on the first physical hard disk, the BOOT.INI will be in the same partition that NT is installed in. If NT is installed on a logical partition, the BOOT.INI will be in the primary partition that stores the NT boot code. In short, the BOOT.INI will be in the primary partition that you use to boot NT.

    In some cases, if you use PartitionMagic or Drive Image to copy an NT partition, the BOOT.INI file may incorrectly reflect the location of the copied NT partition. In these cases, the BOOT.INI needs to be updated to reflect the position of the copied partition.

    NOTE: This document does not address the problem of moving NT from an IDE drive to a SCSI drive, or vice versa. Windows NT is sensitive to changes in hardware. It may not boot if NT is moved from one type of hard dive (SCSI or IDE) to another.


    ****************************
    Obtaining the BOOT.INI
    ****************************

    If the BOOT.INI is on an NTFS partition
    When the BOOT.INI is on an NTFS partition, it will not be accessible under DOS. In order to edit it, you must first access it using NTFSINI, which is available at ftp://ftp.powerquest.com/pub/utilities/ntfsini.exe.

    At a command prompt, type NTFSINI /s. This gives a list of all of the partitions on the system. On the far right hand side of the output is a column that has a number for each partition. Find the NTFS boot partition and the number that is next to it (see the following example).

    NTFSINI 1.0 - NT BOOT.INI File Utility
    Copyright 1997 PowerQuest Corporation
    All Rights Reserved

    =========================== Disk 1==============================

    Volume Type Status Size (MB) Used (MB) Free (MB) ID
    *:Boot Manager Primary, Bootable 1.9 1.9 0.0 0
    C:WIN95 FAT Primary 958.8 958.8 0.0 1
    *:NTFS Primary 255.9 255.9 0.0 2


    In this example, the NTFS partition is the third partition listed, and the ID number is in the far right column.

    Once the ID number is acquired, the BOOT.INI file can be retrieved. This is done by running NTFSIni # boot.ini (where the # is replaced by the ID number). In the example given above, the command would be NTFSINI 2 boot.ini.

    This will create a file named BOOT.INI in the current directory. This will be the file you edit and then copy back to the NTFS partition.


    If the BOOT.INI is on a FAT partition
    When the BOOT.INI is on a FAT partition, you can access the BOOT.INI file through the partition's drive letter. When the system is booted, the FAT partition receives a drive letter assignment (such as C: or D:). If the partition is not assigned a drive letter, then it may be hidden. In this case, you must unhide the partition using PartitionMagic.

    The BOOT.INI is located on the root directory of the FAT partition used to boot NT.

    The BOOT.INI will have the hidden, system, and read-only attributes set. Before you can edit the file, you must remove these attribu.tes using the DOS attribute command as follows: ATTRIB -r -h -s x:\boot.ini (where x is the drive letter where the BOOT.INI is located).

    To open the file for editing, type edit x:\boot.ini (where x is the drive letter where the BOOT.INI is located).




    *************************
    Editing the BOOT.INI
    *************************
    The BOOT.INI file contains information about the boot options for NT’s loader. The boot options for NT specify the exact location of the NT partition. If they are incorrect, NT will not boot.

    Following is a sample BOOT.INI:

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00"
    multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]"/basevideo/sos

    In this example, the line that starts with "default" is the operating system that will boot up if no choice is made after the timed delay. Under "[operating systems]" is a list of the bootable options. The expression "multi(0)disk(0)rdisk(0)partition(2)" is the location of the NT partition.

    The "multi" parameter indicates that the hard drive you are working on is an IDE hard drive. On a SCSI drive, the parameter would change to "SCSI(0)" (for example, "SCSI(0)disk(0)rdisk(0)partition(2)"). This parameter specifies the media interface type of the hard drive. It does not indicate physical position on the chain or any other information.

    The "rdisk" parameter specifies which hard disk the partition is on. If the partition is on hard disk 0, then you should use 0 as the rdisk parameter. If it is on hard disk 1, then you should use 1 as the rdisk parameter. The Rdisk parameter is 0-based, so begin incrementing its value at 0.

    The "partition" parameter specifies the partition where the NT kernel is located. The numbering for this parameter is 1-based, so begin incrementing its value at 1. The order of the partition numbering starts with the primary partitions in the order they exist in the master boot record (MBR). Extended partitions in the MBR is excluded from this count. After that, the logical drives are numbered. To help in determining the order that the primary partitions exist in the MBR, generate a PARTINFO (see the following example).


    Partition Information Program
    May 12 1997 - DOS Version
    Copyright (c) 1994-1997, PowerQuest Corporation
    Permission is granted for this utility to be freely copied so long as it is not modified in any way. All other rights are reserved.

    PowerQuest, makers of PartitionMagic, can be reached at
    Voice: 801-437-8900 Web site: http://www.powerquest.com
    Fax: 801-226-8941 Email: magic@powerquest.com

    ===============================================

    Disk 0: 620 Cylinders, 64 Heads, 63 Sectors/Track.
    The BIOS supports INT 13h extensions for this drive.
    ================= Partition Tables ===================

    Partition ---Begin--- ---End--- Start Num
    Sector # Boot Cyl Head Sect FS Cyl Head Sect Sect Sects
    0 0 00 1 1 1 0B 234 63 63 4095 943425
    0 1 80 0 1 1 0A 0 63 63 63 3969
    0 3 00 235 0 1 05 487 63 63 947520 1020096
    0 2 00 490 0 1 07 619 63 63 1975680 524160
    947520 0 00 235 1 1 06 487 63 63 &.nbsp; 947457 1020033

    =============================================
    Disk 0: 1220.6 Megabytes
    ============ Partition Information ==================

    Volume Partition Partition Start Total
    Letter:Label Type Status Size MB Sector # Sector Sectors

    Boot Pri, Boot 1.9 0 1 63 3969
    Manager

    C:WIN95 FAT32 Pri 958.8 0 0 4095

    Extended Pri 498.1 0 3 947520 1020096

    EPBR Log 498.1 None - 947520 1020096

    D:No Name FAT16B Log 498.0 947520 0 947457 1020033

    Free Space Pri 3.9 0 - 1967616 8064

    NTFS Pri 255.9 0 2 1975680 524160


  • Closed Accounts Posts: 17,163 ✭✭✭✭Boston


    The "Partition Information" section contains the information we need. The sixth column in that section (labeled with a #) contains the relevant partition number. In the third column is the Status of each partition, indicating whether it is primary (Pri) or logical (Log). Right now we are only concerned with the primary partitions. We are going to go through all of the primary partitions and, starting with the 0 in the # column and going through sequentially, number the primary partitions starting with 1.

    ================ Partition Information ================

    Volume Partition Partition Start Total
    Letter:Label Type Status Size MB Sector # Sector Sectors

    Boot Pri, Boot 1.9 0 1 63 3969
    manager

    C:WIN95 FAT32 Pri 958.8 0 0 4095 1963521

    Extended Pri 498.1 0 3 947520 1020096

    EPBR Log 498.1 None - 947520 1020096

    D:No Name FAT16B Log 498.0 947520 0 947457 1020033

    Free Space Pri 3.9 0 - 1967616 8064

    NTFS Pri 255.9 0 2 1975680 524160


    The Partition Type column identifies the type of the partition. If the partition type is Extended, then you should not include this partition in your count.

    After you count the primary partitions, count the logical partition(s). Go through all of the partitions that are marked as Log under the Status column, sequentially incrementing the number for each logical partition. If the partition type is EPBR, skip it just as you skipped the Extended partition. The results will now look like the following:

    ================== Partition Information ==============

    Volume Partition Partition Start Total
    Letter:Label Type Status Size MB Sector # Sector Sectors

    Boot Pri,Boot 1.9 0 1 63 3969 2
    Manager

    C:WIN95 FAT32 Pri 958.8 0 0 4095 1963521 1

    Extended Pri 498.1 0 3 947520 1020096 (skipped)

    EPBR Log 498.1 None - 947520 1020096 (skipped)

    D:NO NAME FAT16B Log 498.0 947520 0 947457 1020033 4

    Free Space Pri 3.9 0 - 1967616 8064

    NTFS Pri 255.9 0 2 1975680 524160 3


    Note that under the Partition Type column, all entries marked Free Space were skipped.

    Now you need to locate the NTFS partition. Under the Partition Type column should be a listing of your NTFS partition. In the example above, the NTFS partition information is contained in the line:

    =================== Partition Information =============

    Volume Partition Partition Start Total
    Letter:Label Type Status Size MB Sector # Sector Sectors

    NTFS Pri 255.9 0 2 1975680 524160 3


    The number "3" is the number that needs to be in the boot.ini. In the example BOOT.INI, the partition number was 2, which corresponds to the Boot Manager partition. Since this partition does not contain the NT kernel, NT will not boot. In the above example, the partition number in the BOOT.INI should be 3, which corresponds to the NTFS partition. Therefore, all references to "rdisk(0)partition(2)" should be changed to "rdisk(0)partition(3)."

    The example BOOT.INI was originally:

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00"
    multi(0)disk(0)rdisk(0)partition(2)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos


    It should be changed to:

    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(3)\WINNT
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(3)\WINNT="Windows NT Workstation Version 4.00"
    multi(0)disk(0)rdisk(0)partition(3)\WINNT="Windows NT Workstation Version 4.00 [VGA mode]" /basevideo /sos



    If the NTFS partition is on a SCSI system
    In most cases the "multi(n) parameter" in the BOOT.INI may be replaced by "SCSI(n)." The (n) number indicates which hardware adapter to boot from. It is not likely that this number will need to be changed. It does not load any SCSI drivers that NT may need to access your SCSI device; it merely tells the NT Loader that you are booting from a SCSI drive.

    The "rdisk(n)" parameter in the BOOT.INI on a SCSI system indicates which LUN number that NT will boot from. If you copied the NT partition from a SCSI drive on one LUN to a SCSI drive on another LUN, then this number must change to reflect the new LUN number of the target SCSI drive.




    ****************************
    Restoring the BOOT.INI
    ****************************

    If the BOOT.INI originated on an NTFS partition
    To restore the BOOT.INI to an NTFS partition, use the NTFSINI program. Run NTFSIni /r # boot.ini (where # is the same number used to get the partition in the section on "Obtaining the BOOT.INI").


    If the BOOT.INI originated on a FAT partition
    First, re-apply the attributes that were removed. To do this, type the following command at the command line: ATTRIB +r +h +s x:\boot.ini (where x is the drive letter of the FAT partition that originally contained the BOOT.INI). If you unhid the partition with PartitionMagic, hide it again so that it is in its original state.

    .

    Problem Description:
    Editing the BOOT.INI with NTFSINI



    Problem Environment:
    PartitionMagic
    DriveCopy
    Drive Image
    Drive Image Pro
    VolumeManager
    ServerMagic
    Server Image


  • Registered Users, Registered Users 2 Posts: 10,501 ✭✭✭✭Slydice


    *jaw drops*

    eh thanks, whatever :eek:


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 5,335 ✭✭✭Cake Fiend


    Don't worry, it's a lot easier to understand than it looks.


  • Closed Accounts Posts: 17,163 ✭✭✭✭Boston


    just pick out whats relatent to you and use it. the rest ignor


  • Closed Accounts Posts: 7,488 ✭✭✭SantaHoe


    Originally posted by Slydice
    dye know the screen at the start when win 2k is booting up, it gives you the choice of the 2 operating systems, is there anyway to delete one from the list or to re-arrange the order?
    This mightn't be exactly what you're looking for, but:
    If you load up Win2k, right-click 'My Computer', click on the 'Advanced' tab, then goto 'Startup and Recovery', it should let you set which OS is booted by default, it also lets you specify how long you want the menu to be shown for before it picks one for you :p


  • Closed Accounts Posts: 17,163 ✭✭✭✭Boston


    no, that will not allow you to remove anything


  • Registered Users, Registered Users 2 Posts: 10,501 ✭✭✭✭Slydice


    no really evilgeorge's help at the start was perfect thats all i wanted


  • Advertisement
  • Closed Accounts Posts: 7,488 ✭✭✭SantaHoe


    Originally posted by Boston
    no, that will not allow you to remove anything
    Your skills for stating the obvious are most impressive.
    Have a cookie.


Advertisement