You are not logged in.
Pages: 1
Following instructions on the Archiso wiki I successfully created a 'base' installation Arch Linux iso.
So far so good.
I copied the image with
dd if=archlinux-2016.03.27-x86_64.iso of=/dev/sdf;sync
onto a 32gB sdcard.
Booting the image works fine, however when I reviewed the partitions it showed:
sdb 31.3G disk /run/archiso/bootmnt
|-sdb1 265M part
`-sdb2 31G part
loop0 240.5M loop /run/archiso/sfs/airootfs
The sdb2 part is not used, the complete filesystem is located in sdb1.
I would like to have Archiso use the whole disk.
After some research I found a forum post about resizing existing partitions, while mounted. They suggested to use
resize2fs
I tried to use
resize2fs /dev/sdb1
, however it ran into errors:
Device or resouce busy while trying to open /dev/sdb1
and
Couldn't find a valid filesystem superblock
.
What is the best way to have the Archiso to use all available diskspace?
Offline
As far as I know, Archiso only creates live media. So the partition created on the sd card should be read-only. Hence my question is, why do you want it to use all of the space of the sd card?
Offline
The reason I want to use all diskspace or at least much more than the current size, is that 256M is too small to install extra packages like Xorg, Openbox,..
Last edited by kzpm (2016-03-28 08:46:12)
Offline
A live system is something else, is not like a normal installation. It is read-only and can't be changed.
Last edited by Ropid (2016-03-28 09:00:15)
Offline
Ok that is clear now!
Solved
Offline
@kzpm,
Please mark the thread as solved.
Offline
Pages: 1