UBCD4Win Forums: A Guide at Creating a UBCD/UBCD4Win Combo CD - UBCD4Win Forums

Jump to content

  • (13 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

A Guide at Creating a UBCD/UBCD4Win Combo CD Per LittlBUGer's Instructions

#1 User is offline   LittlBUGer Icon

  • Main Mirror/Here Since Beginning
  • PipPipPipPipPipPipPip
    • Group: Members
    • Posts: 4,698
    • Joined: 27-May 04
    • Location:MT, USA
    • Interests:Computers and stuff...<br /><br />:-)

    Post icon  Posted 04 October 2004 - 06:15 PM

    The combining of the UBCD and the UBCD4Windows

    Important: Many references and information was taken, used, and edited from the following creators: Ben Burrows (UBCD4Windows), Victor (UBCD), and Adrian Stanciu (adding Linux Boot CD).

    Last Updated: 9-28-06

    IMPORTANT NOTICE!: With version 3.0+ of the project, this guide is old, outdated, and unneccessary (except for Appendix B ). With the new MultiBoot plugin included in the project, there is an easy option to include the UBCD there which does all of the work for you. Please use that method from now on and make a new post in the forums if you have any problems with it. We will NOT support this post/guide anymore until further notice. Thank you. :)

    1. Build the UBCD4Win (32-bit) using PE Builder as per standard instructions but don't create the ISO as that will not be used. Put the files from what PE Builder created into a folder of choice, such as C:\combocd\.

    NOTE: Specific, detailed instructions for building the Windows Ultimate Boot CD are in Appendix A.

    2. Find the bootsect.bin file in root of your combo CD directory and copy it to a different filename (such as temp.bin). Then rename it (the copied temp file, NOT the original bootsect.bin) to PRO1.DAT.

    3. Extract the files from UBCD (16-Bit) ISO to your combo CD folder, such as C:\combocd\, overwriting files when prompted. You can use ISOBuster or WinRAR (or similar program) again to exact these files.

    NOTE: This is also the time to add any of your own custom boot disks to the UBCD part of this combo CD. Use a program such as Floppy Image or WinImage to make a compatible uncompressed image of your boot disk you want to add. You can also add a custom Linux boot CD as well. More instructions are in Appendix B.

    4. Edit the autorun.inf file in your combo CD folder so it looks as follows:

    [autorun]
    open=Programs\nu2menu\nu2menu.exe
    icon=ubcd.ico


    5. Now edit the C:\combocd\boot\menus\main.scn file adding a reference for the UBCD4Windows. Or you can just edit the C:\combocd\boot\menus\custom.scn file instead. An example (ONLY) of my main.scn and custom.scn files is as follows:

    main.scn
    #
    # Timeout after 5 mins
    #
    set timer = 5
    
    #
    # Main Menu
    #
    main_menu:
    set textColor = color[white on black]
    clear
    set textColor = color[yellow on blue]
    print "                                                     ULTIMATE BOOT CD VER 3.3                                                        "
    print "                                              http://www.ultimatebootcd.com/                                              "
    print "                               ***Modified for YOU! - See Details Below***                                  "
    set textColor = color[white on red]
    print "                                                               [Main Menu]                                                              "
    set textColor = color[white on cyan]
    print " This CD includes the UBCD, the UBCD 4 Windows, and other utilities all in one! "
    print " The UBCD4Win is ver 2.5 with Driver Add-on ver 1.1 - http://www.ubcd4win.com/  "
    print "     Visit the User-defined Tools section for the custom tools added for YOU!.   "
    print "                                                                                                                                                             "
    print "                                                [F1] Mainboard Tools                                                          "
    print "                                                [F2] Hard Disk Tools                                                          "
    print "                                                [F3] Filesystem Tools                                                                "
    print "                                                [F4] Other Tools                                                                      "
    print "                                                [F5] User-defined Tools - UBCD4Win,ZEN,BCWipe,NetBoot"
    print "                                                [F6] DOS/Linux Boot Disks                                                    "
    if file[\INSERT\INSERT]; else set textColor = color[brightgrey on cyan]
    print "                                                [F7] INSERT for UBCD - Like the UBCD4Win Linux-style "
    set textColor = color[white on cyan]
    print "                                                                                                                                                             "
    print "                                                [F8] Boot first hard disk                                                    "
    print "                                                [F9] Boot second hard disk                                              "
    print "                                               [F10] Drop to console                                                          "
    print "                                                                                                                                                             "
    print " Kudos to Victor, the creator of the UBCD and Ben, the creator of the UBCD4Win! "
    print "                                                     Last Updated: 05-03-2005                                                    "
    print "                                       Updated By: Randy Senn - LittlBUGer                                          "
    set textColor = color[white on blue]
    print "             Please select an item (First hard disk will boot after $(timer) minutes)      "
    set textColor = color[white on black]
    
    #
    # Actions
    #
    getkey 60 goto timeout
    clear
    if ($lastKey == key[f1]); then script mboard.scn
    if ($lastKey == key[f2]); then script hdd.scn
    if ($lastKey == key[f3]); then script filesys.scn
    if ($lastKey == key[f4]); then script others.scn
    if ($lastKey == key[f5]); then script custom.scn
    if ($lastKey == key[f6]); then script bootdsk.scn
    if file[\INSERT\INSERT]
    then if ($lastKey == key[f7]); then script insert.scn
    if ($lastKey == key[f8]); then script boothdd0.scn
    if ($lastKey == key[f9]); then script boothdd1.scn
    if ($lastKey == key[f10]); then goto console
    goto main_menu
    
    #
    # Decrement timer and refresh display, or boot from HDD0 if timeout
    #
    timeout:
    if $timer  == 0; then script timeout.scn
    set timer = $timer - 1
    goto main_menu
    
    #
    # Drop to console
    #
    console:
    cd /
    clear
    help
    end


    NOTE: You must also add references to the custom added boot disks/Linux CD you added as well in either the main.scn file or preferably the custom.scn file somewhere. There are many examples to follow how to do this. More information can be found in Appendix B.

    custom.scn
    #
    # User-defined Tools
    #
    custom_menu:
    set textColor = color[white on black]
    clear
    set textColor = color[yellow on blue]
    print "                                                     ULTIMATE BOOT CD VER 3.3                                                        "
    print "                                              http://www.ultimatebootcd.com/                                              "
    print "                                                                                                                                                             "
    set textColor = color[white on red]
    print "                                                       [User-defined Tools]                                                    "
    set textColor = color[white on cyan]
    print "                                                                                                                                                             "
    print " [F1] The Ultimate Boot CD 4 Windows v 2.5 - Ultimate PC repair utility               "
    print " [F2] ZENWorks Imaging Boot CD v 6.5 (Linux-configurable) - HD imaging utility  "
    print " [F3] BCWipe - Hard Drive wiping utility (uses DOD standard)                                 "
    print " [F4] Universal Network Boot Disk v 5.2 - Great utility with Ghost, etc.             "
    print " [F5] Windows 98SE Boot Disk (just in case)                                                                   "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    print "                                                                                                                                                             "
    set textColor = color[white on blue]
    print "                             Please select an item (ESC returns to main menu)                                "
    set textColor = color[white on black]
    
    #
    # Actions
    #
    getkey
    clear
    if ($lastKey == key[f1]); then chain /PRO1.DAT
    # if ($lastKey == key[f2]); then isolinux /ZEN/kernel.zen 5 initrd=/ZEN/initrd.gz rw reboot=w
    if ($lastKey == key[f2]); then diskemu \images\bootcd.iso
    if ($lastKey == key[f3]); then memdisk \images\BCWIPE.IMG
    if ($lastKey == key[f4]); then diskemu \images\UNetBoot.img
    if ($lastKey == key[f5]); then memdisk \images\98SEBOOT.IMG
    if ($lastKey == key[esc]); then script main.scn
    goto custom_menu


    NOTE: Remember that, in the custom.scn file, you MUST add the references for each key pressed in telling the CD what to run. Meaning that, in the above example, the line:

    if ($lastKey == key[f1]); then chain /PRO1.DAT


    is telling the CD that when the F1 key is pressed, that it should basically run the PRO1.DAT file which in turn runs the UBCD4Win. You can also use the other f-key lines from the example above as a guide for adding other disks/images/programs.

    EXTRA NOTE: It seems that now, with UBCD 3.3+, the command 'diskemu' can now boot certain ISOLinux and SYSLinux bootable .iso images/files. It seems it was made for Acronis True Image (and similar boot CDs) and I've tested it with Novell ZENWorks Imaging boot CD and it works great (though you must also include the SETTINGS.TXT and LINUX3.TGZ files from the boot CD on the root of the combo CD). The code, compared to the above 'then bcdw /ISOLINUX.BIN', is as follows:

    then diskemu \images\bootcd.iso


    if you have the .iso in the images folder (where all of the other UBCD images are) and it's named 'bootcd.iso'. I hope this helps a bit. :)

    6. After everything else is completed, you can now burn the compilation to a CD using the following settings for Nero Burning ROM (or a similar CD Burning program):

    UPDATE: Scroll down a bit to see the mkisofs command line method to make an ISO instead of doing it manually through Nero. :)

    a. Open Nero Burning ROM. When the New Compilation window appears, choose CD-ROM (boot) from the left pane.
    b. Don’t worry about the settings quite yet and just click the New button.
    c. Now add all of the files in the combo CD folder (such as C:\combocd\) to the compilation window/pane (as simple as drag and drop).
    d. Now click on the Burn icon near the top (the one with the fire-match). In this window, apply the following settings:

    1. Under the Boot tab, apply the following settings (make sure to check the box to Enable Expert Settings):

    -Image File = C:\combocd\boot\loader.bin
    -Kind of Emulation = No Emulation
    -Boot Message: Whatever you want, such as “THE UBCD Combo CD”
    -Load Segment of Sectors = 07C0
    -Number of Loaded Sectors = 4

    2. Now, under the ISO tab, apply the following settings:

    -File name length: Max. of 31 chars (ISO level 2)
    -Format: Mode 2 / XA
    -Character set: ISO 9660 (standard)
    -Check the box next to Joliet
    -Check all 3 boxes under Relax ISO Restrictions
    -Check the box under Relax Joliet Restrictions

    3. Under the Label tab, make sure the box Also use the ISO 9660 text for Joliet is checked and input a label, such as “THE_UBCD_COMBO_CD”

    4. Under the Burn tab, apply the following settings:

    -The Write and Finalize CD boxes are checked
    -Write Speed is set to Max
    -Write Method is Disc-At-Once

    Now click the Burn button and let it go. Once it’s finished, you should have a bootable UBCD combo CD ready for use. :-)

    6.a. If you do not understand the Nero instructions above or want to make an ISO through an easier method, you can use the following mkisofs instructions through the command line, or a batch file, to make a workable ISO of which you can burn later:

    "C:\pebuilder313\mkisofs.exe" -joliet-long -iso-level 2 -N -d -relaxed-filenames -duplicates-once -D -boot-load-seg 0x7C0 -boot-load-size 4 -o "C:/combocdiso/THE_UBCD_COMBO.iso" -b "boot/loader.bin" -no-emul-boot -volid "THE_UBCD" -sysid "Win32" "C:/combocd/"


    NOTE: Remember to change the code within the quotes above to match how your files and folders are laid out.


    APPENDIX A

    Building the UBCD4Win:

    NOTE: For more complete instructions, please visit the main How to Build page. :)

    You have a CD Burner and a Windows XP CD with SP1. You have downloaded Bart PE and the UBCD4Windows with possible updates.

    1. Install Bart's PE: Extract the pebuilder3032.zip file into the folder of your choice (for example C:\pebuilder3032). It is suggested that you extract the files to a folder with NO spaces, if it differs from the above example, otherwise later errors may occur.

    2. Go to your PE folder and delete or rename the folder named "plugin" (if you rename it, a good name is ORIG_plugin). I really recommend that you rename the original folder so that in the future if you find a need for something, you will still have it.

    3. Extract the UBCD4Win exe file into your PE folder. It is very important that you extract the file in the appropriate folder. It should be your root folder for Bart's PE (for example, direct it to extract to C:\pebuilder3032). The UBCD4Win exe file is just a few files that will be added or updated in the PE folder and a new "plugin" folder packed with all my goodies. Click Yes to overwrite if prompted.

    4. Insert your Windows XP CD with SP1 into your CD-ROM drive and launch PE Builder.

    Bart PE Instructions/Help - Building the UBCD4Windows

    1. Run Bart PE---Double click the "pebuilder.exe" file.

    2. Now sometimes when I run Bart PE it has a screen asking what type of build I would like to do, sometimes it doesn't. For the build type, select "Manual Build" and click Next.

    3. Next is the Welcome screen. Click next.

    4. Now is the Source screen. You only need to worry about the "Path to Windows installation files." Type in the drive letter for the CD drive that has your XP CD in it, then click the "check" button below the path box to verify the correct XP CD has been inserted. You will get a dialogue box that informs you if the CD or path is a valid source. If so then click "Next" and do not worry about the "add files/folders...." path box. Also, if you are using an XP SP1 CD, it is suggested that you copy its contents to a folder on your hard drive (such as C:\xpsp1cd) and then point PE Builder to that folder. Make sure before you copy the CD to your hard drive to enable the Show all System/Hidden files option (under Tools -> Folder Options -> View tab in any folder window).

    5. Next is the Plugins screen. All of my plugins are set to be installed by default except for PPOE for Windows 2k3. There is no need for you to change any of these plugins.

    6. Next is the Output screen. It should say for the Output directory: "D:\pebldr." This is just a folder Bart PE will create to work in to build your compilation. It is suggested that you output to a folder with NO spaces if you want to change it (such as C:\pebldr). "Create ISO Image" should NOT be checked for this combo CD.

    7. You may get another screen saying the above folder does not exist. Just click Yes.

    8. Finally is the Build screen. PE Builder will now create the compilation of files which will then be ready to use for the rest of the instructions while making this combo CD.


    APPENDIX B

    The adding of DOS boot disks (such as BCWipe):

    Customizing Ultimate Boot CD

    NOTE: For more complete instructions, please visit the UBCD's main Customization page. :)

    This section talks about how to create your own customized Ultimate Boot CD, tailored to your specific needs.
    You should have a directory structure that looks like this (only somewhat if you are making this combo CD):

    c:\combocd\ 
      boot\ 
            cdsh.bin
            loader.bin
            cdshw.com
            cdshell.ini
            fonts\ 
              [Various .f16 files]
            menus\ 
              [Various .scn files]
            modules\ 
              [Various .csm files]
      docs\ 
      dosapps\ 
      freesco\ 
      images\ 
            [Various .img files]
      INSERT\ 
      isolinux\ 
      licenses\ 
      scsi\ 
      tools\ 
      ubcd\ 
      autorun.inf
      ubcd.ico


    You can now customize the Ultimate Boot CD by adding your own floppy images to the CD. Floppy disk images can be created from the physical floppy disks themselves by using utilities such as rawread ( http://213.158.115.5...bcd/rawread.zip ), or Floppy Image ( http://www.woundedmo...loppyimage.html - you need to go to "Settings", and select "Create compatible IMG files").
    Place your personal floppy disk images under C:\combocd\images\. Then edit C:\combocd\boot\menus\main.scn or custom.scn files to add each floppy disk image and its activation keystroke to the final ISO image. Use the existing sections as reference here. If you need more information, please refer to the CDShell documentation ( http://www.cdshell.org/functref.html ).

    The adding of any ONE Linux boot CD (such as ZENWorks Imaging -- use method 2; it’s the best/easiest way):

    Integrating any bootable Linux CD into Ultimate Boot CD

    This guide will tell you how to integrate any bootable Linux CD (that is based on SYSlinux or ISOlinux) into the Ultimate Boot CD.

    Method 1: Using a bootable floppy image

    First you'll need to make a bootable floppy-image from the CD, if the CD doesn't have one already on it.
    Some CDs have one (for Knoppix, use: boot.images/floppy_1.44.00). You might have to look for files with size 1474560 or 2949120 bytes.
    If your CD doesn't have one already, you should build one. Follow my guide: Building a bootable-floppy for/from a bootable CD ( http://www.sadyc.net...eCD2floppy.html )

    Now that you have the image, proceed as following:
    1. Copy your newly made bootable floppy image file as /images/yourname.img in your UBCD root (such as C:\combocd\).
    2. Edit the /boot/menus/main.scn or custom.scn files to add a reference to your newly-added floppy-disk image using "diskemu", such as:
    if ($lastKey == key[k]); then diskemu /images/yourname.img

    3. Copy everything from your CD in your UBCD root.
    (In most cases, like Knoppix, you usually need to copy only one BIG file that's on the CD.)
    Just make sure the file(s) will resemble the path on your original CD that you want to integrate.
    4. You're done, so go make the UBCD image and burn it.
    NOTES:
    • The file and directory names are CASE SENSITIVE! Pay attention to this if you work under Windows, which doesn't care about case.
    • UBCD root refers to where you unpacked the original UBCD disk (example: c:\combocd).

    Method 2: Without a bootable floppy image

    1. Copy everything (as it is) from the CD you want to integrate into the root of UBCD (such as C:\combocd\).
    2. Edit the /boot/menus/main.scn or custom.scn files to add a reference to your new CD like this:
    if ($lastKey == key[k]); then bcdw /isolinux/isolinux.bin

    3. The command bcdw is VERY IMPORTANT in the previous step as it will not work at all otherwise. Also, when you copied the CD over to the combo CD root and it didn’t create an ISOLinux folder, then replace Step 2 with:
    if ($lastKey == key[k]); then bcdw /isolinux.bin

    4. Make the UBCD image and burn it.
    NOTES:
    • Only works for ISOLinux based CDs (look for the isolinux directory).
    • You can add only one such CD, because the isolinux directory on more CDs will conflict each other.

    And now you are done and you have a combo boot CD that has the UBCD, the UBCD4Windows, some useful other DOS boot disks, and a Linux boot CD! :-)


    Other Notes/Questions:

    Question: How can I add a two-disk utility such as Partition Magic to UBCD?

    Follow these simple steps:
    • Step 1: Create an image of the first disk.
    • Step 2: Change the disk format of the image to 2.88MB using WinImage.
    • Step 3: Copy all files from second disk to modified image using WinImage.
    • Step 4: Add modified image to Ultimate Boot CD.

    This post has been edited by LittlBUGer: 28 September 2006 - 09:14 AM




    "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein
    "Computers are really strange - first everything works fine, then something goes terribly wrong and nothing works, and then - like a thunderbolt from a clear sky, everything is back to normal again. It's like nothing ever happened. Like the computer were female." - Unknown
    "Some people say that I must be a terrible person, but it's not true. I have the heart of a young boy. In a jar on my desk." - Stephen King
    "If there is anything the nonconformist hates worse than a conformist, it's another nonconformist who doesn't conform to the prevailing standard of nonconformity." - Bill Vaughan
    "Microsoft Windows [n.]: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition." - Unknown
    "When a newly married couple smiles, everyone knows why. When a ten-year married couple smiles, everyone wonders why." - Unknown
    0

    #2 User is offline   SteelTrepid Icon

    • Administrator
    • PipPipPipPipPipPipPipPip
      • Group: Admin
      • Posts: 6,191
      • Joined: 27-April 04
      • Gender:Male
      • Location:Ohio

      Posted 04 October 2004 - 06:26 PM

      Awesome. Thanks for finally doing this Littl!! We are both very busy people so I understand why it took you a while. The old instructions didn't work and were not clear enough. I will be testing your instructions on Wednesday (my next day off work) and will give you more feedback on your instructions. Everyday when I visit this forum and see your name and Digi's I thank God that he gave me some awesome Moderators!! You two kick ass and have really helped the users of "our" project!
      "I play Russian roulette everyday, a man's sport, with a bullet called life"

      "My cause is noble, my power is pure"
      0

      #3 User is offline   LittlBUGer Icon

      • Main Mirror/Here Since Beginning
      • PipPipPipPipPipPipPip
        • Group: Members
        • Posts: 4,698
        • Joined: 27-May 04
        • Location:MT, USA
        • Interests:Computers and stuff...<br /><br />:-)

        Post icon  Posted 04 October 2004 - 08:37 PM

        I am here to help. :)

        I will probably be updating it slightly (just making it look better) within the next couple of days. When I make documentation at work, I am very meticulous and very detailed and I have to act like the person that is reading it is the most computer-illiterate person ever, so right now, it's nowhere near close to that. Once I'm done, it will probably be 12 pages long in my local document, and only a little longer here. :)I think it's funny that I've never done really any documentation before and then I come to the job I'm at now and within 6 months I'm praised by the other IT people for how well my docs are when they've been doing similar things for like 10 years! Good stuff... I also have to update it more to give credit to those that are due, like you, the creator of the UBCD, and a few others as a lot of that was just pasted and edited from others' websites. I just wanted to get something out here and then worry about it later. :lol:

        Also, I would be updating the FAQ a little more but it seems so few read it that it may be pointless, I'm not sure. I'm trying to think of other things I got to do other than general testing but they have fled my mind... :-\

        On a side note, don't worry about bandwidth issues. Even if the other host goes down for a while or something, I still have 200GB for the month, and as of today, I've used less than 20 of that, so we would be good for that short time they were down. :)

        This post has been edited by LittlBUGer: 04 October 2004 - 08:39 PM




        "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein
        "Computers are really strange - first everything works fine, then something goes terribly wrong and nothing works, and then - like a thunderbolt from a clear sky, everything is back to normal again. It's like nothing ever happened. Like the computer were female." - Unknown
        "Some people say that I must be a terrible person, but it's not true. I have the heart of a young boy. In a jar on my desk." - Stephen King
        "If there is anything the nonconformist hates worse than a conformist, it's another nonconformist who doesn't conform to the prevailing standard of nonconformity." - Bill Vaughan
        "Microsoft Windows [n.]: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition." - Unknown
        "When a newly married couple smiles, everyone knows why. When a ten-year married couple smiles, everyone wonders why." - Unknown
        0

        #4 User is offline   SteelTrepid Icon

        • Administrator
        • PipPipPipPipPipPipPipPip
          • Group: Admin
          • Posts: 6,191
          • Joined: 27-April 04
          • Gender:Male
          • Location:Ohio

          Posted 04 October 2004 - 08:55 PM

          Well, please update the FAQ. I try to be meticulous but it's hard when I'm so busy. I feel I've done a good job on the instructions on the site. Gotta give me some credit there, but have had a few shortcomings with other documentation I didn't get around to adding or messed up updates. I still want to add the FAQ to the site, didn't have time in the past, and now am hesitating because I would like it updated a bit but do not have the time to update it myself. As for the bandwidth issue, damn. After updating the site and adding the new news, I checked our mirror #2 (now #1 since the original #1 emailed me that they couldn't do it anymore). It has exceeded it's bandwidth....AGAIN. Looks like we are on our own for now. <_< Please watch your bandwidth closely, I do not want your site going down again. I've already used over 6gig today and there is still 4 hours left in the day! I really do not want to have to resort to stopping downloads of the project, but I also want to keep your site up and have to have bandwidth available for the forum. It seems we could get a bit close at the moment, but I have faith. We've never had a crisis (getting close now) and I think that things will always work out so we never do.
          "I play Russian roulette everyday, a man's sport, with a bullet called life"

          "My cause is noble, my power is pure"
          0

          #5 User is offline   dlevens Icon

          • Member
          • PipPip
            • Group: Members
            • Posts: 48
            • Joined: 17-July 04

            Posted 19 November 2004 - 07:13 PM

            Quote

            extract the bootloader file from it to your combo CD folder, such as C:\combocd\. Rename it to PRO1.DAT


            Can you please be more specific on this step? How do you do this in isobuster. I downloaded and am not clear what file is the exact file I should extract and rename. What is the name of it on the cd? Is it the microsoft.img file?

            Dennis
            0

            #6 User is offline   DigiWiz Icon

            • Member
            • PipPipPipPipPip
              • Group: Banned
              • Posts: 644
              • Joined: 02-June 04

              Posted 19 November 2004 - 07:22 PM

              LittlBUGer, on Oct 4 2004, 08:15 PM, said:

              2. Put your Windows XP SP1 CD in your CD drive and use an ISO/CD manipulator program such as ISOBuster (www.isobuster.com) to extract the bootloader file from it to your combo CD folder, such as C:\combocd\.  Rename it to PRO1.DAT.

              :)

              Isn't that just the bootsect.bin file which is in the root directory of your UBCD4Win folder?

              DW

              :)
              0

              #7 User is offline   dlevens Icon

              • Member
              • PipPip
                • Group: Members
                • Posts: 48
                • Joined: 17-July 04

                Posted 19 November 2004 - 08:24 PM

                I was able to get the CD to boot and show the DOS UBCD menu but when I select the windows ubcd I get this error:

                CDBOOT: Could't find NTLDR

                I followed the instructions exactly. Also I am trying to remove some potential issues by skipping the nero confusion and tons of steps so also interested in a batch file to make the iso similar to how we make the iso for the DOS UBCD.

                This is what I have so far
                mkisofs.exe" -J -joliet-long -l -r -iso-level 2 -relaxed-filenames -o "D:/comboubcd.iso" -b "boot/loader.bin" -no-emul-boot "D:/ComboUBCD/"


                Does this look right? Also where can I download the absolute latest version of mkisofs.exe?

                Thanks,
                Dennis
                0

                #8 User is offline   LittlBUGer Icon

                • Main Mirror/Here Since Beginning
                • PipPipPipPipPipPipPip
                  • Group: Members
                  • Posts: 4,698
                  • Joined: 27-May 04
                  • Location:MT, USA
                  • Interests:Computers and stuff...<br /><br />:-)

                  Post icon  Posted 20 November 2004 - 12:17 AM

                  DigiWiz, on Nov 19 2004, 06:22 PM, said:

                  LittlBUGer, on Oct 4 2004, 08:15 PM, said:

                  2. Put your Windows XP SP1 CD in your CD drive and use an ISO/CD manipulator program such as ISOBuster (www.isobuster.com) to extract the bootloader file from it to your combo CD folder, such as C:\combocd\.  Rename it to PRO1.DAT.

                  :)

                  Isn't that just the bootsect.bin file which is in the root directory of your UBCD4Win folder?

                  DW

                  :)

                  As far as I know, no it's not. If you use ISOBuster dlevens, then once you see the CD there's a Bootable CD section with a BootCatalog.cat file and the one you mentioned (though may be named differently). Extract that file and rename it and you should be fine.

                  As for the latest version of mkisofs, I'm not sure where to get it but I'm sure DigiWiz knows. Also, I haven't tried it any other way than what I did in the instructions so I'm not sure if what you are proposing will work. Are you saying that you did my instructions exactly or did you skip things? I'm wondering why you're getting that error as the PRO1.dat file shouldn't do that. Do you do anything at all different or use a strange XP CD to get the file from? Any more details would be great, thanks. :)

                  EDIT: I forgot to mention that some of these instructions change a bunch due to the new version of the UBCD but mainly only in editing the UBCD menu files and whatnot. The placing of files should be the same, mostly. I will try to update it later when I can. :)

                  This post has been edited by LittlBUGer: 20 November 2004 - 12:19 AM




                  "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein
                  "Computers are really strange - first everything works fine, then something goes terribly wrong and nothing works, and then - like a thunderbolt from a clear sky, everything is back to normal again. It's like nothing ever happened. Like the computer were female." - Unknown
                  "Some people say that I must be a terrible person, but it's not true. I have the heart of a young boy. In a jar on my desk." - Stephen King
                  "If there is anything the nonconformist hates worse than a conformist, it's another nonconformist who doesn't conform to the prevailing standard of nonconformity." - Bill Vaughan
                  "Microsoft Windows [n.]: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition." - Unknown
                  "When a newly married couple smiles, everyone knows why. When a ten-year married couple smiles, everyone wonders why." - Unknown
                  0

                  #9 User is offline   DigiWiz Icon

                  • Member
                  • PipPipPipPipPip
                    • Group: Banned
                    • Posts: 644
                    • Joined: 02-June 04

                    Posted 20 November 2004 - 01:08 AM

                    DigiWiz, on Nov 19 2004, 09:22 PM, said:

                    LittlBUGer, on Oct 4 2004, 08:15 PM, said:

                    2. Put your Windows XP SP1 CD in your CD drive and use an ISO/CD manipulator program such as ISOBuster (www.isobuster.com) to extract the bootloader file from it to your combo CD folder, such as C:\combocd\.  Rename it to PRO1.DAT.


                    Isn't that just the bootsect.bin file which is in the root directory of your UBCD4Win folder?

                    DW

                    :)

                    For clarification, the file bootsect.bin IS the bootsector dump from an XP disc... do a byte-for-byte comparison of the bootsect.bin file from UBCD4Win and any bootsector extraction from an XP install disc - they are identical.

                    The MD5 hash is ce05c025433085b7e856e7214f7ce8b1.

                    Simply copy & rename bootsect.bin from your UBCD4Win build to the place & name in the instructions - this will save you a step or two...

                    DW

                    Posted Image
                    0

                    #10 User is offline   LittlBUGer Icon

                    • Main Mirror/Here Since Beginning
                    • PipPipPipPipPipPipPip
                      • Group: Members
                      • Posts: 4,698
                      • Joined: 27-May 04
                      • Location:MT, USA
                      • Interests:Computers and stuff...<br /><br />:-)

                      Post icon  Posted 20 November 2004 - 01:33 AM

                      Thanks for the clarification. :D



                      "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein
                      "Computers are really strange - first everything works fine, then something goes terribly wrong and nothing works, and then - like a thunderbolt from a clear sky, everything is back to normal again. It's like nothing ever happened. Like the computer were female." - Unknown
                      "Some people say that I must be a terrible person, but it's not true. I have the heart of a young boy. In a jar on my desk." - Stephen King
                      "If there is anything the nonconformist hates worse than a conformist, it's another nonconformist who doesn't conform to the prevailing standard of nonconformity." - Bill Vaughan
                      "Microsoft Windows [n.]: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition." - Unknown
                      "When a newly married couple smiles, everyone knows why. When a ten-year married couple smiles, everyone wonders why." - Unknown
                      0

                      #11 User is offline   DigiWiz Icon

                      • Member
                      • PipPipPipPipPip
                        • Group: Banned
                        • Posts: 644
                        • Joined: 02-June 04

                        Posted 21 November 2004 - 04:23 AM

                        dlevens, on Nov 19 2004, 10:24 PM, said:

                        I was able to get the CD to boot and show the DOS UBCD menu but when I select the windows ubcd I get this error:
                        CDBOOT: Could't find NTLDR

                        :)

                        @dlevens

                        From a multi-boot website:
                        If you are adding the original Microsoft Windows XP/2000/NT bootsector you ABSOLUTELY have to add the following option, too: -N... otherwise you will get the error 'CDBOOT: Couldn't find NTLDR' on startup.

                        an (incomplete) example might be:
                        mkisofs.exe -relaxed-filenames -d -D -J -N -b loader.bin -no-emul-boot -boot-load-size 4 -o "D:\ComboUBCD\" "D:\comboubcd.iso"

                        I plan on using CDImage or mkisofs myself when getting around to designing a multiboot CD... can easily build in few seconds and then test in VirtualPC.

                        DW

                        Posted Image
                        0

                        #12 User is offline   dlevens Icon

                        • Member
                        • PipPip
                          • Group: Members
                          • Posts: 48
                          • Joined: 17-July 04

                          Posted 22 November 2004 - 01:50 PM

                          Thanks for the info guys. For clarification I was following exactly the guide but as mentioned had to make some slight changes in the new menu structure as we no longer use the .ini boot menu. Also I was using the .img file when I extracted and renamed to pro1.dat and not the cat file. However I am still confused by your post on which is correct. However, since it has been shown that the bootsect.bin is the correct file then I will try that. My problem could be that I was using the wrong bootload or could be I was burning it wrong. If the bootsect.bin file is correct why can't we just have it boot that file instead of renaming it? Can we just chain load bootsect.bin?

                          I will also try the command line options you mentioned for mkisofs and see how that goes.

                          Will post my findings.

                          Dennis
                          0

                          #13 User is offline   dlevens Icon

                          • Member
                          • PipPip
                            • Group: Members
                            • Posts: 48
                            • Joined: 17-July 04

                            Posted 22 November 2004 - 02:54 PM

                            ok, well apparantly I had the boot loader correct by extracting the .img and renaming to pro1.dat. Not sure why you mentioned the .cat file as that seems be the wrong one. The md5 file matches both bootsect.bin and my pro1.dat file.

                            The command line options from digiwiz give me this error when I try them.

                            Quote

                            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


                            Looks like my main problem then is making this iso. Using nero also did not work. Would be so much easier if we can find the right command line options and switches and then just make a batch file to do this part.

                            Littlbugger any idea what might be missing in the command line parameters?

                            Dennis
                            0

                            #14 User is offline   LittlBUGer Icon

                            • Main Mirror/Here Since Beginning
                            • PipPipPipPipPipPipPip
                              • Group: Members
                              • Posts: 4,698
                              • Joined: 27-May 04
                              • Location:MT, USA
                              • Interests:Computers and stuff...<br /><br />:-)

                              Post icon  Posted 22 November 2004 - 03:32 PM

                              What I meant before about the bootloader and the .cat file was to NOT use the .cat file but DO USE the .img file, so you did that right.

                              As for the other problems, I have no idea about the command line. I made the instructions based on previous draft instructions that were posted here by someone else. I just got some of the kinks out and made it look nice. I don't really know any other way than that. Every time I've done it with Nero and whatnot (which is easy to me), it works perfectly so I'm not sure what's going on. You made sure to use the latest Nero version and use Nero Burning ROM and not Nero Express and choose CD-ROM (boot)? What version of the UBCD are you using and are you using any custom plugins for the UBCD4Win or any extra Linux Boot CDs? Maybe there's a problem there. :)

                              Also, as for the bootsect.bin file, I didn't know that one would work before, which is why I stated to extract it from your XP CD. If that one works fine, then just renaming it and putting it into the root of the folder (as per the instructions) should work fine. I'm not sure if you can just "chain" it from right where it is without renaming it. Maybe some more testing will reveal the answer.... :)



                              "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." - Albert Einstein
                              "Computers are really strange - first everything works fine, then something goes terribly wrong and nothing works, and then - like a thunderbolt from a clear sky, everything is back to normal again. It's like nothing ever happened. Like the computer were female." - Unknown
                              "Some people say that I must be a terrible person, but it's not true. I have the heart of a young boy. In a jar on my desk." - Stephen King
                              "If there is anything the nonconformist hates worse than a conformist, it's another nonconformist who doesn't conform to the prevailing standard of nonconformity." - Bill Vaughan
                              "Microsoft Windows [n.]: A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition." - Unknown
                              "When a newly married couple smiles, everyone knows why. When a ten-year married couple smiles, everyone wonders why." - Unknown
                              0

                              #15 User is offline   dlevens Icon

                              • Member
                              • PipPip
                                • Group: Members
                                • Posts: 48
                                • Joined: 17-July 04

                                Posted 22 November 2004 - 04:07 PM

                                I was able to get it to work but this could probably be cleaned up a bit. I would like someone more experienced with mkisofs to check the commandline I used.

                                1. Make the UBCD4Windows
                                2. Make the UBCD
                                3. Create a folder ComboUBCD
                                4. From your UBCD4Windows copy everything from the output directory to ComboUBCD
                                5. Make a copy of bootsect.bin (found in the root of your UBCD4Windows) and rename the copy to PRO1.DAT
                                6. Edit the autorun.inf in your ComboUBCD to match this:
                                [autorun]
                                open=Programs\nu2menu\nu2menu.exe
                                ShellExecute=docs\index.html
                                icon=ubcd.ico

                                7. Edit the main.scn located in ComboUBCD\ComboUBCD\boot\menus
                                #
                                # Main Menu
                                #
                                main_menu:
                                set textColor = color[white on black]
                                clear
                                set textColor = color[yellow on blue]
                                print "                            ULTIMATE BOOT CD VER 3.0                            "
                                print "                         http://www.ultimatebootcd.com/                         "
                                print "                                                                                "
                                set textColor = color[white on red]
                                print "                                  [Main Menu]                                   "
                                set textColor = color[white on cyan]
                                print "                                                                                "
                                print "                                                                                "
                                print "                                                                                "
                                print "                                                                                "
                                print "                           [F1] Mainboard Tools                                 "
                                print "                           [F2] Hard Disk Tools                                 "
                                print "                           [F3] Filesystem Tools                                "
                                print "                           [F4] Other Tools                                     "
                                print "                           [F5] User-defined Tools                              "
                                print "                           [F6] DOS/Linux Boot Disks                            "
                                if file[\INSERT\INSERT]
                                then print "                           [F7] INSERT for UBCD                                 "
                                else print "                                                                                "
                                print "                           [F8] ULTIMATE BOOT CD 4 Windows 2.2                  "
                                print "                                                                                "
                                print "                            [1] Boot first hard disk                            "
                                print "                            [2] Boot second hard disk                           "
                                print "                            [0] Drop to console                                 "
                                print "                                                                                "
                                print "                                                                                "
                                print "                                                                                "
                                print "                                                                                "
                                set textColor = color[white on blue]
                                print "        Please select an item (First hard disk will boot after 5 minutes)       "
                                set textColor = color[white on black]
                                
                                #
                                # Actions
                                #
                                getkey 500 script boothdd0.scn
                                clear
                                if ($lastKey == key[f1]); then script mboard.scn
                                if ($lastKey == key[f2]); then script hdd.scn
                                if ($lastKey == key[f3]); then script filesys.scn
                                if ($lastKey == key[f4]); then script others.scn
                                if ($lastKey == key[f5]); then script custom.scn
                                if ($lastKey == key[f6]); then script bootdsk.scn
                                if ($lastKey == key[f7]); then isolinux
                                if ($lastKey == key[f8]); then chain /PRO1.dat
                                if ($lastKey == key[1]); then script boothdd0.scn
                                if ($lastKey == key[2]); then script boothdd1.scn
                                if ($lastKey == key[0]); then goto console
                                goto main_menu
                                
                                #
                                # Drop to console
                                #
                                console:
                                cd /
                                clear
                                help
                                end

                                8. From a DOS prompt or via a batch file run this command
                                mkisofs.exe -J -joliet-long -l -r -iso-level 2 -N -d -relaxed-filenames -boot-load-seg 0x7C0 -boot-load-size 4 -o "D:/Boot CDs/ComboUBCD/iso/comboubcdv52.iso" -b "boot/loader.bin" -no-emul-boot "D:/Boot CDs/ComboUBCD/ComboUBCD/"


                                Step 8 is where things need to be looked at. So far this is where I am at but still looking for the best way to make the iso

                                Dennis

                                This post has been edited by dlevens: 22 November 2004 - 04:43 PM

                                0

                                • (13 Pages)
                                • +
                                • 1
                                • 2
                                • 3
                                • Last »
                                • You cannot start a new topic
                                • This topic is locked

                                1 User(s) are reading this topic
                                0 members, 1 guests, 0 anonymous users