I would like to see /antivir, /dban, /offline inside /ubcd/boot/, but we already discussed this some time ago. as702 an freeballer want this too./antivir/ ==> /ubcd/boot/antivir is better
/dban/ ==> /ubcd/boot/dban is better
/offline/ ==> /ubcd/boot/offline is better
autorun.ini ==> edit it
custom/ ==> delete this directory
- cpustres/ (place the initrd in this folder)
discwiz/ (place the kernel and initrd with the original name in this folder)
memtest/ (place the kernel and initrd with the original name in this folder)
diskcopy/ (place the kernel and initrd with the original name in this folder)
maxblast/ (place the kernel and initrd with the original name in this folder)
x86test/ (place the kernel and initrd with the original name in this folder)
dosapps/ ==> other directory layout (as702 is working with this, so I am not completely sure that this are the correct names). as702 also suggested to rename dosapps to dos
images/ ==> as702 wants a subfolder os for the freedos (and msdos image)
- main/ ==> contains ubcd program archives
usr/ ==> the "custom" folder for dos applications that the user wants to add
tools/ ==> make scripts and readme.txt for windows and linux (coming soon)
- custom.cfg ==> comes from /ubcd/custom/
hdd/ ==> hdd[1-9].cfg files with other names (already done)
pmagic/ ==> move the pmagic help files to this directory
others.cfg ==> rename it to antivirus.cfg ==> Place the pmagic entry in main.cfg (easier to find Parted Magic)
ubcd.ico ==> comes from /ubcd.ico
boot.catalog ==> remove it
ubcd.ico ==> move it to /ubcd/
If you make subfolders in /ubcd/boot/ (/ubcd/boot/<program name>), you can place the kernel and initrd of each of this application in this subfolder with its original name (kernel is most of the time vmlinuz, initrd is initrd or initrd.gz). When you want to update a program of this kind, you just have to replace the files which are in the archive (iso) of that program. You don't have to know which file is the kernel and which is the initrd (= easier for users, no rename needed).freeballer wrote:darnVictor Chew wrote:The UBCD content are now found in its own "ubcd" subdir. All the linux stuff (eg. Parted Magic, DBAN etc.) are found in their own root subdirs however.
I'm gonna try to move as many as i can inside the ubcd when final comes out, but I know sometimes (in my own experience) not all of them will work afterwards. Thankfully it's just the linux crap though, cept partition... the rest prolly can be easily migrated
/ubcd/custom/ ==> delete this directory
Move custom.cfg to /ubcd/menus/custom.cfg or /ubcd/menus/usr/custom.cfg (possibility to add other user config files to /ubcd/menus/usr/).
Make a usr directory in /ubcd/boot, /ubcd/dosapps and /ubcd/images if you want a custom directory (personally I just add extra programs to the normal folders). If you use a usr in each directory you can move all other directories and files of ubcd that reside inside that directory into a core subfolder (or with another name (main)).
It makes no sense to have subdirectories based on the application name in /ubcd/dosapps, because all files are zipped (uha or 7zip archives are possible too in the future) in an archive with the name of the program.
I have discussed this with as702 and he has implemented it in the freedos image. He has removed the startup.bat files and has made an dosapps.ini file which contains all the info needed to make the menus.
Place ubcd.ico in /ubcd instead of / It is annoying to have the icon file on your usb thumb drive in the root folder.as702 wrote:Also, under /images, it might be an idea to create a subfolder called "os", so users can quickly find the freedos image (this can later be populated to include DR-DOS and MS-DOS).
Change autorun.ini to:
Code: Select all
[autorun] ShellExecute=ubcd\website\index.html icon=ubcd\ubcd.ico
Change also ubcd2iso.cmd (also contains other improvements) so that the boot.catalog file gets placed in /isolinux and gets hidden (rename to boot.cat ==> mkisofs won't make a garbage name of it (stupid 8 + 3 character limit for dos)).icecube wrote:@as702
Can you change the method for finding the cd (don't look for ubcd.ico, unless Victor changes the path of ubcd.ico to \ubcd\ubcd.ico)? Search for the cd in the same way as you look for which version of ubcd it is. Alternatively, you can get the path to dosubcd.igz with the getargs.com program and search for that path to determine the cdrom / usb thumb drive location.
See: viewtopic.php?t=1461&highlight=ubcd+ico for the problem when removing the icon from the root folder.
I found a ubcd2iso.sh for linux, but it needs some additional checks and updates (will try to update it this evening).
Additions or suggestions are welcome!