It is currently Sun Jul 27, 2014 8:15 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: How to add HCi Memtest x86 and x64?
PostPosted: Wed Jul 28, 2010 10:36 pm 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
I have HCi Memtest Deluxe x86 and x64. Both come in their own ISO files.

The x86 version's ISO file is structured like this:

MemTestDlx4.0a 32 bit.iso
Code:
- chatty.bat
- manual.html
- readme.txt
- This is the deluxe MemTest CD.txt
- memTestPro.exe
- memTestPro.zip
     (inside this zip file)
     - chatty.bat
     - manual.html
     - memTestPro.exe
     - readme.txt


================

The x64 version's ISO file is structured like this:

MemTest 4.0r1 64 bit.iso
Code:
- BOOT (Folder)
    - ISOLINUX (Folder)
    - BZIMAGE. (File type just says "File")
    - INITRD.GZ
        (inside this GZ file)
        - initrd (File type just says "File")


================================================================================

Anyone know how to add both ISOs to UBCDv5?


Last edited by IsLNdbOi on Thu Jul 29, 2010 2:26 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 2:14 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Any link to the actual ISO files or website?

The "MemTest 4.0r1 64 bit.iso" should work with something like this:
gzip the iso with 7-zip (not necessary, but may save some space)
Place the iso (gzipped or not) in /ubcd/images/ (choose a name, e.g.: memtest4.0r1_64.iso)
in /ubcd/custom/custom.cfg:
Code:
LABEL memtest_40r1_64bit
MENU LABEL MemTest 4.0r1 64 bit
LINUX /boot/syslinux/memdisk
INITRD /ubcd/images/memtest4.0r1_64.iso
APPEND iso


Looking at the filenames inside "MemTestDlx4.0a 32 bit.iso", it doesn't seem to be a bootable ISO.
Maybe it uses floppy emulation and is the floppy image hidden.
Open the iso with 7-zip and see if you see a folder [BOOT]. If it is there, tell me the filename.

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 2:34 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Ok, installed 7-Zip and opened the 32-bit ISO. Found this folder in it:
[BOOT]

inside the [BOOT] folder is:
Bootable_1.44M.img


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 2:47 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
It uses floppy emulation (and it has hidden the floppy image file on the ISO):
Code:
LABEL memtest_40a_32bit
MENU LABEL MemTestDlx4.0a 32 bit
LINUX /boot/syslinux/memdisk
INITRD /ubcd/images/memtest_40a_32.iso
APPEND iso raw

Maybe 'raw' isn't needed (depends on what it inside the floppy image).

You also can extract the floppy image file [BOOT]/Bootable_1.44M.img, gzip it an place it in /ubcd/images/memtest_40_32bit.img.gz.
Code:
LABEL memtest_40a_32bit_floppy
MENU LABEL MemTestDlx4.0a 32 bit (floppy)
LINUX /boot/syslinux/memdisk
INITRD /ubcd/images/memtest_40_32bit.img.gz
APPEND raw

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 2:55 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Do I need to GZip the Bootable_1.44M.img file as well?

Inside the Bootable_1.44M.img:
Code:
XEOS (Folder)
IBMBIO.COM
IBMDOS.COM
COMMAND.COM
AUTOEXEC.BAT
CONFIG.SYS

   - Inside the XEOS folder:
      - mem (Folder)
      - ANSI.SYS
      - MEMTEST.EXE
      - MODE.COM
      - CHOICE.COM
      - loadlin.exe
      - bzimage (no extension)
      - start.bat
      - initrd.gz

         - Inside the mem folder:
           - CWSDPMI.EXE

         - Inside initrd.gz:
           - initrd (no extension)


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 3:29 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
No, you don't "need" to gzip the floppy image, but it will boot faster if you do so (a smaller file needs to be read from the CD/USB/hard drive).

The floppy image will finally boot a linux kernel (bzImage) and initrd (initrd.gz) with the loadlin.exe (= load linux from a dos environment) program.

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 4:12 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Icecube wrote:
It uses floppy emulation (and it has hidden the floppy image file on the ISO):
Code:
LABEL memtest_40a_32bit
MENU LABEL MemTestDlx4.0a 32 bit
LINUX /boot/syslinux/memdisk
INITRD /ubcd/images/memtest_40a_32.iso
APPEND iso raw

Maybe 'raw' isn't needed (depends on what it inside the floppy image).

You also can extract the floppy image file [BOOT]/Bootable_1.44M.img, gzip it an place it in /ubcd/images/memtest_40_32bit.img.gz.
Code:
LABEL memtest_40a_32bit_floppy
MENU LABEL MemTestDlx4.0a 32 bit (floppy)
LINUX /boot/syslinux/memdisk
INITRD /ubcd/images/memtest_40_32bit.img.gz
APPEND raw


So, seeing what's in the floppy image, is the "raw" still needed?


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Thu Jul 29, 2010 5:31 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
IsLNdbOi wrote:
So, seeing what's in the floppy image, is the "raw" still needed?

I think it isn't needed in this case.
Only some PCs need the 'raw' parameter in some cases.
For example, my PC will show Invalid Opcodes messages when I boot the UBCD FreeDOS image without 'raw':
viewtopic.php?f=7&t=1845

I only need 'raw' when I boot DOS with some memory managers.

I don't see any memory manager used in your floppy image, so you won't need to add 'raw'.

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Fri Jul 30, 2010 3:07 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Wait, so the only thing I need from "MemTestDlx4.0a 32 bit.iso" is that hidden "[BOOT]" folder? I don't need anything else from the "MemTestDlx4.0a 32 bit.iso" file?

Or do I need to extract EVERYTHING from the "MemTestDlx4.0a 32 bit.iso" (including the [BOOT] folder) and use 7-Zip to put everything into one gzip file?


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Fri Jul 30, 2010 4:50 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
You only need this file from the ISO: [BOOT]/Bootable_1.44M.img, the other files in the ISO aren't used when you boot the ISO.
But you can boot the whole ISO too, if you don't want to extract the file from the 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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 12:25 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Ok, now I'm confused. If the only file I take from the 32-bit ISO is the "Bootable_1.44M.img" file, how will Memtest Deluxe run? Aren't all of the other files in the ISO the actual Memtest Deluxe program?

So, to get the 64-bit ISO to work, I will:
- gzip "MemTest_v4.0r1_x64.iso"
- add the gzip-ed "MemTest_v4.0r1_x64.iso" to the /ubcd/images directory

- Edit the custom.cfg file by adding:
Code:
    LABEL MemTest_v4.0r1_x64
    MENU LABEL MemTest v4.0r1 x64
    LINUX /boot/syslinux/memdisk
    INITRD /ubcd/images/MemTest_v4.0r1_x64.iso
    APPEND iso


For the 32-bit ISO to work, I will:
- extract ONLY the "Bootable_1.44M.img" file from the hidden [BOOT] folder in the 32-bit ISO
- gzip the "Bootable_1.44.img" file
- add the gzip-ed "Bootable_1.44.img" file to /ubcd/images directory

- Edit the custom.cfg file by adding:
Code:
    LABEL MemTest_Deluxe_v4.0a_x86
    MENU LABEL MemTest Deluxe v4.0a x86
    LINUX /boot/syslinux/memdisk
    INITRD /ubcd/images/MemTest_Deluxe_v4.0a_x86.img.gz
    APPEND raw



Does that all look right? Please correct me where you see errors.

Thanks!


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 12:29 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
It looks good.
You only need to see that the INITRD line matches a real filename.

You can test if a virtual machine (VirtualBox, Qemu, VMware, ...) to see if your modifications work like expected.
Quote:
Ok, now I'm confused. If the only file I take from the 32-bit ISO is the "Bootable_1.44M.img" file, how will Memtest Deluxe run? Aren't all of the other files in the ISO the actual Memtest Deluxe program?

The files you see in the iso are Windows executables. When you boot the 32-bit ISO, the Windows executables aren't executed at all. It will boot the hidden floppy image, which contains IBMDOS as OS. IBMDOS will finally execute loadlin.exe (= Load Linux from dos environment). loadlin.exe will boot the Linux kernel (bzImage) and initrd (initrd.gz).
Floppy image inside 32-bit iso:
Code:
XEOS (Folder)
IBMBIO.COM ==> IBMDOS
IBMDOS.COM ==> IBMDOS
COMMAND.COM
AUTOEXEC.BAT
CONFIG.SYS

   - Inside the XEOS folder:
      - mem (Folder)
      - ANSI.SYS
      - MEMTEST.EXE
      - MODE.COM
      - CHOICE.COM
      - loadlin.exe ==> Boot Linux kernel from DOS
      - bzimage (no extension) ==> Linux kernel
      - start.bat
      - initrd.gz ==> initrd used together with the linux kernel

         - Inside the mem folder:
           - CWSDPMI.EXE


64-bit iso:
Code:
- BOOT (Folder)
    - ISOLINUX (Folder)
    - BZIMAGE. (File type just says "File") ==> Linux kernel (booted directly from ISOLINUX bootloader)
    - INITRD.GZ ==> initrd used together with linux kernel

So finally both ISO's will boot a linux kernel (bzImage) and initrd (initrd.gz).
The 32-bit iso will first run IBMDOS (probably for determining which parameters to pass to the linux kernel based on the PC configuration). While the 64-bit iso will just boot directly from the ISOLINUX bootloader.

If you "really" want, you can extract only bzImage and initrd.gz from the floppy image of the 32-bit iso and boot Memtest Deluxe with only these files. You only need to extract the parameters which are passed to the linux kernel from the dos batch files.

I don't have the actual ISO's, so I am just basing all this on the filenames inside the ISO's.

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 12:32 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Can I email or PM the ISOs to you so you can check?

Thanks again!


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 12:36 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
IsLNdbOi wrote:
Can I email or PM the ISOs to you so you can check?

You can PM me, but I am pretty sure it works like I said.

Get a virtual machine (VirtualBox, ...) and attach the Bootable_1.44M.img as floppy drive and set the boot order to floppy as first item. You will see that it will boot.

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 1:11 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Icecube, I've PM'd you a download link for the file. Thanks again!

Oh, one thing. When I try to extract "Bootable_1.44M.img" with 7-zip, I get this message:

Data error in "XEOS/bzImage". File is broken.



The file is there in the folder I extracted to, but the size is 0KB and when I open it with notepad, it's completely empty.


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 8:52 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
If this bzImage file is becoming corrupt when trying to extract it with 7-zip, does that mean it really is corrupt or that 7-zip is somehow corrupting it during extraction?

I tried extracting it with MagicISO and there weren't any issues using that program to extract it.

Also, when extracting with 7-zip the file was 0KB and blank when opened with notepad. When extracted with MagicISO it is 511KB and is definitely not blank when opened w/ notepad.


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 8:59 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
It is very likely a bug in the handling of FAT partitions in 7-zip.
I can extract the file with mcopy of mtools just fine.

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sat Jul 31, 2010 11:17 pm 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
Ok, so this is what I've done:
- extract ONLY the "Bootable_1.44M.img" file from the hidden [BOOT] folder in the 32-bit ISO
- gzip the "Bootable_1.44.img" file
- rename the gzip-ed "Bootable_1.44.img" file to "MemTest_Deluxe_v4.0a_x86.img.gz"
- add the gzip-ed "MemTest_Deluxe_v4.0a_x86.img.gz" to /ubcd/images directory

- Edit the custom.cfg file by adding:
Code:
    LABEL MemTest_Deluxe_v4.0a_x86
    MENU LABEL MemTest Deluxe v4.0a x86
    LINUX /boot/syslinux/memdisk
    INITRD /ubcd/images/MemTest_Deluxe_v4.0a_x86.img.gz
    APPEND raw


==========

- gzip "MemTest_v4.0r1_x64.iso"
- resulting file is: "MemTest_4.0r1_x64.iso.gz"
- add the gzip-ed "MemTest_4.0r1_x64.iso.gz" to the /ubcd/images directory

- Edit the custom.cfg file by adding:
Code:
    LABEL MemTest_v4.0r1_x64
    MENU LABEL MemTest v4.0r1 x64
    LINUX /boot/syslinux/memdisk
    INITRD /ubcd/images/MemTest_v4.0r1_x64.iso
    APPEND iso



===============================================================

Burned the CD, tried booting from it and got this:

Loading Operating System...

ISOLINUX 3.86 2010-04-01 ETCDisolinux:
Image checksum error, sorry...

Boot failed: press a key to retry...


Top
 Profile  
 
 Post subject: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sun Aug 01, 2010 12:55 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
IsLNdbOi wrote:
O

Burned the CD, tried booting from it and got this:

Loading Operating System...

ISOLINUX 3.86 2010-04-01 ETCDisolinux:
Image checksum error, sorry...

Boot failed: press a key to retry...

Never use a ISO editor (ISOMagic, ...) to edit a bootable ISO image.
Recreate the iso with ubcd2iso (uses mkisofs to recreate the ISO from scratch).

See for instructions: http://wiki.ultimatebootcd.com/index.ph ... emastering

Test the new created ISO in a virtual machine, before burning the ISO to CD-R(W).

_________________
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: Re: How to add HCi Memtest x86 and x64?
PostPosted: Sun Aug 01, 2010 8:03 am 
Offline

Joined: Sun Feb 17, 2008 3:07 am
Posts: 49
That was the first time I had ever received that error and I've always used UltraISO to edit UBCD and save changes I've made.


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 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