===== [[Microsoft]] boot loader =====
NTLDR is missing
NTLDR manque
* http://en.wikipedia.org/wiki/Ntdetect.com
[[NTLDR]] itself, and boot.ini, which contains configuration options for a boot menu.
To load an NT-based OS, ntdetect.com must also be present.
* http://en.wikipedia.org/wiki/BartPE # [[Windows]]
* http://forums.ngine.de/viewtopic.php?f=4&t=3451
==== Errors Messages ====
* this is not a bootable disk ...
* Disk I/O Error ...
* Invalid system disk ... : FAT32
* INACESSIBLE_BOOT_DEVICE 0x0000007b : FAT32
* NTLDR is missing / NTLDR manque : NTFS
==== ms-sys ====
* http://ms-sys.sourceforge.net
* http://packages.qa.debian.org/m/ms-sys.html
* https://launchpad.net/ubuntu/+ppas?name_filter=ms-sys
==== relocate windows from GNU/Linux ====
Here is the procedure to move some existing windows installation from one harddisk to an other.
It worked with windows 2000 from sda1 to sda3
* mv windir : http://ubuntuforums.org/showthread.php?p=8449289#post8449289
DISK=/dev/sda
PART=${DISK}3
sudo mkfs.vfat ${PART}
sudo rsync ... ...
fdisk -ul ${DISK} | grep ${PART} | awk '{ print $3 }' | xargs -n 1 printf "0x%08llx\n"
0x003ccaf8 # rev 2 by 2 is : f8 ca 8c 00
hexedit $PART # go to 0x1c and type code ^
hexdump /dev/sda3 | head -n 2
0000000 58eb 6d90 646b 736f 7366 0000 0802 0020
0000010 0002 0000 f800 0000 003f 00ff caf8 008c
fdisk -ul ${DISK} | grep ${PART} | awk '{ print $3 }' | xargs -n 1 printf "0x%llx\n"
# 0x3b9133
* http://forum.ubuntu-fr.org/viewtopic.php?pid=3120770#p3120770
sudo ms-sys -w ${PART}
# FAT32 DOS boot record successfully written to ${PART}
## Disk I/O Error ...
sudo ms-sys -p ${PART}
# Start sector (nr of hidden sectors) successfully written to ${PART}
# Physical disk drive id 0x80 (C:) successfully written to ${PART}
## Invalid system disk ...
# diff -u boot.ini.orig boot.ini.mine
--- boot.ini.orig 2009-12-06 18:49:44.000000000 +0100
+++ boot.ini.mine 2009-12-06 18:50:10.000000000 +0100
@@ -1,5 +1,5 @@
[boot loader]
timeout=30
-default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
+default=multi(0)disk(0)rdisk(0)partition(3)\WINNT
[operating systems]
-multi(0)disk(0)rdisk(0)partition(1)\WINNT="win" /fastdetect
+multi(0)disk(0)rdisk(0)partition(3)\WINNT="win" /fastdetect
fdisk ${DISK}
${PART} * 244 1215 7799557 b FAT32
sudo qemu ${DISK}
# INACESSIBLE_BOOT_DEVICE 0x0000007b
fsck.msdos -a -V -r ${PART}
# F8 , journal , log ...
* https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2076615&group_id=180599
finally it booted on hdd not qemu
next step is to install to ums :
http://forums.ngine.de/viewtopic.php?f=4&t=3451
http://www.matao.fr/restaurer-une-partition-ntfs-endomagee-et-un-secteur-de-boot/
==== misc ====
* http://proteus.pha.jhu.edu/~dks/Unixtips/windows_rdiff_backup.html
* http://winhlp.com/node/66
==== dump disk to an other disk ====
Source has WinXp and Win10,
Copy with ddrescue from 40GB to 80GB disk:
NtLdr complains: Error: 0xc000000e
Solution: put new disk on same ide cable
Possible solution is to use:
FixBoot c:
Windows 10 cd
bootrec /scanos
bootrec /fixboot
* https://neosmart.net/wiki/0xc000000e_selected_entry_could_not_be_loaded/#Fixing_82200xc000000e8221_on_Windows# BooT
* https://neosmart.net/wiki/0xc000000e_selected_entry_could_not_be_loaded/#Fixing_82200xc000000e8221_on_Windows
* https://pureinfotech.com/repair-master-boot-record-mbr-windows-10/
===== MORE =====
@TaG: [[C]] [[System]] [[Unix]] [[boot]] [[syslinux]] [[mt]]