Page 1 of 1

Problems with customisation

Posted: Fri Sep 16, 2005 6:50 am
by Rich...
Hi all,

I've recently been trying to customise the UBCD (i have a nice stack of disks to put on) but im running into a bit of trouble. I've followed the step by step guides availible on the site but still something seems to be going wrong.

#
# Actions
#
getkey
clear
if ($lastKey == key[f1]); then memdisk myimage.img
if ($lastkey == key[f2]); then memdisk /images/dostest.ima
if ($lastKey == key[esc]); then script main.scn
goto custom_menu

this is what my most recent attempt was I tried dumbing down the customisation as much as possible just to see if I could work out where I was going wrong. The image im attempting to boot to is a MS-Dos boot disc in this instance but i've tried it with others.

When the cd boots and I navigate to the customised menu and select the application, it runs through until the the following message is echoed

'Starting ...'

and then stops doing anything. This is after some other commands are run (im assuming by memdisk).

Any suggestions?

Thanks

Rich...

Posted: Fri Sep 23, 2005 6:34 am
by Victor Chew
Try dropping to the console (main menu, F10) and type:

Code: Select all

memdisk /images/dostest.ima
Tell me what you see.

Also, is the size of dostest.ima exactly 1,474,560 bytes?

Posted: Mon Sep 26, 2005 1:58 am
by Rich...
Hi Victor,

Yes the size of the dostest.IMA image is exactly 1,474,560 bytes.

Dropping to console and typing the command has the same result as using the menu entry. Would the fact that I've left the dostest images file extension in upper case make any difference?

Thanks

Rich...

Problems with customisation

Posted: Tue Sep 27, 2005 6:39 pm
by Victor Chew
Send me dostest.ima at victor at ultimatebootcd dot com. I will take a look and
see if I can spot anything obvious.

Posted: Fri Aug 24, 2007 7:05 pm
by Alger
Sorry to dig up an old post, but I've seen this issue on a few threads, but I have not seen anyone post a solution. This seems to be an issue for me with any disk created via the Windows XP format utility with "Create an MS-DOS startup disk" checked.

Whenever one of these images is started up wth memdisk, it seems to hang at:

Code: Select all

Loading boot sector... booting...
Starting...


_
( the _ being the position of the cursor)

Any solutions would be greatly appriceated, as a number of the utilities I use depend on XP formated system disks.

Posted: Mon Aug 27, 2007 5:34 am
by Victor Chew
Have you tried:

Code: Select all

KERNEL memdisk
APPEND initrd=image raw
or

Code: Select all

KERNEL memdisk
APPEND initrd=image bigraw
or

Code: Select all

KERNEL memdisk
APPEND initrd=image safeint
?

Posted: Mon Aug 27, 2007 12:49 pm
by Alger
raw and bigraw both resolved the issue. safeint did not have any visible effect on the issue. Thank you very much! ^^

If I may ask, what do these options do and how are they different from one another?