clearscreen's Profile
Reputation: 0 Neutral
- Group:
- Members
- Active Posts:
- 8 (0.01 per day)
- Most Active In:
- USB Booting Support (7 posts)
- Joined:
- 29-April 09
- Profile Views:
- 802
- Last Active:
May 20 2009 01:52 PM
- Currently:
- Offline
Posts I've Made
-
In Topic: CHECK DISK on ubcd 3.5 cd
Posted 5 May 2009
cdob, on May 2 2009, 06:07 AM, said:
There is chkdks:
within booted UBCD4Win
at recovery console
at NTFS for DOS
The best too depends at your conditions.
chkdsk works best through recovery console.
One thing that I have noticed while using chkdsk in UBCD4WIN or ntfs for dos is that the /r to actually repair the issues on the disk seems to act like it was never even ran if it isn't done through recovery console.
If you're trying to fix issues like BSOD for windows with chkdsk you want to use:
chkdsk /r c:
5 steps are ran (4 and 5 are the longest)
Once you get back into windows you want to right click on your windows drive (c: generally)
Go to properties
Go to tools
Go to Check Now (for error checking)
Select both option bits and hit start
It will tell you that it can not start because the disk is mounted. Restart the computer and allow it to do the second check disk.
I have found that without this step the PC will generally BSOD on next reboot. -
In Topic: UBUSB + Netbootdisk
Posted 5 May 2009
pcuser, on May 5 2009, 10:34 AM, said:
I've created multiboot plugins for netbootdisk v6.2 and v6.4 HERE. Mount the image with a program like IMDISK and add your custom files.
Quote
I need it to load ghost when it finds the network card. however, i can't seem to find ghost when I put it on the key.
The USB drive will many times be drive C: (but is not guaranteed with all computers) if "Legacy USB Support" is enabled in the bios.
pcuser,
thanks for the netbootdisk image
I had to increase the size of the image to about 5mb, save as a .ima, unpack the files.uha take the information from script2.bat and edit script.bat with the info.
I did this because I was trying to use script2.bat to auto execute ghost.exe (which I added to the filecopy folder of the .ima) but I could not get files.uha to repack correctly with uharcd. The files would decompress and around 45% would error out.
After adding ghost.exe and changing script.bat I edited the menu.lst to reflect the .ima:
title Launch Ghost 11.0 (With Network Support) map --mem /images/netboot.ima (fd0) map --hook chainloader (fd0)+1 rootnoverify (fd0) savedefault --wait=2
new script.bat below:
echo . Copying extra files from %a%\FILECOPY\ copy /Y %a%\NetBoot\FILECOPY\ *.* %ramd%\ > nul if not exist %a%\NetBoot\files2. uha goto NoFiles2 echo . Copying Extra Files echo Copying Extra Files >> %ramd%\LogFile.txt copy %a%\NetBoot\files2. uha %ramd%\ > nul :NoFiles2 echo . Restoring Menu Defaults copy %a%\NetBoot\menupref. bat %ramd%\ > nul cls %a%\NetBoot\about echo. echo *** If you don't want to save menu changes, the disk can now be removed! *** echo . Decompressing Files echo Decompressing Files >> %ramd%\LogFile.txt %ramd%\unuharcd x -y+ -t%ramd%\ %RAMD%\files.uha if not exist %ramd%\files2.uha goto NoFiles3 echo . Decompressing Extra Files echo Decompressing Extra Files >> %ramd%\LogFile.txt %ramd%\unuharcd x -y+ -t%ramd%\ %RAMD%\files2.uha :NoFiles3 if %PCIscan%==0 goto NoScan SHOWMENU Autodecting PCI Networking Card %ramd%\pciscan.exe %ramd%\ndis.map if not %PCI0%0==0 goto Detected REM *** Nothing detected, so dump PCI info *** echo No known PCI Network Cards detected, running pciscan.exe/v for more info... %ramd%\pciscan.exe -v echo. echo *** PLEASE NOTE: PCMCIA & ISA Cards can NOT be auto-detected! *** echo. echo *** Also, pciscan.exe can only autodetect PCI network cards that it knows about. echo *** Some newer cards, or unpopular pci card drivers that have been sent to me, echo *** do not have the autodection PCI vender/device ID's included. If you know echo *** their ID's, please contact me @ www.netbootdisk.com/contact. htm :) echo. goto Detected :NoScan SHOWMENU *** WARNING *** Automatic PCI Network Card Detection has been disabled! :Detected REM *** Display Menu, showmenu.exe reads/writes MenuPref.bat + settemp.bat SHOWMENU Executing Menu %ramd%\ShowMenu.exe SHOWMENU Setting Environment Variables ctty nul call %ramd%\MenuPref.bat >nul call %ramd%\settemp.bat del %ramd%\settemp.bat ctty con set path=%RAMD%\ SHOWMENU Saving Menu Perferences to Floppy Disk echo Note: Settings will not be saved if disk is write protected or missing. rem (execute copy command in a 'Fail-Continue' shell (undocumented /f) to prevent abort/retry/fail errors if the disk is write protected!) ctty nul %COMSPEC% /f /c copy %ramd%\menupref.bat %a%\NetBoot\menupref. bat ctty con SHOWMENU Saving LMHOSTS file to Floppy Disk ctty nul %COMSPEC% /f /c copy %ramd%\LMHOSTS %a%\NetBoot\FILECOPY\ LMHOSTS ctty con SHOWMENU *** FLOPPY DISK CAN NOW BE REMOVED *** SHOWMENU Loading IFSHLP.SYS %ramd%\DEVLOAD /H %ramd%\ifshlp.sys rem ** Hack for SiS900 autodetect speed/duplex issues ** if %NETCARD%==SIS900_1 copy %ramd%\SIS900_1.INI %ramd%\SIS900.INI if %NETCARD%==SIS900_2 copy %ramd%\SIS900_2.INI %ramd%\SIS900.INI if %NETCARD%==SIS900_3 copy %ramd%\SIS900_3.INI %ramd%\SIS900.INI if %NETCARD%==SIS900_4 copy %ramd%\SIS900_4.INI %ramd%\SIS900.INI if %NETCARD%==SIS900_1 SET NETCARD=SIS900 if %NETCARD%==SIS900_2 SET NETCARD=SIS900 if %NETCARD%==SIS900_3 SET NETCARD=SIS900 if %NETCARD%==SIS900_4 SET NETCARD=SIS900 SHOWMENU Building PROTOCOL.INI type %ramd%\protocol.1 > %ramd%\PROTOCOL.INI type %ramd%\%NETCARD%.ini >> %ramd%\PROTOCOL.INI echo. >> %ramd%\PROTOCOL.INI type %ramd%\protoADD.txt >> %ramd%\PROTOCOL.INI echo. >> %ramd%\PROTOCOL.INI type %ramd%\protocol.2 >> %ramd%\PROTOCOL.INI SHOWMENU Updating SYSTEM.INI REM ** RENAME REQUIRED PROTOCOL.INI FILE ** REM ** POKE SETTINGS IN TO SYSTEM.INI ** %ramd%\inifile set %ramd%\system.ini -sNetwork -klogondomain -v%WORKGROUP% %ramd%\inifile set %ramd%\system.ini -sNetwork -kworkgroup -v%WORKGROUP% %ramd%\inifile set %ramd%\system.ini -sNetwork -kcomputername -v%wkstn% %ramd%\inifile set %ramd%\system.ini -sNetwork -klanroot -v%ramd% %ramd%\inifile set %ramd%\system.ini -sNetwork -kpreferredredir -v%REDIRECTOR% %ramd%\inifile set %ramd%\system.ini -s"network drivers" -kdevdir -v%ramd% %ramd%\inifile set %ramd%\system.ini -s"network drivers" -knetcard -v%NETCARD%.DOS if %packet%==1 goto P_Done SHOWMENU Unbinding Packet Driver if not %NETCARD%0==NDIS0 %ramd%\inifile set %ramd%\system.ini -s"network drivers" -ktransport -vtcpdrv.dos,nemm.dos if %NETCARD%0==NDIS0 %ramd%\inifile set %ramd%\system.ini -s"network drivers" -ktransport -vtcpdrv.dos,nemm.dos,NVNDIS2. DOS goto P_DONE :P SHOWMENU Applying Packet Driver Settings %ramd%\inifile set %ramd%\protocol.ini -sPKTDRV -kDriverName -vPKTDRV$ if not %NETCARD%0==NDIS0 goto NVNF2NOT %ramd%\inifile set %ramd%\protocol.ini -sPKTDRV -kBindings -vNVNDIS2 goto NVNF2SKIP :NVNF2NOT %ramd%\inifile set %ramd%\protocol.ini -sPKTDRV -kBindings -v%NETCARD% :NVNF2SKIP %ramd%\inifile set %ramd%\protocol.ini -sPKTDRV -kintvec -v0x60 %ramd%\inifile set %ramd%\protocol.ini -sPKTDRV -kchainvec -v0x66 :P_DONE if %DISABLEDHCP%==0 goto D SHOWMENU Applying Static TCP/IP Settings %ramd%\inifile set %ramd%\protocol.ini -stcpip -kDisableDHCP -v%DISABLEDHCP% %ramd%\inifile set %ramd%\protocol.ini -stcpip -kDEFAULTGATEWAY0 -v"%DEFAULTGATEWAY0%" %ramd%\inifile set %ramd%\protocol.ini -stcpip -kIPADDRESS0 -v"%IPADDRESS0%" %ramd%\inifile set %ramd%\protocol.ini -stcpip -kWINS_SERVER0 -v"%WINS%" if not %SUBNETMASK0%0==0 %ramd%\inifile set %ramd%\protocol.ini -stcpip -kSUBNETMASK0 -v"%SUBNETMASK0%" if not %dns%0==0 %ramd%\inifile set %ramd%\tcputils.ini -sdnr -kNAMESERVER0 -v"%dns%" :D if not %CD%==1 goto C SHOWMENU Loading IDE CD-ROM Driver... call cdrom.bat :C SHOWMENU Loading Network Card Driver & Starting Networking... @call %ramd%\startnet.bat SHOWMENU Finding MAC Address... %ramd%\nbmac.exe|%ramd% \set2var mac>%temp%\mac.bat call %temp%\mac.bat SHOWMENU Generating IP Config Summary... echo @echo off > %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==0 echo echo *** DHCP IP CONFIGURATION *** >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==0 echo @ipconfg %ramd% >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo *** STATIC IP CONFIGURATION *** >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo. >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo IP Address : %IPADDRESS0% >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo Subnet Mask : %SUBNETMASK0% >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo Default Gateway: %DEFAULTGATEWAY0% >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo DNS Server : %DNS% >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo WINS Server : %WINS% >> %ramd%\IPCONFIG.BAT if %DISABLEDHCP%==1 echo echo. >> %ramd%\IPCONFIG.BAT if %DNSENABLE%==1 echo echo DNS Support: Enabled >> %ramd%\IPCONFIG.BAT if %DNSENABLE%==0 echo echo DNS Support: Disabled >> %ramd%\IPCONFIG.BAT if %PACKET%==1 echo echo Packet Driver Support: Enabled >> %ramd%\IPCONFIG.BAT if %PACKET%==0 echo echo Packet Driver Support: Disabled >> %ramd%\IPCONFIG.BAT echo echo Hardware MAC Address: %MAC% >> %ramd%\IPCONFIG.BAT If not %UDMA%==1 goto U SHOWMENU Loading UltraDMA hard-disk Driver... %ramd%\devload udma.sys :U If not %MOUSE%==1 goto M SHOWMENU Loading Mouse Driver... %ramd%\ctmouse.exe :M echo. ECHO -------------------------- --------------------------- -------------------------- if %PROBLEM%==1 goto Stuffed echo UNIVERSAL TCP/IP NETWORK BOOTDISK - Script Complete! ECHO -------------------------- --------------------------- -------------------------- echo This Computer is called \\%WKSTN%. Hardware MAC Address: %MAC% if %DISABLEDHCP%==0 echo To view DHCP'd TCP/IP settings, type: IPCONFIG if %DISABLEDHCP%==1 echo IP Address: %IPADDRESS0% SubNet: %SUBNETMASK0% Gateway: %DEFAULTGATEWAY0% if %DISABLEDHCP%==1 echo. if %DISABLEDHCP%==1 echo *** WARNING: Planning on using GHOST.EXE with a static IP address? *** if %DISABLEDHCP%==1 echo *** Be aware that wattcp.cfg + ghost.exe need to be in the same directory, *** if %DISABLEDHCP%==1 echo *** otherwise Ghost will default to using DHCP configuration! *** if %DISABLEDHCP%==1 echo *** So copy %ramd%\wattcp.cfg to the directory that contains ghost.exe, or *** if %DISABLEDHCP%==1 echo *** alternatively copy your ghost.exe to the %ramd%\ ramdrive before you *** if %DISABLEDHCP%==1 echo *** run ghost. *** if %DISABLEDHCP%==1 echo. if %PCI0%0==0 echo. if %PCI0%0==0 echo ===== NO PCI NETWORK CARD WAS AUTO-DETECTED =================================== if %PCI0%0==0 echo Please type PCISCAN -V to discover what the PCI auto-detection PnP ID's in this if %PCI0%0==0 echo computer are. You can report this information on the NetBootDisk.com/forums, so if %PCI0%0==0 echo this can be included in the next version of the disk. if %PCI0%0==0 echo =============================================================================== if %PCI0%0==0 echo. echo Type NET VIEW to browse the network, or NET VIEW \\COMPUTER to browse a PC. echo Or to map to a network drive, type NET USE [drive]: \\SERVER\SHARE echo. ghost.exe if not %LOGONSCRIPT%0==0 SHOWMENU Executing Logon Script... if not %LOGONSCRIPT%0==0 call %LOGONSCRIPT% :end del %ramd%\files.uha Set WORKGROUP= Set USERNAME= Set PASSWORD= Set DISABLEDHCP= Set IPADDRESS0= Set SUBNETMASK0= Set DEFAULTGATEWAY0= Set DNS= Set DNSEnable= Set Packet= Set LOGONSCRIPT= Set PCI0= set CMDLINE= set PROBLEM= set MOUSE= set REDIRECTOR= set CD= set UDMA= set WINS= goto TheEnd :Stuffed echo ERROR! Part of the Network Client and/or Drivers has failed to load. echo The scripted failed while executing this command: %CMDLINE% echo Please note any error message(s) given above. echo. echo Now Aborting... goto TheEnd :TheEnd
Works like a champ, thank you cdob for the step in the right direction and pcuser for the awesome netboot.img file -
In Topic: UBUSB + Netbootdisk
Posted 5 May 2009
cdob, on May 4 2009, 09:29 PM, said:
http://diddy. boot-la...es/boot.htm#dos
So I made a .ima of netbootdisk and I have it booting from the grub4dos menu. Problem is that is just the first step. I need it to load ghost when it finds the network card. however, i can't seem to find ghost when I put it on the key.
Another step but not a booting problem.
Thanks for the info cdob. -
In Topic: UBUSB + Netbootdisk
Posted 4 May 2009
cdob, on May 4 2009, 11:45 AM, said:
I created it using format on a floppy to make bootable on an xp box. Then using hp usb format utility and pointing it to floppy to create bootable usb. Then copying over remaining files and running makedisk.bat with netbootdisk. Giving me a bootable usb netbootdisk.
Now I want to take that structure and be able to boot from it using the menu in UBUSB. Does it need to be an .ima or .img in order for the grub4dos to be able to run it? Or can I somehow kick start the autoexec.bat from the netbootdisk usb? -
In Topic: UBUSB - Recovery Console - BSOD
Posted 1 May 2009
adamsojc, on Apr 29 2009, 01:19 PM, said:
Don't know if this will help or not but I had a lot of BSODs with RecCons as well. If you are using Grub4dos as your bootloader be sure you are writing the name CMDCONS to Setupldr.bin as it loads. My "menu.lst" looks like this:
title Launch Windows Recovery Console
map (hd0,0)+1 (hd0)
map --hook
find --set-root /cmdcons/setupldr.bin
chainloader /cmdcons/setupldr.bin
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
Set my menu.lst to yours and it worked flawlessly.
-This was the missing link-
map (hd0,0)+1 (hd0)
map --hook
-------------------------- ----
Thank you!
My Information
- Member Title:
- Newbie
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private