nice, thanky for that an hour is okay, will give you the report
later at the week.
Please check your mail and get a virtual double-beer
plus for this fast response.
Cool!
Posted 11 September 2011 - 09:20 PM
Posted 14 September 2011 - 08:12 PM
title First part of Windows XP Professional SP3 setup\nUSB to logical - boot_xp.img #boot from USB #(hd0) USB drive #(hd1) internal hard disk #(hd1,0) primary boot partition #(hd1,4) logical partition, contains /boot_xp.img ls /WINSETUP/XPpSP3.ISO || find --set-root --ignore-cd /WINSETUP/XPpSP3.ISO map ()/WINSETUP/XPpSP3.ISO (0xff) || map --mem /WINSETUP/XPpSP3.ISO (0xff) map --heads=16 --sectors-per-track=63 (hd1,4)/boot_xp.img (hd0) map ()/winvblock.ima (fd0) map ()/winvblock.ima (fd1) map (hd0) (hd2) map --harddrives=3 map --hook map --rd-size=2048 map --mem (rd)+4 (0x55) map --rehook write (0x55) #!GRUB4DOS\x00v=1\x00boot_xp.img\x00\x80\x00 chainloader (0xff)/I386/SETUPLDR.BINRemember internal hard disk refers to hd1. Read boot.ini entry refers to hd1.
title boot from internal hard disk, mapped to (hd1) ls /boot_xp.img || find --set-root --ignore-cd --ignore-floppies /boot_xp.img map --heads=16 --sectors-per-track=63 /boot_xp.img (hd0) map (hd0) (hd1) geometry (hd1) && map (hd1) (hd2) geometry (hd2) && map (hd2) (hd3) map --hook chainloader (hd0,0)/ntldrWinSetupFromUSB is used to add XP to USB stick.
Posted 14 September 2011 - 10:16 PM
Posted 15 September 2011 - 08:17 PM
Yes, boot_xp.img size is 8 MB.The heads=16 sound like a very small partition/disk
XP will be installed to the logical partition at hard disk, or to a "Logical volume inside Extended partition".I don't understand to WHAT will be the XP installed.
Posted 16 September 2011 - 06:11 AM
XP will be installed to the logical partition at hard disk, or to a "Logical volume inside Extended partition".
Core boot files (ntldr, ntdetect.com and boot.ini) are inside a image. Other files are at logical volume.
Posted 18 September 2011 - 08:53 AM
Yes, approach is inspired by floppy image approach.Well, then it's the same (once installed) as the floppy image approach, the difference is only because you can install directly without writing bootsector/NTLDR/NTDETECT.COM/BOOT.INI on a "real" Primary, right?
Posted 07 December 2011 - 04:22 PM
Can you shed some light on why do you need (0x55) drive with some GRUBSOME magic, it does seem to be used anywhere later on.Boot from USB stick menu.lst
title First part of Windows XP Professional SP3 setupnUSB to logical - boot_xp.img #boot from USB #(hd0) USB drive #(hd1) internal hard disk #(hd1,0) primary boot partition #(hd1,4) logical partition, contains /boot_xp.img ls /WINSETUP/XPpSP3.ISO || find --set-root --ignore-cd /WINSETUP/XPpSP3.ISO map ()/WINSETUP/XPpSP3.ISO (0xff) || map --mem /WINSETUP/XPpSP3.ISO (0xff) map --heads=16 --sectors-per-track=63 (hd1,4)/boot_xp.img (hd0) map ()/winvblock.ima (fd0) map ()/winvblock.ima (fd1) map (hd0) (hd2) map --harddrives=3 map --hook map --rd-size=2048 map --mem (rd)+4 (0x55) map --rehook write (0x55) #!GRUB4DOSx00v=1x00boot_xp.imgx00x80x00 chainloader (0xff)/I386/SETUPLDR.BINRemember internal hard disk refers to hd1. Read boot.ini entry refers to hd1.
nice trick with geometry to make script more portable!Add to grub4dos menu.lst at hard disk:
title boot from internal hard disk, mapped to (hd1) ls /boot_xp.img || find --set-root --ignore-cd --ignore-floppies /boot_xp.img map --heads=16 --sectors-per-track=63 /boot_xp.img (hd0) map (hd0) (hd1) geometry (hd1) && map (hd1) (hd2) geometry (hd2) && map (hd2) (hd3)
Edited by Max Shonichev, 07 December 2011 - 04:23 PM.
Posted 07 December 2011 - 10:33 PM
WinVBlock driver does read (0x55) http://reboot.pro/8168/Can you shed some light on why do you need (0x55) drive with some GRUBSOME magic, it does seem to be used anywhere later on.
[Version] Signature = "$Windows NT$" [AddReg.WinVBlock] HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock",,0x00000012 HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","Type",0x00010003,1 HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","Start",0x00010003,0 HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","ErrorControl",0x00010003,1 HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","Tag",0x00010003,33 HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","ImagePath",0x00020002,"\SystemRoot\System32\drivers\WVBLK32.SYS" HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","Group",0x00000002,"SCSI miniport" HKLM,"SYSTEM\CurrentControlSet\Services\WinVBlock","TxtSetupInstalled",0x00010003,1 [Files.WinVBlock] WVBLK32.SYS,system32\drivers [Devices] WinVBlock
Doesn't [i]map --floppies=1[/i] helps to cut alternatives?That's a never ending story, different BIOS may require different approaches.
0 members, 0 guests, 0 anonymous users