using aryalinux in virtualbox host is Chakra-get error /dev/sda not enough space to build filesystem using superblock
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks for your reply. I tried to copy and paste the output from running the commands in Aryalinux but it would not let me do that.
The information requested is as follows:
1. Chakra linux 64 bit rolling distribution current KDE desktop current Plasma
I do not know version # of Chakra I think the install was from fermi but it is rolling
2. Using virtual box 5.0.24 installed last week
3. I download current ISO of Aryalinux from the link to their website from distrowatch
4. I only changed ram to 512
5. I allocated 50 gb ( on my HDD 1 Terabyte drive which has about 850 GB left ) I changed download folder both for the host and in settings in VM to look in HD and install vms in HD not on SSD ( 60 gb - only about 1.7 GB left there that is why switched to HD. I also have other vms running on the hd- Open suse Tumbleweed rolling, slackel ( based on Slackware ), nix 16.03, dragonfly BSD, Lunar 1.7
I have same issue with Lunar it says /dev/sda does not exist same cor sdb1
my set up is that on my 60 Gb hd I have 2 partitions swap-2 gb and root the remainder ( side note I would like to clean up tmpfs and cache etc from ssd but was araid to use bleachbit or sweeper in case it deletes any dependencies I may need- so any help there would be appreciated )
hd 1 terabyte drive is /home Initially creating all these vms was a problem because ssd did not have enough space so i changed seting in vm to create on hdd.
Could the problem be that aryalinux installer looks on ssd ? and then says nt enough space which is the error I got before it then started saying /dev/sda does not existt
In the video on you tube from chandra when running the installer it lists the partitions with cylinders- when I run it I do not get any partitions sowing up.
6. I get the error in the installer at the last step when trying to locate partitions.
I tried taking screen shot for you both in vm and in host- they both take the screenshots but I cannot find where they put them
Thanks for the info. You should open a new thread for the bleachbit/sweeper question.
As far as your VM guest is concerned, there is only one partition at the outset, namely the virtual disk provided by VirtualBox. The guest installer runs in its own little VirtualBox world and shouldn't even know that the SSD exists. Therefore, as long as you have set up the virtual disk as being on your HDD, it should have enough space to do what it wants to do. Did you use General->Default Machine Folder in VirtualBox's preferences to change the default storage location?
Is it possible that on Aryalinux you have to create a separate partition for the built system and it is this which Aryalinux is looking for?
At some point before the error is generated, would it be possible to run blkid to see which block devices the installer actually thinks exists? The fact you say that the Aryalinux installer doesn't show any partitions isn't great.
Have you tried contacting Aryalinux about this? It may even be that it doesn't support being installed in VirtualBox, as you suggested. However the fact that you mentioned that Lunar encounters the same problem may indicate otherwise.
Just as an aside, that original error message you received occurs when mkfs.ext4 can't find a partition into which to install a new filesystem and tries to create a file containing the filesystem instead, but doesn't know how big to make the file because that hasn't been specified.
Thanks for the info. You should open a new thread for the bleachbit/sweeper question.
As far as your VM guest is concerned, there is only one partition at the outset, namely the virtual disk provided by VirtualBox. The guest installer runs in its own little VirtualBox world and shouldn't even know that the SSD exists. Therefore, as long as you have set up the virtual disk as being on your HDD, it should have enough space to do what it wants to do. Did you use General->Default Machine Folder in VirtualBox's preferences to change the default storage location?
Is it possible that on Aryalinux you have to create a separate partition for the built system and it is this which Aryalinux is looking for?
At some point before the error is generated, would it be possible to run [I]blkid/I] to see which block devices the installer actually thinks exists? The fact you say that the Aryalinux installer doesn't show any partitions isn't great.
Have you tried contacting Aryalinux about this? It may even be that it doesn't support being installed in VirtualBox, as you suggested. However the fact that you mentioned that Lunar encounters the same problem may indicate otherwise.
Just as an aside, that original error message you received occurs when mkfs.ext4 can't find a partition into which to install a new filesystem and tries to create a file containing the filesystem instead, but doesn't know how big to make the file because that hasn't been specified.
To Hydrurga
Thanks for your response answers are as follows :
1. will create separate post thread regarding bleachbit/sweeper
2.Yes I did change it to create vm on hd using Genereral/default machine folder in preferences
3. I believe that it may very well be the case that aryalinux wants a separate partition created- but do I do that from the host on the actual physical hd or is that a separate partition on the virtual hd that virtualbox provides ?
4. I followed the build script for ./1.sh commands only and then the configuration regarding name of machine,time zone etc. However i can try again and run the [ l]blkid/l ]
5.I did not try contacting aryalinux yet ( I will if necessary ) because my recollection ( which could be mistaken it was over the weekend ) is that when i did oogle and other searches in virtualbox I read something that said aryalinux does run in virtualbox and I believe the video I saw that showed that aryalinux sees the partitions and the block devices was running in virtualbox.
6.You are correct about the mkfs.ext4 I would have shown that printout in mate terminal but I could not copy and paste from the vm to this post either by using vm's screen capture or my hosts screen capture- Both seemed to take the screenshot but I could not see where it put it and there was no option to save it to a file.
Thanks. I'm going to try and replicate your problem by installing AryaLinux in a VM. There are several downloads on their home page (http://aryalinux.org/downloads/) - can I confirm that it is AryaLinux 2016.04 Builder DVD (64-bit) that you have?
As far as the additional partition is concerned (if this is the case), this would be need to be done within the VirtualBox VM i.e. in AryaLinux. The host knows nothing of what's going on inside the virtual disk - it's just one big data file to it.
Which screen capture program does your host use? Does it not have an option/preference/setting which designates where the screenshots are stored?
Chakra uses Spectacle sceen capture - I looked for option to save the screen shot did not find it nor did i find that option in aryalinux mate terminal screenshot utility
That would be great if you could try building aryalinux in virtualbox to see if you can replicate the problem
Again thank you for your help and information- I learned a few things already about how the hosts and guests ioperate. ( Obviously still n4eed to learn more to see if can get aryalinux running in virtualbox and thensame for Lunar and nix.
Chakra uses Spectacle sceen capture - I looked for option to save the screen shot did not find it nor did i find that option in aryalinux mate terminal screenshot utility
That would be great if you could try building aryalinux in virtualbox to see if you can replicate the problem
Again thank you for your help and information- I learned a few things already about how the hosts and guests ioperate. ( Obviously still n4eed to learn more to see if can get aryalinux running in virtualbox and thensame for Lunar and nix.
AryaLinux appears to require that you have already created your target hard disk partitions (in this case on the virtual disk) before you boot off the ISO. That's where you've been going wrong.
So, before booting off the AryaLinux ISO, you need to boot off a partition manager ISO (I had problems getting the GParted Live ISO to run under VirtualBox, so used a 64-bit MiniTool Partition Wizard ISO). Using this, you create three partitions on your virtual disk.
Once these have been created (if using MiniTool you need to click on the Apply icon to actually make the changes), you can then boot off the AryaLinux ISO. When it says, where you previously had the error, that /dev/sda1 already contains an ext4 filesystem and asks whether to proceed, press y.
Tank you very much. last night after I posted to you i read instructions for both aryalinux and lunar linux and both seem to require HD to be partitioned first. I was not sure if cr4eat the partition in virtualbox or in host, now thanks to you i know in virtualb ox. I have 2 questions though 1. Where do i download the mini partition tool and is that the official name of it
2. Do I download the partition tool first from host or do I open virtualbox and then download the partition tool and do I do this before I run the arya linux machine but before the installer or do i run the aryalinux machjine first then partition the hd and then run the scriptsd
Tank you very much. last night after I posted to you i read instructions for both aryalinux and lunar linux and both seem to require HD to be partitioned first. I was not sure if cr4eat the partition in virtualbox or in host, now thanks to you i know in virtualb ox. I have 2 questions though 1. Where do i download the mini partition tool and is that the official name of it
2. Do I download the partition tool first from host or do I open virtualbox and then download the partition tool and do I do this before I run the arya linux machine but before the installer or do i run the aryalinux machjine first then partition the hd and then run the scriptsd
Tank you very much. last night after I posted to you i read instructions for both aryalinux and lunar linux and both seem to require HD to be partitioned first. I was not sure if cr4eat the partition in virtualbox or in host, now thanks to you i know in virtualb ox. I have 2 questions though 1. Where do i download the mini partition tool and is that the official name of it
2. Do I download the partition tool first from host or do I open virtualbox and then download the partition tool and do I do this before I run the arya linux machine but before the installer or do i run the aryalinux machjine first then partition the hd and then run the scriptsd
It's always good to read the instructions first. :-)
2. You download it using your browser on the host, as I assume you did with the AryaLinux ISO, then use it as the VirtualBox boot disk in your AryaLinux VM. Once the virtual disk is partitioned, you use the AryaLinux ISO as the VirtualBox boot disk to install the AryaLinux-created operating system itself.
Enter device name e.g. /dev/sda: /dev/sda
Enter the root partition e.g. /dev/sda10: /dev/sda1
Enter the swap partition e.g. /dev/sda11: /dev/sda2
Enter the home partition e.g. /dev/sda12: /dev/sda3
Enter the hostname(Computer name): Arya
Enter your full name: Seymour Butts
Enter the username for Seymour Butts: seymour
Enter the domain name...: <left blank>
Enter OS Name e.g. AryaLinux: AryaLinux
Enter OS Codename: Arya1
Enter OS Version e.g. 2016.04: 2016.04
Enter Locale e.g. en_IN.utf8: en_GB.utf8
Enter Paper size (A4/letter): A4
Do you want to build using multiple processors? (y/n): n
Please identify a location...: 7 / 7 / 1 (UK)
When it says that /dev/sda1 already contains an ext4 filesystem and asks whether to proceed: y
Thanks for your response I am a little uncertain how to add aryalinux iso you say to secondary master- the options seem to be primary slave or secondary slave and neither option works- virtualbox keeps booting to the minitool ( partitions were set up fine 20 gb root 10 gb linux swap, 20 gb home However in labels is it ok to use these names. Where do I name them /dev/sda, /dev/sda1, /dev/sda2, /dev/sda3 ?
Also should I add aryalinux to IDE controller like you said or should I use sata controller .
How to switch from booting to minitool to aryalinux so I can run the scripts in Aryabuilder ?
I got past the issue in previous post but now even though I created partitions for root and home as ext4 20 GB each and swap 10 gb linux swap I get the following when unning aryabuilder scripts :
mk2fs 1.42.13 ( 17-May-2015 )
found a dos partition table in /dev/sda1 Why did it not say found ext4 filesystem )
proceed anyway y
fs_types for Mk2fs.conf resolution: ext4, floppy
mkfs.ext2 : inode_size ( 128) inodes_count (0 )
too big for a filesystem with 0 Blocks
specify higher inode_ratio (-i) or lower inode count (-N)
I checked that I created the partitions correctly 3 times and each time seemed correct with ext4 filesytem formatted on root ( /dev/sda1, and home /dev/sda3, and Linux swap on swap /dev/sda/2 )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.