Paritionen mounten?

Warum Debian und/oder eine seiner Spielarten? Was muss ich vorher wissen? Wo geht es nach der Installation weiter?
Antworten
NiBurhe
Beiträge: 80
Registriert: 19.07.2004 17:41:07
Kontaktdaten:

Paritionen mounten?

Beitrag von NiBurhe » 26.07.2004 17:53:35

Hallo, ich habe 4 Partitionen erstellt und habe eine swap und eine für "/" angeben. Wie kann ich jetzt eine Partition auf /home/ und eine partition auf /var/ legen?

MfG
NiBurhe

Benutzeravatar
Flowyerg
Beiträge: 239
Registriert: 23.02.2004 18:42:41
Kontaktdaten:

Beitrag von Flowyerg » 26.07.2004 18:00:22

hmm... über die Datei /etc/fstab sollte es gehen. Einfach anschauen und den Syntax verstehen :-)
Vorher soltest du aber die beiden Partitionen irgendwo hin mounten und die Daten der Verzeichnisse darauf kopieren (also alles von /var nach /mnt/neue_var_partition)
Macht sich am besten Per Knoppix, da kannst du dann gleich noch die fstab ändern und den kompletten inhalt der beiden verzeichnisse auf der root-partition leeren
I am root. If you see me laughing, you better have a backup...

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GED d++ s-:- a-- C++ UL P L+++ E W+ N o K- w--
O- M-- V- PS+ PE Y PGP t+ 5 X+ R+ !tv b+ DI+ D+
G+ e h- r-- y+
------END GEEK CODE BLOCK------

NiBurhe
Beiträge: 80
Registriert: 19.07.2004 17:41:07
Kontaktdaten:

Beitrag von NiBurhe » 26.07.2004 18:21:57

Da ist bisher noch kein Inhalt drin, bzw. nicht dass ich da was reinkopiert hätte.
Ich habe es jetzt einfach in der fstab geändert und hoffe das es funzt.

Noch eine Frage, wie kann ich die Partitionen auf ext3 umstellen?

Danke an Flowyerg

MfG
NiBurhe

//€dit: Irgentwie muss ich da wohl was falsch gemacht haben.

Code: Alles auswählen

Checking all file systems...
sck 1.27 (8-Mar-2002)
fsck.ext2: Bad magic number in super-block while trying to open /dev/hda4
/dev/hda4:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might running e2fsck with an alternate superblock
	e2fsck -b 8139 <device>

fsck.ext2: Bad magic number in super-block while trying to open /dev/hda3
/dev/hda3:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might running e2fsck with an alternate superblock
	e2fsck -b 8139 <device>

fsck failed. Please repair manually.

CONTROL-D will exit from this shell and continue system startup.

Give root password for mintemance
(or type Control-D for normal startup):
Kommt während des Hochfahrens, bei Strg+D komme ich dann noch weiter, die fstab, habe ich wie folgt verändert.

Code: Alles auswählen

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/hda4       /home                   ext2      errors=remount-ro       0       1
/dev/hda3       /var                      ext2      errors=remount-ro       0       1
/dev/hda2       /                           ext2      errors=remount-ro       0       1
/dev/hda1       none                    swap    sw                               0       0
proc               /proc                    proc      defaults                        0       0
/dev/fd0        /floppy                  auto      user,noauto                  0       0
/dev/cdrom   /cdrom                   iso9660 ro,user,noauto            0       0
Zuletzt geändert von NiBurhe am 26.07.2004 19:23:30, insgesamt 1-mal geändert.

Benutzeravatar
Flowyerg
Beiträge: 239
Registriert: 23.02.2004 18:42:41
Kontaktdaten:

Beitrag von Flowyerg » 26.07.2004 18:26:45

ähmm... die partition auf ext3 umstellen geht einfach per
mke2fs -j /dev/hdXX (XX durch die Festplatte und Partitionsnumemr ersetzen)

allerdings solltest du trotzdem schauen ob da nicht vll schon daten drinne sind, weil die werden von Programmen auch automatisch erzeugt (besonders unter /var, aber /home auch)
I am root. If you see me laughing, you better have a backup...

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GED d++ s-:- a-- C++ UL P L+++ E W+ N o K- w--
O- M-- V- PS+ PE Y PGP t+ 5 X+ R+ !tv b+ DI+ D+
G+ e h- r-- y+
------END GEEK CODE BLOCK------

Antworten