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 Sun 23 Nov 2014, 06:03
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Rename the mainpuppy sfs file?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Smithy


Joined: 12 Dec 2011
Posts: 460

PostPosted: Sun 14 Jul 2013, 09:27    Post subject:  Rename the mainpuppy sfs file?
Subject description: I want to call it somethingelse.sfs
 

How do I rename the main sfs file so that it will not error out on boot up when the system looks for it? This is a remastering question.
Do I need to do something with distrospecs file?
Thanks for any info on the correct procedure.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4329
Location: Gatineau (Qc), Canada

PostPosted: Sun 14 Jul 2013, 14:32    Post subject:  

Hi, smithy.

I think you cannot rename the main Puppy sfs file unless you go in the linuz file and rename the file it calls when it "passes the ball". And that's a bit tricky.

On the other hand you can rename the pup_save file without too much concern provided you keep the first part intact, such as dpupsave-xyz.2fs (if you're using dpup 4.85, for ex.) or wheezysave-abc.2fs (if your Puppy is a "wheezypup").

I hope that helps.

Best regards.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Smithy


Joined: 12 Dec 2011
Posts: 460

PostPosted: Sun 14 Jul 2013, 15:12    Post subject:  

Thanks for the reply Musher, well it helps a little. I thought it might be a bit tricky. I was thinking along the lines of when you substitute the kernel..
No biggy, but it would be nice to call it something like electropup.sfs then I can remember what the hell I was doing lol.

example of switching the kernel here:

The steps used (by a Puppy user) were:

1. Boot a Puppy 431 with the minimum of setup options

2. Mount the kernel 3HD and then mount the kernel SFS from within it

3. Delete the directories /etc/modules/, /lib/modules/, /lib/firmware/, /etc/DISTRO_SPECS from Puppy 431 system

4. COPY the directories /etc/modules/, /lib/modules/, /lib/firmware/ and /lib/network/, /etc/DISTRO_SPECS from the 3HD kernel SFS into Puppy 431 system

5. Unmount the kernel SFS but leave 3HD ISO mounted

6. Run the Remaster Live-CD utility from the Setup menu using the mounted kernel ISO and the default answers (unless you want to make other changes at the same time) to give either a CD image directory or an ISO file or a burnt CD as you require

7. You may need to rename the resulting .sfs to change _ to - or vice versa if the 2 systems use differing naming conventions. You may also need to update the version of the .sfs file using SFSConvert from Utilities - General Utilities menu.

N.B. it may look like the kernel ISO has been destroyed in this process however it hasn't and will reappear after a reboot.

Boot your new hybrid system.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2668
Location: New Zealand

PostPosted: Sun 14 Jul 2013, 18:19    Post subject:  

Hi Smithy, there are at least two things to be done (there may be more but it worked for me to do only these two things...)
1) Change the sfs name inside the /etc/DISTRO_SPECS file at the time of remastering.
2) Expand the initrd.gz and change the same data inside the /DISTRO_SPECS file you see inside the initrd.gz.

I have just been through this process and have made a couple of posts at the bottom of this thread:
http://murga-linux.com/puppy/viewtopic.php?t=49251

I used RSH's pet to expand and alter the initrd.gz, but it is not necessary in some newer pups - eg Precise 5.6.1 has its own inbuilt initrd.gz expander if you just rightclick the initrd.gz file.

Last edited by greengeek on Thu 18 Jul 2013, 19:44; edited 1 time in total
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 460

PostPosted: Mon 15 Jul 2013, 13:41    Post subject:  

Hi Greengeek, that's great, only two steps (suits me lol).

I read your posts, exactly the same issues, loads of sfsss with the same name even though one may have done "things" with it.

I will give it a try soon, and thanks to RSH for making the editor.

I guess when we all experiment with Puppy we can make it better.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2668
Location: New Zealand

PostPosted: Mon 15 Jul 2013, 16:05    Post subject:  

I did have one problem with the RSH method - sometimes it would open up the initrd.gz of the current puppy instead of the initrd.gz that I actually clicked (which belongs to my new puppy)

Not sure why this was - maybe I used it wrongly.

Anyway, in the end I found it best to use the Precise inbuilt initrd editor by booting a live Precise 5.6.1 CD and just clicking (not rightclick) on the initrd.gz I wanted to change. It then gives you messages about how to modify and save the result.
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 460

PostPosted: Mon 15 Jul 2013, 17:57    Post subject:  

Ok Greengeek, thanks for the tips.
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 » Beginners Help ( Start Here)
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.0777s ][ Queries: 12 (0.0266s) ][ GZIP on ]