LinuxQuestions.org
Help answer threads with 0 replies.
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
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Tiny Core Linux 4.5.6, knoppix 6.7, antixM8.11, partedmagic, slitaz 3.0,PuppyLinux,Ubuntu 10.04
Posts: 523
Blog Entries: 1

Rep: Reputation: 37
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: 308

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
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Tiny Core Linux 4.5.6, knoppix 6.7, antixM8.11, partedmagic, slitaz 3.0,PuppyLinux,Ubuntu 10.04
Posts: 523
Blog Entries: 1

Original Poster
Rep: Reputation: 37
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: 48
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
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Tiny Core Linux 4.5.6, knoppix 6.7, antixM8.11, partedmagic, slitaz 3.0,PuppyLinux,Ubuntu 10.04
Posts: 523
Blog Entries: 1

Original Poster
Rep: Reputation: 37
extlinux
 
Old 10-21-2011, 04:42 PM   #6
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Tiny Core Linux 4.5.6, knoppix 6.7, antixM8.11, partedmagic, slitaz 3.0,PuppyLinux,Ubuntu 10.04
Posts: 523
Blog Entries: 1

Original Poster
Rep: Reputation: 37
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: 26,944
Blog Entries: 54

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Start PapugLinux from USB; which boot codes? floppy_stuttgart Linux - Newbie 4 11-30-2011 01:53 PM
[SOLVED] How to start Legacy-OS-2 from USB? Which boot codes in syslinux? floppy_stuttgart Linux - Newbie 9 10-21-2011 04:43 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


All times are GMT -5. The time now is 05:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration