Minhbach's Weblog

September 8, 2012

Boot problems

Filed under: IT — minhbach @ 11:00 am

BootSect.exe /NT60 X: , where X: is the drive letter of the mounted volume
Add /MBR if the master boot record to be fixed too.

This for fixing
A disk read error occurred
Press Ctrl + Alt + Del to restart

If the disk was being formatted the label/id would be changed, ones need to run the command:
BootSect.exe /NT60 X:
and grub-update in Linux for boot loader updating new label/id.

To restore factory default, run the command
tar zxvf backup.tar.gz
on mounted folder in Linux.

Update to SP3 could be needed.

If ones boot from recovery hidden partition, it could cause the last partition of the hard disk disappear! However the lost partition could be recovered if the partition table was saved before, then one needs to recreate a new partition as it was before.

Change/swap mounted drive
source
For the most part, this is not recommended, especially if the drive letter is the same as when Windows was installed. The only time that you may want to do this is when the drive letters get changed without any user intervention. This may happen when you break a mirror volume or there is a drive configuration change. This should be a rare occurrence and you should change the drive letters back to match the initial installation.

To change or swap drive letters on volumes that cannot otherwise be changed using the Disk Management snap-in, use the following steps:

Note: In these steps, drive D refers to the (wrong) drive letter assigned to a volume, and drive C refers to the (new) drive letter you want to change to, or to assign to the volume.

Make a full system backup of the computer and system state.
Log on as an Administrator.
Start Regedt32.exe (or Regedit.exe in Windows XP).
Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Click MountedDevices.
On the Security menu, click Permissions.
Check to make sure Administrators have full control. Change this back when you are finished with these steps.
Quit Regedt32.exe, and then start Regedit.exe.
Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Find the drive letter you want to change to (new). Look for “\DosDevices\C:”.
Right-click \DosDevices\C:, and then click Rename. In Windows 2000 you must use Regedit instead of Regedt32 to rename this registry key.
Rename it to an unused drive letter “\DosDevices\Z:”. (This will free up drive letter C: to be used later.)
Find the drive letter you want changed. Look for “\DosDevices\D:”.
Right-click \DosDevices\D:, and then click Rename.
Rename it to the appropriate (new) drive letter “\DosDevices\C:”.
Click the value for \DosDevices\Z:, click Rename, and then name it back to “\DosDevices\D:”.
Quit Regedit, and then start Regedt32 (not required in Windows XP).
Change the permissions back to the previous setting for Administrators (this should probably be Read Only).
Restart the computer.
Links

Change the System/Boot Drive Letter in Windows – 223188

Windows Server 2012 Worth the Wait and Lives up to the Hype – Forrester

Change Drive Letter Assignments in Windows XP – 307844

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: