Can't open custom cfg. file so as to edit

Try looking for help here if you are having problems with the Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Locked
Message
Author
fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

Can't open custom cfg. file so as to edit

#1 Post by fleamour » Sat Jan 12, 2008 9:56 am

Hi

I am following the instructions so as to customize the UBCD but after extracting the downloadable iso to drive c I cannot open the custom.cfg file so as to add my bootable images. Do I create these images with Magic ISO? I have tried extracting the UBCD iso with 7 zip then added AVGs floppy files into the custom directory then remade as a bootable iso with Magic ISO however it jst says bad checksum.

I must add I am a total newb to thid but desperately wanna learn to make a bootable antivirus with current updates!

Constance
Posts: 338
Joined: Fri Sep 23, 2005 1:21 am
Location: France

#2 Post by Constance » Sat Jan 12, 2008 11:36 am

Hello and welcome :D

Here's how I'd do it :

- install a virtual drive (Daemon Tools, VirtualCloneDrive, etc ... whichever you prefer... that can always be useful even though you can do it without)
- mount the ISO to that drive
- copy / paste all the contents of the virtual drive to a dedicated directory
- unmount your image from the virtual drive to be sure you don't try doing stuff on it (which you can't ^^ )
- add your floppy images to the "custom" directory
- edit the custom.cfg file from there using notepad
- open a command window in <wherever you copied the files>\tools\ubcd2iso
- run ubcd2iso without parameter so you see what the syntax is
- now run it with the parameters you want to create your customized ISO :]
Hammerite Compendium of Precepts, Regimens and Rules of Conduct, Vol. 113 :
A stroke of thy chisel, once made, canst be undone, but a stroke thou dost not make from fear is a worse flaw.
Be not cautious - be correct.

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#3 Post by fleamour » Sat Jan 12, 2008 2:16 pm

Constance wrote:- edit the custom.cfg file from there using notepad
- run ubcd2iso without parameter so you see what the syntax is
- now run it with the parameters you want to create your customized ISO :]
Being a total newb I am unsure quite what to put under 'LABEL boot img' when editing with notepad?

MENU LABEL
KERNEL
&
APPEND

How & why do I need to run ubcdiso without parameter so as to see the syntax?

Is the parameters to create a customized iso:

ubcd2iso c:\ubcd c:\ubcd40.iso from cmd prompt :?:

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#4 Post by The Piney » Sat Jan 12, 2008 4:10 pm

I've always typed out the full file name but that should work... If not try ubcd2iso.bat c:\ubcd c:\ubcd40.iso

Here are some of my added bootable images - hope they help..

LABEL dos62
MENU LABEL DOS 6.2 BOOT DISK
KERNEL memdisk
APPEND initrd=/custom/dos62.igz
LABEL w95_org
MENU LABEL Win 95 Original
KERNEL memdisk
APPEND initrd=/custom/w95_org.igz
LABEL w95osr2
MENU LABEL Win 95 OSR2
KERNEL memdisk
APPEND initrd=/custom/w95osr2.igz
LABEL w98
MENU LABEL Win 98
KERNEL memdisk
APPEND initrd=/custom/w98.igz
LABEL w98se
MENU LABEL Win 98 Second Edition
KERNEL memdisk
APPEND initrd=/custom/w98se.igz
LABEL winme
MENU LABEL Win ME Boot Disk
KERNEL memdisk
APPEND initrd=/custom/winme.igz
LABEL wxpboot
MENU LABEL Win XP Boot Disk
KERNEL memdisk
APPEND initrd=/custom/wxpboot.igz
LABEL CDROMGOD
MENU LABEL CD-ROM GOD CD Boot Disk
KERNEL memdisk
APPEND initrd=/custom/CDROMGOD.igz

Sometimes you have to add some switches to memdisk, just do a search of the forum for the switches suck as raw or floppy...

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#5 Post by fleamour » Sat Jan 12, 2008 5:20 pm

I opened cmd and typed <c:\ubcd>\tools\ubcd2iso

But the syntax comes back as incorrect. I am running Win2k, does that matter?
Last edited by fleamour on Sat Jan 12, 2008 6:48 pm, edited 1 time in total.

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#6 Post by fleamour » Sat Jan 12, 2008 5:36 pm

I tried manually adding cmd to the context menu so as to open in the ubcd folder (step 7: "- open a command window in <wherever you copied the files>\tools\ubcd2iso"), if that is what you meant? But no joy.

EDIT: Adding cmd to the context menu don't work in Win2k Pro. Have to edit the registry & add this key:

[HKEY_CLASSES_ROOT
\Directory\shell\Command]
@=""
[HKEY_CLASSES_ROOT
\Directory\shell\Command\command]
@="cmd.exe \\\"%1\\\""

Gulp! How the hell do I do that without knackerating my machine? Or am I barking up the wrong tree?

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#7 Post by The Piney » Sat Jan 12, 2008 6:50 pm

fleamour wrote:I opened cmd and typed <c:\ubcd>\toolsubcd2iso

But the syntax comes back as incorrect. I am running Win2k, does that matter?
If you can open a command prompt your set, just change what you typed to: C:\ubcd\tools\ubcd2iso>ubcd2iso c:\ubcd c:\ubcd\ubcd40.iso

if your at "c:\>" just type:

"cd ubcd\tools\ubcd2iso" to get to the correct directory....

if at "c:\ubcd>" type cd tools\ubcd2iso to get to directory...

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#8 Post by fleamour » Sat Jan 12, 2008 6:58 pm

I go to Run type cmd and it comes up with:

C:\Documents and Settings\Administrator>

None of those commands work from here? I have copied & pasted them, honest guv!

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\Administrator>C:\ubcd\tools\ubcd2iso>ubcd2iso c:\ubcd
c:\ubcd\ubcd40.iso
'C:\ubcd\tools\ubcd2iso' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Administrator>

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#9 Post by The Piney » Sat Jan 12, 2008 11:44 pm

Type: "cd.." at the prompt - 2 times if you have to - that should put you at the c:\>....

Then at the c:\> type "cd ubcd\tools\ubcd2iso - make sure not to forget the \...

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#10 Post by fleamour » Sun Jan 13, 2008 5:02 am

I typed:

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\Administrator>cd ubcd\tools\ubcd2iso
The system cannot find the path specified.

Then:

C:\Documents and Settings\Administrator>cd c:\ubcd\tools\ubcd2iso

C:\UBCD\tools\ubcd2iso>ubcd2iso c:\ubcd c:\ubcd40.iso
UBCD2ISO: Creating bootable UBCD ISO image ...
Warning: creating filesystem that does not conform to ISO-9660.
Warning: creating filesystem with (nonstandard) Joliet extensions
but without (standard) Rock Ridge extensions.
It is highly recommended to add Rock Ridge
Using SCREE000.GIF for ./website/tutorials/nero5/screenshot03.gif (screenshot02
.gif)
Using SCREE001.GIF for ./website/tutorials/nero5/screenshot02.gif (screenshot01
.gif)
Size of boot image is 4 sectors -> No emulation
6.97% done, estimate finish Sun Jan 13 12:50:31 2008
13.91% done, estimate finish Sun Jan 13 12:50:38 2008
20.85% done, estimate finish Sun Jan 13 12:50:36 2008
27.81% done, estimate finish Sun Jan 13 12:50:38 2008
34.75% done, estimate finish Sun Jan 13 12:50:37 2008
41.71% done, estimate finish Sun Jan 13 12:50:45 2008
48.66% done, estimate finish Sun Jan 13 12:50:47 2008
55.62% done, estimate finish Sun Jan 13 12:50:47 2008
62.55% done, estimate finish Sun Jan 13 12:50:45 2008
69.50% done, estimate finish Sun Jan 13 12:50:54 2008
76.46% done, estimate finish Sun Jan 13 12:50:53 2008
83.42% done, estimate finish Sun Jan 13 12:50:52 2008
90.35% done, estimate finish Sun Jan 13 12:50:51 2008
97.31% done, estimate finish Sun Jan 13 12:50:49 2008
Total translation table size: 2048
Total rockridge attributes bytes: 0
Total directory bytes: 223786
Path table size(bytes): 1580
71942 extents written (140 MB)
UBCD2ISO: Bootable UBCD ISO image has been created

Cannot load VDM IPX/SPX support
Press any key to continue . . .

C:\UBCD\tools\ubcd2iso>

Should I worry about the VDM IPX/SPX support?

There she blows on my C drive anyways I guess I jst go ahead & burn her with BurnCDCC.

Another thing, do I need a startup.bat file in with the AVG iso to get it to run as a DOS app?

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#11 Post by fleamour » Sun Jan 13, 2008 5:38 am

At the moment after selecting AVG from custom tools she hangs at loading boot sector...booting...

Any ideas???

I gather there is an UBCD with AVG already on it, is this correct? I could jst update the definitions, though I thought I had the latest version of UBCD.

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#12 Post by The Piney » Sun Jan 13, 2008 7:46 am

AVG is windows based, you can try using UBCD4Win if you need it. It's already included in the project, but you will have to build that CD, it's not a pre-made ISO. You'll need a windows XP source. For UBCD (DOS) you'll be better off just removing the AVG plugin - unless I'm wrong and it does/can work....

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#13 Post by fleamour » Sun Jan 13, 2008 8:01 am

Yeah I have jst come to the same conclusion!

Ah well I thought it was possible to use the files created when using the recovery disk option within AVG.

"AVG Rescue Disk is an indispensable tool that can save your data in the event of damage to system areas, or a virus infection that cannot be remedied within the Microsoft Windows environment. Rescue Disk enables you to remove viruses or restore system areas from the MS DOS environment. It includes a DOS version of the AVG system, a backup of system areas, and the system files which allow the computer to be started from the diskette (creating a 'system diskette')."

Maybe I need to include the system files as well? Though I thought that peculiar to each individual computer?

Tho I jst saw this???

"Please note: If you are using the NTFS file system the Rescue Disk has only limited functionality! In case you have launched the system from the 'system diskette', any disks using NTFS will be inaccessible, and therefore not testable. You may want to only use the Rescue Disk in Windows emergency mode if the AVG system on your local disk is not available for some reason."

AVG Rescue Disk is not supported by Windows XP and higher operating systems!

Ah well, worth a try. Hey can you point me in the direction of how to update McAfee & F-Prot? Also I was told there is a paid up version of an antivirus solution that will actually make a bootable DOS CD? That would be worth buying.

The Piney
Posts: 370
Joined: Mon Apr 30, 2007 11:06 am
Location: FL

#14 Post by The Piney » Sun Jan 13, 2008 8:35 am

For McAfee - Go to ftp://ftp.csx.cam.ac.uk/pub/software/an ... c/datfiles and download the latest dat-xxxx.zip file extact and put into the /dosapps/mcafee directory.

For F-Prot - I go to http://www.claymania.com/f-prot.html - download the latest fp-def.zip file and extract and put into dosapps/fprot directory.

not sure if these are the best sources or procedures but have been doing it this way for a few months...

Hope that helps....

You can update bughunter too, http://bughunter.it-mate.co.uk/

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#15 Post by fleamour » Sun Jan 13, 2008 9:08 am

Why thanks guyz, u R a mine of information. :D

Thanks to you I have learned how to extract & make an iso image via Command Prompt & then update the antivirus definitions, most handy!!

Thanks for your patience!!!

Cheerz!

fleamour
Posts: 19
Joined: Sat Jan 12, 2008 9:44 am

#16 Post by fleamour » Tue Aug 26, 2008 6:31 am

How do I update Bughunter on UBCD to version 2.2?

Locked