Topic: Lancelot Tips  (Read 5180 times)

Lancelot Tips
« on: October 30, 2010, 08:20:31 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi all,

this is not a post of Gena tutorial for now, but it will.

For now I use here to take notes. (I love using CTRL+F to remember notes)

*
pe2/3 cfg organisation
http://www.vistape.net/vistape-api.php
+ post 156 http://www.boot-land.net/forums/index.php?showtopic=12427&view=findpost&p=112559

boot order for sections ???
"driver setup + network initialization" has defination on vistape, hence
-->default shell is launched (which I guess result also with launching startup etc.)
AddAutoRun
-->"driver setup"
-->"network initialization"
AddPostConfig (IF driver setup cancelled, this step also cancelled)
« Last Edit: November 21, 2010, 09:05:42 PM by Lancelot »

Re: Lancelot Tips
« Reply #1 on: October 30, 2010, 08:20:52 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Penetwork thingies

I do not have a usb modem or wireless, but I know everything ready to end user which requires only 1 step forward to make things work.
Maybe Holger can make this forward step easier in next penetwork,
Meanwhile here are things I noticed:

application/driver script for Huawei Modems
http://www.boot-land.net/forums/index.php?showtopic=12921
post 189 at make_pe3 topic
http://www.911cd.net/forums//index.php?showtopic=23931&view=findpost&p=165551
« Last Edit: November 06, 2010, 06:25:39 PM by Lancelot »

Re: Lancelot Tips
« Reply #2 on: October 30, 2010, 08:21:01 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Common things for projects (UNDER CONSTRUCTION):

OtherOS standarts:
OtherOS scripts are for multiboot cd, to share & write easly some common variables required.

%BootType%=MultiBoot
%BootSector%=Grub4Dos
%BootMenu%=%ProjectCache%\OtherOSMenu\menu.lst
//%BootMenu%=%BootMenu_Target%\menu.lst
%BootMenu_Target%=%targetdir%
%OtherOS_Root%=%targetdir%
%OtherOS_Folder%=Boot\IMG
%OtherOS_Target%=%OtherOS_Root%\%OtherOS_Folder%

%BootType% can have 2 different values: MultiBoot , SingleBoot
maybe will not be required in future ;) so better avoiding to use unless a good reason found

Here better reminding BuildModel= (project.ini) of nightman
It has 3 values
MultiBoot , RAM , Normal
Win7PESE and Leopard droped MultiBoot value hence both have RAM and Normal values.
Nightman used MultiBoot which result with same RAM with addition of a multiboot manager
....

%BootSector% because of popularity mostly have Grub4Dos value.

%BootSector% known values: Grub4Dos | IsoLinux | BCDW | bootsect.bin | etfsboot.com

with pe2/3 current project, similar to following at config script will do the task
Code: [Select]
If,%pScrollBox4%,Equal,"Grub4Dos (recomended)",Set,%BootSector%,Grub4Dos,Permanent,
If,%pScrollBox4%,Equal,IsoLinux,Set,%BootSector%,IsoLinux,Permanent
If,%pScrollBox4%,Equal,BCDW,Set,%BootSector%,BCDW,Permanent
If,%pScrollBox4%,Equal,Standard,Set,%BootSector%,etfsboot.com,Permanent
If,%pScrollBox4%,Equal,Auto,If,%pScrollBox1%,Equal,"In RAM (boot.wim)",Set,%BootSector%,etfsboot.com,Permanent
If,%pScrollBox4%,Equal,Auto,If,%pScrollBox1%,Equal,"Normal",Set,%BootSector%,bootsect.bin,Permanent
//--
If,%pScrollBox4%,Equal,"Grub4Dos (recomended)",Set,%BootMenu%,%ProjectCache%\OtherOSMenu\menu.lst,Permanent
If,%pScrollBox4%,Equal,IsoLinux,Set,%BootMenu%,%ProjectCache%\OtherOSMenu\isolinux.cfg,Permanent
If,%pScrollBox4%,Equal,BCDW,Set,%BootMenu%,%ProjectCache%\OtherOSMenu\bcdw.ini,Permanent


%BootMenu% the file where additions made to boot menu by OtherOS scripts. Value is up to project admin preferences.
Giving some popular examples:
%BootMenu%=%BootMenu_Target%\menu.lst
%BootMenu%=%ProjectCache%\OtherOSMenu\menu.lst

%BootMenu_Target% is the final place where %BootMenu% entries will exist (or copied)

%OtherOS_Root%=
Root folder where OtherOS scripts will put files

Sub Folder name of OtherOS files
%OtherOS_Folder%=Boot\IMG

Place where OtherOS files exists.
%OtherOS_Target%=%OtherOS_Root%\%OtherOS_Folder%


In addition:
not a rule but saving (downloading) files (.iso files) to %GlobalTemplates%\OtherOS_Files increase sharing of scripts between projects easier.
« Last Edit: November 23, 2010, 02:28:40 AM by Lancelot »

Re: Lancelot Tips
« Reply #3 on: October 30, 2010, 08:21:13 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
RunFromXXX organisation:
(UNDER CONSTRUCTION)

%AtRAM% %AtCD% values give the required signal to other sections of capi (like shortcut creation)
son on runfromxxx sections of capi this values are changed if relevant runfromxxx section processed.

ps: mostly target_program and PE_programs changed

all other info (for now) inside info section of capi

Code: [Select]
Win7PESE:

[Variables]
%Capi_RF_TYPE%=Script
%Capi_RF_Script%=%projectdir%\RunFrom.script
%Capi_RF_Method%=NmMethod
%RFRamDrive%=#$psystemdrive#$p
%RFRamPrograms%=Program Files
%Target_Prog_RAM%=%TargetDir%\%RFRamPrograms%
%PE_Programs_RAM%=%RFRamDrive%\%RFRamPrograms%
%RFCDDrive%=Y:
%RFCDPrograms%=Programs
%Target_Prog_CD%=%TargetDir%\%RFCDPrograms%
%PE_Programs_CD%=%RFCDDrive%\%RFCDPrograms%
%AtRAM%=False
%AtCD%=False
%AtRAM_force%=False
%AtCD_force%=False


VistaPECapi:

[Variables]
%Capi_RF_TYPE%=Script
%Capi_RF_Script%=%projectdir%\RunFrom.script
%Capi_RF_Method%=NmMethod
%RFRamDrive%=#$psystemdrive#$p
%RFRamPrograms%=Program Files
%Target_Prog_RAM%=%TargetDir%\%RFRamPrograms%
%PE_Programs_RAM%=%RFRamDrive%\%RFRamPrograms%
%RFCDDrive%=#$pCDDrive#$p
%RFCDPrograms%=Programs
%Target_Prog_CD%=%TargetDir%\%RFCDPrograms%
%PE_Programs_CD%=%RFCDDrive%\%RFCDPrograms%
%AtRAM%=False
%AtCD%=False
%AtRAM_force%=False
%AtCD_force%=False


Leopard:

[Variables]
%Capi_RF_TYPE%=Script
%Capi_RF_Script%=%projectdir%\RunFrom.script
%Capi_RF_Method%=NmMethod
%RFRamDrive%=X:
%RFRamPrograms%=Program Files
%Target_Prog_RAM%=%TargetDir%\%RFRamPrograms%
%PE_Programs_RAM%=%RFRamDrive%\%RFRamPrograms%
%RFCDDrive%=Y:
%RFCDPrograms%=Programs
%Target_Prog_CD%=%TargetDir%\%RFCDPrograms%
%PE_Programs_CD%=%RFCDDrive%\%RFCDPrograms%
%AtRAM%=False
%AtCD%=False
%AtRAM_force%=False
%AtCD_force%=False
« Last Edit: November 21, 2010, 11:04:50 PM by Lancelot »

Re: Lancelot Tips
« Reply #4 on: October 30, 2010, 08:21:23 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
empty post to be filled later

Re: Lancelot Tips
« Reply #5 on: October 30, 2010, 08:21:41 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
empty post to be filled later

Re: Lancelot Tips
« Reply #6 on: October 30, 2010, 08:21:50 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
empty post to be filled later

 

Powered by EzPortal