- fedora -> debian bootstrap (v1)
- setup apt
dnf group install development-toolsdnf install dpkg apt dpkg-dev autoconf automakesudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131 78DBA3BC47EF2265(TODO change this to/etc/apt/trusted.gpg.d/)sudo dnf install debian-keyringalternative
- binfmt emulation
sudo dnf install qemu-static-user
- make
apt-sourcesdir for sources to live in - equivs
- setup apt
I love to make backups with Clonezilla. But often, I'll back up my system, wipe my Linux partition and try another distro—only to realize that I need access to just one file from the old installation. For example, maybe I made an interesting change to my .zshrc or Samba configuration, which I want to re-use on the new system.
The obvious solutions aren't my favorites. It's easy to restore an image to a spare disk, but it takes a long time, and requires a spare disk I'm willing to wipe. I [could extract an entire image][extract_image], but that also takes lots of time and space. Wouldn't it be nice to just look inside my compressed Clonezilla image, just like I can do with a zip file or squashfs archive?
It turns out it's possible, with clever use of [user-space filesystems][fuse]!
| #!/usr/bin/env bash | |
| # First arg is always option | |
| arg1="$1" | |
| shift | |
| # Find first non-option | |
| for i in "$@"; do | |
| if [[ -z "$dir" && "$i" != -* ]]; then | |
| dir="$i" |
| = LinuxFromScratch using Mac OS X = | |
| Linux From Scratch is a fun way to learn about Linux, but it expects you to already have Linux running. [http://trac.cross-lfs.org Cross-compiling] is already supported but OS X is a little weird--so here are some hints for bootstrapping LFS from OS X. I've only tried this on 32-bit PPC, I have no idea how well or badly it would work on G5 or Intel chips. | |
| Generally, you can follow the [http://cross-lfs.org/view/1.0.0rc4/ppc/ Cross-LFS book], I only refer to areas where changes are needed. | |
| == Chapter 2 == | |
| === Partitioning === | |
| To perform the partitioning, you'll probably want to use a Linux rescue CD. Gentoo's PPC CD has a version of parted that can even resize existing HFS+ partitions non-destructively, I think Debian's does too. Using Disk Utility or a commercial tool like iPartition is an option, but I'm not certain they can create the special partition types Apple_Bootstrap and Apple_UNIX_SVR2. |
| (function(){ | |
| var resort = []; | |
| $(".comments span[id^='favcnt']").each(function(i, e) { | |
| if ($(e).html() != '') { | |
| var grp = $(e).parents('.comments').prev('a'). | |
| nextUntil('a').andSelf(); | |
| var fav = parseInt($(e).text().split(' ')[0].trim()); | |
| resort.push({ 'fav': fav, 'elems': grp }); | |
| } | |
| }); |
| <?php | |
| class MyMigration extends Migration { | |
| public $base_dir; | |
| /** | |
| * Constructor. | |
| */ | |
| public function __construct() { | |
| parent::__construct(); |