(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 26 Sep 2020, 08:56
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64 700 alpha1
Moderators: Flash, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 17 of 17 [243 Posts]   Goto page: Previous 1, 2, 3, ..., 15, 16, 17
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 3475
Location: The Blue Marble

PostPosted: Tue 16 Sep 2014, 00:49    Post subject:  

They will be updated as time goes.
_________________
Fatdog64 forum links: Latest version | Contributed packages | ISO builder
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2572
Location: In The Way

PostPosted: Sat 20 Sep 2014, 04:36    Post subject:  

I am posting from a fatdog 700 sfsdirect-remaster so it seems justifiable to post it to this thread as well as others. Rolling Eyes

SFSdirect-remaster is now working. It is probably the fastest possible remaster method.

Remaster in ram from ram or on device from ram.

Works with both fatdog and standard pups.

Only replacing the fd64.sfs in initrd is not automatic must be done manually until someone supplies the needed code!! Also maybe some tweaking is needed with regard to -e 'excluded' files and directories!

Please try it as a beta release ie use at your own risk. (back up your original initrd before replacing the fd64.sfs)

Code:
#!/bin/sh
#sfsdirect remastering suite by stemsee copyright Marcos Contant 2014

. /etc/DISTRO_SPECS
if [ -d /aufs ]; then
   name=$DISTRO_FILE_PREFIX
else
   name=$DISTRO_NAME
fi
echo "SfS direct is a live remaster system which works in either ram or device.
Make sure that your system has enough ram or uses a swap for the remaster, or
specify path and drive. e.g. mnt sda2.

Do you want to work in ram? y or n"
read ram
case $ram in
    y) if [ -d /tmp/quaddirs ]; then
   rm -r /tmp/quaddirs
   rm /tmp/*.sfs
   mkdir -p /tmp/quaddirs/{mnt,tmp,sys,proc}
   else
   mkdir -p /tmp/quaddirs/{mnt,tmp,sys,proc}
   fi
   mksquashfs /* /tmp/quaddirs/* /tmp/$name.sfs -e /proc /tmp /mnt /initrd /proc /sys /aufs /archive /root/.cache /root/.Trash /root/spot/Downloads/* /root/Downloads/* /root/.history /root/.bash_history /root/.Skype /etc/resolv.conf /root/.XLOADED /etc/.XLOADED /lib/modules /lib/firmware -keep-as-directory -noappend -comp xz
   echo "'$name'.sfs has been created in /tmp. Where do you want to save it to?
   Enter the path e.g. /mnt/sda2/"
   read savepart
   mv -f /tmp/$name.sfs $savepart
   echo "All done!" && exit;;

   n)  if [ -d /tmp/quaddirs ]; then
   rm -r /tmp/quaddirs
   mkdir -p /tmp/quaddirs/{mnt,tmp,sys,proc}
   else
   mkdir -p /tmp/quaddirs/{mnt,tmp,sys,proc}
   fi
   echo "Input path and drive e.g. mnt sda2"
   read path drive
   mount /dev/$drive /$path/$drive
   mksquashfs /* /tmp/quaddirs/* /$path/$drive/$name.sfs -e /proc /tmp /mnt /initrd /proc /sys /aufs /archive /root/.cache /root/.Trash /root/spot/Downloads/* /root/Downloads/* /root/.history /root/.bash_history /root/.Skype /etc/resolv.conf /root/.XLOADED /etc/.XLOADED /lib/modules /lib/firmware -keep-as-directory -noappend -comp xz
   echo "All done!" && exit;;
   *) echo "You didn't enter anything relevant! Exiting script." && exit;;
esac
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2572
Location: In The Way

PostPosted: Sat 20 Sep 2014, 06:15    Post subject:  

@Jamesbond or Kirk

I remastered fd700 b and have an 800mb sfs in initrd, which cannot load into ram .... i have 8gb ram
What is restricting the load size of initrd?
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 17 of 17 [243 Posts]   Goto page: Previous 1, 2, 3, ..., 15, 16, 17
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1401s ][ Queries: 12 (0.1113s) ][ GZIP on ]