LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-04-2016, 12:17 AM   #1
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Rep: Reputation: Disabled
using aryalinux in virtualbox host is Chakra-get error /dev/sda not enough space to build filesystem using superblock


using aryalinux in virtualbox host is Chakra-get error /dev/sda not enough space to build filesystem using superblock

Is a possible problem that I am using aryalinux build system in virtualbox instead of on physical hardware ?

I searched on google and watched video by chandracant.

I also searched in virtual box can only type 10 words could not find an answer.

here is output of mate terminal where the error show up :
I cannot copy and paste but here is what it shows :

The file/dev/sda1 does not exist and no size was specified
 
Old 08-05-2016, 09:07 AM   #2
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
What operating system (and version) are you using as your host?

What version of VirtualBox are you using?

Where did you get your Aryalinux ISO from?

What settings, if any, did you change from the default VirtualBox settings when you created the new VM for Aryalinux?

How much space did you assign to the new virtual hard disk?

At exactly which point are you receiving an error? During the Aryalinux install?

Last edited by hydrurga; 08-05-2016 at 09:10 AM.
 
Old 08-05-2016, 10:20 AM   #3
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
To Hydurga,

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
 
Old 08-05-2016, 12:10 PM   #4
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
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.

Last edited by hydrurga; 08-05-2016 at 02:31 PM.
 
Old 08-05-2016, 01:19 PM   #5
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
aryalinux in virtualbox

Quote:
Originally Posted by hydrurga View Post
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 again for your help so far.
 
Old 08-05-2016, 02:58 PM   #6
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
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?
 
Old 08-05-2016, 09:51 PM   #7
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
Yes I downloaded aryalinux 2016.04

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.
 
Old 08-05-2016, 09:52 PM   #8
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
Yes I downloaded aryalinux 2016.04

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.
 
Old 08-06-2016, 06:24 AM   #9
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Ok, VM up and running.

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.

I created the following partitions, for example:

1 (root) ext4 15GB "AryaRoot"
2 (swap) linux-swap 10GB
3 (home) ext4 15GB "AryaHome"

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.
 
Old 08-06-2016, 01:06 PM   #10
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-06-2016, 01:06 PM   #11
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
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
 
Old 08-06-2016, 02:26 PM   #12
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Quote:
Originally Posted by eddowlingiv View Post
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. :-)

1. From here: https://www.partitionwizard.com/part...otable-cd.html

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.
 
Old 08-06-2016, 02:33 PM   #13
hydrurga
Senior Member
 
Registered: Nov 2008
Distribution: Linux Mint 18 MATE
Posts: 1,209

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Step by step example (adjust with your preferences as required):

Create new VirtualBox VM AryaLinux (accept defaults: Type: Linux; version: Linux 2.6 / 3.x / 4.x (64-bit))
Memory: 2048MB; Hard disk: VDI / Dynamically allocated / AryaLinux / 40.00 GB
Settings: General->Advanced->Shared Clipboard & Drag'n'Drop: both Bidirectional
Settings: Display->Screen->Video Memory: 128 MB + Acceleration: Enable 3D Acceleration
Settings: Storage: add MiniTool ISO to IDE Secondary Master
Boot VM

Partitions (MiniTool)
====================
(all primary partitions)
1 (root) ext4 15GB AryaRoot
2 (swap) linux swap 10GB
3 (home) ext4 15GB AryaHome

Stop VM
Settings: Storage: add AryaLinux ISO to IDE Secondary Master
Boot VM

AryaLinux Builder
=================
AryaLinux Builder (x86_64)
Follow the AryaLinux Build Manual:

Applications->System Tools->MATE Terminal

sudo su
cd
cd scripts
./1.sh

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
 
Old 08-06-2016, 07:42 PM   #14
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 08-06-2016, 10:46 PM   #15
eddowlingiv
Member
 
Registered: Aug 2016
Posts: 40

Original Poster
Rep: Reputation: Disabled
To hydrurga,

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 )

I googled and could not find out solution.

Please continue to help thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk /dev/sda: 4799GB I cannot use all the 4.8TB space ytd Linux - Server 15 11-17-2015 05:57 AM
Error fsyncing/closing/dev/sda: Input/output error Petalocsta Linux - Laptop and Netbook 2 11-07-2011 06:40 PM
mount: /dev/sda: can't read superblock xeon123 Linux - General 4 08-18-2008 02:42 PM
Adding unpartitioned space to /dev/sda spazmatron Linux - Hardware 3 06-30-2008 02:37 PM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 09:34 PM


All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration