Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails with error: cannot access selected timezone path. Wrong/Invalid path: /tmp/calamares-root-[$temp-dir]/usr/share/zoneinfo/[$TIMEZONE] #100

Closed
fethomm opened this issue May 1, 2023 · 6 comments
Labels
invalid Issues that are not bugs or feature requests

Comments

@fethomm
Copy link

fethomm commented May 1, 2023

Describe the bug
Install of Nitrux 2.8 (in Proxmox, which should not matter for this issue) fails with an error regarding timezone. First I chose EUROPE/BERLIN, and it failed. Then I used AMERICA/ANCHORAGE and it failed to install as well. The error message is that is shown in the screenshot says:
Failed to access the path of the selected time zone.
Details:
Invalid path: /tmp/calamares-root-c9nti5r7/usr/share/zoneinfo/Europe

To Reproduce
Steps to reproduce the behavior:

Expected behavior
Installation going through to the end

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS Proxmox (Debian)
  • Browser
  • Version
    timezone failed

Additional context
Add any other context about the problem here.

@UriHerrera
Copy link
Member

Please provide the log of Calamares when the error occurs. Also, if possible, what configuration are you using in Proxmox?

@fethomm
Copy link
Author

fethomm commented May 1, 2023

I will get you the information later today or tomorrow. What I can tell you now is that the same thing happens in VirtualBox.

@UriHerrera
Copy link
Member

UriHerrera commented May 1, 2023

I installed the distribution on VirtualBox, and there weren't any problems setting the timezone; the localecfg module in Calamares does its job.

ezgif com-video-to-gif

I have also tested by selecting Deutsch as the language, Berlin as the timezone, and using the US keyboard layout and Erase disk. There were also no problems.

@deeamboh6
Copy link

Having the same problem. Don't know how to get log.

@UriHerrera
Copy link
Member

Having the same problem. Don't know how to get log.

With sudo -E calamares -d. This is mentioned in the Notes.

@UriHerrera
Copy link
Member

UriHerrera commented May 7, 2023

I have been able to reproduce the problem on VirtualBox.

VirtualBox_VBox Default Settings_07_05_2023_01_58_31

I have used the default settings on a new VM, except for adjusting the virtual CPU cores to two.

imagen

I created an 8GB VDI for this VM, and that's precisely the problem.

What problem? The problem is that the virtual storage device is too small.

In the Notes, we link to our tutorial to install the distribution. This tutorial details the amount of necessary storage the root partition should have.

Anything less and, of course, Calamares fails to extract the SquashFS. However, this also applies to physical storage. If the root partition isn't big enough, the installation will fail.

But what if the device is 9GB? Nope. Please take a look at the image below.

The root (NX_ROOT) is only 1.78 GiB (or 1.91GB); that's too small. Our partition layout is not a single partition layout. The partition layout will automatically create the partitions using the automated options, and Calamares will create these partitions according to percentages. These percentages will scale according to the size of the target device.

Read the Notes and Changelogs (past and present) for more information.

VirtualBox_VBox Default Settings_07_05_2023_02_30_20

The thing is that Calamares doesn't say anything about it, and that's apparently because the default settings of a new VM make it boot using Legacy BIOS, not EFI. When the user sets EFI in the VM, Calamares will display an error regarding rsync, specifically, error 11. I don't know why; that, in particular, is a bug in Calamares, not a bug caused by Nitrux.

I would like to show you my point. Here's a VM with better settings, including using EFI.

imagen

And here's the error.

VirtualBox_Nitrux_07_05_2023_02_37_40


So, please do not use the default VM settings or less than the minimum requirements. The Notes have concrete recommendations; for virtualization and bare metal. Please read them (and, in general, read the Notes).

As is, the problem is solved by having a big enough root partition.

@UriHerrera UriHerrera added the invalid Issues that are not bugs or feature requests label May 7, 2023
@UriHerrera UriHerrera changed the title Install fails with any timezone Install fails with error: cannot access selected timezone path. Wrong path: /tmp/calamares-root-[$temp-dir]/usr/share/zoneinfo/[$TIMEZONE] May 7, 2023
@UriHerrera UriHerrera changed the title Install fails with error: cannot access selected timezone path. Wrong path: /tmp/calamares-root-[$temp-dir]/usr/share/zoneinfo/[$TIMEZONE] Install fails with error: cannot access selected timezone path. Wrong/Invalid path: /tmp/calamares-root-[$temp-dir]/usr/share/zoneinfo/[$TIMEZONE] May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues that are not bugs or feature requests
Projects
None yet
Development

No branches or pull requests

3 participants