• No audio


    @manuel

    [[email protected] ~]$ df -hT
    Filesystem     Type      Size  Used Avail Use% Mounted on
    dev            devtmpfs  5.9G     0  5.9G   0% /dev
    run            tmpfs     5.9G  1.2M  5.9G   1% /run
    /dev/sda7      ext4       26G   16G  9.3G  63% /
    tmpfs          tmpfs     5.9G  3.2M  5.9G   1% /dev/shm
    tmpfs          tmpfs     5.9G     0  5.9G   0% /sys/fs/cgroup
    tmpfs          tmpfs     5.9G   39M  5.8G   1% /tmp
    /dev/sda2      vfat       96M   31M   66M  32% /boot/efi
    /dev/sda9      fuseblk    94G   19G   76G  21% /home
    /dev/sda6      fuseblk    36G  9.0G   27G  26% /home/data
    tmpfs          tmpfs     1.2G  8.0K  1.2G   1% /run/user/1000
    [[email protected] ~]$ grep home /etc/fstab
    UUID=0737402862B6A0E8 /home ntfs defaults,noatime 0 0
    UUID=84A42E27A42E1BE4 /home/data ntfs defaults, noatime 0 0
    

    I have a partition mounted from when I used Windows OS. It’s necessary because it contains code that I use on both OS. I mounted it to my /home but not /home/mattwong
    In fact, I remember setting it up to auto mount on login a few months ago.
    Will mounting it to root fix the issue?

  • Can you provide:

    cat /etc/fstab
    

    You do mount two partitions one to /home and one to /home/data both format is ntfs.

    So your users home is on ntfs what is not working for Linux.

    To get a partition available inside your users home better use bind inside fstab.

    This will bind this partition onto a folder under your usrs home directory.

    This will be done by mounting your data partition under /mnt/data and then bind it under /home/mattwong/data

  • @joekamprad

    [[email protected] etc]$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    #
    UUID=E2F1-F342 /boot/efi vfat defaults,noatime 0 0
    UUID=fdacab4c-b624-4111-9689-a5b8c13f0f01 / ext4 defaults,noatime,discard 0 1
    UUID=e0f51ee7-acdf-45ac-91f3-085d082aec8e swap swap defaults 0 0
    UUID=0737402862B6A0E8 /home ntfs defaults,noatime 0 0
    UUID=84A42E27A42E1BE4 /data ntfs defaults, noatime 0 0
    

    I set it to mount to root instead, and this is the result I get. 84A42E27A42E1BE4 is the UUID of the partition I want to mount, but I am unsure what 0737402862B6A0E8 is.

    Should I change the mount for 84A42E27A42E1BE4 to /mnt/data instead? I also don’t know how to bind it, though that’s not very important, as I can still access /mnt/data as a user it seems.

  • @mattwong
    What partition exactly you need to share with Windows? You should not mount it to /home.
    For example, you could mount the shared partition to /winshare, and make a symlink to /winshare.

  • sudo blkid -o list
    

    Would be informative

  • Show output of

    sudo blkid
    lsblk -fm
    
  • @manuel It’s a partition that contains documents, pictures, and code all of which I access between Windows and Antergos.

    [[email protected] etc]$ sudo blkid
    /dev/sda1: LABEL="Recovery" UUID="7C30F14830F109C2" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ff71637e-d9ed-4ba4-85ce-7557256b2e66"
    /dev/sda2: UUID="E2F1-F342" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="c7a6ffc7-651d-43e6-a007-01e55879317e"
    /dev/sda4: LABEL="Win10x64" UUID="AC408B61408B30DE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="833f38f2-0b97-41da-8ab2-5e1a49478173"
    /dev/sda5: UUID="2612627F126253B9" TYPE="ntfs" PARTUUID="5ada7f7c-c57e-4880-a150-59bc2ef8e5b9"
    /dev/sda6: LABEL="Data" UUID="84A42E27A42E1BE4" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="07c62d95-328a-4917-88dc-9bd9d2de7680"
    /dev/sda7: UUID="fdacab4c-b624-4111-9689-a5b8c13f0f01" TYPE="ext4" PARTUUID="4c4a3829-b1a8-45fa-8802-e64660970f94"
    /dev/sda8: UUID="e0f51ee7-acdf-45ac-91f3-085d082aec8e" TYPE="swap" PARTUUID="2ba3a1d9-fc25-478f-9085-fa47bd037f91"
    /dev/sda9: UUID="0737402862B6A0E8" TYPE="ntfs" PTTYPE="dos" PARTUUID="feea9cba-87f5-4df1-9355-bcdbff02dcfd"
    /dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d75eab74-06ff-4008-b833-774cd287b75b"
    [[email protected] etc]$ lsblk -fm
    NAME FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT   SIZE OWNER GROUP MODE
    sda                                                                              232.9G             brw-rw----
    ├─sda1
    │    ntfs   Recovery
    │                 7C30F14830F109C2                                                 450M             brw-rw----
    ├─sda2
    │    vfat         E2F1-F342                              65.3M    32% /boot/efi    100M             brw-rw----
    ├─sda3
    │                                                                                   16M             brw-rw----
    ├─sda4
    │    ntfs   Win10x64
    │                 AC408B61408B30DE                                                  73G             brw-rw----
    ├─sda5
    │    ntfs         2612627F126253B9                                                 897M             brw-rw----
    ├─sda6
    │    ntfs   Data  84A42E27A42E1BE4                       26.3G    25% /data       35.2G             brw-rw----
    ├─sda7
    │    ext4         fdacab4c-b624-4111-9689-a5b8c13f0f01    9.2G    62% /           25.6G             brw-rw----
    ├─sda8
    │    swap         e0f51ee7-acdf-45ac-91f3-085d082aec8e                [SWAP]       3.7G             brw-rw----
    └─sda9
         ntfs         0737402862B6A0E8                         75G    20% /home         94G             brw-rw----
    

    @joekamprad

    [[email protected] etc]$ sudo blkid -o list
    [sudo] password for mattwong: 
    device         fs_type  label     mount point        UUID
    -----------------------------------------------------------------------------------------
    /dev/sda1      ntfs     Recovery  (not mounted)      7C30F14830F109C2
    /dev/sda2      vfat               /boot/efi          E2F1-F342
    /dev/sda3                         (not mounted)      
    /dev/sda4      ntfs     Win10x64  (not mounted)      AC408B61408B30DE
    /dev/sda5      ntfs               (not mounted)      2612627F126253B9
    /dev/sda6      ntfs     Data      /data              84A42E27A42E1BE4
    /dev/sda7      ext4               /                  fdacab4c-b624-4111-9689-a5b8c13f0f01
    /dev/sda8      swap               [SWAP]             e0f51ee7-acdf-45ac-91f3-085d082aec8e
    /dev/sda9      ntfs               /home              0737402862B6A0E8
    
  • @mattwong
    The problem is the /home partition. It should not be in ntfs format. Does it have many files?

    Edit: I must go now, can continue after two days probably. Hope Joe and others can help you further.
    Maybe copying current /home contents to a /home folder in chroot mode helps. And fixing file and folder permissions in new /home.

  • /home has 19G used ;)

    … I am off for today…

  • @joekamprad @manuel

    Thank you both very much for your help. I can change the system type for /home if I want, as the bulk of the content on that is just archiving for the AUR clones I installed.

  • /home – partition /dev/sda9 UUID=0737402862B6A0E8 is created with installation to use as home or after installation of Antergos to mount something for your user?

    I would copy all data from /dev/sda9 (/home/mattwong) to another place to backup all needed configs and data + keys from your Antergos user, if you do not do this you will need to create a new user or will stay without all configurations to Desktop and used apps…

    If you have any external usb drive that have capacity to hold 20GB data use this to backup your /home/mattwong folder to it.

    then reformat /dev/sda9 with ext4, change /etc/fstab to new uuid and format …

    But you will need to do this from CLI or LifeISO botted, as you will be not able to use normal user and Desktop.

  • @mattwong
    Back!
    If you have any doubts about how to backup and restore your current /home partition, feel free to ask. There are actually many things that can go wrong… 😅

  • @manuel Welcome back. I was actually wondering how important the /home settings really are in the first place, since when I installed Antergos, it wasn’t a mandatory partition. Is it because it would have created a /home on the same partition that I put the root on?

    @joekamprad Would it be ok to just compress the contents of the /home directory and store it on root?

  • @mattwong said in No audio:

    it would have created a /home on the same partition that I put the root on

    yes it is optional to have /home on its own partition, or as a folder on the same partition as / (system-root) [not users /root {admin}]

    If you have enough space under / you can do that compressing it or create a backup folder there and copy files as they are:

    mkdir /backup
    cp -R /home/mattwong /backup
    
  • @joekamprad I’m starting to see the light at the end of the tunnel with this. But the issue is that I have configurations that are causing problems.

    [[email protected] /]$ sudo cp -R /home/mattwong /backup
    cp: cannot stat '/home/mattwong/.config/libreoffice/4/user/registrymodifications.xcu': Input/output error
    

    the main issue here is that I can’t view the .config file with dolphin or ls

  • @mattwong
    Is the target disk full? What does

    df -hT
    

    say?

  • @mattwong said in No audio:

    I can’t view the .config file with dolphin or ls

    all folders and files with a leading . like .config or .xauthority are hidden files.
    you need to enable show hidden files in settings /view for dolphin:
    gnNpFQ8.gif

  • @manuel No, the target disk isn’t full. I think it’s because of the permissions again.

  • @mattwong Wierd. What does

    sudo ls -l  /home/mattwong/.config/libreoffice/4/user/registrymodifications.xcu
    

    show?

    BTW probably better to back up with cp --archive (not saying this will solve the issue)

    Alternatively you could use rsync

  • @BlaiseD Sorry it’s been so long. I’ve now backed up my home directory in a folder under root. What’s the next step?

audio50 Posts 80Views 343
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.