Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: can't format to ext3 with gparted

  1. #1

    Default can't format to ext3 with gparted

    hi,

    i got these partitions

    /dev/sda1 of 10gb in ext3 where i got xubuntu
    /dev/sda2 of 1gb in swap
    /dev/sda3 of 15gb in ext3 where i got opensuse 11.1
    /dev/sda4 of 90gb extended
    /dev/sda5 of 90gb unformatted and can be formatted only to hfs filesystem, which is kinda pointless since max is 2gb, there's a sign with exclamation mark next to it

    using gparted, pls help.

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: can't format to ext3 with gparted

    From terminal, try the following (any data there will be deleted):
    Code:
    su
    umount /dev/sda5
    mkfs -t ext3 /dev/sda5
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3

    Default Re: can't format to ext3 with gparted

    thanks, it worked! although i'm a little worried about this exclamation mark. anyway, i mounted it as /media/sda5 but it requires root privilages to make directories and stuff. anything can be done about it? and automounting on start?

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: can't format to ext3 with gparted

    Post
    Code:
    fdisk -l
    and

    Code:
    cat /etc/fstab
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: can't format to ext3 with gparted

    fdisk -l
    Code:
     
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x29292928
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1220     9799618+  83  Linux
    /dev/sda2            1221        1341      971932+  82  Linux swap / Solaris
    /dev/sda3   *        1342        3367    16273845   83  Linux
    /dev/sda4            3368       14593    90172845    5  Extended
    /dev/sda5            3368       14593    90172813+  83  Linux
    
    Disk /dev/sdb: 1039 MB, 1039663104 bytes
    255 heads, 63 sectors/track, 126 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x054aca0c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1         127     1015264+   b  W95 FAT32
    cat /etc/fstab
    Code:
     
    /dev/disk/by-id/ata-ST3120026AS_5LJ0EDFM-part2 swap                 swap       defaults              0 0
    /dev/disk/by-id/ata-ST3120026AS_5LJ0EDFM-part3 /                    ext3       acl,user_xattr        1 1
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: can't format to ext3 with gparted

    Create a folder in your /home/*username/my_sda5
    Edit fstab
    FSTAB - Editing Manually - openSUSE Forums

    /dev/disk/by-id/ata-ST3120026AS_5LJ0EDFM-part2 swap swap defaults 0 0
    /dev/disk/by-id/ata-ST3120026AS_5LJ0EDFM-part3 / ext3 acl,user_xattr 1 1
    /dev/sda5 /home/*username/my_sda5 ext3 defaults 1 2
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: can't format to ext3 with gparted

    thanks, but it didn't work.
    still says permission denied when i want to copy sth to sda5,
    and i want to make it available to other user on the computer so mounting it in /media/sda5 would be ok right?

  8. #8
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: can't format to ext3 with gparted

    Did you reboot - If No, try doing so first
    If yes
    edit fstab back to original first

    Now Try using Yast - System - Partitioner
    to add the mount

    Mount point can be wherever, in Yast you can manually write that in the mount point
    it could be
    /my_sda5 (all on it's own)
    that's it
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  9. #9

    Default Re: can't format to ext3 with gparted

    editing with partitioner was easier but the problem persist,
    not the mounting but permissions,
    and i didn't check any box in the partitioner,
    just set different mount point, i did reboot.

  10. #10
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: can't format to ext3 with gparted

    The line in fstab should look like this, replace MOUNTPOINT by a choice of your own, but do that every time:
    /dev/disk/by-id/ata-ST3120026AS_5LJ0EDFM-part5 /MOUNTPOINT ext3 defaults 1 2
    This means acc. to defaults that root is owner, group is root, and perms are 755 (drwxr-xr-x). Therefore anybody else but root cannot create files in there.
    Once you added the extra line in fstab, you create a folder /MOUNTPOINT:
    su -c 'mkdir /MOUNTPOINT' (enter rootpassword)
    su -c 'chgrp users /MOUNTPOINT'
    su -c 'chmod 775 /MOUNTPOINT'
    Now reboot, and anybody belonging to the group users (default user group) can create files and folders, change them and remove them.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •