You are not logged in.

#1 2013-08-13 13:11:59

yys2000
Member
Registered: 2012-03-23
Posts: 5

Problem with USB key installation

I use dd command to write the iso image to an USB key (8G). Then I use partition tool to increase the Linux partition to 7G from 34M.
But during the installation of xfce4, the OS reports no enough space left. How to solve this issue?
Also parman reports erros during the installation of archiso.

Thanks,

Offline

#2 2013-08-13 13:17:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Problem with USB key installation

If you burn an iso to a usb with dd, that will not be a persistent system.  You cannot actually change the size of if nor install anything new (at least nothing that would survive a reboot).

If you want to install a persistent system on a usb, there is a wiki page for that - and it is pretty simple.  I've done it many times.  But you need to follow the installation instructions, not the live-media creation instructions.

You'll mount and partition the usb, use pacstrap, configure files, and install a bootloader on the usb.

EDIT: if, however, you don't need a modifiable system, but rather you just want to create a customized live-usb, there are tools for this as well - I haven't used them and I get a couple names confused: archboot and archiso.  At least one of those would be the tool for this.

Last edited by Trilby (2013-08-13 13:19:20)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-08-13 13:31:35

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Problem with USB key installation

For the record, when you resize a partition you also need to resize the filesystem. But as Trilby said, even then you would still have a non-persistent system if you just dd'd the iso.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2013-08-13 14:35:03

yys2000
Member
Registered: 2012-03-23
Posts: 5

Re: Problem with USB key installation

Thanks, it seems that I have to install arch linux into hard drive first, then create a customized image using archiso, then burn it to USB key.

Offline

#5 2013-08-13 14:42:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Problem with USB key installation

If you want, you could also install (full install not burned iso) to one usb, customize the iso there, then burn it to a different usb.  This requires an additional usb drive, at least for temporary use, but does not require changing anything on the hard drive.

In short, this would include
1) burn installation iso to usb on /dev/sdb (for example)
2) boot to usb that was on /dev/sdb
3) from that live system partition /dev/sdc, mount, mkfs, pacstrap, configure ... , install bootloader
4) reboot now from the new system (which was sdc)
5) customize an iso there, then burn it to /dev/sdb (same flash drive as in step 1).

Note that block device names are just an example, these can and probably will change with each reboot.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB