Image Map Image Map
Results 1 to 8 of 8

Thread: MINIX works on XTIDE

  1. #1

    Default MINIX works on XTIDE

    I was looking for which *NIX flavour would work on a 5150 with XTIDE it turns out MINIX works flawless. All the others direct access the HDD controller like SCO Xenix and PC/IX.

    And installing MINIX on the CF card it is the best part

    All you need is the POSIX dd command for that either on linux, macOS or CygWin32. Not sure about WSL. And of course a CF to USB adapter. CygWin32 is a bit tricky and you need to run the terminal as administrator.

    Donwload the PCE emulator http://www.hampa.ch/pub/pce/pce-0.2....inix-2.0.2.zip (2.0.2 is the last one to work on PC-XT) and there is a handy hdd image there: the hd0.pimg file. Then you just need to write it to the CF card skipping the very first sector (512 bytes) with the command below.

    WARNING: make sure the correct device for your CF card (in my case /dev/disk3). I do not take any responsibility on that get the wrong device and you can erase your system partition! If the card is mounted with a valid partition you need to unmount it first like on macOS:
    Code:
    diskutil unmountdisk /dev/disk3
    To write the image on CF:
    Code:
    sudo dd if=hd0.pimg bs=512 skip=1 of=/dev/disk3
    Then stick it in your XTIDE and the PC happily boots on MINIX

  2. #2

    Default

    What about next solution:
    - boot from floppy
    - FDISK the CF card
    - make a copy of the first sector of the CF to the floppy using DEBUG floppy
    - copy the whole IMG to the CF card
    - restore the first sector using the floppy

    Just an idea.....
    With kind regards / met vriendelijke groet, Ruud Baltissen

    www.baltissen.org

  3. #3

    Default

    Quote Originally Posted by Ruud View Post
    What about next solution:
    - boot from floppy
    - FDISK the CF card
    - make a copy of the first sector of the CF to the floppy using DEBUG floppy
    - copy the whole IMG to the CF card
    - restore the first sector using the floppy

    Just an idea.....
    Why ? Also the first sector from the PIMG is not a real valid sector but a file header for the emulator. I don't see why all the hassle as a simple DD command is so simple. you don't need a partition to write as raw to a CF card when you direct write to the device: /dev/diskX, or /dev/sdX...

  4. #4
    Join Date
    Jan 2010
    Location
    Central VA
    Posts
    4,138

    Default

    Awesome! Never could get MINIX going on my XT when I tried, back in the day...of course, I knew a lot less then than I do now! Perhaps I'll revisit that, since it's just a matter of swapping Flash media to go between MINIX and DOS.

  5. #5

    Default

    Quote Originally Posted by Retro Canada View Post
    I don't see why all the hassle as a simple DD command is so simple.
    Unfortunately this "sudo dd ..." doesn't work on my Windows machine. So it is not as simple as you think
    With kind regards / met vriendelijke groet, Ruud Baltissen

    www.baltissen.org

  6. #6

    Default

    Quote Originally Posted by Ruud View Post
    Unfortunately this "sudo dd ..." doesn't work on my Windows machine. So it is not as simple as you think
    *CygWin32* and run the terminal as administrator. Don't use sudo in this case, just dd. Finding the correct device is the tricky part.

  7. #7
    Join Date
    Dec 2012
    Location
    Portland Oregon
    Posts
    106

    Default

    Awesome Job! I'm planning to show a Turbo XT at the Vintage Computer Festival Pacific Northwest in march. I'll try to set it up with this info. Many thanks!

  8. #8

    Default

    Quote Originally Posted by Retro Canada View Post
    *CygWin32* and run the terminal as administrator. Don't use sudo in this case, just dd. Finding the correct device is the tricky part.
    You can also play with Win32 Disk Imager, but it will not write a smaller image to larger device, the file must be the *EXACT* size.

    So first you read the full device to a file using win32dsk image, like a 2GB CF will generate a 2GB img and then using any hex-editor like HxD you copy the whole .PMIG file to the beginning of the 2GB image but don't forget to skip the first 512 bytes from the PIMG as they are not a valid sector. So copy from position 512 from PIMG to position 0 of the CF image.

    Then just write the edited 2GB file back to the CF using again the win32dsk imager.

    Yes you choose windows you must suffer. :P

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •