* bug#37293: image-size is meaningless when generating ext4 images
@ 2019-09-03 2:48 Jesse Gibbons
2019-09-03 3:04 ` Jesse Gibbons
0 siblings, 1 reply; 2+ messages in thread
From: Jesse Gibbons @ 2019-09-03 2:48 UTC (permalink / raw)
To: 37293
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
The manual says in multiple places the --image-size option should set
the size of a generated ext4 disk image.
I start with a minimalist configuration (attached: minimal.scm) and run
build-minimal-os.sh (attached). I start virt-manager and make a new
virtual machine with the generated img as the disk image. virt-manager
says the disk image is 20G. So far so good...
I run "guix pull" and it fails because it runs out of disk space.
I run df -h and see the partition mounted on / has only 494M.
available.
I run cfdisk /dev/sda and see the first partition is 20G.
I have added quite a bit to the minimal os, but have not changed the
behavior. The attached minimal.scm is my most recent version.
Does anyone know of a way to expand the main partition's size?
Thanks,
--
-Jesse
[-- Attachment #2: build-minimal-os.sh --]
[-- Type: application/x-shellscript, Size: 210 bytes --]
[-- Attachment #3: minimal.scm --]
[-- Type: text/x-scheme, Size: 542 bytes --]
(use-modules (gnu)
(gnu services networking))
(operating-system
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)))
(host-name "minimal-os")
(file-systems (cons*
(file-system
(type "ext4")
(mount-point "/")
(device "/dev/sda1")
(needed-for-boot? #t)
(create-mount-point? #t))
%base-file-systems))
(packages (cons*
%base-packages))
(services
(cons*
(service network-manager-service-type)
(service wpa-supplicant-service-type)
%base-services))
(timezone "America/Denver"))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#37293: image-size is meaningless when generating ext4 images
2019-09-03 2:48 bug#37293: image-size is meaningless when generating ext4 images Jesse Gibbons
@ 2019-09-03 3:04 ` Jesse Gibbons
0 siblings, 0 replies; 2+ messages in thread
From: Jesse Gibbons @ 2019-09-03 3:04 UTC (permalink / raw)
To: 37293
On Mon, 2019-09-02 at 20:48 -0600, Jesse Gibbons wrote:
> The manual says in multiple places the --image-size option should set
> the size of a generated ext4 disk image.
>
> I start with a minimalist configuration (attached: minimal.scm) and
> run
> build-minimal-os.sh (attached). I start virt-manager and make a new
> virtual machine with the generated img as the disk image. virt-
> manager
> says the disk image is 20G. So far so good...
>
> I run "guix pull" and it fails because it runs out of disk space.
>
> I run df -h and see the partition mounted on / has only 494M.
> available.
>
> I run cfdisk /dev/sda and see the first partition is 20G.
>
> I have added quite a bit to the minimal os, but have not changed the
> behavior. The attached minimal.scm is my most recent version.
>
> Does anyone know of a way to expand the main partition's size?
>
> Thanks,
>
If I take build-minimal-os.sh and have it build a qcow2 vm-image
instead of an ext4 disk-image it says I found a bug. I think it might
be related, but it doesn't give me any details.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-03 3:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-03 2:48 bug#37293: image-size is meaningless when generating ext4 images Jesse Gibbons
2019-09-03 3:04 ` Jesse Gibbons
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.