From: Frank Brehm Date: Mon, 18 Feb 2013 10:19:35 +0000 (+0100) Subject: Added Dokumentationen/inst-wheezy-debbotstrap.txt X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e6dc0447dd010edc40b8e42186be27615e9b641f;p=docs%2Ffrank.git Added Dokumentationen/inst-wheezy-debbotstrap.txt --- diff --git a/Dokumentationen/inst-wheezy-debbotstrap.txt b/Dokumentationen/inst-wheezy-debbotstrap.txt new file mode 100644 index 0000000..ca24eb5 --- /dev/null +++ b/Dokumentationen/inst-wheezy-debbotstrap.txt @@ -0,0 +1,66 @@ += Installation Debian Wheezy mit Debootstrap von remote + +== Platten einrichten: + +.Partitionieren: +---- +root@uhu2 ~ # fdisk -l /dev/vda + +Disk /dev/vda: 107.4 GB, 107374182400 bytes +16 heads, 63 sectors/track, 208050 cylinders, total 209715200 sectors +Units = sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / 512 bytes +Disk identifier: 0x02a593f8 + + Device Boot Start End Blocks Id System +/dev/vda1 * 2048 1050623 524288 83 Linux +/dev/vda2 1050624 42993663 20971520 83 Linux +/dev/vda3 42993664 59770879 8388608 82 Linux swap / Solaris +/dev/vda4 59770880 209715199 74972160 8e Linux LVM +root@uhu2 ~ # fdisk -l /dev/vdb + +Disk /dev/vdb: 322.1 GB, 322122547200 bytes +7 heads, 6 sectors/track, 14979657 cylinders, total 629145600 sectors +Units = sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / 512 bytes +Disk identifier: 0xafe9bf1b + + Device Boot Start End Blocks Id System +/dev/vdb1 2048 629145599 314571776 8e Linux LVM + +---- + +.LVM logical volumes einricheten: +---- +root@uhu2 ~ # pvs + PV VG Fmt Attr PSize PFree + /dev/vda4 vg0 lvm2 a-- 71,50g 11,50g + /dev/vdb1 vg1 lvm2 a-- 300,00g 240,00g +root@uhu2 ~ # vgs + VG #PV #LV #SN Attr VSize VFree + vg0 1 6 0 wz--n- 71,50g 11,50g + vg1 1 2 0 wz--n- 300,00g 240,00g +root@uhu2 ~ # lvs + LV VG Attr LSize Origin Snap% Move Log Copy% Convert + home vg0 -wi-ao 20,00g + tmp vg0 -wi-ao 5,00g + var vg0 -wi-ao 10,00g + var_lib vg0 -wi-ao 10,00g + var_log vg0 -wi-ao 10,00g + var_tmp vg0 -wi-ao 5,00g + imap vg1 -wi-ao 50,00g + srv vg1 -wi-ao 10,00g +root@uhu2 ~ # +---- + +.Swap einrichten: +---- +root@uhu2 ~ # mkswap /dev/vda3 +Setting up swapspace version 1, size = 8388604 KiB +no label, UUID=98ec433e-ebc8-445f-8204-a653840156f7 +root@uhu2 ~ # +---- + +// vim: ts=4 expandtab fileencoding=utf-8 filetype=asciidoc