Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-27-2011, 09:53 AM
|
#1
|
|
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: 397
Rep:
|
How to start Legacy-OS-2 from USB? Which boot codes in syslinux?
Hello,
I loaded the legacy OS 2 files from the ISO (vmlinuz, initrd.gz and pup_214.sfs) into a CF card (on an IDE adapter in my old PC). This CF card can be mounted on an USB adapter later for booting diverse PCs.
It boots..
and stop later with an error.
... looking for Puppy in .. (diverse devices) DONE
... looking for pup_save.2fs in .. (diverse devices) DONE
... (STOP TO PROMPT) cannot find Puppy in idehd.
Question: what is the reason of stop? should I perhaps use a specific boot code?
my syslinux.cfg has
label puppy
kernel vmlinuz
append initrd=initrd.gz PMEDIA=usbflash
|
|
|
|
08-27-2011, 10:18 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Posts: 2,280
Rep: 
|
It's not finding your root partition after it loads the kernel and initrd. Are you having this problem when the CF card is in the ide adapter or only afterwards when you try to boot with the card in a USB adapter? If the lateer, it may be that your initrd does not contain the necessary kernel modules for usb mass storage devices. If the former, I can only note that this line:
append initrd=initrd.gz PMEDIA=usbflash
would normally look like:
append initrd=initrd.gz root=<insert root partition device file>
I'm not sure to what extent syslinux supports the use of partition labels so that may be a problem. Also, If your ide adapter requires special driver modules, again, your initrd may not include them.
Last edited by kilgoretrout; 08-27-2011 at 10:21 AM.
|
|
|
|
08-27-2011, 10:28 AM
|
#3
|
|
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: 397
Original Poster
Rep:
|
Quote:
Originally Posted by kilgoretrout
It's not finding your root partition after it loads the kernel and initrd. Are you having this problem when the CF card is in the ide adapter or only afterwards when you try to boot with the card in a USB adapter? If the lateer, it may be that your initrd does not contain the necessary kernel modules for usb mass storage devices. If the former, I can only note that this line:
append initrd=initrd.gz PMEDIA=usbflash
would normally look like:
append initrd=initrd.gz root=<insert root partition device file>
|
Hello,
I only tested it in the IDE adapter (I have no PC home which are USB boot compatible).
I will test with a root path. In this case is root=/dev/hdb1 the correct path?
Because in my other system TinyCoreLinux the CF on IDE is recognized as hdb1.
But perhaps not here. Is it perhaps a sdb1 .. or other?
|
|
|
|
08-27-2011, 12:34 PM
|
#4
|
|
Senior Member
Registered: Oct 2003
Posts: 2,280
Rep: 
|
It will be one or the other depending on how your kernel on the CF card is compiled. If it uses the legacy ide modules, the device will be designated hdb1. If it uses the modern libata modules, the device will be designated sdb1. It may be that your CF card to ide adapter requires the older legacy modules to function properly or it may just be Tiny Core uses legacy instead of libata by default. All modern linux distros that I'm aware of switched to libata a long time ago.
If your system is capable of booting from a cdrom, you may want to download Parted Magic here:
http://partedmagic.com/doku.php
Burn it to a CD-R as an image, boot up with it with the CF-card attached and see how the Parted Magic partition editor detects your CF-card.
Last edited by kilgoretrout; 08-27-2011 at 02:12 PM.
|
|
|
|
08-27-2011, 03:07 PM
|
#5
|
|
Guru
Registered: Mar 2008
Posts: 8,526
|
Get rid of the cf to usb and get a usb flash drive maybe.
|
|
|
|
08-31-2011, 12:44 PM
|
#6
|
|
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: 397
Original Poster
Rep:
|
Quote:
Originally Posted by jefro
Get rid of the cf to usb and get a usb flash drive maybe.
|
ok, but 5 other distros boots. so, this one should boot.
|
|
|
|
08-31-2011, 03:21 PM
|
#7
|
|
Guru
Registered: Mar 2008
Posts: 8,526
|
That is not logical. Another distro does not prove that this one will work. It only proves others will work.
See kilgoretrout's reply.
|
|
|
|
09-01-2011, 01:24 AM
|
#8
|
|
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: 397
Original Poster
Rep:
|
Quote:
Originally Posted by jefro
That is not logical. Another distro does not prove that this one will work. It only proves others will work.
|
ok ok. I mean I would get rid of .. the distro (not the card) if it dont work. This thread is not a question of live or dead, just a test of legacy-os-2. If it dont boot, then it dont boot (I could see legacy-os-2 qith qemu on a laptop: this is a good thing and could potentially be interesting for a colleague where I am installing linux in parallel to his windows xp).
And: the legacy-os-2 of the CF card dont either boot on the IDE nor on the USB adapter (with the error message in the beginning of the thread). GPARTED recognize it. TinyCoreLinux, Slitaz, PartedMagic etc. boots.
Legacy-OS-2 not. Perhaps extracting the files of Legacy-OS-2 out of the ISO (with ISOMASTER), then placing them on a drive like PuppyLinux, is not working at all (perhaps it only works on the CD). I could not contact the Legacy-OS-2 developper till now. I will search again for ihm.
EDIT: by searching the developper, my problem was described and a fix seems to exist; use of the boot code "pfix=ram". I will test and post the result here. Sorry for disturbing the whole communinity: Mr. Google could already know the solution. http://www.murga-linux.com/puppy/viewtopic.php?t=68397
Last edited by floppy_stuttgart; 09-01-2011 at 01:33 AM.
Reason: Fix already described?
|
|
|
|
09-01-2011, 03:14 PM
|
#9
|
|
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: 397
Original Poster
Rep:
|
forget pfix=ram. dont work,
I have now to try psubdir=/dev/hda2
|
|
|
|
10-21-2011, 04:43 PM
|
#10
|
|
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: 397
Original Poster
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:00 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|