It is currently Fri Aug 22, 2014 7:42 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: UBCD plugin UBCD4WIN: Some portions of UBCD5RC1 do not work
PostPosted: Tue Dec 01, 2009 11:31 am 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
I have another good one..

As a standalone ISO, this all works fine. When used in a multiboot configuration from UBCD4Win there are a few problems. Namely PMagic 4.6 will not boot, and Avira cannot find its scanner or vdf files.

PMagic:
Image

Avira Rescue:
Image


Details of build:

Here are the UBCD4Win plugin files that launch UBCD5RC1

ubcd5.inf
Code:
; ubcd.inf
;
; Created by Hilander999 for UBCD4WIN.COM
; Modified by rdsok, xibur and cdob

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="!MultiBoot: UltimateBootCD for DOS 5.0"
Enable=1

[WinntDirectories]
a="images",2

[SourceDisksFiles]
files\ubcd5.iso=a,ubcd5.iso,1
default_Grub4dos.ini=a,ubcd_Grub4dos.lst,1

[SetValue]
"BCDW\BCDW.INI","MenuItems","/isolinux/isolinux.bin; UltimateBootCD for DOS ;", "UltimateBootCD for DOS 5.0 RC1 ; /images/grub.exe --config-file=""configfile /images/ubcd_Grub4dos.lst"""

[Append]
syslinux\syslinux.cfg,ubcd_Syslinux.ini
menu.lst,ubcd_Grub4dos.ini
images\ubcd_Grub4dos.lst,ubcd_Grub4dos.ini


ubcd_syslinux.ini
Code:
LABEL UltimateBootCD for DOS 5.0
  KERNEL grub.exe
  APPEND --config-file="timeout 0;default 0;title UltimateBootCD for DOS 5.0;ls /images/ubcd5.iso || find --set-root /images/ubcd5.iso;map /images/ubcd5.iso (0xff);map --hook;root (0xff);configfile /ubcd/menus/grub4dos/main.lst"
  TEXT HELP
  Runs UltimateBootCD for DOS 5.0
  ENDTEXT


ubcd_grub4dos.ini
Code:
title Ultimate Boot CD for DOS 5.0
ls /images/ubcd5.iso || find --set-root /images/ubcd5.iso
map /images/ubcd5.iso (0xff)
map --hook
root (0xff)
configfile /ubcd/menus/grub4dos/main.lst


default_grub4dos.ini
Code:
default 0
timeout 0


I have grub4dos, syslinux and isolinux directories defined in my main BCDW.ini plugin

Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 01, 2009 12:20 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
UBCD50RC1 works fine. It is the UBCD4Win UBCD plugin that sucks.
It just assumes that you can rename the ubcd50RC1.iso file to ubcd5.iso.

This is not the case. Parted Magic needs to find the ubcd iso, to find the rest of its files.
In the Syslinux config file for Parted Magic, you can find:
Code:
LINUX /pmagic/bzImage
INITRD /pmagic/initramfs
APPEND iso_filename=ubcd50RC1.iso acpi=off edd=off noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=791 sleep=10 loglevel=0 keymap=us

The 'iso_filename=ubcd50RC1.iso' parameter specifies the iso name Parted Magic will look for. If you edit this parameter on the fly with the 'e' command of grub4dos to 'iso_filename=ubcd5.iso', Parted Magic will boot (Parted Magic will look in /, /images and /pmagic for the iso file).

Renaming and mapping the iso will work for all dos based tools, but not for all linux tools (except if they need only a kernel and initrd, which is the case for almost all tools included in UBCD, except Parted Magic and Avira Rescue CD).


Avira Rescue CD won't work with iso mapping (without patching).
You can extract the /antivir dir of the UBCD50RC1 iso and place it in the root of your CD or USB partition.

Someone made a patch to Avira Rescue CD a while ago, to support iso mapping:
http://forum.avira.com/wbb/index.php?pa ... adID=88261

Complain to Avira, but don't expect that they will include it.

Also ubcd_syslinux.ini could be made a bit better (boot the isolinux menu instead of the grub4dos one):
Code:
LABEL UltimateBootCD for DOS 5.0
  KERNEL grub.exe
  APPEND --config-file="timeout 0;default 0;title UltimateBootCD for DOS 5.0;ls /images/ubcd5.iso || find --set-root /images/ubcd5.iso;map /images/ubcd5.iso (0xff);map --hook;root (0xff);chainloader(0xff)"
  TEXT HELP
  Runs UltimateBootCD for DOS 5.0
  ENDTEXT


BCDW is a very old boot loader (and isn't updated anymore). I don't recommend it.
Which version of ISOLINUX does UBCD4Win use?

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 01, 2009 12:51 pm 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
Ah that makes sense, I don't use UBCD50RC1 "out of the box" and recreate the UBCD ISO with a generic name counting on the assumption that I can just "patch" the extracted UBCD ISO contents as updates become available. I'll modify the pmagic\boot\syslinux\syslinux.cfg AND pmagic\boot\isolinux\isolinux.cfg to use the generic ISO name given to UBCD during my build process and hope I don't forget this hack after future updates.

I'll look into the Avira patch and see what happens. I realized all of this yesterday as I was attempting to remove viruses from a friend's machine and spent today trying to find out why these things didn't work and at first blamed my USB device.

I'm not sure which version of ISOLINUX I put in my bcdw directory (not an out of the box UBCD4Win option), how would I find out? I assume I can update to whatever is current because UBCD is the only plugin that relies on it.


Last edited by kcarney on Tue Dec 01, 2009 1:07 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 01, 2009 12:56 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Can you upload the ISOLINUX.BIN file somewhere?

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 01, 2009 1:00 pm 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
Here it is

**link removed**


I tried modifying my ubcd5_syslinux.ini as suggested;
Code:
LABEL UltimateBootCD for DOS 5.0
  KERNEL grub.exe
  APPEND --config-file="timeout 0;default 0;title UltimateBootCD for DOS 5.0;ls /images/ubcd5.iso || find --set-root /images/ubcd5.iso;map /images/ubcd5.iso (0xff);map --hook;root (0xff);chainloader(0xff)"
  TEXT HELP
  Runs UltimateBootCD for DOS 5.0
  ENDTEXT


I get a grub4dos reboot loop, so I reverted back. Just thought I'd report on the result of your script change.


Last edited by kcarney on Tue Dec 08, 2009 6:53 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 02, 2009 6:42 am 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
Quote:
Avira Rescue CD won't work with iso mapping (without patching).
You can extract the /antivir dir of the UBCD50RC1 iso and place it in the root of your CD or USB partition.

Someone made a patch to Avira Rescue CD a while ago, to support iso mapping:
http://forum.avira.com/wbb/index.php?pa ... adID=88261

Complain to Avira, but don't expect that they will include it.


I'm not sure where to begin integrating this patched version, it only includes grub4dos as is. Anyone have any experience adding this patched version?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 03, 2009 8:01 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Read the ReadMe.1st file:
Quote:
If you are technically interested or want to inspect my "work", here is a list of my changes :

- in folder "/etc/init.d" (bash scripts) : halt (CD tray function), delay (new, necessary for new "halt"), shell
- in folder "/etc/init.d/rescue (bash scripts) : boot, bootupFunctions (key to my work)
- in folder "/bin" (bash scripts) : mount_all (device detection), load_modules (progress bar)
- additional Linux programs : "/bin/nano" (Editor), "/sbin/reboot"( which does, what its name indicates)
"/bin/ctrlaltdel" (quick reboot in console mode with the classical keys)
- Replacement of syslinux/isolinux bootmanager with Grub4DOS

These files can be found inside the initrd_0.gz file (gzipped EXT2 filesystem, I think) of the testaars.iso.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 07, 2009 8:39 am 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
I haven't had any luck with this, and have given up on the idea.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group