Monday 19 February 2018

Add AROS AspireOS Titan to E2B

The AspireOS ISO seems to have a problem booting if we just try to add the ISO to E2B.

Here is how to add it to E2B as a .imgPTN file for MBR and UEFI-32-bit booting.

References

Amiga Board forum

Instructions

1. Download and extract the ISO.

2. Drag-and-drop it onto the MPI_FAT32 Desktop shortcut (you need to install the MPI Tool Kit first).

Note: You will need to increase the suggested size to 800MB (using less, e.g. 700MB seems to cause boot problems). If you want to save your own files to the USB drive, then specify a larger size.

3. Copy the .imgPTN file to your E2B USB drive and run \MAKE_THIS_DRIVE_CONTIGUOUS.cmd to make the file contiguous.

4. Switch to the .imgPTN file (using \_ISO\SWITCH_E2B.exe or by MBR booting to the E2B menu)

5. Edit the \menu.lst file and add the following lines to the bottom of the file (the file should be quite long and full of text if you have the correct one!):

title Aros\n 
configfile /aros.cfg

6. Copy the Aros.cfg file to the USB drive (alternate link for Google Drive here).




Note: The Aros.cfg was made from the \Arch\pc\grub\grub.cfg file from the Titan ISO. Different versions of AROS may require changes.

The Clover boot option may not work correctly. If  your system is a 32-bit UEFI system, try using it's BIOS Boot Selection menu to select the USB-UEFI boot option.

Generic AROS menu

If you are using a different version of AROS, you can append this text to the end of the \menu.lst file.

This menu is more generic and attempts to convert the grub.cfg file into 'grub4dos-speak'. It may therefore work on a wider range of AROS ISOs.

title AROS menu\nConvert grub.cfg to grub4dos menu
if not exist /arch/pc/grub/grub.cfg pause ERROR: /arch/pc/grub/grub.cfg not present!
if not exist /arch/pc/grub/grub.cfg configfile /menu.lst
cat /arch/pc/grub/grub.cfg > (md)0x3000+0xa0
cat --locate=menuentry --replace="    title" (md)0x3000+0xa0
cat --locate={ --replace=\x20 (md)0x3000+0xa0
cat --locate=} --replace=boot\x0a (md)0x3000+0xa0
cat --locate=\" --replace=\x20 (md)0x3000+0xa0
cat --locate=title\x20\x20 --replace=\x20title\x20 (md)0x3000+0xa0
cat --locate=title\x20\x20 --replace=\x20title\x20 (md)0x3000+0xa0
cat --locate=title\x20\x20 --replace=\x20title\x20 (md)0x3000+0xa0
cat --locate=multiboot --replace=kernel\x20\x20\x20 (md)0x3000+0xa0
echo -e title <<< Main Menu\\nBack to Main Menu\nconfigfile /menu.lst\n >> (md)0x3000+0xa0
configfile (md)0x3000+0xa0




2 comments:

  1. So how do you do this under Linux? I have created the E2B USB drive already, and it boots properly (had to do it manually, as the shell script would run in loops, and wanted to look at the entire filesystem on my machine).

    Perhaps an explanation of what the MPI Toolkit is actually doing, and I could manually run the equivalent Linux commands.

    ReplyDelete
    Replies
    1. MPi ToolKit is a .cmd windows batch file. It uses many 3rd party utilies such as ImDisk and 7zip. As it is written in plain text, you can easily see what it does. Good luck!

      Delete