Skip to content

How to change image size #395

Closed
Closed
@harpreet-s

Description

@harpreet-s

Hi ,

I installed file with 2GB size. Is it possible to increase size to 4gb ?

Activity

ghost

ghost commented on Jan 29, 2016

@ghost

Installation Settings (Download button) -> scroll down -> find image size menu -> change it
You must set img install mode

harpreet-s

harpreet-s commented on Jan 29, 2016

@harpreet-s
Author

I have installed it already with 2GB size and in installation type = file.Now I am out of space. I changed the setting you mentioned , image size = 4096 , however still the image file is of only 2 GB. I don't want to install again from fresh.

harpreet-s

harpreet-s commented on Jan 30, 2016

@harpreet-s
Author

any hint please !!!!

meefik

meefik commented on Jan 31, 2016

@meefik
Owner

For FAT maximum image size 4095 MB.

harpreet-s

harpreet-s commented on Jan 31, 2016

@harpreet-s
Author

Thanks for the reply. Sorry but I need some clarity.

I have installed Archlinux with file size = 2048 and type = auto. Now complete 2Gb is used and I want to increase size to 4Gb of existing installation. I change size to 4095 and start. But still the file remains 2GB. How can i make it 4GB , thanks in advance.

meefik

meefik commented on Jan 31, 2016

@meefik
Owner

LD is not supported increase size of image file. New image file will be created at the new installation.
For example, manually increase size of file /mnt/sdcard/linux.img on 3000 MB:

dd if=/dev/zero bs=1048576 count=3000 >> /mnt/sdcard/linux.img
e2fsck -f /mnt/sdcard/linux.img
resize2fs /mnt/sdcard/linux.img
harpreet-s

harpreet-s commented on Jan 31, 2016

@harpreet-s
Author

heartbreaking :( Lot of effort lost.
Ok will try a new installation !!!!

Fiksdal

Fiksdal commented on Jun 28, 2016

@Fiksdal

Hi

It looks like I can use those commands to resize the image? But where do I run them? In Terminal Emulator in Android? Or do I have to copy the image to a Linux system, then run them on the image, then move it back?

My external SD card is exFAT formatted, so it supports large file sizes. Can I put the image there, and thus have a large image?

Will it run slower from the external SD card than from the internal one?

Thanks in advance!

casept

casept commented on Oct 9, 2016

@casept

@Fiksdal , this reply might be a bit late but yes, these commands have to be run on the android device and yes, you can put the image on external storage. Just keep in mind that in android marshmallow you might need to install the "Marshmallow SD Fix" xposed module to grant linuxDeploy the permission to write to the SD Card.

Also, modern version of android use the ext4 filesystem on the internal storage, which has a file size limit of several exabytes.

ghost

ghost commented on Jun 7, 2017

@ghost

Hi,
I have 10,66 Go free on my /storage/external_SD card and the linux.img of 2Go is full to 85%....
How can I boost the image size?

Here is what I get on a terminal:
sudo losetup /dev/loop0
/dev/loop0: [0021]:3089275592 (/storage/external_SD/linux.img

Thanks,

ghost

ghost commented on Jun 9, 2017

@ghost

@jfhub You must recreate system image file (reinstall)

ghost

ghost commented on Jun 9, 2017

@ghost

Thanks for answering,
I did that, but was unable to go up to 8Go, as I wanted. I setup for 4Go.
Regards,
Jack

ghost

ghost commented on Jun 17, 2017

@ghost

@jfhub MicroSD FAT32 format is single file limit 4 GB

pks9862728888

pks9862728888 commented on Jul 15, 2017

@pks9862728888

I have already downloaded Linux img file. It's 5.56gb after extracting and I installed it via reconfigure using Linux deploy. I am using ext sd card as ROM and installed Linux in ext sd card. But I couldn't upgrade it because of low disk space. So what should I do to increase the I'm size and solve the problem?

10 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ezbik@meefik@harpreet-s@ianmihura@Fiksdal

        Issue actions

          How to change image size · Issue #395 · meefik/linuxdeploy