Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 24 May 2013, 06:47
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Syslinux how to get psubdir working? (extlinux.conf)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
divisionmd


Joined: 14 Jul 2007
Posts: 592

PostPosted: Tue 10 Jul 2012, 13:07    Post subject:  Syslinux how to get psubdir working? (extlinux.conf)  

Hello,

- I can get psubdir working with grub but it does not seem to work with syslinux. (extlinux.conf).

anyone got a working configuration of this? tried many different settings.

My extlinux.conf now looks like:

say Test Boot
default Test
timeout 50
prompt 1

label Test
kernel /Test/vmlinuz
append psubdir=/Test initrd=/Test/initrd

From the above vmliunz and initrd are loaded from correct locations but the save file is not loaded... .??
Question
Thanks for help,

Best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 7756
Location: Stratford, Ontario

PostPosted: Tue 10 Jul 2012, 13:26    Post subject:  

What type of device is this for? A flash drive? A CD remaster?
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 310
Location: UK

PostPosted: Tue 10 Jul 2012, 14:36    Post subject: Syslinux how to get psubdir working? (extlinux.conf)  

divisionmd
Reproduced below is an extract from my working syslinux.cfg for a USB stick. (I am assuming that is what you are using). Extlinux and syslinux are substantially the same. In any event the APPEND line is and initrd should be the first item.

Code:
LABEL 5332
MENU LABEL Slacko 5.3.3.2    05/07/12
KERNEL /p5332/vmlinuz
APPEND initrd=/p5332/initrd.gz pmedia=usbflash pupsfs=sdb1:/p5332/puppy_slacko_5.3.3.2.sfs psubdir=/p5332


Notes:
The above is based on the presence of a single hard disc.
If you have two hard discs change sdb1 to sdc1.
If you have no hard discs in the pc, change sdb1 to sda1.

_________________
Regards ETP
Currently running Slacko 5.3.3 k-3.1.10
(demo with audio--play flash full screen & press F11)
http://megaswf.com/s/2484946 1080p version Oct 2012
Back to top
View user's profile Send private message 
ICPUG

Joined: 24 Jul 2005
Posts: 1278
Location: UK

PostPosted: Wed 11 Jul 2012, 08:10    Post subject:  

The initial / in psubdir is not required and used to cause failures in older puppies. Not sure whether it does these days but I would use

psubdir=test

in the append line.

The initial / IS required when referencing vmlinuz and initrd.gz

You say the save file is not loaded. Is the sfs file loaded?
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 592

PostPosted: Wed 11 Jul 2012, 09:15    Post subject: Hello all  

Hello All,

- Thanks for all the input.

- Will test and report back.

Best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
divisionmd


Joined: 14 Jul 2007
Posts: 592

PostPosted: Wed 11 Jul 2012, 09:52    Post subject:    

Tested a few lines - but none work.

Using one harddisk - and want to boot from harddisk.

Attaching my conf file (as a .zip) and a screenshot from the screen.

initrd and vmlinuz loads from correct place but save file does not load from the correct place .. .

Thanks for any help or input,

Best regards,
Johan
extlinux.zip
Description 
zip

 Download 
Filename  extlinux.zip 
Filesize  307 Bytes 
Downloaded  58 Time(s) 
to-forum.jpg
Description 
jpg

 Download 
Filename  to-forum.jpg 
Filesize  123.25 KB 
Downloaded  73 Time(s) 
Back to top
View user's profile Send private message MSN Messenger 
ICPUG

Joined: 24 Jul 2005
Posts: 1278
Location: UK

PostPosted: Wed 11 Jul 2012, 13:29    Post subject:  

Ah! - you're using Fatdog. That does things differently.

I haven't used Fatdog yet but I have read the faq about boot options here:

http://distro.ibiblio.org/pub/linux/distributions/fatdog/web/faqs/boot-options.html

psubdir is not a parameter for Fatdog

It seems to suggest that if you want the save file to be found in a directory below the root you use

search=1

There is quite a bit more on the save file which I have not read. I'll leave it to you.

What intrigues me is how you got Fatdog to load with psubdir using grub!
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 7756
Location: Stratford, Ontario

PostPosted: Wed 11 Jul 2012, 14:06    Post subject:  

ICPUG wrote:
Ah! - you're using Fatdog.

Yes, that's useful information. I will assume that you have a savefile and it's in the folder DMDS-64-Default.

Run Control Panel > Utilities > Savefile Argument Builder.

It will generate the correct argument to use instead of psubdir. Put it on the END of the append line.
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 592

PostPosted: Thu 12 Jul 2012, 09:57    Post subject:  

Hello,

RCRSN51: "Run Control Panel > Utilities > Savefile Argument Builder. " that command i dont have there "Save file argument builder"

- can i start that program from a console command instead?


- added to the end of the config file "search=1" but still no luck..

do you have a working example on how to load save files from a sepcific folder which i can learn from?

Thanks for help,

Best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 7756
Location: Stratford, Ontario

PostPosted: Thu 12 Jul 2012, 10:23    Post subject:  

Quote:
RCRSN51: "Run Control Panel > Utilities > Savefile Argument Builder. " that command i dont have there "Save file argument builder"

Yes you do. You just have to scroll down the window a bit.

If not, then you don't have the final version of FD600.

BTW, is there a reason that you are using syslinux to boot your hard drive instead of Grub4Dos?
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 592

PostPosted: Thu 12 Jul 2012, 11:21    Post subject:    

Hello,

- Installed gub and now its working fine!

- Thanks everybody for help!

Best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
rcrsn51


Joined: 05 Sep 2006
Posts: 7756
Location: Stratford, Ontario

PostPosted: Thu 12 Jul 2012, 11:26    Post subject:  

divisionmd wrote:
Hello,

- Installed gub and now its working fine!

- Thanks everybody for help!

Best regards,
Johan


Please explain. Which GRUB? You would still have the wrong boot arguments. Did you also run the Savefile Argument Builder?
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 592

PostPosted: Tue 17 Jul 2012, 02:12    Post subject:  

Hello rcrsn51,

- Installed grub from the control panel - the one built in to fatdog.

However at closer look it still does not work - this my config:


title Test (sda1)
uuid 2f6f5dac-b0f4-46fe-b2d4-f22ca1819979
kernel /DMDS-64-Reload/vmlinuz pmedia=atahd pfix=fsck psubdir=DMDS-64-Reload
initrd /DMDS-64-Reload/initrd

This works grub setup i know works - but on bootup after grub it still says "searching" for the save file.

So same thing in grub as in syslinux.. .

Any clue on what to do test?


Thanks for help,

Best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
CatDude


Joined: 03 Jan 2007
Posts: 1355
Location: UK

PostPosted: Tue 17 Jul 2012, 02:53    Post subject:  

Hello divisionmd

divisionmd wrote:
....
However at closer look it still does not work - this my config:

title Test (sda1)
uuid 2f6f5dac-b0f4-46fe-b2d4-f22ca1819979
kernel /DMDS-64-Reload/vmlinuz pmedia=atahd pfix=fsck psubdir=DMDS-64-Reload
initrd /DMDS-64-Reload/initrd


Assuming that your savefile is called fd64save.ext4
and it is located in: /sda1/DMDS-64-Reload/
you could try adding the following to the end of your kernel line:
Code:
savefile=direct:device:sda1:/DMDS-64-Reload/fd64save.ext4


Hope this helps
CatDude
.

_________________

Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 7756
Location: Stratford, Ontario

PostPosted: Tue 17 Jul 2012, 04:27    Post subject:  

Quote:
Run Control Panel > Utilities > Savefile Argument Builder.

Quote:
that command i dont have there "Save file argument builder"

Quote:
Yes you do. You just have to scroll down the window a bit.

Quote:
Did you also run the Savefile Argument Builder?

Quote:
However at closer look it still does not work. Any clue on what to do test?

Quote:
savefile=direct:device:sda1:/DMDS-64-Reload/fd64save.ext4

Or you could run the Savefile Argument Builder. Do you have the latest version of FD600?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0732s ][ Queries: 12 (0.0098s) ][ GZIP on ]