UBCD4Win Forums: Usb Multiboot Ubcd Dos - UBCD4Win Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Usb Multiboot Ubcd Dos

#1 User is offline   KCarney Icon

  • Regular Member
  • PipPipPip
    • Group: BETA Tester
    • Posts: 221
    • Joined: 29-January 07
    • Location:New York

    Posted 19 November 2009 - 12:46 PM

    So I'm looking to create menu entries for some new multiboot plugins and while I'm at it try to make one for UBCD(dos) and I have a few questions for anyone who may have tried to do this already.

    Which preexisting multiboot plugin would make a good template for creating grub4dos OR syslinux menu entries?

    I took a brief look through some of the current multiboot plugins and figured grub4dos looks to be the easiest, though I will try syslinux as well. Any input would be most helpful.
    0

    #2 User is offline   cdob Icon

    • Special Guest
    • PipPipPipPipPipPip
      • Group: Moderator & Development
      • Posts: 1,387
      • Joined: 19-October 05

      Posted 19 November 2009 - 02:00 PM

      UBCD V5.0RC1 http://ultimatebootc...opic.php?t=2131

      menu.lst
      title UBCD 5.0RC1
      ls /images/ubcd50RC1.iso || find --set-root /images/ubcd50RC1.iso
      map /images/ubcd50RC1.iso (0xff)
      map --hook
      root (0xff)
      configfile /ubcd/menus/grub4dos/main.lst


      syslinux, use grub4dos grub.exe
      LABEL UBCD 5.0RC1
        KERNEL grub.exe
        APPEND --config-file="timeout 0;default 0;title UBCD 5.0;ls /images/ubcd50RC1.iso || find --set-root /images/ubcd50RC1.iso;map /images/ubcd50RC1.iso (0xff);map --hook;root (0xff);configfile /ubcd/menus/grub4dos/main.lst"
        TEXT HELP
        Runs UltimateBootCD for DOS 5.0 RC1
        ENDTEXT

      0

      #3 User is offline   KCarney Icon

      • Regular Member
      • PipPipPip
        • Group: BETA Tester
        • Posts: 221
        • Joined: 29-January 07
        • Location:New York

        Posted 19 November 2009 - 02:24 PM

        Forgive the noobishness... but from existing multiboot plugins I can't tell what goes where lol
        0

        #4 User is offline   pcuser Icon

        • Project Programmer
        • PipPipPipPipPipPipPip
          • Group: Moderator & Development
          • Posts: 3,822
          • Joined: 20-November 04
          • Gender:Male
          • Location:Kneebrasskee

          Posted 19 November 2009 - 02:47 PM

          Rename your UBCD iso to ubcd50RC1.iso and put it in the Images folder on your usb drive then edit menu.lst if you're using Grub4dos or Syslinux\Syslinux.cfg if using Syslinux to add the entries cdob provided.
          If you're afraid of taking any chances then the chances are great that you will never learn anything

          Multiboot Plugins - UBUSB (Ultimate Boot USB) - EzPcFix - RootKitty - Network Configuration Utility - UnIsoFS - A Small Linux Distro - SELogger - HashME - WSock - My Paypal
          0

          #5 User is offline   KCarney Icon

          • Regular Member
          • PipPipPip
            • Group: BETA Tester
            • Posts: 221
            • Joined: 29-January 07
            • Location:New York

            Posted 19 November 2009 - 03:32 PM

            Perfect, thank you it worked. I'll try to figure out making a plugin from what you've given me. I'd hate to be copying those files to the USB after every build.
            0

            #6 User is offline   KCarney Icon

            • Regular Member
            • PipPipPip
              • Group: BETA Tester
              • Posts: 221
              • Joined: 29-January 07
              • Location:New York

              Posted 19 November 2009 - 05:40 PM

              I have it working, mostly. I'll post the contents of the plugin files tomorrow morning. BCDW fails, but grub works. I didn't have time to test syslinux yet, but I'm sure it will be ok.
              0

              #7 User is offline   cdob Icon

              • Special Guest
              • PipPipPipPipPipPip
                • Group: Moderator & Development
                • Posts: 1,387
                • Joined: 19-October 05

                Posted 19 November 2009 - 06:04 PM

                View PostKCarney, on 19 November 2009 - 03:32 PM, said:

                making a plugin


                Add isolinux and grub4dos. Use any plugin you like.
                [WinntDirectories]
                b="isolinux",2
                c="images",2
                
                files\isolinux\isolinux.bin=b,,1
                files\grub4dos\grub.exe=c,,1

                ; ubcd.inf
                ;
                ; Created by Hilander999 for www.UBCD4WIN.COM
                ; Modified by rdsok, xibur and cdob
                
                [Version]
                Signature= "$Windows NT$"
                
                [PEBuilder]
                Name="!MultiBoot: UltimateBootCD for DOS 5.0 RC1"
                Enable=1
                
                [WinntDirectories]
                a="images",2
                
                [SourceDisksFiles]
                files\ubcd50RC1.iso=a,ubcd50RC1.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


                default_Grub4dos.ini
                default 0
                timeout 0


                ubcd_Grub4dos.ini
                 
                title UBCD 5.0
                ls /images/ubcd50RC1.iso || find --set-root /images/ubcd50RC1.iso
                map /images/ubcd50RC1.iso (0xff)
                map --hook
                root (0xff)
                configfile /ubcd/menus/grub4dos/main.lst

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

                0

                #8 User is offline   KCarney Icon

                • Regular Member
                • PipPipPip
                  • Group: BETA Tester
                  • Posts: 221
                  • Joined: 29-January 07
                  • Location:New York

                  Posted 19 November 2009 - 09:03 PM

                  I will compare your plugin to the work I did earlier today to see what can be merged. Getting BCDW working will be my point of focus for tomorrow so we can put together this plugin for general use.
                  0

                  #9 User is offline   KCarney Icon

                  • Regular Member
                  • PipPipPip
                    • Group: BETA Tester
                    • Posts: 221
                    • Joined: 29-January 07
                    • Location:New York

                    Posted 20 November 2009 - 09:33 AM

                    I have tested both my plugin and your plugin, BCDW and syslinux are non-functional thus far;
                    Posted Image
                    Syslinux will just reload the main boot menu when UBCD5 is chosen

                    Below is the plugin I made yesterday, though yours is better B)

                    ubcd5.inf
                    ; ubcd5.inf
                    ;
                    ; Created by Hilander999 for www.UBCD4WIN.COM
                    ; Modified by rdsok and xibur
                    ; Modified again by Kevin Carney
                    
                    [Version]
                    Signature= "$Windows NT$"
                    
                    [PEBuilder]
                    Name="!MultiBoot: UltimateBootCD 5.0 for DOS"
                    Enable=1 
                    help="\"
                    config=
                    
                    [WinntDirectories] 
                    a="images",2
                    b="isolinux",2
                    
                    [Append]
                    BCDW\BCDW.INI,UBCD5_bcdw.ini
                    syslinux\syslinux.cfg,UBCD5_syslinux.ini
                    menu.lst,UBCD5_grub4dos.ini
                    
                    [SourceDisksFolders]
                    UBCD5.iso=a,,1
                    


                    ubcd5_bcdw.ini
                    \Images\UBCD5.iso; Launch "The Ultimate BootCD 5.0"; ^ This is a large collection of helpful console-mode utilities.
                    
                    


                    ubcd_grub4dos.ini
                    title UBCD 5.0RC1
                    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


                    ubcd_syslinux.inf
                    LABEL UBCD 5.0
                      KERNEL grub.exe
                      APPEND --config-file="timeout 0;default 0;title UBCD 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


                    So how do we fix BCDW? Right now I am trying to figure it out by comparing the memtest bcdw inf

                    This post has been edited by KCarney: 20 November 2009 - 09:55 AM

                    0

                    #10 User is offline   cdob Icon

                    • Special Guest
                    • PipPipPipPipPipPip
                      • Group: Moderator & Development
                      • Posts: 1,387
                      • Joined: 19-October 05

                      Posted 20 November 2009 - 10:42 AM

                      BCDW does work fine at given plugin here.

                      Did you add grub.exe?
                      And for syslinux to \Syslinux\ too?

                      Case and file names are importand:
                      ubcd50RC1.iso is neither UBCD5.iso nor ubcd5.iso.

                      Hence the

                      Quote

                      [SourceDisksFiles]
                      files\ubcd50RC1.iso=a,ubcd50RC1.iso,1

                      0

                      #11 User is offline   KCarney Icon

                      • Regular Member
                      • PipPipPip
                        • Group: BETA Tester
                        • Posts: 221
                        • Joined: 29-January 07
                        • Location:New York

                        Posted 20 November 2009 - 10:50 AM

                        cdob said:

                        Did you add grub.exe?
                        And for syslinux to \Syslinux\ too?

                        To what? I posted the entire content of the multiboot plugin

                        cdob said:

                        Case and file names are importand:
                        ubcd50RC1.iso is neither UBCD5.iso nor ubcd5.iso.

                        I renamed the ISO in my plugin, but I'm not using mine atm just yours.
                        0

                        #12 User is offline   cdob Icon

                        • Special Guest
                        • PipPipPipPipPipPip
                          • Group: Moderator & Development
                          • Posts: 1,387
                          • Joined: 19-October 05

                          Posted 20 November 2009 - 11:48 AM

                          View PostKCarney, on 20 November 2009 - 10:50 AM, said:

                          To what?


                          View Postcdob, on 19 November 2009 - 06:04 PM, said:

                          Add isolinux and grub4dos. Use any plugin you like.

                          Both boot loaders are not part of UBCD plugin.

                          Create a new basic boot loader plugin.
                          Or edit a existing boot plugin, e.g. Multiboot-003\bcdw\bcdw.inf
                          0

                          #13 User is offline   KCarney Icon

                          • Regular Member
                          • PipPipPip
                            • Group: BETA Tester
                            • Posts: 221
                            • Joined: 29-January 07
                            • Location:New York

                            Posted 20 November 2009 - 11:54 AM

                            Ahhhh now I understand what you meant. Thank you for your patience, this is pretty new to me.
                            0

                            #14 User is offline   KCarney Icon

                            • Regular Member
                            • PipPipPip
                              • Group: BETA Tester
                              • Posts: 221
                              • Joined: 29-January 07
                              • Location:New York

                              Posted 20 November 2009 - 01:47 PM

                              Grub4dos and BCDW are functional but when booted using syslinux it just reloads the main boot screen.
                              0

                              #15 User is offline   cdob Icon

                              • Special Guest
                              • PipPipPipPipPipPip
                                • Group: Moderator & Development
                                • Posts: 1,387
                                • Joined: 19-October 05

                                Posted 20 November 2009 - 03:40 PM

                                View PostKCarney, on 20 November 2009 - 01:47 PM, said:

                                Grub4dos and BCDW are functional but when booted using syslinux it just reloads the main boot screen.

                                View Postcdob, on 20 November 2009 - 10:42 AM, said:

                                Did you add grub.exe?
                                And for syslinux to \Syslinux\ too?
                                Copy grub.exe to \Syslinux\.
                                Adjust your boot loader plugin.
                                0

                                • (2 Pages)
                                • +
                                • 1
                                • 2
                                • You cannot start a new topic
                                • You cannot reply to this topic

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