Prob mit reinstall eines hetzner root servers

Saugjunkie

New Member
Hallo,

ich hoffe ihr könnt mir weiter helfe nach dem ich bei der Hotline auf taube ohren gestoßen bin.

Als erstes musste ich mich erstmal an die ungewöhnliche Reinstall meines Roots gewohnen und habe auch gleich dabei meine Probleme.

Code:
## ===================================================
##  Hetzner Online AG - installimage - standardconfig 
## ===================================================



## ====================
##  HARD DISK DRIVE(S):
## ====================

DRIVE1 /dev/sda
DRIVE2 /dev/sdb



## ===============
##  SOFTWARE RAID:
## ===============

## activate software RAID?  < 0 | 1 >

SWRAID 1

## Choose the level for the software RAID < 0 | 1 >

SWRAIDLEVEL 1



## ============
##  BOOTLOADER:
## ============


## which bootloader should be used?  < lilo | grub >

BOOTLOADER grub



## ==========
##  HOSTNAME:
## ==========

## which hostname should be set?
## 

HOSTNAME Debian-50-lenny-32-minimal



## ==========================
##  PARTITIONS / FILESYSTEMS:
## ==========================

## define your partitions and filesystems like this:
##
## PART  <mountpoint/lvm>  <filesystem/VG>  <size in MB>
##
## * <mountpoint/lvm> mountpoint for this filesystem  *OR*  keyword 'lvm'
##                    to use this PART as volume group (VG) for LVM
## * <filesystem/VG>  can be ext2, ext3, reiserfs, xfs, swap  *OR*  name
##                    of the LVM volume group (VG), if this PART is a VG
## * <size>           you can use the keyword 'all' to assign all the
##                    remaining space of the drive to the *last* partition.
##                    you can use M/G/T for unit specification in MIB/GIB/TIB
##
## notes:
##   - extended partitions are created automatically
##   - '/boot' cannot be on a xfs filesystem!
##   - '/boot' cannot be on LVM!
##   - when using software RAID 0, you need a '/boot' partition
##
## example without LVM (default):
## -> 4GB   swapspace
## -> 512MB /boot
## -> 10GB  /
## -> 5GB   /tmp
## -> all the rest to /home
#PART swap   swap      4096
#PART /boot  ext2       512
#PART /      reiserfs 10240
#PART /tmp   xfs       5120
#PART /home  ext3       all
#
##
## to activate LVM, you have to define volume groups and logical volumes
##
## example with LVM:
#
## normal filesystems and volume group definitions:
## -> 256MB boot  (not on lvm)
## -> all the rest for LVM VG 'vg0'
#PART /boot  ext2     256M
#PART lvm    vg0       all
#
## logical volume definitions:
#LV <VG> <name> <mount> <filesystem> <size>
#
#LV vg0   root   /        ext3         10G
#LV vg0   swap   swap     swap          4G
#LV vg0   tmp    /tmp     reiserfs      5G
#LV vg0   home   /home    xfs          20G
#
#
## your system has the following devices:
#
# Disk /dev/sda: 320.0 GB  (=> 298 GIB)
# Disk /dev/sdb: 320.0 GB  (=> 298 GIB)
#
## Based on your disks and which RAID level you will choose you have
## the following free space to allocate (in GiB):
# RAID  0: ~596
# RAID  1: ~298
#

PART swap swap 2G
PART /boot ext3 256M
PART / ext3 all



## ========================
##  OPERATING SYSTEM IMAGE:
## ========================

## full path to the operating system image
##   supported image sources:  local dir,  ftp,  http,  nfs
##   supported image types:  tar,  tar.gz,  tar.bz,  tar.bz2,  tgz,  tbz
## examples:
#
# local: /path/to/image/filename.tar.gz
# ftp:   ftp://<user>:<password>@hostname/path/to/image/filename.tar.bz2
# http:  http://<user>:<password>@hostname/path/to/image/filename.tbz
# https: https://<user>:<password>@hostname/path/to/image/filename.tbz
# nfs:   hostname:/path/to/image/filename.tgz

IMAGE /root/.oldroot/nfs/install/../images/Debian-50-lenny-32-minimal.tar.gz

Dies ist die install Config meines Root Servers soweit so gut verstanden aber wie um gottes willen krieg ich das mit den Partitionen hin. Ich verstehe es nicht.



Partition soll wie folgt sein

Swap 3 GB
boot 512 MB
/home 50 GB
/var 200 GB
Der Rest soll für das Betriebsystem selber sein hier für /etc /usr etc...

Ich hoffe ihr könnt mir da helfen :-)

MFG
Saugjunkie
 
Hier steht doch was du brauchst:

PART swap swap 2G
PART /boot ext3 256M
PART / ext3 all
Das legt dir eine Swap-Partition mit 2GB an, eine /boot-Partition mit ext (256MB) und der Rest in ext3.

Im Grunde musst du doch nur die Werte anpassen?!

PART swap swap 3G
PART /boot ext3 512M
PART /home ext3 50G
PART /var ext3 200G
PART / ext3 all
Das müsste so klappen, habe es aber nicht getestet.
 
Back
Top