[ start | index | login ]
start > knowledgebase > linux > misc > debootstrap

debootstrap

Created by kron. Last edited by retep, 2 years and 92 days ago. Viewed 2,295 times. #13
[diff] [history] [edit] [rdf]
labels
attachments
debootstrap.sh (5464)

Install Debian Sarge using debootstrap on a CentOS 4 system

The attached script tries to go about converting a non-Debian server into Debian server using debootstrap.

Warning: Unless you are very careful its likely to wipe out your network interface files, mess up grub, stop your server booting, delete your /etc/fstab and all sorts of other horrible things.

The script has yet to run un-attended. So treat it as a guide only.

The system we usually do this on is a Centos server parititoned as follows:

/dev/sda1 100mb software raid /dev/sda2 4096mb ext3 / /dev/sda3 software raid remainder

/dev/sdb1 100mb software raid /dev/sdb2 swap /dev/sdb3 software raid remainder

/dev/md0 software raid1 on /dev/sda1 and /dev/sdb1 mounted as /boot /dev/md1 software raid1 on /dev/sda3 and /dev/sdb3 mounted as /raid

After the Debian install /dev/md1 will be the Debian / partition.

请以发表评论身份登录
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.