[DRBD-user] Debian install

Federico Sevilla III jijo at free.net.ph
Wed Jun 29 07:36:41 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Tue, Jun 28, 2005 at 04:51:55PM -0700, Curtis Vaughan wrote:
> I've been looking through the archives for DRDB-User list for info on  
> how exactly to do a Debian install, but I guess I'm really confused.
> 
> OK, I'm using sarge. I've installed:
> 
> module-assistant
> kernel-headers
> drbd
> drbd0.7-utils
> 
> Am I supposed to use module-assistant to help me build and install  
> drbd or do I need to compile drbd into the kernel myself?
> (see: http://wiki.linux-ha.org/DRBD_2fHowTo_2fInstall   -or-   http:// 
> svn.drbd.org/drbd/tags/drbd-0.6.12/INSTALL)
> But neither of these take into consideration the fact that deb  
> already has a precompiled package.
> 
> 
> I mean what do I do now?

I don't know if you're like me, but I like building my kernel from
scratch. Here's a brief summary of how I go about it with Debian Sarge:

1. Install kernel-package, libncurses5-dev, gcc, cpp, binutils,
drbd0.7-module-source and drbd0.7-utils.

2. Get Linux 2.6 source from kernel.org.

3. Extract Linux kernel source and /usr/src/drbd0.7.tar.gz.

4. Configure your Linux kernel.

5. Build Debian package of custom-built kernel using the following
command from the directory where your Linux kernel sources are

    # make-kpkg kernel_image

6. Build Debian package of modules using the following command from the
directory where your linux kernel sources are.

    # make-kpkg modules_image

7. Install the two Debian packages (kernel image and DRBD modules).

8. Configure DRBD, Heartbeat, and whatever else you need.

Good luck!

 --> Jijo

-- 
Federico Sevilla III : jijo.free.net.ph : When we speak of free software
GNU/Linux Specialist : GnuPG 0x93B746BE : we refer to freedom, not price.



More information about the drbd-user mailing list