Προς το περιεχόμενο

boot.ini how to!


Edgar

Προτεινόμενες αναρτήσεις

re paidia... exo to eksis problima

Exo 3 partition ton skliro mou (c,d &e)

Ston c, ebala xtes ta win2k (ta eixa kai palia ekei, alla eixan ginei kolos), sto d eixa edo kai kairo ta 98.

 

Prin to format tou c, mou ebgaze kanonika to menudaki tou win2k gia na epilekso leitourgiko. Meta to format omos, den kratisa to arxeio boot.ini kai tora, den mou bgazei to menudaki...

 

Peite mou ti akribos grafo sto boot.ini gia na mou bgalei kai epilogi gia ta 98?

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

file einai arketa perierga ta pramata distixos.exo prospa8isei kai ego palia kai @@ exo kanei..de ksero na sou po alla prin to kaneis kane ena backup to boot.ini ,8a sou elega se ola ta partition etsi gia na exeis kopies...

psakse se kana google gia editing boot.ini isos kati vreis.an vreis btw sfira kai to me..:)

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Βρήκα κάτι που μπορεί να σας ενδιαφέρει...

 

 

Ultimatley the boot.ini will have a line something like this in it:

C:\bootsect.dos="Microsoft Windows 98"

 

The NT loader runs the .dos file and Win98 thinks it's being read from the MBR, thus loads normally.

 

You can create the bootsect.dos file and fix the boot.ini to point to it.

 

You cannot simply copy a BOOTSECT.DOS file from another installation unless they are identical, because the file contains information which is specific to the hard drive and partition setup for your machine.

To make a bootsect.dos file, open notepad (or other text editor) and create a file called read.scr with the following lines.

L 100 N 0 1

N C:\BOOTSECT.DOS

R BX

0

R CX

200

W

Q

The "N" in the first row is replaced by the number corresponding to the drive letter of the dos partition where Win98 is loaded. Use 2 = C, 3 = D, 4 = E . For example, if the dos partition is drive letter E:, the command would be "L 100 4 0 1". The partition number is entered in hexadecimal, so you can use a calculator to determine the correct number to use.

Once you have made this text file, open the command prompt, change directories to the location of this text file, and run the DEBUG program as follows:

debug <(less than character)read.scr

This will create the file C:\BOOTSECT.DOS from the boot sector on the DOS partition.

 

Note: I ran the debug from the command prompt of W2K and recieved an error because the C: partition is formatted as NTFS. I continued and the bootsect.dos file was created with no apparent problems.

 

 

 

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Koritsia... brika auto:

 

<blockquote><font class="small">Quote mia selida pou brika simera!:</font><hr>Solution: Editing the BOOT.INI with BTINI

 

The BOOT.INI file is installed with NTs 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 BTINI, which is available at ftp://ftp.powerquest.com/pub/utilities/btini.zip.

 

At a command prompt, type BTINI /show. This gives a list of all of the partitions on the system. The far right column (labeled "ID") displays a number for each partition. Find the NTFS boot partition and the number that is next to it (see the following example).

 

PQ Boot.ini Copier v5.00.49 - Copy boot.ini from any partition

Copyright © 1999-2001 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 2.

 

Once the ID number is acquired, the BOOT.INI file can be retrieved. This is done by running the following command:

 

BTINI /copy <drive ID>:\boot.ini <copy destination>:\boot.ini

 

Using the output from the BTINI /show command in our previous example, we would type the following command to copy the BOOT.INI to a floppy diskette:

 

BTINI /copy 2:\boot.ini a:\boot.ini.

 

We could then edit the BOOT.INI file on the floppy diskette and copy it back to the NTFS partition when you are done.

 

 

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 attributes 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 NTs 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 © 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: [email protected]

 

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

 

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 &nb.sp; 1975680 524160

947520 0 00 235 1 1 06 487 63 63 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

 

 

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 BTINI program. The correct syntax is:

 

BTINI /copy <drive letter>:\boot.ini <drive ID>:\boot.ini

 

For example:

 

BTINI /copy a:\boot.ini 2:\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.<hr /></blockquote>

 

EDIT: Ftou! Tora to eida... leei gia ntfs kai ego ta exo ola se fat...

Etreksa to programamtaki kai mou ebgaze minima lathous oti den mporei na ksekinisei :(

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Kala, eimai poli megalos karagiozis... Tosi ora itan mprosta sta matia mou kai ego ekana malakies...

 

Mallon prepei na grapsoume to parakato sto boot.ini

 

<pre><font class="small">code:</font><hr>

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home"

D:\="Microsoft Windows 98"

</pre><hr>

 

Kala edo leei gia winxp, apla allazoume to folder (apo WINDOWS se WINNT)

 

Tha to dokimaso to bradi kai tha sas po :)

Elpizo opoios allos eixe paromoio problima na ton boithisei auto :)

 

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

<blockquote><font class="small">Quote Edgar:</font><hr> Kala, eimai poli megalos karagiozis... Tosi ora itan mprosta sta matia mou kai ego ekana malakies...

 

Mallon prepei na grapsoume to parakato sto boot.ini

 

<pre><font class="small">code:</font><hr>

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home"

D:\="Microsoft Windows 98"

</pre><hr>

 

Kala edo leei gia winxp, apla allazoume to folder (apo WINDOWS se WINNT)

 

Tha to dokimaso to bradi kai tha sas po :)

Elpizo opoios allos eixe paromoio problima na ton boithisei auto :)

<hr /></blockquote>

 

Basika eisai poly konta, apla 8a prepei opws exeis afto:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home"

na ftiaksei ena antistoixo line to opoio omws na deixnei to partition twn 98. bres ena boot.ini apo 98 kai des kai ti prepei na baleis meta apo th topo8esia tou leitourgikou san kernel pou 8a fortonei

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Twra 8ymh8hka!!!

Exw sto pcaki tou bro Win2k kai 98 me ta Win98 sto E h sto F de 8ymamai

Apla pes mou posous sklhrous exeis, posa logical drives, possa partitions kai se poio einai ta Win XP kai se poio ta 98 na dokimasw na sou ftiaksw egw ena :)

Etsi, gia to challenge :grin:

Kai an den paiksei den exeis kai tpt na xaseis, bazeis pisw to palio kai eisai ok ;)

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Telika ekana mia epanegatasasi ton 98 (pano apo auta pou eixa) kai eftiakse to pragma :)

To asteio einai oti anoigo to boot.ini sta win2k na do ti skata eprepe na grapso kai blepo oti kato apo tin grammi

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows 2000"

mou exei balei to koufo

c:\="Windows 98" or

c:\windows="Windows 98" (den thimamai akribos)!!!

Συνδέστε για να σχολιάσετε
Κοινοποίηση σε άλλες σελίδες

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...