Page 1 of 1

Integrating System Rescue CD into UBCD

Posted: Mon Feb 13, 2006 5:35 am
by Victor Chew
Recently, I helped a friend integrate System Rescue CD into UBCD. Thanks to this forum thread, the integration was a breeze although the thread originally deals with Astrumi Linux.

Basically, I chose to use the first method as I feel it's "cleaner":

1. Copy contents of UBCD into HDD as per the customization instructions.

2. Create a subdirectory called custom under UBCD root directory.

3. Download System Rescue CD ISO image and place it in the custom subdirectory as syrescue.iso (note the 8.3 filename).

4. Extract sysrcd.dat (about 98MB) from the root directory of syrescue.iso into the root directory of UBCD.

5. Update boot/menus/custom.scn to boot System Rescue CD, I use:

Code: Select all

if ($lastKey == key[f1]); then diskemu /custom/syrescue.iso
6. Create customized UBCD using mkisofs and burn to CDRW.

I hope this helps someone looking to do something similar.

Posted: Sun May 18, 2008 3:06 pm
by charles
Hi;

I downloaded UBCD v4.1.1 and am trying to include the SYSTEM RESCUE CD and M$ Recovery Console.

I am trying to follow these directions for the SYSTEM RESCUE CD, but...

There is no "boot/menus/" folder and the only "custom.scn" file is in the "website\tutorials\convert\" folder.

I could sure use some help in getting this set up properly.

Can anyone help me out?

TIA

Posted: Sun May 18, 2008 4:49 pm
by Icecube
This tutorial was made for a very old version of UBCD (which didn't use isolinux).

To integrate UBCD with system rescue, see viewtopic.php?t=901.

Posted: Mon May 19, 2008 8:48 am
by charles
OK...

I took a look at viewtopic.php?t=901 and tried to follow the directions there -- but they appear to be out of date also.

Here's what I did:
  • I extracted all of the SYSTEM RESCUE CD files into a folder named SysResCD in the UBCD folder.
    I placed a copy of sysrcd.cat in the UBCD folder.
    I created a SysResCD.cfg file in the SysResCD/isolinux folder.
    Then I added the following to custom.cfg
    • LABEL SysResCD
      MENU LABEL System Rescue CD
      CONFIG /SysResCD/isolinux/SysResCD.cfg
However, when I select System Rescue CD from the UBCD menu, it just jumps back to the top of the menu (the .. line).

Any advice?

TIA.

Charles...

Posted: Mon May 19, 2008 9:54 am
by Icecube
Have you downloaded the last version of syslinux like mentioned in the tutorial?

Folow the instructions of my post on that topic. I made it a week ago so it isn't out of date.
Download VirualBox, qemu or another virtual machine in which you can test your iso without burning it.

Posted: Tue May 20, 2008 6:42 pm
by charles
Yes... I downloaded the most recent version.

Followed your instructions to the letter (as far as I can tell) -- but no joy!!

When I select "rescuecd", UBCD just jumps to the top line in the menu (the one with .. that allows you to go up 1 level in the menu).

Any ideas on what to look for? (I've successfully add a number of DOS and W9x boot disks and the XP recovery console.)

Some documentation on the commands and parameters that go in the custom.cfg file would be very helpful. I've asked for some in another post, but haven't gotten an answer.

Charles...

Posted: Tue May 20, 2008 9:40 pm
by Icecube
charles wrote: Here's what I did:
  • I extracted all of the SYSTEM RESCUE CD files into a folder named SysResCD in the UBCD folder.
    I placed a copy of sysrcd.cat in the UBCD folder.
    I created a SysResCD.cfg file in the SysResCD/isolinux folder.
    Then I added the following to custom.cfg
    • LABEL SysResCD
      MENU LABEL System Rescue CD
      CONFIG /SysResCD/isolinux/SysResCD.cfg
Rename the folder SysResCD to sysrescd. And change "CONFIG /SysResCD/isolinux/SysResCD.cfg" to "CONFIG /sysrescd/isolinux/sysrescd.cfg". Change the SysResCD.cfg file to sysrescd.cfg. (Else you have to replace sysrescd to SysResCD in the whole SYSResCD.cfg file.

I think that isolinux an syslinux are case sensitive, but I am not completely sure.

Posted: Tue May 27, 2008 9:15 am
by Icecube
@ charles
I have updated my tutorial.
You have to update the menu.c32 file also.

Posted: Tue May 27, 2008 6:47 pm
by charles
What's the link to your tutorial? I checked out:
but that's not it.

Posted: Wed May 28, 2008 6:03 am
by Icecube
Look at the bottom of that page.

Posted: Thu May 29, 2008 8:32 am
by charles
Well... I must be blind in one eye and deaf in the other <g> because I don't see anything about updating the menu.c32 file -- just copying it.

I already copied it.

What am I overlooking here??

Charles...

Posted: Thu May 29, 2008 11:54 am
by The Piney
From the post/thread that was linked to:

Extract the syslinux archive to "c:\syslinux\".

To update isolinux for the CD version
- Copy "c:\syslinux\isolinux.bin" to "c:\ubcd\isolinux\".
- Copy "c:\syslinux\com32\menu\menu.c32" to "c:\ubcd\isolinux\".
- Copy "c:\syslinux\com32\modules\chain.c32" to "c:\ubcd\isolinux\" (not necessary)
- Copy "c:\syslinux\com32\memdisk\memdisk" to "c:\ubcd\isolinux\" (not necessary)

To update syslinux for the bootable USB key
- Copy "c:\syslinux\ldlinux.sys" to "c:\ubcd\syslinux\".
- Copy "c:\syslinux\mbr\mbr.bin" and "c:\syslinux\ldloader.bss" to "c:\ubcd\tools\ubcd2usb\".
- Copy "c:\syslinux\com32\menu\menu.c32" to "c:\ubcd\syslinux\"
- Copy "c:\syslinux\com32\modules\chain.c32" to "c:\ubcd\syslinux\" (not necessary)
- Copy "c:\syslinux\com32\memdisk\memdisk" to "c:\ubcd\syslinux\" (not necessary)

Posted: Thu May 29, 2008 1:21 pm
by charles
Like I said... I don't see *anything* here about *updating* the menu.c32 file.

What command(s) here update the file? (Update, to me, means that one makes *changes* to the contents of the file.)

All I see is that it's to be copied (along with some other files).

So what is it? Copy the file, or update it?

If it's just copy the file, then something else is wrong because I have already copied it as shown.

Charles...

Posted: Thu May 29, 2008 1:36 pm
by The Piney
To update you just copy to the stated directory and overwrite the existing file if present. You'll be replacing an older version with a new one, thus - UPDATING>>>>

Posted: Thu May 29, 2008 1:37 pm
by charles
No... that's REPLACING... NOT updating!

Posted: Thu May 29, 2008 1:45 pm
by The Piney
charles wrote:Like I said... I don't see *anything* here about *updating* the menu.c32 file.

What command(s) here update the file? (Update, to me, means that one makes *changes* to the contents of the file.)

All I see is that it's to be copied (along with some other files).

So what is it? Copy the file, or update it?

If it's just copy the file, then something else is wrong because I have already copied it as shown.

Charles...
The changes are included in the newer file. So you update by simply "REPLACING and/or COPYING over" the existing file...

If your still having problems it probably is something else..

Just trying to help - I'm done with this thread...

Posted: Fri May 30, 2008 8:17 am
by Icecube
If you looked at the tutorial page itself:
The CONFIG command loads the isolinux config file for System Rescue, with all options as the normal System Rescue cd, but it requires a new version of isolinux.
Download syslinux from http://www.kernel.org/pub/linux/utils/boot/syslinux/.

Extract the syslinux archive to "c:\syslinux\".
Because I said that you have do download the newest version of syslinux, copying the newer files over the old syslinux files is updating (to a newer version).

When you do an windows update, you are just copying over the old files with a newer version.

@The Piney
To me, you described the updating process very clear.