Jump to content











Photo
- - - - -

"Press any key to boot from CD?"


  • Please log in to reply
7 replies to this topic

#1 jimbo6846

jimbo6846
  • Members
  • 3 posts
  •  
    United States

Posted 20 January 2011 - 03:52 PM

Hi all, hoping you can help me with a couple of problems I'm having with my build of WIN7PE SE.

Problem 1: I cannot seem to enable the option for "Press any key to boot from CD" I've used the following script:

[Main]

Title=Enable press any key to boot option

Author=Paraglider

Level=3

Version=1

Description=Enable press any key to boot option

Locked=false

Date=April 4th,2010

Selected=True

Interface=Interface

Download_Level=0

Mandatory=False

NoWarning=False



[Process]

ReadENV

FileCopy,%SDIR%\boot\bootfix.bin,"%TargetDir%\Boot\BootFix.bin"

I've tested that code, it doesn't produce any errors. It's successfully pulling the bootfix.bin file from my Windows 7 source, with is a directory on my hard drive that I copied the entire contents of the windows 7 DVD to. Furthermore, I've opened up the ISO file created, and verified that the bootfix.bin is in the Boot folder off the root of the CD drive. Still, it doesn't make any difference. I don't see the "Press any key to boot from the CD" option. I'm testing on a VM that has a bootable hard disk (has Windows XP that boots up fine). What am I doing wrong here? If I can't get that to work, I'd setting for being able to change the default boot device in the Grub4DOS boot screen from the WIN7PE cd to the default hard disk. Any ideas with the Press any key to boot from CD problem?

Problem 2: I can't get PENetwork to map network drives for me when WIN7PE loads up. I've tried the Network Configurator. The default option wouldn't show me any profiles. I had to manually extract the PENetwork.ini file from the compressed PENetwork in the Addons folder. That allowed the default configuration for PENetwork to be modified. So, I rebuilt the ISO after that, but my saved network settings didn't take. At that point, I checked the box in the PENetwork settings to point to a specific .ini file, and pointed it to the .ini file that had my saved settings in the Addons folder, but after rebuilding the ISO, that didn't take either. Am I doing something wrong here, too?

#2 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1,288 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 20 January 2011 - 10:27 PM

Hi all, hoping you can help me with a couple of problems I'm having with my build of WIN7PE SE.

Problem 1: I cannot seem to enable the option for "Press any key to boot from CD"

What is the boot manager you are using - are you planning on using any of the "other OS"...if not, then I think you just need to NOT use a boot manager, and select "AUTO" (instead of the default GRUB4DOS

You will still need to have that file there or else it just boots... :dubbio:

Problem 2: I can't get PENetwork to map network drives for me when WIN7PE loads up. I've tried the Network Configurator. The default option wouldn't show me any profiles. I had to manually extract the PENetwork.ini file from the compressed PENetwork in the Addons folder. That allowed the default configuration for PENetwork to be modified. So, I rebuilt the ISO after that, but my saved network settings didn't take. At that point, I checked the box in the PENetwork settings to point to a specific .ini file, and pointed it to the .ini file that had my saved settings in the Addons folder, but after rebuilding the ISO, that didn't take either. Am I doing something wrong here, too?

Check some of the other threads on PENetwork, It's not 100% clear if in the above, you added the edited ini file to the file folder box in the UI so that it would actually copy it to the newly built .wim file...But I think that's what you said...Can you do it manually in the PE?

In any case, might be best to search around for other PENetworking threads, since it works with many projects...

Scott

#3 Holmes.Sherlock

Holmes.Sherlock

    Gold Member

  • Team Reboot
  • 1,391 posts
  • Location:India
  •  
    India

Posted 21 January 2011 - 06:53 AM

This discussion may help you.

#4 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 21 January 2011 - 12:04 PM

Problem 1: I cannot seem to enable the option for "Press any key to boot from CD" I've used the following script:

I added the option "Enable press any key to boot option (for standard or Auto Boot Manager)" to 4-iso.script
[attachment=11744:4-iso.script]

for information and tests on a virtual machine, follow the discussion indicated by Holmes

#5 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1,288 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 21 January 2011 - 08:32 PM

THANKS...
Just remember it is only if you select Standard or Auto Boot Manager on the main project configuration...The other Boot Managers have different ways to do the same sort of thing...it just has to be programmed into them... :)

#6 jimbo6846

jimbo6846
  • Members
  • 3 posts
  •  
    United States

Posted 25 January 2011 - 04:57 PM

Thanks for the help with the "Press any key" option, guys. The script update by ChrisR worked, once I realized I needed to change the boot manager to Standard or Auto. So that question has been answered, thanks very much.

However, I'm still having issues with PENetwork. I've checked and it is copying the PENetwork.ini I specified in the textbox in the PENetwork addon script. However, the profile just won't load. I've got the Dynamic profile set to default in the script, and that is the profile I've edited to include my mapped network drives, but they don't load. I can load them manually through PENetwork after WIN7PE loads, but the PENetwork.ini doesn't seem to transfer the network drives and credentials I have saved to the PENetwork program, even though I can open up X:\Program Files\PENetwork\PENetwork.ini in a file editor in WIN7PE and I can see that my settings are in there. Any ideas on why that would happen?

#7 jimbo6846

jimbo6846
  • Members
  • 3 posts
  •  
    United States

Posted 26 January 2011 - 06:02 PM

Update: I've deleted all the profiles and created a new, single profile (which I then set to load as default). This profile has all the stand stuff that the pre-loaded DHCP profile had. I also added my network drives. I saved the profile and closed the PENetwork editor. I then reopened and verified that my network drives were still there, by clicking the dropdown and both UNC network paths were listed - and clicking on each one revealed which network drive they were assigned to. But PENetwork will not load those drives. In point of fact, PENetwork doesn't even recognize that the .ini file has those drives configured. The dropdown for "Network Path" has nothing in it. Here's a copy of my .ini file

;*** Profile description ***

; For additional options use the profile editor

;

; Computername		- max. 15 chars; ? = random A-Z; + = random 0-9

;

; Workgroup		- network group to join; max. 15 chars

;

; NetAdapterX.UseDHCP	- 0/1 - use dynamic IP address for Netadapter X

; NetAdapterX.IP	- Static IP address(es) if DHCP=0 for Netadapter X - comma separated

; NetAdapterX.SM	- Static subnet mask(s) if DHCP=0 for Netadapter X - comma separated

; NetAdapterX.DG	- Static gateway(s) for Netadapter X - comma separated

; NetAdapterX.DNS	- Static DNS server address(es) for Netadapter X - comma separated

; NetAdapterX.WINS	- Static WINS server address(es) for Netadapter X - comma separated

; NetAdapterX.MAC	- Selfdefined MAC address for Netadapter X

;

; StartSharing		- Yes/No - Automatically start sharing after starting all network services

; ShareAll		- Yes/No - Automatically share all local drives

;

; Netpath		- predefined network path's which appear in network connect dialog

;

; Desc.LineX		- Profile description starting with index 1

;

; CMDStart.CMDX		- Command to run after starting network; starting with index 1

; CMDStart.StartX	- Normal/Hide/Minimized/Maximized; command startup mode; starting with index 1

; CMDStart.WaitX	- Wait/Nowait; command wait, means: just executing or wait until finished

;

;****************************



[PENetwork]

ProfileDefault=Dynamic IP address

UseProfileSelect=Yes

UseProfileCountdown=Yes

ProfileCountdown=5



[NetProfiles]

Dynamic IP address=

Static IP address=



[Static IP address]

Computername=MININT-PE??++

Workgroup=workgroup

NetAdapter1.UseDHCP=0

NetAdapter1.IP=192.168.0.200

NetAdapter1.SM=255.255.255.0

NetAdapter1.DG=192.168.0.1

NetAdapter1.DNS=

NetAdapter1.WINS=

NetAdapter1.MAC=

StartSharing=

ShareAll=

NetPath=

Desc.Line1=IP: 192.168.0.200

Desc.Line2=SM: 255.255.255.0

Desc.Line3=DG: 192.168.0.1

Desc.Line4=Computername: MININT-PE....

Desc.Line5=Workgroup: workgroup



[Dynamic IP address]

Computername=MININT-PE??++

Workgroup=WORKGROUP

NetAdapter1.UseDHCP=1

NetAdapter1.IP=

NetAdapter1.SM=

NetAdapter1.DG=

NetAdapter1.DNS=

NetAdapter1.WINS=

NetAdapter1.MAC=

StartSharing=

ShareAll=

NetPath=

NetDrv.Path1=\\mmh-01sv09019x\image

NetDrv.User1=<snipped>

NetDrv.Pass1=<snipped>

NetDrv.Letter1=I:

NetDrv.Path2=\\mmh-01sv09019x\mis

NetDrv.User2=<snipped>

NetDrv.Pass2=<snipped>

NetDrv.Letter2=W:

NetDrv.Path3=\\mmh-01ws0b0xxx\storage

NetDrv.User3=<snipped>

NetDrv.Pass3=<snipped>

NetDrv.Letter3=Z:

Desc.Line1=IP: DHCP

Desc.Line2=Computername: MININT-PE....

Desc.Line3=Workgroup: workgroup



[Dark]

ClrStateGreen		=0x00D000

ClrStateRed		=0xD25000

ClrSvcStart		=0x44DD44

ClrSvcStop		=0xDD4444

ClrBtnChkTxt		=0x000000

ClrBtnChkBk		=0xC5E0F0

ClrBtnChkGrad		=0x708090

ClrBtnUnchkTxt		=0x000000

ClrBtnUnchkBk		=0xE0F5FF

ClrBtnUnchkGrad		=0xB0D5D0

ClrBtnDhcpTxt		=0x000000

ClrBtnDhcpBk		=0xD0F5A8

ClrBtnDhcpGrad		=0x90A580

ClrBtnTxtDisabled	=0x353535

ClrBtnBkActive		=-1

ClrBtnFocus		=0xFF9000

ClrBtnNormalTxt		=0x000000

ClrBtnNormalBk		=0xFEFEFE

ClrBtnNormalGrad	=0xB0ADAD

ClrBtnFrame		=0x000000

ClrWiFiConnect		=0xFF9000

ClrTITxt		=0xFFFFFF

ClrTIBk			=0xF09040

ClrTIGrad		=0x804020

ClrTISelTxt		=0xFFA040

ClrTISelBk		=0x505050

ClrTISelGrad		=0x505050

ClrTIFocus		=0xFF9000

ClrTIConfTxt		=0x000000

ClrTIConfBk		=0xE0E0E0

ClrTIConfGrad		=0x606060

ClrTIConfSelTxt		=0xFFFFFF

ClrTIConfSelBk		=0x707070

ClrTIConfSelGrad	=0x707070

ClrGUIBkMain		=0x2F2F2F

ClrGUIBk		=0x505050

ClrGUIBkSub		=0x2F2F2F

ClrGUIBkConf		=0x707070

ClrTIWiFiTxt		=0x000000

ClrTIWiFiBk		=0xD4D4D6

ClrTIWiFiGrad		=0xD4D4D6

ClrTIWiFiSelTxt		=0x000000

ClrTIWiFiSelBk		=0xE6E4E4

ClrTIWiFiSelGrad	=0xE6E4E4

ClrGUIBkWiFi		=0xE6E4E4

ClrGUIBkAuth		=0xE6E4E4

ClrLblNormal		=0xFFFFFF

ClrLblConf		=0xFFFFFF

ClrLblWiFi		=0x000000

ClrLVWiFiBk		=0x2F2F2F

ClrLVWiFiTxt		=0xFFFFFF

ClrLVSharesTxt		=0xFFFFFF

ClrLVSharesBk		=0x2F2F2F

ClrLVDrivesTxt		= 0xFFFFFF

ClrLVDrivesBk		= 0x2F2F2F

ClrLVNetDrvTxt=0xFFFFFF

ClrLVNetDrvBk=0x2F2F2F

ClrLVPingTxt=0xFFFFFF

ClrLVPingBk=0x2F2F2F

ClrLProfileTxt=0xFFFFFF

ClrLProfileBk=0x2F2F2F

ClrLExtTxt=0xFFFFFF

ClrLExtBk=0x2F2F2F



[Silver]

ClrStateGreen		=0x007500

ClrStateRed		=0xB00000

ClrSvcStart		=0x44DD44

ClrSvcStop		=0xDD4444

ClrBtnChkTxt		=0x000000

ClrBtnChkBk		=0xC8DCFF

ClrBtnChkGrad		=0x96AAE6

ClrBtnUnchkTxt		=0x000000

ClrBtnUnchkBk		=0xE6FFFF

ClrBtnUnchkGrad		=0xB4D2D2

ClrBtnDhcpTxt		=0x000000

ClrBtnDhcpBk		=0xF0FFCD

ClrBtnDhcpGrad		=0xBECD9B

ClrBtnTxtDisabled	=0x353535

ClrBtnBkActive		=-1

ClrBtnFocus		=0xFF9000

ClrBtnNormalTxt		=0x000000

ClrBtnNormalBk		=0xFEFEFE

ClrBtnNormalGrad	=0xACACB0

ClrBtnFrame		=0x000000

ClrWiFiConnect		=0x0000FF

ClrTITxt		=0x000000

ClrTIBk			=0xD0D0D4

ClrTIGrad		=0x8D8D91

ClrTISelTxt		=0x000000

ClrTISelBk		=0xE4E4E8

ClrTISelGrad		=0xE4E4E8

ClrTIFocus		=0xFF9000

ClrTIConfTxt		=0x000000

ClrTIConfBk		=0xFFFFFF

ClrTIConfGrad		=0xBEBEC2

ClrTIConfSelTxt		=0x000000

ClrTIConfSelBk		=0xBEBEC2

ClrTIConfSelGrad	=0xBEBEC2

ClrGUIBkMain		=0xD4D4D8

ClrGUIBk		=0xE4E4E8

ClrGUIBkSub		=-1

ClrGUIBkConf		=0xBEBEC2

ClrTIWiFiTxt		=0x000000

ClrTIWiFiBk		=0xFFFFFF

ClrTIWiFiGrad		=0xBEBEC2

ClrTIWiFiSelTxt		=0x000000

ClrTIWiFiSelBk		=0xE4E4E8

ClrTIWiFiSelGrad	=0xE4E4E8

ClrGUIBkWiFi		=0xE4E4E8

ClrGUIBkAuth		=0xE4E4E8

ClrLblNormal		=0x000000

ClrLblConf		=0x000000

ClrLblWiFi		=0x000000

ClrLVWiFiBk		=0xFFFFFF

ClrLVWiFiTxt		=0x000000

ClrLVSharesTxt		=0x000000

ClrLVSharesBk		=0xFFFFFF

ClrLVDrivesTxt		= 0x0

ClrLVDrivesBk		= 0xFFFFFF

ClrLVNetDrvTxt=0x000000

ClrLVNetDrvBk=0xFFFFFF

ClrLVPingTxt=0x000000

ClrLVPingBk=0xFFFFFF

ClrLProfileTxt=0x000000

ClrLProfileBk=0xFFFFFF

ClrLExtTxt=0x000000

ClrLExtBk=0xFFFFFF



[Schemes]

Default=Silver

Scheme1=Dark

Scheme2=Silver


Anyone see anything that doesn't seem right?

#8 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 188 posts
  •  
    Portugal

Posted 30 January 2011 - 03:43 PM

Hi Jimbo,

Its a bug on PENetwork, check this thread about the same problem...
http://reboot.pro/12...__1#entry110351

___
Rui Paz




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users