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 Tue 21 Oct 2014, 01:41
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to boot from USB, save to HD?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
mgraham

Joined: 15 Jul 2012
Posts: 13
Location: San Jose, California

PostPosted: Mon 06 Jan 2014, 00:02    Post subject:  How to boot from USB, save to HD?  

I have tried with both Slacko 5.5 and Slacko 5.6 to boot from a usb memory stick, and setup the save file on the hard drive. I have 2 reasons why, and from the wiki, it should be an option.
reason 1. I want to use a notebook that does not have a cdrom.
reason 2. Any save file on a memory stick is painfully slow to shutdown.

I have tried on several brands and ages of computers with the same results. If I boot from CDrom, i can create save file on HD. I then make a bootable usb memory stick from this same system, but it will not use the save file on the HD.
If i shut down it wants to make a save file, and if I say yes, it will only make it to the usb memory stick.

Any help would be greatly appreciated.
btw, I've even tried editing the syslinux.cfg and update the line to this:
append initrd=initrd.gz pmedia=satahd Pdev1=sda2 pfix=copy
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 606

PostPosted: Mon 06 Jan 2014, 03:51    Post subject:  

Copy to the hard drive at root dir with the savefile from the usb stick the main files needed to boot: initrd.gz, vmlinuz, the main sfs of your puppy, syslinux.cfg.
Open with geany syslinux.cfg copied to the hard drive and change pmedia=usbflash with pmedia=atahd. Boot the usb stick and at the first screen type:

Code:
boot: puppy pmedia=atahd


When you complete the boot you can now remove the usb stick.
You can frugal install your puppy on the hard drive in a subdir and boot it by the usb stick.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3455
Location: West Lothian, Scotland, UK

PostPosted: Mon 06 Jan 2014, 05:08    Post subject: Re: USB Save issue
Subject description: Trying to boot from usb flash drive but have save file on Hard drive
 

mgraham wrote:
Any save file on a memory stick is painfully slow to shutdown.

This is only true IF there is a save/copy of the session changes from RAM back to the pupsave file.
I have my Puppy set up so I can CHOOSE TO NOT SAVE any session changes.
[No auto-save during the session; offered the option at shutdown "to save or not to save", with "not save" as the default]
I normally do not save, and when not saving, shutdown takes only a few seconds [10?]
Actually, I can do an "improper-power-off" [press->release the on/off button] with no ill effects, and that's as quick as you can get, though I don't normally do it, because "Precise-5.6.1" will then auto-scan&fix the host PFS and pupsave filesystem at next boot.
Sometimes I deliberately poweroff to get the scan&fix; it fixes stuff [ext3 filesystems].

It's possible to do this even if the pupsave is on the HDD.
All my pupsave files are on my desktop PC's internal HDD, but are treated as though on a Flash drive.
I do this by editing the isolinux.cfg file [in my case, on bootable CD-RW] to include:
pmedia=ataflash

Would you like to do this?
Want to know how?
Back to top
View user's profile Send private message 
mgraham

Joined: 15 Jul 2012
Posts: 13
Location: San Jose, California

PostPosted: Sun 12 Jan 2014, 15:47    Post subject: thanks  

thanks to both replies. I will try them. i just realized i was not getting email when people reply, Thanks again,
I like the idea of not auto saving. I may need help on that. I'll try to figure it out.
Back to top
View user's profile Send private message 
mgraham

Joined: 15 Jul 2012
Posts: 13
Location: San Jose, California

PostPosted: Sun 19 Jan 2014, 23:33    Post subject: update on how to
Subject description: what worked for me
 

I found that I had to also edit the syslinux.cfg on the usb memory stick, to make pmedia=atahd.
thanks for your help!
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3455
Location: West Lothian, Scotland, UK

PostPosted: Mon 20 Jan 2014, 07:25    Post subject: Re: update on how to
Subject description: what worked for me
 

mgraham wrote:
I found that I had to also edit the syslinux.cfg on the usb memory stick, to make pmedia=atahd.

When you do this, do you get a "Save" icon on the desktop?
Back to top
View user's profile Send private message 
mgraham

Joined: 15 Jul 2012
Posts: 13
Location: San Jose, California

PostPosted: Tue 21 Jan 2014, 00:54    Post subject: Save link on Desktop  

Yes, the save link is on the desktop. However when I shutdown, i see the message that the partition is mounted at the top, so it is already saved.

So, I have not tested the save link on the desktop. I assume it would probably work.

Before I changed the syslinux.cfg on the usb memory stick, it would boot straight away using the save file on the memory stick, with no pause to allow me to enter "puppy pmedia=atahd". Perhaps I should delete the save file on the usb memory stick? Anyway it works nicely now.

Also, as per Sylvanders suggestion
I used the modification to the rc.shutdown script to ask whether to save back to memory stick and set the puppyscheduler to 0 to disable autosaves on another memory stick I use alot.

thanks to everyone for the support. Puppy is a very useful distro!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
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.0622s ][ Queries: 12 (0.0038s) ][ GZIP on ]