Netshroud Posted August 30, 2009 Share Posted August 30, 2009 I wrote up a little tool to automatically convert Syslinux and ISOlinux configuration to Grub/Grub4DOS and Grub2 menu entries GMU.zip (9.68kb) MD5:86dc6687bb1730c719e64fba3c3b905b VirusTotal (clean, SunBelt thought it was corrupted) Let me know how it goes. If it crashes, please send me the config file you tried to load. (Yes, I know it has warped entries for things like "Boot from first hard disk", and it has wierd additions for Ubuntu.) I'm working on getting it to automatically add code to mount ISO files, as well as the parameter in "kernel" or "linux" to get the kernel to scan the ISO file. Quote Link to comment Share on other sites More sharing options...
Bolts Posted August 30, 2009 Share Posted August 30, 2009 Nice. this will definitely save some time. However, I get the following error when I run it on Win7 x64: Unhandled exception ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at GMU.frm_ConfigInput.ChangeOutputFormat(Int32 format) at GMU.frm_ConfigInput.frm_ConfigInput_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- GMU Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Bolts/AppData/Local/Temp/7zO3A61.tmp/GMU.exe ---------------------------------------- Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Quote Link to comment Share on other sites More sharing options...
Netshroud Posted August 30, 2009 Author Share Posted August 30, 2009 Fixed, try it from the new link (edited OP) Quote Link to comment Share on other sites More sharing options...
Wetwork Posted September 1, 2009 Share Posted September 1, 2009 Downloaded the program today *Great idea BTW" tried to use it to get the config from an isolinux.cfg file for Kasperskis and got this exception Run from a WinXp SP3 system is it also possible to try to get it to work from .img files?? i have a copy of MHDD that i would love to get on the multiboot and have had no luck in trying to get it to work yet.... See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length   at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)   at GMU.frm_ConfigInput.BootManagerEntry.ExtractString(String before, String after, String haystack)   at GMU.frm_ConfigInput.BootManagerEntry..ctor(String input_isosyslinux)   at GMU.frm_ConfigInput.LoadInputConfig(String filename)   at GMU.frm_ConfigInput.OpenConfigFileToolStripMenuItem_Click(Object sender, EventArgs e)   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)   at System.Windows.Forms.ToolStrip.WndProc(Message& m)   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3082 (QFE.050727-3000)     CodeBase: file:///g:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- GMU     Assembly Version: 1.0.0.0     Win32 Version: 1.0.0.0     CodeBase: file:///G:/DOCUME~1/MIKELI~1.000/LOCALS~1/Temp/7zOFEE.tmp/GMU.exe ---------------------------------------- Microsoft.VisualBasic     Assembly Version: 8.0.0.0     Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///G:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///G:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///G:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///G:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting     Assembly Version: 2.0.0.0     Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)     CodeBase: file:///G:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration>     <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Quote Link to comment Share on other sites More sharing options...
Netshroud Posted September 1, 2009 Author Share Posted September 1, 2009 Can you send me the config file Kasperskis is using, or post it here? Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted September 1, 2009 Share Posted September 1, 2009 is it also possible to try to get it to work from .img files?? i have a copy of MHDD that i would love to get on the multiboot and have had no luck in trying to get it to work yet.... What have you tried and what errors do you get? Post it in another topic as to not get Psychosis' post off topic. Quote Link to comment Share on other sites More sharing options...
Wetwork Posted September 1, 2009 Share Posted September 1, 2009 Can you send me the config file Kasperskis is using, or post it here? sent config file via PM Psy thanks alot :) Quote Link to comment Share on other sites More sharing options...
Wetwork Posted September 12, 2009 Share Posted September 12, 2009 Psychosis Has there been any updates to this project. its a fantastic idea and really hope that it didn't die a crib death.... Quote Link to comment Share on other sites More sharing options...
Netshroud Posted September 12, 2009 Author Share Posted September 12, 2009 I've been busy preparing for HSC. I have limited time to put into this, but I'll give more time to it in a couple of months. Quote Link to comment Share on other sites More sharing options...
zachdothack Posted October 31, 2009 Share Posted October 31, 2009 Couldn't get it to run in Win7. Kept getting errors to everything I tried to load. -_- Quote Link to comment Share on other sites More sharing options...
Wetwork Posted November 1, 2009 Share Posted November 1, 2009 Couldn't get it to run in Win7. Kept getting errors to everything I tried to load. -_- He is still working on it, I for one will be happy when he gets it done because it will be a great utility Quote Link to comment Share on other sites More sharing options...
Netshroud Posted November 2, 2009 Author Share Posted November 2, 2009 I've had to put it on hold completely, but I'll continue to work on it in a couple of weeks - almost finished exams :D Quote Link to comment Share on other sites More sharing options...
sch40 Posted December 8, 2009 Share Posted December 8, 2009 I've had to put it on hold completely, but I'll continue to work on it in a couple of weeks - almost finished exams :D Great idea! I just caught on to this thread, but I ran into similar JIT exceptions when I tried to open various syslinux/isolinux CFGs. Have been able to take a look at the utility again? Thanks, sch40 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.