You are not logged in.

#1 2010-02-16 15:44:04

jorpheus
Member
Registered: 2008-11-07
Posts: 98

[SOLVED] Archiso - A few questions

1)

Wiki article wrote:

base-fs: root-image boot-files initcpio overlay iso-mounts syslinux

However, I get an error and it doesn't go away until I change "iso-mounts" to "isomounts" - is this an error in the wiki or is there something wrong with my setup?

2)
I successfully boot, but during boot I get  "cannot find / mount point in fstab" or similar - even though the fstab is there (copied it from the article, haven't changed anything). Since the article says "iso-mounts just a little sed magic so AUFS will be able to find its mount points at boot time", I'm again wondering - is that "iso-mounts" or "isomounts"?

3)
I used the rc.local way for adding a user, it doesn't work. Will try the other way today.

4)
Whatever files I put in overlay seem to get ignored - for instance, I put rc.conf in overlay/etc, but upon boot it's evident it got ignored (I get the usual rc.conf settings). Can't say about /etc/skel, since 3).

Last edited by jorpheus (2010-03-03 19:15:48)

Offline

#2 2010-02-16 19:45:18

Stythys
Member
From: SF Bay Area
Registered: 2008-05-18
Posts: 878
Website

Re: [SOLVED] Archiso - A few questions

1/2) we can't tell you until we know what error you're getting and what your setup is tongue. mine is 'iso-mounts' btw and works ok
3) yeah didn't work for me either. I just ended up editing the etc/rc.d/archiso script actually. works better imo.
4) hm..overlay works for me alright...

Last edited by Stythys (2010-02-16 19:46:09)


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol

Offline

#3 2010-02-16 20:23:28

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

Stythys wrote:

1/2) we can't tell you until we know what error you're getting and what your setup is tongue. mine is 'iso-mounts' btw and works ok

Well, 1) is just me wondering if it's an error in the article. Guess not.  The error is "make: *** No rule to make target `"work"/isomounts', needed by `iso-mounts'.  Stop." - and like I said, it goes away when I change 'iso-mounts' into 'isomounts'.

As for 2), here's a screenshot

Just to make sure (since the wiki article is kind of ambiguous): fstab should be in myarch/overlay/etc?

Offline

#4 2010-02-16 20:38:13

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

Re: [SOLVED] Archiso - A few questions

you have changed the WORKDIR parameter? If this is true... What is the value?

Offline

#5 2010-02-16 20:50:37

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

djgera wrote:

you have changed the WORKDIR parameter? If this is true... What is the value?

Nope. WORKDIR=work

Offline

#6 2010-02-16 21:33:30

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

OK, using a different Makefile does the trick. Probably indentation. Though I don't understand why did it work at all when changing 'iso-mounts' to 'isomounts'.


Edit:
As for rc.local, a user and his home get created when using "useradd -g users -G video,audio,optical,storage,power -m yourusername" but then password issues arise - can't log in, it won't accept the password. However, if I log in as root, then change or delete the user's pass, it works fine.

Last edited by jorpheus (2010-02-16 22:05:48)

Offline

#7 2010-02-22 20:05:58

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

This

dd if=my-image.iso of=/dev/some-usb-drive bs=8M

mutilates my USB stick - its size becomes that of the image, free space is nowhere to be found, GParted (parted -l) says it's missing a partition table ("Error: Invalid partition table - recursive partition on /dev/sdb").

Now, is there some better way than dd? Also, I want two partitions on it - is that doable with dd? If not, how could I make it work with Unetbootin/something entirely else?

Last edited by jorpheus (2010-02-22 20:21:25)

Offline

#8 2010-03-01 20:49:24

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Archiso - A few questions

jorpheus, the recursive message should be fixed in a recent git version of archiso. Are you sure you are up-to-date? The problem exits in the isohybrid part where the offset is defaulted to 0 but should be 1. If you fix that, you can resize the partitions and make it usable for other purposes. The dd will always erase it to write the first-sector details (unless you do smart dd magic).

EDIT: Can you give me more info on the isomounts problems? Perhaps put your discoveries into the wiki article?

Last edited by Svenstaro (2010-03-01 20:50:13)

Offline

#9 2010-03-03 12:36:19

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

Svenstaro wrote:

the recursive message should be fixed in a recent git version of archiso. Are you sure you are up-to-date? The problem exits in the isohybrid part where the offset is defaulted to 0 but should be 1. If you fix that, you can resize the partitions and make it usable for other purposes. The dd will always erase it to write the first-sector details (unless you do smart dd magic).

Thanks for the info, I'll update archiso-git (currently using 20100216-1) and try again.

Svenstaro wrote:

Can you give me more info on the isomounts problems? Perhaps put your discoveries into the wiki article?

If anything comes up, I'll post it here. As for the previous issues, they've been resolved (perhaps suggest the use of mingetty --autologin in the wiki article?).

Offline

#10 2010-03-03 15:10:25

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

After upgrading both the system and archiso-git:

/usr/sbin/init-jks-keystore: line 25: awk: command not found
  error adding brasil.gov.br/brasil.gov.br.crt
  error adding cacert.org/cacert.org.crt
  error adding debconf.org/ca.crt
  error adding gouv.fr/cert_igca_dsa.crt
  error adding gouv.fr/cert_igca_rsa.crt
  error adding mozilla/ABAecom_=sub.__Am._Bankers_Assn.=_Root_CA.crt
  error adding mozilla/AOL_Time_Warner_Root_Certification_Authority_1.crt
  error adding mozilla/AOL_Time_Warner_Root_Certification_Authority_2.crt
  error adding mozilla/AddTrust_External_Root.crt
  error adding mozilla/AddTrust_Low-Value_Services_Root.crt
  error adding mozilla/AddTrust_Public_Services_Root.crt
  error adding mozilla/AddTrust_Qualified_Certificates_Root.crt
  error adding mozilla/America_Online_Root_Certification_Authority_1.crt
  error adding mozilla/America_Online_Root_Certification_Authority_2.crt
  error adding mozilla/Baltimore_CyberTrust_Root.crt
  error adding mozilla/COMODO_Certification_Authority.crt
  error adding mozilla/Camerfirma_Chambers_of_Commerce_Root.crt
  error adding mozilla/Camerfirma_Global_Chambersign_Root.crt
  error adding mozilla/Certplus_Class_2_Primary_CA.crt
  error adding mozilla/Certum_Root_CA.crt
  error adding mozilla/Comodo_AAA_Services_root.crt
  error adding mozilla/Comodo_Secure_Services_root.crt
  error adding mozilla/Comodo_Trusted_Services_root.crt
  error adding mozilla/DST_ACES_CA_X6.crt
  error adding mozilla/DST_Root_CA_X3.crt
  error adding mozilla/DigiCert_Assured_ID_Root_CA.crt
  error adding mozilla/DigiCert_Global_Root_CA.crt
  error adding mozilla/DigiCert_High_Assurance_EV_Root_CA.crt
  error adding mozilla/DigiNotar_Root_CA.crt
  error adding mozilla/Digital_Signature_Trust_Co._Global_CA_1.crt
  error adding mozilla/Digital_Signature_Trust_Co._Global_CA_2.crt
  error adding mozilla/Digital_Signature_Trust_Co._Global_CA_3.crt
  error adding mozilla/Digital_Signature_Trust_Co._Global_CA_4.crt
  error adding mozilla/Entrust.net_Global_Secure_Personal_CA.crt
  error adding mozilla/Entrust.net_Global_Secure_Server_CA.crt
  error adding mozilla/Entrust.net_Premium_2048_Secure_Server_CA.crt
  error adding mozilla/Entrust.net_Secure_Personal_CA.crt
  error adding mozilla/Entrust.net_Secure_Server_CA.crt
  error adding mozilla/Entrust_Root_Certification_Authority.crt
  error adding mozilla/Equifax_Secure_CA.crt
  error adding mozilla/Equifax_Secure_Global_eBusiness_CA.crt
  error adding mozilla/Equifax_Secure_eBusiness_CA_1.crt
  error adding mozilla/Equifax_Secure_eBusiness_CA_2.crt
  error adding mozilla/Firmaprofesional_Root_CA.crt
  error adding mozilla/GTE_CyberTrust_Global_Root.crt
  error adding mozilla/GTE_CyberTrust_Root_CA.crt
  error adding mozilla/GeoTrust_Global_CA.crt
  error adding mozilla/GeoTrust_Global_CA_2.crt
  error adding mozilla/GeoTrust_Primary_Certification_Authority.crt
  error adding mozilla/GeoTrust_Universal_CA.crt
  error adding mozilla/GeoTrust_Universal_CA_2.crt
  error adding mozilla/GlobalSign_Root_CA.crt
  error adding mozilla/GlobalSign_Root_CA_-_R2.crt
  error adding mozilla/Go_Daddy_Class_2_CA.crt
  error adding mozilla/IPS_CLASE1_root.crt
  error adding mozilla/IPS_CLASE3_root.crt
  error adding mozilla/IPS_CLASEA1_root.crt
  error adding mozilla/IPS_CLASEA3_root.crt
  error adding mozilla/IPS_Chained_CAs_root.crt
  error adding mozilla/IPS_Servidores_root.crt
  error adding mozilla/IPS_Timestamping_root.crt
  error adding mozilla/NetLock_Business_=Class_B=_Root.crt
  error adding mozilla/NetLock_Express_=Class_C=_Root.crt
  error adding mozilla/NetLock_Notary_=Class_A=_Root.crt
  error adding mozilla/NetLock_Qualified_=Class_QA=_Root.crt
  error adding mozilla/Network_Solutions_Certificate_Authority.crt
  error adding mozilla/QuoVadis_Root_CA.crt
  error adding mozilla/QuoVadis_Root_CA_2.crt
  error adding mozilla/QuoVadis_Root_CA_3.crt
  error adding mozilla/RSA_Root_Certificate_1.crt
  error adding mozilla/RSA_Security_1024_v3.crt
  error adding mozilla/RSA_Security_2048_v3.crt
  error adding mozilla/SecureTrust_CA.crt
  error adding mozilla/Secure_Global_CA.crt
  error adding mozilla/Security_Communication_Root_CA.crt
  error adding mozilla/Sonera_Class_1_Root_CA.crt
  error adding mozilla/Sonera_Class_2_Root_CA.crt
  error adding mozilla/Staat_der_Nederlanden_Root_CA.crt
  error adding mozilla/Starfield_Class_2_CA.crt
  error adding mozilla/StartCom_Certification_Authority.crt
  error adding mozilla/StartCom_Ltd..crt
  error adding mozilla/SwissSign_Gold_CA_-_G2.crt
  error adding mozilla/SwissSign_Platinum_CA_-_G2.crt
  error adding mozilla/SwissSign_Silver_CA_-_G2.crt
  error adding mozilla/Swisscom_Root_CA_1.crt
  error adding mozilla/TC_TrustCenter__Germany__Class_2_CA.crt
  error adding mozilla/TC_TrustCenter__Germany__Class_3_CA.crt
  error adding mozilla/TDC_Internet_Root_CA.crt
  error adding mozilla/TDC_OCES_Root_CA.crt
  error adding mozilla/TURKTRUST_Certificate_Services_Provider_Root_1.crt
  error adding mozilla/TURKTRUST_Certificate_Services_Provider_Root_2.crt
  error adding mozilla/Taiwan_GRCA.crt
  error adding mozilla/Thawte_Personal_Basic_CA.crt
  error adding mozilla/Thawte_Personal_Freemail_CA.crt
  error adding mozilla/Thawte_Personal_Premium_CA.crt
  error adding mozilla/Thawte_Premium_Server_CA.crt
  error adding mozilla/Thawte_Server_CA.crt
  error adding mozilla/Thawte_Time_Stamping_CA.crt
  error adding mozilla/UTN-USER_First-Network_Applications.crt
  error adding mozilla/UTN_DATACorp_SGC_Root_CA.crt
  error adding mozilla/UTN_USERFirst_Email_Root_CA.crt
  error adding mozilla/UTN_USERFirst_Hardware_Root_CA.crt
  error adding mozilla/ValiCert_Class_1_VA.crt
  error adding mozilla/ValiCert_Class_2_VA.crt
  error adding mozilla/VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.crt
  error adding mozilla/Verisign_Class_1_Public_Primary_Certification_Authority.crt
  error adding mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.crt
  error adding mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.crt
  error adding mozilla/Verisign_Class_2_Public_Primary_Certification_Authority.crt
  error adding mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G2.crt
  error adding mozilla/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.crt
  error adding mozilla/Verisign_Class_3_Public_Primary_Certification_Authority.crt
  error adding mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G2.crt
  error adding mozilla/Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.crt
  error adding mozilla/Verisign_Class_4_Public_Primary_Certification_Authority_-_G2.crt
  error adding mozilla/Verisign_Class_4_Public_Primary_Certification_Authority_-_G3.crt
  error adding mozilla/Verisign_RSA_Secure_Server_CA.crt
  error adding mozilla/Verisign_Time_Stamping_Authority_CA.crt
  error adding mozilla/Visa_International_Global_Root_2.crt
  error adding mozilla/Visa_eCommerce_Root.crt
  error adding mozilla/WellsSecure_Public_Root_Certificate_Authority.crt
  error adding mozilla/Wells_Fargo_Root_CA.crt
  error adding mozilla/XRamp_Global_CA_Root.crt
  error adding mozilla/beTRUSTed_Root_CA-Baltimore_Implementation.crt
  error adding mozilla/beTRUSTed_Root_CA.crt
  error adding mozilla/beTRUSTed_Root_CA_-_Entrust_Implementation.crt
  error adding mozilla/beTRUSTed_Root_CA_-_RSA_Implementation.crt
  error adding mozilla/thawte_Primary_Root_CA.crt
  error adding signet.pl/signet_ca1_pem.crt
  error adding signet.pl/signet_ca2_pem.crt
  error adding signet.pl/signet_ca3_pem.crt
  error adding signet.pl/signet_ocspklasa2_pem.crt
  error adding signet.pl/signet_ocspklasa3_pem.crt
  error adding signet.pl/signet_pca2_pem.crt
  error adding signet.pl/signet_pca3_pem.crt
  error adding signet.pl/signet_rootca_pem.crt
  error adding signet.pl/signet_tsa1_pem.crt
  error adding spi-inc.org/spi-ca-2003.crt
  error adding spi-inc.org/spi-cacert-2008.crt
  error adding telesec.de/deutsche-telekom-root-ca-2.crt
failed.
Cleaning up what we can
cp -r "work"/root-image/boot "work"/iso/
cp -r boot-files/* "work"/iso/boot/
mkdir -p "work"/iso/boot
mkinitcpio -c ./mkinitcpio.conf -b "work"/root-image -k 2.6.32-ARCH -g "work"/iso/boot/larch.img
:: Begin build
:: Parsing hook [base]
FATAL: Hook 'archiso-early' can not be found.
make: *** ["work"/iso/boot/larch.img] Error 1

Offline

#11 2010-03-03 15:28:18

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Archiso - A few questions

Two things: archiso_early was renamed to and gawk (which provides you are version of awk) is included in the base group which you seem to have removed. Install the base group (put "base" into your packages list)! It should work after those changes.

Offline

#12 2010-03-03 16:02:11

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

Svenstaro wrote:

Two things: archiso_early was renamed to and gawk (which provides you are version of awk) is included in the base group which you seem to have removed. Install the base group (put "base" into your packages list)! It should work after those changes.

The wiki doesn't reflect this? What's it called now?


Gawk is installed.

Name           : gawk
Version        : 3.1.7-1
URL            : http://www.gnu.org/directory/GNU/gawk.html
Licenses       : GPL  
Groups         : base  
Provides       : awk
Depends On     : sh  glibc  
Optional Deps  : None
Required By    : autoconf  initscripts  sysvinit  
Conflicts With : None
Replaces       : None
Installed Size : 1865.00 K
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Architecture   : i686
Build Date     : Sat 01 Aug 2009 12:09:25 PM CEST
Install Date   : Thu 06 Aug 2009 08:59:36 PM CEST
Description    : Gnu version of awk

Also, base is in packages.list.

Last edited by jorpheus (2010-03-03 16:02:57)

Offline

#13 2010-03-03 16:05:10

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Archiso - A few questions

Whoops, cut a word there. I meant to say archiso-early was renamed to archiso_early (and the wiki has been saying so for a bunch of days: http://wiki.archlinux.org/index.php/Arc … cpio.conf). The awk stuff is strange. Perhaps a missing dependency of another package?

Offline

#14 2010-03-03 16:22:53

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

Svenstaro wrote:

I meant to say archiso-early was renamed to archiso_early (and the wiki has been saying so for a bunch of days

Yup, overlooked it, sorry.


The awk stuff is strange. Perhaps a missing dependency of another package?

Just random, apparently - it went away along with the hook error.

Offline

#15 2010-03-03 16:23:30

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Archiso - A few questions

Well, is it working now?

Last edited by Svenstaro (2010-03-03 16:23:52)

Offline

#16 2010-03-03 18:58:08

jorpheus
Member
Registered: 2008-11-07
Posts: 98

Re: [SOLVED] Archiso - A few questions

Just finished testing it, everything works just fine. Yay smile

Offline

#17 2010-03-03 19:14:17

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [SOLVED] Archiso - A few questions

Nice. Please put a [SOLVED] in the title and see if the wiki 100% reflects the current state of Archiso according to your experiences.

Offline

#18 2010-03-04 08:02:49

el_cammello
Member
From: Italy
Registered: 2009-03-20
Posts: 70
Website

Re: [SOLVED] Archiso - A few questions

jorpheus wrote:

Just finished testing it, everything works just fine. Yay smile

then I have some configuration problem, because my ISO doesn't boot, I have all the latest versions of packages, the system is upgraded, I followed the archiso wiki, I can't understand what's wrong (and in January my configurations worked, I've now applied the new changes from the wiki, no problem in the output of mkarchiso, but the iso doesn't boot (ramfs after archiso hook!) )

I try to recheck the configurations, if I find no errors I'll open a new topic

(sorry for english)


Sorry for my bad english :-)

Offline

Board footer

Powered by FluxBB