View previous topic :: View next topic |
Author |
Message |
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Fri Jan 15, 2021 9:23 pm Post subject: [SOLVED] Unable to mount UDF (ISO) |
|
|
Hello,
I can mount an ISO but unable to access to the content ::
Code: | LANG=C sudo mount -t iso9660 Win10_20H2_French_x64.iso /mnt/test
mount: /mnt/test: WARNING: device write-protected, mounted read-only.
|
There is only 1 file, readme.txt :
Code: | cat /mnt/test/readme.txt
This disc contains a "UDF" file system and requires an operating system
that supports the ISO-13346 "UDF" file system specification.
|
Options in the kernel :
Code: | File systems --->
CD-ROM/DVD Filesystems --->
<*> ISO 9660 CDROM file system support
[*] Microsoft Joliet CDROM extensions
[*] Transparent decompression extension
<*> UDF file system support |
Code: | grep -i UDF /boot/config-5.4.80-gentoo-r1-adrien
CONFIG_UDF_FS=y
grep -i 9660 /boot/config-5.4.80-gentoo-r1-adrien
CONFIG_ISO9660_FS=y |
I use gentoo-sources-5.4.80-gentoo-r1
I only want read ISO to mount it with -o loop and -t iso9660
Can you help me ?
I search from weeks without solution, i don't understand _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox)
Last edited by Adrien.D on Sat Jan 16, 2021 8:12 am; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54794 Location: 56N 3W
|
Posted: Fri Jan 15, 2021 9:47 pm Post subject: |
|
|
Adrien.D,
Its not , its
There are many DVDs with hybrid iso9660/UDF filesystems. Sometimes with the same content, sometimes not.
In your case, mounting as iso9660 shows you the warning file.
Mounting as udf will show you want you want to see.
Its rather like Monty Python. "And now for something completely different" _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Fri Jan 15, 2021 9:50 pm Post subject: |
|
|
Thanks for the precision.
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C sudo mount -t udf -t iso9660 Win10_20H2_French_x64.iso /mnt/test
mount: /mnt/test: WARNING: device write-protected, mounted read-only.
adrien@superlinux: /media/DATA/OS/Windows/10 $ ls /mnt/test
readme.txt
adrien@superlinux: /media/DATA/OS/Windows/10 $ cat /mnt/test/readme.txt
This disc contains a "UDF" file system and requires an operating system
that supports the ISO-13346 "UDF" file system specification. |
Not work :'(
I think there is a problem in the kernel or missing tool ?
Code: | Win10_20H2_French_x64.iso: ISO 9660 CD-ROM filesystem data 'CCCOMA_X64FRE_FR-FR_DV9' (bootable) |
No problem with CentOS-7 ISO
Code: | CentOS-7-x86_64-DVD-1908.iso: ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'CentOS 7 x86_64' (bootable) |
_________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54794 Location: 56N 3W
|
Posted: Fri Jan 15, 2021 10:09 pm Post subject: |
|
|
Adrien.D,
Try Code: | LANG=C sudo mount -t udf Win10_20H2_French_x64.iso /mnt/test |
When you give a list of filesystem types, they are tried in alphabetical order and the first one that works is used. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54794 Location: 56N 3W
|
Posted: Fri Jan 15, 2021 10:13 pm Post subject: |
|
|
Adrien.D,
Code: | roy@NeddySeagoon_Static ~/downloads $ sudo mount -t iso9660 WindowsStuff/Win10_20H2_EnglishInternational_x64.iso /mnt/cdrom
Password:
mount: /mnt/cdrom: WARNING: source write-protected, mounted read-only.
roy@NeddySeagoon_Static ~/downloads $ ls /mnt/cdrom
readme.txt
roy@NeddySeagoon_Static ~/downloads $ sudo umount /mnt/cdrom
roy@NeddySeagoon_Static ~/downloads $ sudo mount -t udf WindowsStuff/Win10_20H2_EnglishInternational_x64.iso /mnt/cdrom
mount: /mnt/cdrom: WARNING: source write-protected, mounted read-only.
roy@NeddySeagoon_Static ~/downloads $ ls /mnt/cdrom
autorun.inf boot bootmgr bootmgr.efi efi setup.exe sources support
roy@NeddySeagoon_Static ~/downloads $
|
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Fri Jan 15, 2021 10:17 pm Post subject: |
|
|
NeddySeagoon wrote: | Adrien.D,
Code: | roy@NeddySeagoon_Static ~/downloads $ sudo mount -t iso9660 WindowsStuff/Win10_20H2_EnglishInternational_x64.iso /mnt/cdrom
Password:
mount: /mnt/cdrom: WARNING: source write-protected, mounted read-only.
roy@NeddySeagoon_Static ~/downloads $ ls /mnt/cdrom
readme.txt
roy@NeddySeagoon_Static ~/downloads $ sudo umount /mnt/cdrom
roy@NeddySeagoon_Static ~/downloads $ sudo mount -t udf WindowsStuff/Win10_20H2_EnglishInternational_x64.iso /mnt/cdrom
mount: /mnt/cdrom: WARNING: source write-protected, mounted read-only.
roy@NeddySeagoon_Static ~/downloads $ ls /mnt/cdrom
autorun.inf boot bootmgr bootmgr.efi efi setup.exe sources support
roy@NeddySeagoon_Static ~/downloads $
|
|
Okay :
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C sudo mount -t udf Win10_20H2_French_x64.iso /mnt/test
mount: /mnt/test: unknown filesystem type 'udf'. |
There is a problem
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C sudo modprobe udf
modprobe: FATAL: Module udf not found in directory /lib/modules/5.4.80-gentoo-r1-adrien
|
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C grep UDF /boot/config-5.4.80-gentoo-r1-adrien
CONFIG_UDF_FS=m |
I don't understand what is the problem... CONFIG_UDF_FS isn't the good option ?
I installled sys-fs/udftools but i don't think it's necessary _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54794 Location: 56N 3W
|
Posted: Fri Jan 15, 2021 10:33 pm Post subject: |
|
|
Adrien.D,
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C sudo modprobe udf
modprobe: FATAL: Module udf not found in directory /lib/modules/5.4.80-gentoo-r1-adrien |
You are running the 5.4.80-gentoo-r1-adrien kernel.
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C grep UDF /boot/config-5.4.80-gentoo-r1-adrien
CONFIG_UDF_FS=m | Is correct too.
That implies you did not run Code: | make modules
make modules_install | to install the new modules after CONFIG_UDF_FS was set.
That shortcut does not always work. Watch for build errors. You may need to rebuild the kernel and its modules, then reboot into the new kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Sat Jan 16, 2021 8:08 am Post subject: |
|
|
Hummm, i run this kernel from some reboots.
But, i have an error when i try to build without modify .config :
Code: | make[4]: *** Aucune règle pour fabriquer la cible « /lib/firmware/amdgpu/polaris11_ce.bin », nécessaire pour « drivers/base/firmware_loader/builtin/amdgpu/polaris11_ce.bin.gen.o ». Arrêt.
make[3]: *** [scripts/Makefile.build:500 : drivers/base/firmware_loader/builtin] Erreur 2
make[2]: *** [scripts/Makefile.build:500 : drivers/base/firmware_loader] Erreur 2
make[1]: *** [scripts/Makefile.build:500 : drivers/base] Erreur 2
|
I solved the problem, i compile all and retest
Without after compiling :
Code: | LD [M] fs/configfs/configfs.ko
LD [M] fs/isofs/isofs.ko
LD [M] fs/squashfs/squashfs.ko
LD [M] lib/crc-t10dif.ko
LD [M] fs/udf/udf.ko
|
The missing modules compiled, i will reboot
Edit : Now it's okay :
Code: | adrien@superlinux: /media/DATA/OS/Windows/10 $ LANG=C sudo mount -t udf Win10_20H2_French_x64.iso /mnt/test
Password:
mount: /mnt/test: WARNING: device write-protected, mounted read-only. |
I am stupid guy, it was so dumb... _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54794 Location: 56N 3W
|
Posted: Sat Jan 16, 2021 10:37 am Post subject: |
|
|
Adrien.D,
No, not stupid. Stupid is failing to learn from experience, then doing the same thing over and over.
Unfortunately, experience is what you get just after you needed it :) _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|