-   Puppy (
-   -   Boot codes for Legacy OS 2 on USB? (

floppy_stuttgart 09-15-2011 07:44 AM

Boot codes for Legacy OS 2 on USB?
the legacy OS 2 dont boot from a FAT32 USB

label legacyOS2 (puppylinux+,old pc)
menu label legacy os2 = puppylinux+, old pc
kernel /boot/legacyos2/vmlinuz
append pmedia=ideflash root=boot/legacyos2 lang=en pkeys=de
initrd /boot/legacyos2/initrd.gz
original from iso cd was root=/dev/ram0 loglevel=3 PMEDIA=idecd

Which boot code should I use?
It say "cannot find Puppy files" before it abort (kernel loads and initrd starts)

(I can boot Puppy, Slitaz.. on this USB with syslinux)

Edit: I just remember I had already a thread here but .. no response.. so perhaps the puppy community will know it now?

Karl Godt 09-27-2011 04:18 AM


append pmedia=ideflash root=boot/legacyos2 lang=en pkeys=de
Looks definitely not right .

This 'root=' tells the kernel which partition to mount after finally booting to look for /sbin/init which would run /etc/rc.d/rc.sysinit , which would do all the stuff to mount /proc and /sys and load the drivers - in Puppy .

The script in the initrd.gz gets changed quite often , and may or may not work with that "root=boot/legacyos2" parameter ; also the kernel .

In puppy the "root=" parameter is used mostly for full installations nowerdays , the root=/dev/ram0 is a very old parameter , which i dont know much about , except that it exists .

It is possible to gunzip the initrd.gz and "mkdir initrd.d && cd ./initrd.d && cat ../initrd | cpio -i -d > ./initrd.d" to read the main file "init" inside there .
The puppymain-forum@murga-linux has examples in the "Howto Section" , and there is a pet called "editinit" out there .

If you put the puppy initrd.gz inside the /legacy_os folder and not the initrd.gz of the legacy_os , the puppy-initrd.gz looks for puppy-dotSFS and puppy-dot2fs|dot3fs|4fs files on the disk|usb . It would not look for legacy_os files .

You could create your own init and initrd file to look for legacy_os files , or just leave the initrd line out , because i think you installed full and legacy_os might not use an init-ial-r-am-d-isk at all to support the boot process with additional modules.

Further I have to say that i don't know anything about legacy_os at all , just had read a few about OS/2 .

floppy_stuttgart 10-06-2011 01:19 PM

hello there,
I will have to try like puppy and warry...
perhaps it works

8-bit 10-12-2011 01:43 AM

I have never had much luck putting the Puppy file in a subdirectory.
You could move them to the root of the USB flash drive and trying the default syslinux.cfg.
Mine that worked with all the Puppy files in the / directory is
default vmlinuz root=/dev/ram0 initrd=initrd.gz PMEDIA=usbflash

I am unsure if you can use the append option to add parameters or not.
You would have to read up on the bootloader to see.
Is your bootloader ldinlinux?

floppy_stuttgart 10-12-2011 12:56 PM


floppy_stuttgart 10-21-2011 04:42 PM

It runs!

initrd.gz and vmlinuz files are in /boot/legacy
.. sfs files in / (root)

parameters are
- root=/dev/ram PMEDIA=ideflash ide=nodma PKEYS=de for a CF 8GB card on IDE adapter
- root=/dev/ram PMEDIA=usbflash PKEYS=de for a SD 8GB card on USB adapter

And: legacy OS 2 is old.. sorry, but I will delete it next time from the CF and SD cards..

unSpawn 10-22-2011 09:05 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of

All times are GMT -5. The time now is 08:56 AM.