I'm trying to configure boot.ini in a basic HDD Upgrade. Any help is Appreciated

T

tmt

I'm having a problem in trying to upgrade my hdd. I just bought a 40GB
hdd and norton ghost I think 8.0 or whichever was the last version you
can only run from DOS. I ghosted the partition onto the new disk and
attempted to edit the boot.ini file. I took the old hdd out and tried
the new boot configuration. This is what my boot.ini file looks like
originally

{boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows XP
Professional" /fastdetect


I only have one hdd in the pc the 40gb. What do I need to do in order
to get it to boot and have the OS recognize the new space? Will I need
to reinstall from scratch. I don't want to but it may not be a bad
thing.
 
T

Timothy Daniels

tmt said:
I'm having a problem in trying to upgrade my hdd.
I just bought a 40GB hdd and norton ghost I think 8.0
or whichever was the last version you can only run
from DOS. I ghosted the partition onto the new disk
and attempted to edit the boot.ini file. I took the
old hdd out and tried the new boot configuration.
This is what my boot.ini file looks like originally

{boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows XP
Professional" /fastdetect


I only have one hdd in the pc the 40gb. What do I need
to do in order to get it to boot and have the OS recognize
the new space? Will I need to reinstall from scratch. I don't
want to but it may not be a bad thing.

The old boot.ini says that the OS is in the 2nd partition.
Is the new OS in the new HDD also in the 2nd partition?

You can set the timeout value to 0 since you're not doing
multi-booting.

When you did the cloning, the Master Boot Record should
have been copied to the new HDD, the new partition should
have been made as a primary partition, and it should have been
marked "active" in order for control to be passed to it by the
Master Boot Record. Were all these conditions satisfied?

~[TD]~
 
T

tmt

I'm not certain all these conditions were met. After I sent this post
I went to fdisk and marked the partition as active and then it booted
the os but did not make it to the log in screen. How do I now
determine whether:

a) the partition is primary

I also should add that I cloned a partition to a new drive. Will I
need to clone the disk itself, or is their an option for this that I
nedd to specify in ghost?
 
T

Timothy Daniels

tmt said:
I'm not certain all these conditions were met. After I sent
this post I went to fdisk and marked the partition as active
and then it booted the os but did not make it to the log in
screen. How do I now determine whether:

a) the partition is primary


Right-click MyComputer, select Manage/DiskManagement.
Primary partitions are indicated by color of the top margin
of the partition (see window bottom margin for color code).

I also should add that I cloned a partition to a new drive. Will I
need to clone the disk itself, or is their an option for this that I
nedd to specify in ghost?


In Ghost 9.0 (assuming it's like its Drive Image predecessor),
you clone a partition, not the entire disk surface. If you're using
an earlier version of Ghost, the procedure may differ slightly.
The MBR is separated physically and logically from any one
partition, so a copy of that must be explicitly specified. If that
gets munged, you can build a new one using the Repair Console
on the XP installation CD and using the fixmbr command.

~[TimD]~
 
T

tmt

My main drive was j:\ instead of C:\ long story but I partitioned it
so that I could quickly backup my data. Using Ghost (BTW it's ghost
2002 it came with the cd for my motherboard) Now when I ghost it to
the 40 GB and then fix my MBR, It will boot to the windows xp splash
screen, where the little blue bar goes from left to right for a few
seconds, and then the screen goes black, my mouse comes online, and
then it shows a bluish screen with the windows xp logo which then gets
replaced by the username and password field. Problem is that this
username and password field never appear. I have my mouse and that's
it. I suspect it's because windows is still looking for my information
on drive J:\. Is their a way to manually edit the environmenral
variables in windows xp, as I did with boot.ini? Also, thank you for
taking the time to respond to my posts. Often genuine questions get
passed over in favor of those ridiculous "I hate Windows/Linux"
conversations.
 
T

Timothy Daniels

tmt said:
My main drive was j:\ instead of C:\ long story but I partitioned it
so that I could quickly backup my data. Using Ghost (BTW it's ghost
2002 it came with the cd for my motherboard) Now when I ghost it to
the 40 GB and then fix my MBR, It will boot to the windows xp splash
screen, where the little blue bar goes from left to right for a few
seconds, and then the screen goes black, my mouse comes online, and
then it shows a bluish screen with the windows xp logo which then gets
replaced by the username and password field. Problem is that this
username and password field never appear. I have my mouse and that's
it. I suspect it's because windows is still looking for my information
on drive J:\. Is their a way to manually edit the environmenral
variables in windows xp, as I did with boot.ini?

Start from the beginning. Post the contents of the boot.ini file
in the "active" partition of the HD at the head of the BIOS' boot
sequence. If there are more than one HD, list them in the order
of the BIOS' boot sequence. Also list the partitions on the drive(s)
and what they contain (e.g operating system or data files). If the
formats of the partitions differ, list those, too. Then we can start.

*TimD*
 
T

tmt

My HDD is a 20GB partitioned 4 different ways:
FAT32 I: 3GB - This is where I keep my installation files
NTFS J: 7GB - This is what XP boots off of and where I keep
everything.
NTFS K: 8GB - This is basically a mirror via ghost 2002 partition copy
of "j:\"
FAT32 L: 1.5GB - This was used for storing emails and documents in case
XP suffered a crash that I could not recover from. at one time but then
I no longer needed it. It saved my files I wanted and emails and some
music etc.


The fat32 drives were done deliberately so that I could access them
from dos in a crunch. Incidentally this was an upgrade from 2000
Professional.

I wish to ghost my J: Drive to the new partition and make the OS "see"
the new space it will have. I can do a simple file copy of everything
else. I want the two drive to be able to reside together so that I can
continue ghosting to the old drive.

I tried accomplishing this by using ghost 2002 to ghost "j:\" to my new
drive and play with the boot.ini settings to make it see the new drive.
This did not work even after I made the disk active in fdisk from DOS.
It would get to the screen I described last time and then stop
loading. I still had use of my mouse and their was no HDD activity
indicating it was doing something for which I should wait.

My next hypothesis is that I have to change my path statements and any
other environment variables that point to old "j:\" to "c:\". I would
like to try this manually. The way in windows is to right click on my
computer ->properties->advanced-> "Environment variables and change
everything that makes a reference to "j:\" to "C:\". I'm thinking it
stops loading now either becasue the OS can't find a file(s) it needs
and won't check elsewhere, or this is one of those annoying security /
anti pirating techniques XP has.

At anyrate, if my assumption is at least in the ball park for the
environment variable hypothesis, then I would like to know the names of
the files that hold this information so I can edit them manually from
DOS.


Any thoughts you have would be appreciated.
 
T

Timothy Daniels

tmt said:
My HDD is a 20GB partitioned 4 different ways:
FAT32 I: 3GB - This is where I keep my installation files
NTFS J: 7GB - This is what XP boots off of and where I keep
everything.
NTFS K: 8GB - This is basically a mirror via ghost 2002 partition copy
of "j:\"
FAT32 L: 1.5GB - This was used for storing emails and documents in case
XP suffered a crash that I could not recover from. at one time but then
I no longer needed it. It saved my files I wanted and emails and some
music etc.


The fat32 drives were done deliberately so that I could access them
from dos in a crunch. Incidentally this was an upgrade from 2000
Professional.

I wish to ghost my J: Drive to the new partition and make the OS "see"
the new space it will have. I can do a simple file copy of everything
else. I want the two drive to be able to reside together so that I can
continue ghosting to the old drive.

I tried accomplishing this by using ghost 2002 to ghost "j:\" to my new
drive and play with the boot.ini settings to make it see the new drive.
This did not work even after I made the disk active in fdisk from DOS.
It would get to the screen I described last time and then stop
loading. I still had use of my mouse and their was no HDD activity
indicating it was doing something for which I should wait.

My next hypothesis is that I have to change my path statements and any
other environment variables that point to old "j:\" to "c:\". I would
like to try this manually. The way in windows is to right click on my
computer ->properties->advanced-> "Environment variables and change
everything that makes a reference to "j:\" to "C:\". I'm thinking it
stops loading now either becasue the OS can't find a file(s) it needs
and won't check elsewhere, or this is one of those annoying security /
anti pirating techniques XP has.

At anyrate, if my assumption is at least in the ball park for the
environment variable hypothesis, then I would like to know the names of
the files that hold this information so I can edit them manually from
DOS.


Any thoughts you have would be appreciated.


It's not clear from your description where the "new drive" is -
whether it's on the same hard disk drive or on a new one.

In any event, to be independently bootable (i.e. control doesn't
involve any other partition), the new OS should be be on a
primary partition, and that partition should be marked "active".
The primary partition enables it to have a boot sector, and
"active" means that its own boot.ini and ntldr will be used.

In the boot procedure, the BIOS will take the 1st HD in its
boot sequence that has a Master Boot Record and it will pass
control to the boot sector in that HD's "active" partition. The
boot sector there will pass control to ntlder in that partition,
and ntldr will consult the boot.ini file for the boot menu.

To understand boot.ini syntax, you must understand the concept
of a "boot sequence" in the BIOS as rdisk() in the boot.ini syntax
refers to the relative position of the HD within that boot sequence -
the first in the list having position 0. Thus "rdisk(0)" in the boot
menu refers to the 1st HD in the boot sequence, "rdisk(1)" refers
to the 2nd HD, etc. By default, the Master HD on IDE channel 0
is rdisk(0), and the Slave HD on that channel is rdisk(1). If there
are no HDs on channel 0, the BIOS starts the boot sequence with
the Master HD on channel 1, etc. If there is only one HD on an IDE
channel, the Master/Slave setting has no meaning. By manual
input from the keyboard, however, you can alter the BIOS's boot
sequence, so these assignments of "relative" disk positions in the
boot sequence are not permanent.

In the boot.ini syntax, the partitions are numbered from 1 to n,
where the first partition on a HD is "partition(1)", the 2nd partition
is "partition(2)", etc. There can be a maximum of 4 primary
partitions on a HD.

The characters within the quotes in each boot.ini menu option are
arbitrary, and you can set them to be whatever makes sense to you -
perhaps a description of the contents of that partition or a display
of the disk position and partition number that the entry refers to.

The "timeout" value is given in seconds, and it represents the amount
of time that the boot menu will be displayed before reverting to the
partition given in the "default" parameter. If timeout=0, control will
immediately pass to the default partition.

You can edit the boot.ini file using Notepad that runs under an OS
running from another partition or its own partition, or you can
use Start/run/msconfig/boot.ini from its own partition.

One thing that *might* bite you if you produce a Ghost'd clone on
the same HD as the "parent" is that the "parent" won't be hidden
from view of the clone when it's started for the 1st time. Normally,
in cloning to another HD, you would disconnect the "parent" HD
during the 1st startup of the clone to prevent the clone from setting
pointers that point to files in its "parent" - which would permanently
make the clone dependent on its "parent" to run. (After the 1st start-
up in isolation, the clone is forever after independent and can see its
"parent" upon subsequent startups.) Whether this binding problem
would occur between a clone and its "parent" on the same HD,
I don't know. You might be able to use Partition Magic to "hide"
the "parent" partition temporarily, but I've not tried that.

Any questions?

~Tim R. Daniels~
 
T

tmt

I have had to put this problem on the back burner for a litlle while.
I will write back when I have tried to match your instructions. Thanks
Timothy for your help
 
T

Timothy Daniels

tmt said:
I have had to put this problem on the back burner for a litlle while.
I will write back when I have tried to match your instructions. Thanks
Timothy for your help


You're welcome. Slow 'n steady is best.

*TimDan*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top