Skip to content

Casper boot

Saintless edited this page Jun 27, 2017 · 1 revision

MintPup casper-boot – Ubuntu initrd.lz created with update-initramfs.
Chose this one if you are familiar with Ubuntu or Debian-Squeeze Live save file options.
Option to use encrypted save file or encrypted partition.

Never use the same casper folder name for more MintPup frugal install on different partitions. Use different folder name for more MintPup frugal install.

Boot with initrd.lz created with update-initramfs. Official initrd.lz from Ubuntu has some modifications to support encrypted save file or partition.

Example boot code (grub legacy or grub4dos) after extracting /casper folder from the iso on top of sda1.

title MintPup no save (sda1)
root=(hd0,0)
kernel /casper/vmlinuz boot=casper config swapon ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs
initrd /casper/initrd.lz

If you add persistent to the boot code save file casper-rw at top of partition (or partition with label casper-rw) will be used to save the changes. The same code works for encrypted save file.
But casper-rw save file works only on vfat partition. It will not work from ext or ntfs partition. If you don’t have already vfat partition it is better to use save partition with label casper-rw instead save file.

title MintPup save in casper-rw (sda1)
root=(hd0,0)
kernel /casper/vmlinuz boot=casper config swapon ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs persistent
initrd /casper/initrd.lz

How to boot MintPup casper-boot from directory other than /casper
If you copy the casper folder from MintPup iso and put it in /mintpup on say /dev/sda1 the following menu.lst stanza could be used:

title MintPup in /mintpup/casper (on first partition of drive /dev/sda = hd0,0) save in casper-rw
root=(hd0,0)
kernel /mintpup/casper/vmlinuz boot=casper config swapon ignore_uuid cdrom-detect/try-usb=true showmounts union=aufs live-media-path=mintpup/casper/ persistent
initrd /mintpup/casper/initrd.lz

Clone this wiki locally
You can’t perform that action at this time.