[debian-lan-devel] CD image for Debian-LAN mainserver installation

Andreas Schockenhoff asc at gmx.li
Tue Jan 10 16:48:34 UTC 2012


Hi,

great idea to make such fai config space in public.

Am Samstag, den 07.01.2012, 23:40 +0100 schrieb Andreas B. Mundt:
> after some experiments I am happy to report that it's pretty easy to
> prepare a CD image (approx. 500M in size) for the Debian-LAN.  With
> this image, the installation of the mainserver (Setup_A) should be
> easy.  All other installations can be run from that machine.
> 
> I documented how to prepare the image in the Wiki at:
> 
>   <URL:http://wiki.debian.org/DebianLAN/bootstrap>.
> 
> It would be great if someone could independently verify the
> description.  It should be possible to use the CD image on an USB
> stick too, but I did not test that. 
I test this with a USB stick. with instructions from:
(http://fai-project.org/fai-cd/) FAI CD on a USB stick (using grub2) 

For me it also worked fine. The mkisofs problem I solve by updating
fai to the newest version. 

After installing I test the procedure also on the new server. It 
worked also after some minor corrections..

In /etc/fai/make-fai-nfsroot.conf is the wrong proxy for debootstrap.

/etc/fai/grub.cfg is missing the entry for the mainserver.

The /etc/apt/sources.list is not nice. I think setting the proxy server
for apt ist better solved as a environment variable. This also make it
possible to change this easy. A broken mirror is one of the number one
problem when you use fai.

Using disk1 and disk1.2 should solve the problem with switching between
sda und vda  

This only for information because I understand this is under
construction.

debian-lan addmachine workstation1 # does not work 

debian-lan adduser user1 # does work but user can not log in.


> We might think about providing the CD images (i386 and amd64) for
> download somewhere. 
May be fai-project.org (Thomas Lange) can help?

bye Andreas
-------------- next part --------------
# disk_config disk1
disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid

primary  -       50      -          -
logical  -       3000-   -          -
logical  -       3000    -          -
logical  -       3000    -          -

disk_config raid
raid1    /boot   disk1.1	ext2        rw,errors=remount-ro
raid1    -       disk1.5	-           default
raid1    swap    disk1.6	swap        sw
raid1	 -       disk1.7	-           default

# /dev/md0 is RAID boot without lvm.

# config the LVM

# System volume group auf /dev/md1
disk_config lvm
vg              vg_system               md1

vg_system-root  /                       500         ext3       defaults        createopts="-O dir_index,resize_inode"
vg_system-usr   /usr                    3000        ext3       defaults        createopts="-O dir_index,resize_inode"
vg_system-var   /var                    2000        ext3       defaults        createopts="-O dir_index,resize_inode"
vg_system-srv   /srv                    100-        ext3       defaults        createopts="-O dir_index,resize_inode"

# /home volume group auf /dev/md3
disk_config lvm
vg              vg_home                 md3

vg_home-home    /home                   1000         ext3       defaults         createopts="-O dir_index,resize_inode"



More information about the debian-lan-devel mailing list