[Solved] ext4 partition reported as NTFS

I was testing a SSD disk before installing and i plugged it to a Wndows machine for benchmarking purposes
For performing such tests, I created 2 NTFS partitions.
Afterwards, I plugged the disk to the SATA interface of the computer I would use it in.
I formatted the two partitions that were in the disk.
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
...and got no errors...
When I run fdisk -l I get:
System: HPFS/NTFS/exFAT
But if i run cfdisk, it's being reported as ext4 - same happens when i open gparted.....
Why can this be?
EDIT: Fixed changing the partition type to 83 from cfdisk (prior unmount)
I didn't lose any data in the process....
Last edited by Xi0N (2012-10-21 19:54:57)

Glad to see you solved this yourself.  Please don't forget to mark the post as [Solved] and keep our forums organized (mostly).

Similar Messages

  • [SOLVED] I cannot make mounted ext4 partition writeable.

    I want to make /dev/sdc2 (mounted on /mnt/SteamLinux) writeable, so I could install Steam games on it.
    /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sdb3
    UUID=7cfc361a-47e1-45b9-8429-054d31302402 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sdb4
    UUID=04b8a615-8738-4d5c-b4de-16a0f92ade4d /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sdc2
    UUID=1501a760-5c07-4279-a2c2-9695e08a6cdd /mnt/SteamLinux ext4 defaults 0 0
    # NTFS drives
    /dev/sda1 /mnt/Blue ntfs-3g defaults 0 0
    /dev/sdc1 /mnt/Black ntfs-3g defaults 0 0
    fsck /dev/sdc2 result:
    fsck from util-linux 2.22.2
    e2fsck 1.42.7 (21-Jan-2013)
    fsck.ext4: Permission denied while trying to open /dev/sdc2
    You must have r/w access to the filesystem or be root
    What should I do to make it writeable without root access?
    Last edited by White girl (2013-03-31 00:10:21)

    Mr.Elendig wrote:uhm, just run fsck as root? And for access as a normal user: chown and chmod
    Ran fsck as root, it went fine. Remounted /dev/sdc2, then ran
    sudo chmod -R +w /dev/sdc2
    I assume it's a command to make this partition writeable for regular user. Steam still threw me as readonly.
    Got it working by using /mnt/SteamLinux instead of /dev/sdc2.
    Steam issue is still not resolved, but it's irrelevant to the thread now... (Steam refuses to download anything to this partition, it returns me as 0MB available space)
    Last edited by White girl (2013-03-30 14:16:23)

  • [solved] Check EXT4 partition automatically

    Hello everyone,
    I have two EXT4 partition on my HD (sda2 and sda4):
    $ fdisk -l
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 3264 26218048+ 7 HPFS/NTFS
    /dev/sda2 3265 6528 26218080 83 Linux
    /dev/sda3 6529 6590 498015 82 Linux swap / Solaris
    /dev/sda4 6591 19457 103354177+ 83 Linux
    Eventually, sda2 partition (root partition) is checked automatically on boot, but sda4 never checked. On dmesg appears:
    EXT4-fs (sda4): warning: maximal mount count reached, running e2fsck is recommended
    On wiki (http://wiki.archlinux.org/index.php/Fsck) is written:
    The Arch Linux boot process conveniently takes care of the Fsck procedure for you and will periodically check ALL relevant partitions on your hard drive automatically in a scheduled manner.
    Can I turn automatically check on for sda4 partition too? Or I have to do this manually ?
    My fstab:
    UUID=324658b1-0c1a-494b-bc6e-93ca1d138b1b swap swap defaults 0 0
    UUID=fc37e80c-fe03-4932-b9af-c8388190f19c / ext4 defaults 0 1
    UUID=b19fe1b6-aee6-4bda-b17f-b76674016525 /media/Dados ext4 defaults,noatime,nodiratime 0 0
    /dev/sda1 /media/Windows ntfs-3g defaults 0 0
    Thanks in advance.
    Last edited by alessandro_ufms (2010-04-07 20:11:42)

    Have a look at the <pass> definition in fstab: http://wiki.archlinux.org/index.php/Fstab
    File systems with a <pass> value 0 will not be checked by the fsck utility.

  • Linux ext4 partitions show up as "Microsoft basic data" type

    I have no Microsoft partitions in my system nor dual boot (i run Windows in VirtualBox) yet not sure when this changed (update in November?) all my linux ext4 partitions show up as "Microsoft basic data" types (except BIOS boot and Swap) in fdisk -l (also in Gnome Disk utility gui, just shows "Basic data" instead of the actual Linux type. All the searching in Arch Wiki's I've found refer to dual boot systems so far and haven't turned up anything useful in Google yet either. How to i get this corrected? All drives are GPT:
    root@arch-bill /home/bill # fdisk -l
    Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 0645408C-0374-4357-8663-D2A3512E07BD
    Device Start End Size Type
    /dev/sdb1 2048 6143 2M BIOS boot partition
    /dev/sdb2 8192 8396799 4G Microsoft basic data
    /dev/sdb3 8398848 41953279 16G Microsoft basic data
    /dev/sdb4 41955328 167786495 60G Microsoft basic data
    /dev/sdb6 167788544 3902834687 1.8T Microsoft basic data
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: C3E095E9-90D9-4BFA-A97F-5D74E64FC4A4
    Device Start End Size Type
    /dev/sda1 8192 32776191 15.6G Microsoft basic data
    /dev/sda2 32778240 1953509375 915.9G Microsoft basic data
    /dev/sda3 2048 6143 2M BIOS boot partition
    Disk /dev/sdc: 298.1 GiB, 320072933376 bytes, 625142448 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
    Disklabel type: gpt
    Disk identifier: 5607E1F7-1A96-4EF5-A353-29BE91873431
    Device Start End Size Type
    /dev/sdc1 2048 6293503 3G Linux swap
    /dev/sdc2 6295552 618600447 292G Microsoft basic data
    Last edited by jasonwryan (2014-12-17 02:22:31)

    I followed the instructions here and now fdisk -l reports them correctly (8300 Linux File System, not 0700 Microsoft basic data) - SOLVED
    1 root@arch-bill /home/bill # gdisk /dev/sdb :(
    GPT fdisk (gdisk) version 0.8.10
    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present
    Found valid GPT with protective MBR; using GPT.
    Command (? for help): t
    Partition number (1-6): 2
    Current type is 'Microsoft basic data'
    Hex code or GUID (L to show codes, Enter = 8300):
    Changed type of partition to 'Linux filesystem'
    Command (? for help): t
    Partition number (1-6): 3
    Current type is 'Microsoft basic data'
    Hex code or GUID (L to show codes, Enter = 8300):
    Changed type of partition to 'Linux filesystem'
    Command (? for help): t
    Partition number (1-6): 4
    Current type is 'Microsoft basic data'
    Hex code or GUID (L to show codes, Enter = 8300):
    Changed type of partition to 'Linux filesystem'
    Command (? for help): t
    Partition number (1-6): 6
    Current type is 'Microsoft basic data'
    Hex code or GUID (L to show codes, Enter = 8300):
    Changed type of partition to 'Linux filesystem'
    Command (? for help): p
    Disk /dev/sdb: 3907029168 sectors, 1.8 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 0645408C-0374-4357-8663-D2A3512E07BD
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 3907029134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 4204653 sectors (2.0 GiB)
    Number Start (sector) End (sector) Size Code Name
    1 2048 6143 2.0 MiB EF02
    2 8192 8396799 4.0 GiB 8300
    3 8398848 41953279 16.0 GiB 8300
    4 41955328 167786495 60.0 GiB 8300
    6 167788544 3902834687 1.7 TiB 8300
    Command (? for help): w
    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!
    Do you want to proceed? (Y/N): Y
    OK; writing new GUID partition table (GPT) to /dev/sdb.
    The operation has completed successfully.
    1 root@arch-bill /home/bill # fdisk -l :(
    Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: 0645408C-0374-4357-8663-D2A3512E07BD
    Device Start End Size Type
    /dev/sdb1 2048 6143 2M BIOS boot partition
    /dev/sdb2 8192 8396799 4G Linux filesystem
    /dev/sdb3 8398848 41953279 16G Linux filesystem
    /dev/sdb4 41955328 167786495 60G Linux filesystem
    /dev/sdb6 167788544 3902834687 1.8T Linux filesystem
    Disk /dev/sdc: 298.1 GiB, 320072933376 bytes, 625142448 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
    Disklabel type: gpt
    Disk identifier: 5607E1F7-1A96-4EF5-A353-29BE91873431
    Device Start End Size Type
    /dev/sdc1 2048 6293503 3G Linux swap
    /dev/sdc2 6295552 618600447 292G Microsoft basic data
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: C3E095E9-90D9-4BFA-A97F-5D74E64FC4A4
    Device Start End Size Type
    /dev/sda1 8192 32776191 15.6G Microsoft basic data
    /dev/sda2 32778240 1953509375 915.9G Microsoft basic data
    /dev/sda3 2048 6143 2M BIOS boot partition
    root@arch-bill /home/bill #

  • [SOLVED] Systemd has problems with ntfs-3g

    Hi!
    I created a custom daemon.
    It's very simple.
    [Unit]
    Description=Mounting partitions if Im at home
    [Service]
    Type=simple
    ExecStart=/home/skitter/homemount.sh
    [Install]
    WantedBy=multi-user.target
    And the content of a script:
    #!/bin/bash
    device0="/dev/disk/by-uuid/e2b0e86b-d377-4699-9407-48d56eb439d0"
    if [ -b "$device0" ]
    then
    mount UUID=01CECC33AEE58980 /mnt/WINDOWS
    mount UUID=ff2d44b5-bdd0-4524-89bf-6ac3bc005887 /mnt/Other
    mount UUID=599D77CD384A8B00 /mnt/Files
    fi
    Unfortunately for some reason the ntfs partitions are being automatically unmounted.
    The ext4 partition is not causing any problems.
    $sudo systemctl status homemount
    homemount.service - Mounting disk if Im at home
    Loaded: loaded (/usr/lib/systemd/system/homemount.service; enabled)
    Active: inactive (dead) since Sun 2013-10-27 21:56:23 CET; 1s ago
    Process: 3202 ExecStart=/home/skitter/homemount.sh (code=exited, status=0/SUCCESS)
    Main PID: 3202 (code=exited, status=0/SUCCESS)
    Oct 27 21:56:22 archer ntfs-3g[3206]: Mounted /dev/sdb1 (Read-Write, label "", NTFS 3.1)
    Oct 27 21:56:22 archer ntfs-3g[3206]: Cmdline options: rw
    Oct 27 21:56:22 archer ntfs-3g[3206]: Mount options: rw,allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096
    Oct 27 21:56:22 archer ntfs-3g[3206]: Ownership and permissions disabled, configuration type 7
    Oct 27 21:56:23 archer ntfs-3g[3213]: Version 2013.1.13 external FUSE 29
    Oct 27 21:56:23 archer ntfs-3g[3213]: Mounted /dev/sda1 (Read-Write, label "Files", NTFS 3.1)
    Oct 27 21:56:23 archer ntfs-3g[3213]: Cmdline options: rw
    Oct 27 21:56:23 archer ntfs-3g[3213]: Mount options: rw,allow_other,nonempty,relatime,fsname=/dev/sda1,blkdev,blksize=4096
    Oct 27 21:56:23 archer ntfs-3g[3213]: Ownership and permissions disabled, configuration type 7
    Oct 27 21:56:23 archer ntfs-3g[3206]: Unmounting /dev/sdb1 ()
    Last edited by Skitter (2013-10-27 21:43:32)

    I think this is because the mount command exits, so the daemon is then considered dead (or completed).  But I am not entirely sure about this.
    A better solution would be to simply make an entry in your fstab with the noauto,x-systemd.automount,nofail options.  This would essentially achieve what you are after I think.  You could also make actualy systemd.mount and systemd.automount units as well, though these would automagically be generated by an entry in your fstab.
    If you are unsure of what exactly to put in native systemd units, you can always see what systemd does in /run/systemd/generators.  In fact, if you put a fstab entry for this ntfs-3g mount, let it generate (ie reboot, or run the generator) then check out that directory, you can simply pull those units out of there, give them an [Install] section, and enable them.

  • [solved] Ext4 goes read-only after nodealloc

    Hello.
    I've been trying this many times, but never succeed with using my partitions powered by ext4 file system with nodealloc option in fstab. It doesn't matter, if I add this option after defaults or replace defaults with nodealloc only. After reboot, all ext4 partitions (/ and /home) goes read-only, so I can't do anything with Arch, not even change fstab back. There are no problems, if I put other options to fstab (for example: relatime to ext3 file systems).
    Anyone have same problem?
    Last edited by weakhead (2009-04-20 19:32:30)

    Whoa! That explains everything. I will try one more time.
    EDIT: Yeah, this is it. It's nodelalloc, not nodealloc...
    Thanks
    Last edited by weakhead (2009-04-20 19:32:13)

  • [SOLVED] EXT4 Data Corruption Bug Linux 3.6.2 & 3.6.3

    Be careful
    EXT4 Data Corruption Bug Hits Stable Linux Kernels
    http://www.phoronix.com/scan.php?page=n … px=MTIxNDQ
    https://lkml.org/lkml/2012/10/23/779
    Edited: Removed the [ALERT]  label.
    Last edited by ontobelli (2012-11-01 04:58:43)

    headkase wrote:
    Even though it is a severe bug the chances of it happening to you are low.  You have to unmount and immediately remount an EXT4 partition twice in a row for it to happen.  On a normally operating system that is not a normal thing to happen.  Just wait on your desktop for 5 minutes before rebooting again.
    Arch, as a general rule, tends to stick as close to upstream as possible.  I'm sure the devs are very competent people but a quick hack or branch revert has the possibility of introducing issues of its own.  With the chance of the bug occurring low on a normally operating system I think it is better to wait for a fix from upstream.
    Well maybe i am a bit over stressed about this since with this computer i have quite a lot of troube which i cannot find solutions to. Also a kernel panic after a reboot this morning -probably not related to this- got me in a bad mood.
    Anyway.

  • [Solved - ext4 is just super slow] New Install Seems Very Slow

    After 8 years of Gentoo I decided to replace my main development box with Arch.  No X, just screen, emacs, w3m, and various compilers/languages.
    My old box is a 5 year old Gentoo box.  AthlonXP 2200 (1.7Ghz), 512M.
    The new Arch box is a based on a Shuttle K48.  It's got an Intel E2200 (Dual Core, 2.2Ghz), 2G, new SATA drive.
    Just to see I did a clean checkout of Clojure (a new JVM language) and did a "ant" on both boxes.
    Gentoo: 20 Seconds
    Arch: 51 Seconds
    I don't think it's a Java issue (same JVM version btw), it's just the only thing I can really think to compare it against.  When Arch hits the compile step I hear a fan go off and my hard drive light stays on for the durations.    I used ext4 on the drives, gentoo is using reiser.  Nothing else seems particularly slow, but I'm not doing anything on it really like I said.  A pacman install will happen almost instantaneously (which after 8 years of Gentoo is a welcome change).
    Anyone have any ideas?  I'll post whatever info you think might be useful.
    Thanks.
    Last edited by baetis (2009-05-02 16:02:40)

    So I reinstalled with reiserfs so the comparison would be against the same filesystem type.  The compile time on arch is now down to 20 seconds.  It still doesn't make sense though.  The compile is using 2 2.2Ghz cores, it should be crushing my old Gentoo box.
    I might try again with ext3.
    If anyone is curious if their ext4 shows similar issues try this (you'll need 15M on an ext2 /boot partition):
    On an ext4 partition:
    pacman -S svn
    pacman -S jdk
    pacman -S apache-ant
    svn checkout http://clojure.googlecode.com/svn/trunk/ clojure
    cd clojure
    ant [take note of time]
    As root:
    cd /boot
    cp -R <path to where you checked out clojure> .
    cd clojure
    ant clean
    ant [compare times]
    Do it a few times, ant clean then ant on both partitions and see how you fare.

  • How mount ext4 partition with read/write

    i use archlinux  , and i have a ext4 partition, i want to mount it , add it on /etc/fstab
    /dev/sda7 /mnt/sda7 ext4 defaults,noatime 0 0
    i reboot, i found the ext4 partition, i have no right to R/W for user mode? why?

    the ext4 partition is another linux, fedora 13, i want to mount it on archlinux.
    [figo@myhost sda7]$ ls -lah
    total 136K
    dr-xr-xr-x 24 root root 4.0K May 9 15:28 .
    drwxr-xr-x 7 root root 4.0K May 9 15:35 ..
    drwx------ 4 root root 4.0K May 9 15:28 .Trash-0
    -rw-r--r-- 1 root root 0 May 8 20:17 .autofsck
    drwx------ 3 root root 4.0K May 1 18:28 .dbus
    drwx------ 2 root root 4.0K May 1 18:28 .pulse
    -rw------- 1 root root 256 May 1 18:28 .pulse-cookie
    dr-xr-xr-x 2 root root 4.0K May 8 21:41 bin
    dr-xr-xr-x 4 root root 4.0K May 8 21:42 boot
    drwxr-xr-x 4 root root 4.0K Oct 1 2009 dev
    drwxr-xr-x 117 root root 12K May 8 21:45 etc
    drwxr-xr-x 4 root root 4.0K May 1 18:29 home
    dr-xr-xr-x 17 root root 12K May 8 21:43 lib
    drwx------ 2 root root 16K Apr 8 02:48 lost+found
    drwxr-xr-x 2 root root 4.0K Oct 1 2009 media
    drwxr-xr-x 2 root root 4.0K Oct 1 2009 mnt
    drwxr-xr-x 2 root root 4.0K Oct 1 2009 opt
    drwxr-xr-x 2 root root 4.0K Apr 8 02:48 proc
    dr-xr-x--- 7 root root 4.0K May 8 20:21 root
    dr-xr-xr-x 2 root root 12K May 8 21:44 sbin
    drwxr-xr-x 3 root root 4.0K Apr 8 03:02 selinux
    drwxr-xr-x 3 root root 4.0K Oct 1 2009 srv
    drwxr-xr-x 2 root root 4.0K Apr 8 02:48 sys
    drwxrwxrwt 16 root root 4.0K May 8 21:42 tmp
    drwxr-xr-x 13 root root 4.0K Apr 8 02:49 usr
    drwxr-xr-x 21 root root 4.0K May 8 21:41 var

  • Is it possible to merge ext4 partitions?

    I would like to know if it's possible to merge two ext4 partitions to create one ext4 partition with files untouched. I have / and /opt on separate partition and would like /opt to be on the same partition as /. Is it doable without system format?

    Thanks. I'll give it a shot. What Live CD do You recommend?
    Can you write a very short tutorial about mounting drives? (I'm afraid I'd mount them in read-only mode or something like that propably )
    PS.: My fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    #Linux drives
    UUID=1e68d1ae-5f08-4a45-92f3-d5a9b3720902 / ext4 defaults 0 0
    UUID= swap swap defaults 0 0
    UUID=9d234111-34f5-4e05-b690-e2e724ac2cfd /home ext4 defaults 0 0
    UUID=08d10b10-cea7-4ade-8041-99ae46e61b9a /opt ext4 defaults 0 0
    #USB in VirtualBox
    none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=0666 0 0
    Yeah, I know, swap isn't working. I would like to get rid of it entirely (I have enough RAM), so another good reason to use Live CD.

  • [SOLVED] Error to access Windows NTFS Partitions

    hi
    I'm getting this message error when trying to access a NTFS windows partition
    Cannot mount volume.
    Error org.freedesktop.DBus.Error.AccessDenied
    both partitions C: and D: are listed in Places menubar... but i cant access them
    do i have to add a permission to myself user ?
    tks
    Last edited by almondega (2008-06-22 00:49:26)

    solved
    from http://www.jefferyfernandez.id.au
    how to:
    1- Edit the hal daemons security policy
    # gedit /etc/dbus-1/system.d/hal.conf
    2- Search for <policy context="default">, and change all they itens from "deny" to "allow"
    3- reboot, and try to open a NTFS partition, if u get a error message about ntfs-3g, just download from pacman -S ntfs-3g (or search for one pacman -Ss ntfs)
    =]

  • [SOLVED] How do I increase the size of an existing GPT ext4 partition?

    I found some advice here
    http://ubuntuforums.org/showthread.php?t=1389429
    but I'm not sure whether the information is correct
    1 Run parted on your device: parted /dev/sdX
    2 Change display unit to sectors: unit s
    3 Print current partition table and note the start sector for your partition: p
    4 Delete your partition (won't delete the data or filesystem): rm <number>
    5 Recreate the partition with the starting sector from above: mkpart primary <start> <end>
    6 Exit parted: quit
    7 Check the filesystem: sudo e2fsck -f /dev/sdXX
    8 Resize filesystem: sudo resize2fs /dev/sdXX
    I'd like to increase partition #2 from 200 Gig to 300 Gig using gnu parted.
    (parted) p                                                               
    Modell: ATA WDC WD15EARX-00Z (scsi)
    Festplatte  /dev/sda:  1500GB
    Sektorgröße (logisch/physisch): 512B/4096B
    Partitionstabelle: gpt
    Disk Flags:
    Nummer  Anfang     Ende        Größe       Dateisystem  Name              Flags
    1      2048s      25167871s   25165824s   ext4         Linux filesystem
    2      25167872s  444598271s  419430400s  ext4
    or with unit set to GiB:
    Nummer  Anfang   Ende     Größe    Dateisystem  Name              Flags
    1      0,00GiB  12,0GiB  12,0GiB  ext4         Linux filesystem
    2      12,0GiB  212GiB   200GiB   ext4
    What is the correct way for doing this?
    Last edited by goodboy (2012-10-28 18:33:43)

    goodboy wrote:No, I'm not using gparted but "gnu parted", the command line tool, as I already mentioned above. From what I understood so far, gparted doesn't handle GPT** disks at all.
    From the wiki gparted topic:
    GParted is a GTK+ frontend to GNU Parted and the official GNOME Partition Editor application.
    I think gparted can do anything gnu parted can do. The warning about ext4 in the topic you linked is from 2009, and recommends using gparted with a version higher than 0.6.2-2. Gparted 0.14.0-1 is currently in the Arch repo, so I think it's probably safe.
    Last edited by 2ManyDogs (2012-10-28 18:29:03)

  • [SOLVED] How to defragment an NTFS partition in Linux?

    Hello, I want to defragment an NTFS partition (which contains Windows XP) from Linux especially because when doing that under Windows is not possible to move system files, so I guess from Linux it will offer better results.
    Is there any tool that could do it, like fsck?
    I've tried this command:
    fsck -t ntfs --kerneldefrag /dev/sda1
    but it does nothing, it only shows this message:
    fsck de util-linux 2.20
    Is there any way to do it?
    Thanks in advance!
    Last edited by ILoveJapaneseGirls (2011-12-28 06:25:30)

    jakobm wrote:Please be sure to use the bbs search: Defragment a NTFS partition from LINUX
    That thread has absolutely no information other than a list of motivations to use Windows to defrag it... and a link to a buggy Python defragger.
    Here's the only bulletproof way to defrag NTFS under Linux:
    Make a new partition of the same size (or bigger), and format it to NTFS and mount it at /defragged
    Mount your fragged partition at /fragged
    rsync -av /fragged /defragged
    Wha-la. /defragged is now your fragged partition, defragged. Reformat /fragged and rsync it back if you really must.
    Drives get fragmented if you do multiple copies at the same time, so don't do anything else on the drive while it's syninc.
    Last edited by dagelf (2014-08-28 07:21:54)

  • (solved) gparted refuses to shorten ntfs partition

    Hi everybody.  I am trying to shorten the /dev/sda1 ntfs partition with gparted but it does not work. there is an error message and I cannot apply the change. thanks.
    Last edited by cezarrangel (2013-02-12 12:58:22)

    thank you so much Jasonwryan. I apologyze on my knees. the problem is that I want to shorten this ntfs partition /dev/sda1 to have enough space for an Arch partition. Unfortunately I cannot get rid of this ntfs partition permanentely. that is why I wrongly (sorry again for the mess on the forum) considered it an installation issue. and, sorry again, of course you could not guess the error message.
    In fact, when the gparted windown opens,  the option to resize/move the ntfs partition is there available. but when I try to choose the new size of the ntfs partition it does not go anyhere. I try to move the reference to the ntfs partition with the mouse cursor to the size I want but this action is not available. I have already tried defragmenting the ntfs partition. the operation seems to end successful. but when I try gparted again it is no use. I do not succeed resize/move the ntfs partition.
    I thank you once more for your most kind answer and apologize for the hasty issue.
    Last edited by cezarrangel (2013-02-11 12:38:02)

  • [SOLVED] Shared Firefox Profile on ntfs partition "in use"

    After failing to install arch on an ancient computer a year ago, I've successfully installed arch with lightdm and openbox on my current desktop.
    Everything works fine except for the firefox profile I share across my partitions.  When I run firefox -p and try to use the profile, I get a message that Firefox cannot use the profile because it is in use, even though I've checked that firefox is not running.
    I am aware that using openbox without a DE means other partitions aren't auto mounted in filemanagers (I'm using xfe), and I edited the /etc/fstab to mount the ntfs partition:
    # /dev/sdb2 LABEL=Data
    UUID=(the UUID is correct, I checked) /media/user/Data  ntfs  rw,auto,user,exec,suid,async,dev,umask=000   0 0
    The drive now auto mounts without needing root, but I cannot create new folders even as root (Operation not permitted). Perhaps I've forgotten an option in the fstab?
    Last edited by :hovercraft (2014-02-08 00:26:44)

    Thanks! That worked perfectly!
    I installed ntfs-3g and changed the fstab to the default on that page, and now firefox loads exactly like in my other partitions.

Maybe you are looking for

  • How do I install windows and bootcamp on my macbook Air

    Hi I need to install Windows and Bootcamp on my macbook Air, due to a software tool a customer needs that only runs on windows. The initial instructions say I cannot do this with a remote DvDplayer, Who has experienced this? Chris

  • SUP native app on iOS

    Hi, I just started development on SUP 2.1.2 and created an MBO for BAPI_FLIGHT_GETLIST successfully. I assigned an PersonalizationKey for Input parameter ARLINE and tested the MBO in Eclipse - it works like as expected. Then I followed the Sybase tut

  • How do u adjust the background sound in a clip in a trailer on the new iMovie?

    On the old version i could do this quite fine but now i cant even find a way to do this.

  • Folder Size in Finder  ?

    Is there a way to determine the total size of a folder and its contents in finder. i.e the amount of music in the Music folder in MB. Dennis

  • Visibility of newly added target property in e-mails

    Hi, I manually added new property for oracle database targets and put some values there and would like to see the property reflected in e-mail alerts. The template for the e-mail has [USER_DEFINED_TARGET_PROP] already however new property not shown,