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
append pmedia=ideflash root=boot/legacyos2 lang=en pkeys=de
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 http://www.linuxquestions.org/questi...slinux-899800/ but .. no response.. so perhaps the puppy community will know it now?
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 .
I will have to try like puppy and warry... http://www.linuxquestions.org/questi...on-usb-885774/
perhaps it works
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?
initrd.gz and vmlinuz files are in /boot/legacy
.. sfs files in / (root)
- 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..
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 http://www.linuxquestions.org/questi...0/#post4504739.
|All times are GMT -5. The time now is 10:13 AM.|