Formatieren der vorhandenen Festplatte auf Ext3

  • Nachdem ich jetzt das Abschalten des Rechenrs hinbekommen habe, nun noch eine Frage bezüglich der Partionien unter Debian.
    Verwende derzeit zwei Festplatten, eine 60 GB mit dem root, der swap und nem Verzeichniss /video1 und eine 120 GB mit dem /video0 Verzeichniss.
    Die 60 er Platte habe ich bereits auf Ext3 formatiert, beide PArtionienen.
    Aber wie bekomme ich die zweite Platte von Ext2 auf Ext3?
    Habe da noch ein paar Videodateien drauf, aber formatieren ist kein Problem, dann hole ich die Daten vorher mit Samba von der Platte.
    Also, wie kann ich in der Debain Console eine Formatierung der Platte ( /dev/hdc) auf Ext3 hinbekommen?

  • Du kannst die Partition(en) einfach von ext2 nach ext3 konvertieren:


    Edit your /etc/fstab. For each partition that you want to convert into ext3, edit the entry so that it looks similar to the following line.


    /dev/hdXX /mnt_point ext3 defaults 1 0


    In the above line, replace /dev/hdXX by the partition (e.g. /dev/hda2), /mnt_point by the mount point (e.g. /home). The 0 in the last field ensures that the partition will not be checked for consistency during bootup by the checkfs script. You may replace the ext3 fs type in the above by auto if you want to ensure that the partition is mounted if you accidentally skip enabling the ext3 support in the kernel.


    For each partition that you have converted to ext3 in /etc/fstab, enable the journal for the partition by running the following command.


    tune2fs -j /dev/hdXX


    Gruss
    Flo

    *** VIA C3@800 MHz * Technotrend WinDVBs Rev 1.3 * 40 GByte HDD * LFS build on Kernel 2.4.21 * VDR 1.2.0 mit ElchiAIO-Patch * Plugins: dvd, lcdproc, mp3 und vcd ***

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!