Stuff that has not yet gone into the official build.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## for mr. a.k.a.

Wed Dec 03, 2014 4:08 am

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

Code:
  `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:
  `[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
  `

Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.