You are not logged in.

#1 2011-06-11 17:31:54

99Percent
Member
Registered: 2011-06-11
Posts: 32

[SOLVED] Cannot install on virtualbox

Getting the following error message after it asks for the swap partition size:

ERROR: ask_number $3 must be a number! not -256

even though I leave the default 256 on the prompt box. I tried 0, 1, 128 with the same error.

I am not sure if I am doing this properly.

I downloaded the ISO from here: http://www.archlinux.org/download/ Bittorrent download, I tried both the netinstall and the Core image ISO with the same result.

After it boots in Virtualbox it asks me to run:

/arch/setup

which I do.

Thanks.

Last edited by 99Percent (2011-06-11 20:44:45)

Offline

#2 2011-06-11 17:35:43

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cannot install on virtualbox

Welcome to the forums 99Percent. For what it's worth, a swap partition is really not useful for a Virtualbox installation, so you might as well just skip it altogether.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-06-11 18:26:04

99Percent
Member
Registered: 2011-06-11
Posts: 32

Re: [SOLVED] Cannot install on virtualbox

How do I skip the swap partition question? If I tab to cancel it cancels the Prepare Hard Drive(s) step which is required for the Install no?

FWIW the Main Menu option is pointless if you have to go through all the steps. A Previous/Next design is more apt.

Offline

#4 2011-06-11 19:25:11

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cannot install on virtualbox

On the Prepare Hard Drive step of the installation process, instead of selecting option 1 (auto-prepare) you can select option 2 (manual partitioning). This will allow you to create the partitions yourself, so you can skip the swap partition.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2011-06-11 20:09:16

99Percent
Member
Registered: 2011-06-11
Posts: 32

Re: [SOLVED] Cannot install on virtualbox

It seems like manually partitioning the virtual hard drive is not trivial (at least for a newbie like me). Can you point me to a post that tells me how to do this?

Offline

#6 2011-06-11 20:24:29

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cannot install on virtualbox

Certainly, there is extensive information on partitioning in the Arch wiki: https://wiki.archlinux.org/index.php/Partitioning


ᶘ ᵒᴥᵒᶅ

Offline

#7 2011-06-11 20:43:30

99Percent
Member
Registered: 2011-06-11
Posts: 32

Re: [SOLVED] Cannot install on virtualbox

Ok, I discovered my mistake. I was assigning all the partition for the boot (first question in the auto-prepare option) so it left nothing for the swap and the other partitions. that is why the error message resulted.

Perhaps it would be good to fix this, disallowing the user to assign all the space for the boot.

Thanks litemotiv for your help.

Offline

#8 2011-06-12 06:55:53

Cosmin
Member
Registered: 2008-10-06
Posts: 248

Re: [SOLVED] Cannot install on virtualbox

99Percent wrote:

Ok, I discovered my mistake. I was assigning all the partition for the boot (first question in the auto-prepare option) so it left nothing for the swap and the other partitions. that is why the error message resulted.

Perhaps it would be good to fix this, disallowing the user to assign all the space for the boot.

In arch the user/admin is in control, he can do more than in other distro, that can mean good or bad, arch just give him the opportunity and the responsibility big_smile

Offline

#9 2011-06-14 01:51:06

99Percent
Member
Registered: 2011-06-11
Posts: 32

Re: [SOLVED] Cannot install on virtualbox

Cosmin wrote:
99Percent wrote:

Ok, I discovered my mistake. I was assigning all the partition for the boot (first question in the auto-prepare option) so it left nothing for the swap and the other partitions. that is why the error message resulted.

Perhaps it would be good to fix this, disallowing the user to assign all the space for the boot.

In arch the user/admin is in control, he can do more than in other distro, that can mean good or bad, arch just give him the opportunity and the responsibility big_smile

I understand the principle of that philosophy, but a program should never fail that way no matter how much responsibility you leave to the "user/admin". If the user/admin wants to assign all the disk partition to the boot, then it shouldn't ask for space for the other mnts since logically no more space remains.

Offline

#10 2011-06-14 08:22:12

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Cannot install on virtualbox

99Percent wrote:

I understand the principle of that philosophy, but a program should never fail that way no matter how much responsibility you leave to the "user/admin". If the user/admin wants to assign all the disk partition to the boot, then it shouldn't ask for space for the other mnts since logically no more space remains.

Please file a bug report for this at https://bugs.archlinux.org


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB