LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Closed Thread
  Search this Thread
Old 09-15-2011, 07:44 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Boot codes for Legacy OS 2 on USB?


Hello,
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
TEXT HELP
original from iso cd was root=/dev/ram0 loglevel=3 PMEDIA=idecd
ENDTEXT

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?

Last edited by floppy_stuttgart; 09-15-2011 at 01:22 PM.
 
Old 09-27-2011, 04:18 AM   #2
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Quote:
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 .
 
Old 10-06-2011, 01:19 PM   #3
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
hello there,
I will have to try like puppy and warry... http://www.linuxquestions.org/questi...on-usb-885774/
psubdir=boot/legacyos2
perhaps it works
 
Old 10-12-2011, 01:43 AM   #4
8-bit
Member
 
Registered: Jan 2009
Location: Southern Oregon under a rock.
Distribution: Puppy 431 SCSI, Lucid 520, Slacko, Win 7
Posts: 131

Rep: Reputation: 49
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?
 
Old 10-12-2011, 12:56 PM   #5
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
extlinux
 
Old 10-21-2011, 04:42 PM   #6
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
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..

Last edited by floppy_stuttgart; 10-21-2011 at 04:48 PM.
 
Old 10-22-2011, 09:05 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
  


Closed Thread

Tags
boot options, legacy, puppy, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to start Legacy-OS-2 from USB? Which boot codes in syslinux? floppy_stuttgart Linux - Newbie 10 04-05-2015 03:20 AM
[SOLVED] Start PapugLinux from USB; which boot codes? floppy_stuttgart Linux - Newbie 4 11-30-2011 01:53 PM
PS/2 mouse not working with 'Legacy USB' option kushalkoolwal Linux - Hardware 7 02-23-2006 12:20 AM
Legacy USB won't disable king_scott_2 Linux - Hardware 0 12-14-2005 11:06 PM
Boot Problems - USB Legacy AnthonyJAttard Linux - Hardware 4 11-26-2004 04:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 05:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration