Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

for mr. a.k.a.

Stuff that has not yet gone into the official build.

for mr. a.k.a.

Postby fsmithred » Wed Dec 03, 2014 4:08 am

Edit: Correction - it did not boot. Got a kernel panic. Sorry about that.

Code: Select all
mksquashfs / /home/snapshot/filesystem.squashfs -ef /home/snapshot/squash_excludes -comp xz


I put filesystem.squashfs, vmlinuz and initrd.img into place on an existing live-usb (I replaced the existing files.) Excludes file does not like globbing. I just hacked the excludes file from refractasnapshot. Some things may not have been excluded. (ssh host keys, for example.)

Code: Select all
[email protected]:/home/snapshot# cat squash_excludes
/dev/
/cdrom/
/media/
/swapfile
/mnt/
/sys/
/proc/
/tmp/
/live
/boot/grub/grub.cfg
/boot/grub/menu.lst
/boot/grub/device.map
/CENSORED/udev/rules.d/70-persistent-cd.rules
/CENSORED/udev/rules.d/70-persistent-net.rules
/CENSORED/fstab
/CENSORED/fstab.d/
/CENSORED/mtab
/CENSORED/blkid.tab
/CENSORED/blkid.tab.old
/home/snapshot
/home/work
/lib/live/overlay
/lib/live/image
/lib/live/rootfs
/lib/live/mount
/run/
/var/cache/apt/archives/
/var/cache/apt/pkgcache.bin
/var/cache/apt/srcpkgcache.bin
/var/cache/apt/apt-file/
/var/lib/apt/lists/
/var/lib/apt/cdroms.list
/var/spool/mail/
/var/mail/
/var/backups/
/var/lib/dbus/machine-id
/var/lib/live/config/
/root/.aptitude
/root/.bash_history
/root/.disk-manager.conf
/root/.fstab.log
/root/.lesshst
/root/.local/share/
/root/.nano_history
/root/.synaptic
/root/.VirtualBox
/root/.ICEauthority
/root/.Xauthority
/root/.ssh
/home/user/.Trash
/home/user/.local/share/Trash/
/home/user/.mozilla/*/Cache/
/home/user/.mozilla/*/urlclassifier3.sqlite
/home/user/.mozilla/*/places.sqlite
/home/user/.mozilla/*/cookies.sqlite
/home/user/.mozilla/*/signons.sqlite
/home/user/.mozilla/*/formhistory.sqlite
/home/user/.mozilla/*/downloads.sqlite
/home/user/.adobe
/home/user/.aptitude
/home/user/.bash_history
/home/user/.cache
/home/user/.dbus
/home/user/.gksu
/home/user/.gvfs
/home/user/.macromedia
/home/user/.nano_history
/home/user/.pulse
/home/user/.pulse-cookie
/home/user/.recently-used
/home/user/.recently-used.xbel
/home/user/.local/share/recently-used.xbel
/home/user/.thumbnails/large/
/home/user/.thumbnails/normal/
/home/user/.thumbnails/fail/
/home/user/.vbox
/home/user/.VirtualBox
/home/user/VirtualBox\ VMs
/home/user/.xsession-errors
/home/user/.ICEauthority
/home/user/.Xauthority
/home/user/.gnupg
/home/user/.ssh
/home/user/.xchat2
User avatar
fsmithred
 
Posts: 2081
Joined: Wed Mar 09, 2011 9:13 pm

Return to Experimental

Who is online

Users browsing this forum: No registered users and 1 guest

cron
suspicion-preferred