You are not logged in.

#1 2012-09-13 10:14:59

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 192

[SOLVED] creating USB installation media

HI, I did find some threads here and I am following wiki.
I don;t know what is wrong or what I am doing wrong.

I want to create usb installation media which I can use as normat usb key, so I will use free space for taking things ...

I did erase all flash, I did create new partition with cfdisk. Then I did format it as VFAT.

and now wiki steps

1)  Extract the arch folder from the ISO to the USB drive. I done that and here is a list

root@guliver /run/media/jano/USBDISK # ll
total 44
drwx------  4 jano users  4096 Jan  1  1970 .
drwxr-x---+ 3 root root     60 Sep 13 11:57 ..
drwx------  3 jano users  4096 Sep 13 11:45 EFI
drwx------  6 jano users  4096 Sep 13 11:45 arch

2) Install the Syslinux bootloader:
I am not running "extlinux --install ."
I am using this "syslinux --install /dev/sdc"

3) Adjust the configuration files:
I am modifing archiso_sys{32,64}.cfg and replacing LABEL to label of vfat partition



When trying to boot from that usb I am getting this error

SYSLINUX 4.05 EDD ......
ERROR: No configuration file found
No DEFAULT or UI configuration directive found
boot:

Change "$ sed -i "s|../../|/arch|" syslinux.cfg" has no efect. Problem remain.


thanks for comments and help.

Last edited by jancici (2012-09-14 07:13:48)

Offline

#2 2012-09-14 00:39:21

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: [SOLVED] creating USB installation media

syslinux is for unmounted medium, while extlinux is for mounted medium, in both cases you need to specify where is syslinux directory.

extlinux -i <MNT-TARGET-N>/arch/boot/syslinux
syslinux -d /arch/boot/syslinux <DEV-TARGET-N>

if you made this on a FAT you need to workaround syslinux bug (should be fixed in 4.07), with sed:

sed -i "s|../../|/arch|" <MNT-TARGET-N>/arch/boot/syslinux/syslinux.cfg

For more info see: https://projects.archlinux.org/archiso. … EADME#n199

Offline

#3 2012-09-14 07:13:32

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 192

Re: [SOLVED] creating USB installation media

aha
for first time I did used extlinux, as on wiki ... but that not worked

okay syslinux -d ... did help and I can boot from usb

thank you

Offline

Board footer

Powered by FluxBB