Difference between revisions of "Debootstrap to x86-64 LiveCD"


From Knoppix Documentation Wiki
Jump to: navigation, search
(DeBootstrap)
(DeBootstrap)
Line 21: Line 21:
  
 
  debootstrap --arch ${ARCH} ${DEBIAN_RELEASE} ${SOURCEDIR} ${DEBIAN_MIRROR}
 
  debootstrap --arch ${ARCH} ${DEBIAN_RELEASE} ${SOURCEDIR} ${DEBIAN_MIRROR}
  cp /etc/resolv.conf
+
  cp /etc/resolv.conf ${SOURCEDIR}/etc/.
  
 
==notes==
 
==notes==

Revision as of 21:27, 5 July 2006

preamble

Variables

#!/bin/bash

SOURCEDIR=/mnt/hda1/source/KNOPPIX64
MASTERDIR=/mnt/hda1/master/KNOPPIX64
ARCH=amd64
DEBIAN_RELEASE=sarge
DEBIAN_MIRROR=http://amd64.debian.net/debian-amd64

Set Up the Environment

mkdir -p ${SOURCEDIR}
mkdir -p ${MASTERDIR}

DeBootstrap

debootstrap --arch ${ARCH} ${DEBIAN_RELEASE} ${SOURCEDIR} ${DEBIAN_MIRROR}
cp /etc/resolv.conf ${SOURCEDIR}/etc/.

notes