File system exfat is not supported ?

Non release banter
User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

File system exfat is not supported ?

Post#16 by babam » 07 Jan 2021, 09:05

Kulle wrote:
07 Jan 2021, 08:29
@Donald
Here the result:

Code: Select all

guest@porteus:~$ su
Passwort: 
root@porteus:/home/guest# mkdir /mnt/test
root@porteus:/home/guest# mount .exfat /dev/sdc1 /mnt/test
mount: bad usage
Rufen Sie „mount --help“ auf, um weitere Informationen zu erhalten.
root@porteus:/home/guest# 
bad usage ??
mount.exfat /dev/sdc1 /mnt/test
Sorry, my English is bad.

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

File system exfat is not supported ?

Post#17 by Kulle » 07 Jan 2021, 11:33

beny wrote: ↑
you have used linux without the exfat-utils i do not think you have done right.
That will be the cause!

Ventoy created the USB stick sdc:
sdc2 vfat with the folders EFI grub tool ventoy
sdc1 exfat for the ISOs

I now have 2 options:
either
A. I'll create the stick again
or
B. I will reformat sdc1 (fat32 or ext2 or ext4)

I will probably choose B
Which is better in this case, ext2 or ext4?
So far I have always used fat32 for USB sticks

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

File system exfat is not supported ?

Post#18 by Blaze » 07 Jan 2021, 12:39

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

File system exfat is not supported ?

Post#19 by Kulle » 07 Jan 2021, 15:01

I put the two modules from beny (exfat-utils...xzm and fuse-exfat...xzm) in the Porteus/modules folder so that they are activated every time it starts.
After restart I then recreated the USB stick.
No success!
sdc1 cannot be mounted.
Reformatting does not work either:

Code: Select all

root@porteus:/home/guest# mkfs -t ext2 /dev/sdc1
mke2fs 1.44.1 (24-Mar-2018)

I wait and wait, nothing happens!
I give up!
exfat obviously cannot be used in my Porteus 4.0

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

File system exfat is not supported ?

Post#20 by Blaze » 07 Jan 2021, 15:32

Porteus 5.0 RC2

Code: Select all

# lsblk -e1,7 -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT
NAME     SIZE FSTYPE TYPE MOUNTPOINT
sda    931.5G        disk 
├─sda1    50M ntfs   part /mnt/sda1
├─sda2 149.7G ntfs   part /mnt/sda2
├─sda3   508M ntfs   part /mnt/sda3
└─sda4 781.2G ntfs   part /mnt/sda4
sdb    111.8G        disk 
└─sdb1 111.8G ext2   part /mnt/sdb1
sdc    931.5G        disk 
├─sdc1 208.9G ext2   part /mnt/sdc1
└─sdc2 722.7G ext4   part 
sdd     29.3G        disk 
└─sdd1  29.3G vfat   part /mnt/sdd1
sr0     1024M        rom  

# blkid /dev/sdd1
/dev/sdd1: LABEL="KERNEL" UUID="983B-80B3" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="1b002d0c-01"

# fdisk -l | grep -C4 sdd1
Тип метки диска: dos
Идентификатор диска: 0x1b002d0c

Устр-во    Загрузочный начало    Конец  Секторы Размер Идентификатор Тип
/dev/sdd1  *             2048 61439999 61437952  29.3G             c W95 FAT32 (LBA)

# uname -a
Linux porteus.example.net 5.10.5-porteus #1 SMP Thu Jan 7 13:18:22 UTC 2021 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

File system exfat is not supported ?

Post#21 by beny » 07 Jan 2021, 17:21

hi kulle take a look at this kernel config:

Code: Select all

#
# DOS/FAT/EXFAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
# CONFIG_EXFAT_FS is not set
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
# end of DOS/FAT/EXFAT/NT Filesystems
and without the main fs support i think you can't do this task,this is mine when i compile the new one i have to put on Y all.and i love terminal but for the file system task i use gparted i have to see the work on progress.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

File system exfat is not supported ?

Post#22 by donald » 07 Jan 2021, 18:34

Guys, mounting exfat is no problem if exfat-utils and fuse-exfat are activated.

Proof: ( @ Kulle v4.0 64bit Xfce )

Code: Select all

root@porteus:/home/guest# blkid
/dev/sdc1: UUID="B1B6-C7AE" TYPE="exfat" PTTYPE="dos" PARTUUID="000c8179-01"

root@porteus:/home/guest# mkdir /mnt/test
root@porteus:/home/guest# mount.exfat /dev/sdc1 /mnt/test
FUSE exfat 1.3.0
root@porteus:/home/guest# cd /mnt/test
root@porteus:/mnt/test# mkdir bla blub
root@porteus:/mnt/test# ls
bla/  blub/
root@porteus:/mnt/test# 

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

File system exfat is not supported ?

Post#23 by Kulle » 08 Jan 2021, 09:35

After I had to cancel (see #19 above)
the USB stick is no longer recognized,
not recognized on USB 2.0, not recognized on USB 3.0.
The stick is now unusable? Can this still be repaired?

The exfat filesystem (above #6) was created by Ventoy:
sdc2 vfat with the folders EFI grub tool ventoy
sdc1 exfat for the ISOs

Now I self formatted another stick with exfat via mkfs.
Test:

Code: Select all

root@porteus:/home/guest# blkid
/dev/sda1: UUID="1E4C39F74C39C9F3" TYPE="ntfs" PARTUUID="5125f0f7-01"
... ...
/dev/loop16: TYPE="squashfs"
/dev/sdc1: UUID="AB9C-208B" TYPE="exfat" PTTYPE="dos" PARTUUID="00096f55-01"
root@porteus:/home/guest# mkdir /mnt/test
root@porteus:/home/guest# mount.exfat /dev/sdc1 /mnt/test
FUSE exfat 1.3.0
root@porteus:/home/guest# cd /mnt/test
root@porteus:/mnt/test# mkdir eins zwei
root@porteus:/mnt/test# ls
eins/  zwei/
root@porteus:/mnt/test# 
Thanks Donald.
So the exfat created by Ventoy cannot be mounted??
Has anyone used Vontoy?

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

File system exfat is not supported ?

Post#24 by Blaze » 08 Jan 2021, 09:54

Kulle wrote:
08 Jan 2021, 09:35
The stick is now unusable? Can this still be repaired?
Yes. You must to flash controller.

Welcome to Window$.
Download ChipGenius, get info about Flash Drive and searh firmware tool at Google via Controller Vendor, Controller Part-Number, Flash ID code.
In firmware tool try different settings for repiar USB Flash drive.
I have recovered a lot of flash drives.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

File system exfat is not supported ?

Post#25 by donald » 08 Jan 2021, 10:12

Kulle wrote:
08 Jan 2021, 09:35
The stick is now unusable? Can this still be repaired?
Is the stick displayed as a device with the blkid command?

Code: Select all

root@porteus:/home/guest# blkid
If yes, it might be enough to zero (wipe) the stick.
Last edited by donald on 08 Jan 2021, 10:26, edited 1 time in total.

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

File system exfat is not supported ?

Post#26 by Rava » 08 Jan 2021, 10:24

Kulle wrote:
07 Jan 2021, 11:33
Which is better in this case, ext2 or ext4?
So far I have always used fat32 for USB sticks
Since USB thumbdrives have limited write circles, I would use a non-journaling FS, or here: ext2

I hope you can revive the stick by either donald's or blaze's tips above.
Cheers!
Yours Rava

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

File system exfat is not supported ?

Post#27 by Blaze » 08 Jan 2021, 10:47

Rava wrote:
08 Jan 2021, 10:24
or here: ext2
Bad idea, coz

Code: Select all

Use ext4 for ext2 file systems 
Image

Code: Select all

# dmesg | grep sdb
EXT4-fs (sdb1): mounting ext2 file system using the ext4 subsystem
EXT4-fs (sdb1): warning: mounting unchecked fs, running e2fsck is recommended
EXT4-fs (sdb1): mounted filesystem without journal. Opts: (null)
I want to migrate to F2FS on the kernel 5.10.5
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

File system exfat is not supported ?

Post#28 by beny » 08 Jan 2021, 11:17

f2fs don't boot so you have to make a separate boot directory for....

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

File system exfat is not supported ?

Post#29 by Blaze » 08 Jan 2021, 11:25

Damn :D
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

File system exfat is not supported ?

Post#30 by Kulle » 08 Jan 2021, 11:46

@Donald
The stick is not displayed as a device with the blkid command.
After I connected this defective USB stick, also sdb is no longer displayed.
Also the icon on the desktop has also disappeared.
sdb is the Boot device with Porteus.
The system is still there (I always use copy2ram)

Code: Select all

root@porteus:/home/guest# blkid
/dev/sda1: UUID="1E4C39F74C39C9F3" TYPE="ntfs" PARTUUID="5125f0f7-01"
/dev/sda2: LABEL="Boot" UUID="A69487A494877619" TYPE="ntfs" PARTUUID="5125f0f7-02"
/dev/sda3: LABEL="Recover" UUID="34223E21223DE88E" TYPE="ntfs" PARTUUID="5125f0f7-03"
/dev/sda4: UUID="DE5A554B5A552197" TYPE="ntfs" PARTUUID="5125f0f7-04"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
root@porteus:/home/guest# 

Post Reply