IPB

Welcome Guest ( Log In | Register )

Recommended
BootDisk.com

Active Users

6 Pages V  « < 4 5 6  
Reply to this topicStart new topic
Recovery Console not working from USB Stick, Grub boots Recoveryconsole fine from DVD, but not from usb
psc
post Aug 26 2008, 07:20 AM
Post #51


Guru
***

Group: .script developer
Posts: 5,379
Thank(s): 83
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


QUOTE (Galapo @ Aug 26 2008, 03:59 AM) *
The following attached script automates the process in Peter's BSOR project. Replace 'BSORISO.script' with the attached modified script (note: requires WB 075b4 or above).

@Galapo:
Please do me a favour: When creating 'Boot from RAM', please replace VDK by ImDisk.
ImDisk is 'part' of our forum.

And a question:
Is the attached bootsect.bin a special one?
The original script extracts a boot sector as boot.ima from SPCMDCON.SYS on the source CD.

Peter
Go to the top of the page
 
+Quote Post
Galapo
post Aug 26 2008, 07:22 AM
Post #52


Advanced Member
***

Group: .script developer
Posts: 1,771
Thank(s): 85
Joined: 16-July 06
From: Sydney
Member No.: 11


Australia


Hi jaclaz,

Yes, I was using your batch, but it now works supplying more correct image size. RC boots, but at some point asks for CD to be inserted for whatever reason. I could play more to see if I could correct, but I think your initial suggestion of ram-booting is the best for me given lack of time at the moment!

Thanks,
Galapo.
Go to the top of the page
 
+Quote Post
Galapo
post Aug 26 2008, 07:25 AM
Post #53


Advanced Member
***

Group: .script developer
Posts: 1,771
Thank(s): 85
Joined: 16-July 06
From: Sydney
Member No.: 11


Australia


QUOTE (psc @ Aug 26 2008, 05:20 PM) *
@Galapo:
Please do me a favour: When creating 'Boot from RAM', please replace VDK by ImDisk.

Yes, but the issue here is that it requires installation. I have tested this for a while, but was unable to produce a consistently error-free non-reboot scripted install of imdisk if not present on host. But if you can produce, I'm more than willing to move to always using imdisk.

Regards,
Galapo.
Go to the top of the page
 
+Quote Post
Galapo
post Aug 26 2008, 07:53 AM
Post #54


Advanced Member
***

Group: .script developer
Posts: 1,771
Thank(s): 85
Joined: 16-July 06
From: Sydney
Member No.: 11


Australia


QUOTE (psc @ Aug 26 2008, 05:20 PM) *
Is the attached bootsect.bin a special one?
The original script extracts a boot sector as boot.ima from SPCMDCON.SYS on the source CD.

No nothing special, it's simply the one from the bootsdi script (I didn't test boot.ima to see if it envokes setupldr for the ram-boot process, but can soon).

Regards,
Galapo.
Go to the top of the page
 
+Quote Post
psc
post Aug 26 2008, 07:57 AM
Post #55


Guru
***

Group: .script developer
Posts: 5,379
Thank(s): 83
Joined: 14-July 06
From: Korschenbroich
Member No.: 3


Germany


QUOTE (Galapo @ Aug 26 2008, 09:53 AM) *
No nothing special, it's simply the one from the bootsdi script (I didn't test boot.ima to see if it envokes setupldr for the ram-boot process, but can soon).

Regards,
Galapo.


(IMG:../forums/style_emoticons/default/thumbup.gif)

Peter
Go to the top of the page
 
+Quote Post
Galapo
post Aug 26 2008, 08:15 AM
Post #56


Advanced Member
***

Group: .script developer
Posts: 1,771
Thank(s): 85
Joined: 16-July 06
From: Sydney
Member No.: 11


Australia


boot.ima works fine, so using anything else is unnecessary. Script adjusted and is attached (previous version removed from original post above).

Regards,
Galapo.
Attached File(s)
Attached File  BSORISO.script ( 37.47K ) Number of downloads: 10
 
Go to the top of the page
 
+Quote Post
ilko
post Sep 13 2008, 09:18 PM
Post #57


Advanced Member
***

Group: Members
Posts: 117
Thank(s): 2
Joined: 27-May 07
Member No.: 7,732


Bulgaria


QUOTE (ilko @ Aug 7 2008, 08:52 PM) *
Whats the goal? Would this link be useful, in second half it's about RAM boot of text mode setup, recovery console is similar:
http://www.msfn.org/board/Alternative-loca...en-t119742.html

Using the same approach:

Create folder RC, create I386 inside, put all files from ~BT folder in I386, add AUTOCHK.EXE, AUTOFMT.EXE and additionally KBD*.DLL if you need other keyboards support. Put BOOTSECT.BIN in \RC. Replace RAMDISK.SY_ with the 2003 one.

Add this line to \RC\I386\TXTSETUP.SIF in [SetupData] section:
CODE
SetupSourceDevice = \device\harddisk0\partition1

Without it Setup will start asking for the Windows CD.

CODE
J:\>dir \rc /b /s
J:\rc\BOOTSECT.BIN
J:\rc\I386
J:\rc\I386\1394BUS.SY_
J:\rc\I386\ABP480N5.SY_
J:\rc\I386\ACPI.SY_
J:\rc\I386\ACPIEC.SY_
J:\rc\I386\ADPU160M.SY_
J:\rc\I386\AHA154X.SY_
J:\rc\I386\AIC78U2.SY_
J:\rc\I386\AIC78XX.SY_
J:\rc\I386\ALIIDE.SY_
J:\rc\I386\AMSINT.SY_
J:\rc\I386\ASC.SY_
J:\rc\I386\ASC3350P.SY_
J:\rc\I386\ASC3550.SY_
J:\rc\I386\ATAPI.SY_
J:\rc\I386\AUTOCHK.EXE
J:\rc\I386\AUTOFMT.EXE
J:\rc\I386\BIOSINFO.INF
J:\rc\I386\BOOTVID.DL_
J:\rc\I386\CBIDF2K.SY_
J:\rc\I386\CD20XRNT.SY_
J:\rc\I386\CDFS.SY_
J:\rc\I386\CDROM.SY_
J:\rc\I386\CLASSPNP.SY_
J:\rc\I386\CMDIDE.SY_
J:\rc\I386\CPQARRAY.SY_
J:\rc\I386\C_1252.NL_
J:\rc\I386\C_437.NL_
J:\rc\I386\DAC2W2K.SY_
J:\rc\I386\DAC960NT.SY_
J:\rc\I386\DISK.SY_
J:\rc\I386\disk101
J:\rc\I386\disk102
J:\rc\I386\disk103
J:\rc\I386\disk104
J:\rc\I386\DMBOOT.SY_
J:\rc\I386\DMIO.SY_
J:\rc\I386\DMLOAD.SY_
J:\rc\I386\DPTI2O.SY_
J:\rc\I386\DRVMAIN.SDB
J:\rc\I386\FASTFAT.SY_
J:\rc\I386\FDC.SY_
J:\rc\I386\FLPYDISK.SY_
J:\rc\I386\FTDISK.SY_
J:\rc\I386\HAL.DL_
J:\rc\I386\HALAACPI.DL_
J:\rc\I386\HALACPI.DL_
J:\rc\I386\HALAPIC.DL_
J:\rc\I386\HIDCLASS.SY_
J:\rc\I386\HIDPARSE.SY_
J:\rc\I386\HIDUSB.SY_
J:\rc\I386\HPN.SY_
J:\rc\I386\I2OMGMT.SY_
J:\rc\I386\I2OMP.SY_
J:\rc\I386\I8042PRT.SY_
J:\rc\I386\INI910U.SY_
J:\rc\I386\INTELIDE.SY_
J:\rc\I386\ISAPNP.SY_
J:\rc\I386\KBDCLASS.SY_
J:\rc\I386\KBDHID.SY_
J:\rc\I386\KBDUS.DLL
J:\rc\I386\KD1394.DL_
J:\rc\I386\KDCOM.DL_
J:\rc\I386\KSECDD.SYS
J:\rc\I386\LBRTFDC.SY_
J:\rc\I386\L_INTL.NL_
J:\rc\I386\MOUNTMGR.SY_
J:\rc\I386\MRAID35X.SY_
J:\rc\I386\NTDETECT.COM
J:\rc\I386\NTFS.SYS
J:\rc\I386\NTKRNLMP.EX_
J:\rc\I386\OHCI1394.SY_
J:\rc\I386\OPRGHDLR.SY_
J:\rc\I386\PARTMGR.SY_
J:\rc\I386\PCI.SY_
J:\rc\I386\PCIIDE.SY_
J:\rc\I386\PCIIDEX.SY_
J:\rc\I386\PCMCIA.SY_
J:\rc\I386\PERC2.SY_
J:\rc\I386\PERC2HIB.SY_
J:\rc\I386\QL1080.SY_
J:\rc\I386\QL10WNT.SY_
J:\rc\I386\QL12160.SY_
J:\rc\I386\QL1240.SY_
J:\rc\I386\QL1280.SY_
J:\rc\I386\RAMDISK.SY_
J:\rc\I386\SBP2PORT.SY_
J:\rc\I386\SCSIPORT.SY_
J:\rc\I386\SERENUM.SY_
J:\rc\I386\SERIAL.SY_
J:\rc\I386\SETUPDD.SY_
J:\rc\I386\SETUPLDR.BIN
J:\rc\I386\SETUPREG.HIV
J:\rc\I386\SFLOPPY.SY_
J:\rc\I386\SPARROW.SY_
J:\rc\I386\SPCMDCON.SYS
J:\rc\I386\SPDDLANG.SY_
J:\rc\I386\SYMC810.SY_
J:\rc\I386\SYMC8XX.SY_
J:\rc\I386\SYM_HI.SY_
J:\rc\I386\SYM_U3.SY_
J:\rc\I386\system32
J:\rc\I386\TFFSPORT.SY_
J:\rc\I386\TOSIDE.SY_
J:\rc\I386\TXTSETUP.SIF
J:\rc\I386\ULTRA.SY_
J:\rc\I386\USBCCGP.SY_
J:\rc\I386\USBD.SY_
J:\rc\I386\USBEHCI.SY_
J:\rc\I386\USBHUB.SY_
J:\rc\I386\USBOHCI.SY_
J:\rc\I386\USBPORT.SY_
J:\rc\I386\USBSTOR.SY_
J:\rc\I386\USBUHCI.SY_
J:\rc\I386\VGA.SY_
J:\rc\I386\VGAOEM.FO_
J:\rc\I386\VIAIDE.SY_
J:\rc\I386\VIDEOPRT.SY_
J:\rc\I386\WMILIB.SY_
J:\rc\I386\system32\ntdll.dll
J:\rc\I386\system32\smss.exe

Then
CODE
mkisofs.exe -iso-level 4 -volid ""RC"" -no-emul-boot -boot-load-size 4 -hide boot.catalog -allow-lowercase -R -b BOOTSECT.BIN -hide BOOTSECT.BIN -o j:\rc.iso J:\rc


On the root of USB stick place SETUPLDR.BIN from 2003, NTDETECT.COM and WINNT.SIF:

CODE
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\i386\"
OsLoadOptions = "/noguiboot /fastdetect /rdexportascd /rdpath=rc.iso"


Boot it with grub4dos:

CODE
title Start Recovery Console from RAM
root (hd0,0)
chainloader /SETUPLDR.BIN


This gives the Setup screen where you have to press R to enter Recovery Console.

Add the magic Grub4DOS lines and it would start RC directly:

CODE
title Start Start Recovery Console from RAM
root (hd0,0)
chainloader /SETUPLDR.BIN
write 0x7C03 0x63646D63
write 0x7C07 0x00736E6F


This works in QEMU and on real hardware with hard disks attached. A little issue- ramdisk gets C:, USB disk D:, next is the first internal hard disk.
Strangely, if SetupSourceDevice = \device\harddisk0\partition1 is used during XP Text mode setup it complains about missing CD during copy file stage :S
Has to be \device\harddisk1\partition1 if only one internal disk is connected, but vice versa for RC, go figure...different parts see USB disks in different way.

To create quickly RC files you may use WinSetupFromUSB with "Copy boot files only" option and Force USB type on REMOVABLE, get AUTOCHK.EXE, AUTOFMT.EXE from ~LS\I386 folder, rest are already in ~BT folder, just rename it to RC, create I386 inside and copy all files there. Program will install grub4dos bootsector, copy grldr and prepare menu.lst for you, just add to it the above entries, or amend winsetup.lst.

Next step was to create outer ISO, consisting grldr, rc.iso, ntdetect.com, winnt.sif, setupldr.bin and rc.iso and boot it with grub4dos ISO emulation- here I failed, error is "NTdetect failed". Will play a bit more later.

edit: putting them in a big floppy image and loading it with grub4dos worked just fine.

In RC using the command "map arc" shows that USB gets ARC path like
QUOTE
multi(0)disk(0)rdisk(0)partition(1)

however, "map" only gives for the same disk/partition
QUOTE
\device\harddisk1\partition1
(IMG:../forums/style_emoticons/default/blink.gif)
Go to the top of the page
 
+Quote Post
« Next Oldest · Windows 2K/XP/2003 and Vista · Next Newest »
 

6 Pages V  « < 4 5 6
Fast ReplyReply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 9th October 2008 - 04:06 AM

W3C XHTML • © 2008 Boot Land • All rights reserved • W3C CSS