You are not logged in.

#26 2009-06-09 23:11:38

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

hmm, didn't worked.
can you provide a working Makefile/package.list/overlay/? i would like to compare mine with one which runs and boots fine. i definitely just forget some pkgs or a config file

Offline

#27 2009-06-09 23:15:17

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

Re: [SOLVED] Archiso doesn't work when booting

Can you successfully build install-iso which is included in the examples? It must work! If that one doesn't do, there are definitely other problems.

Offline

#28 2009-06-10 00:02:15

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

tsssss^^... that's weird oO

ERROR: cannot find boot device, cannot continue ...
Falling back to interactive prompt
Kernel panic - not syncing: Attempt to kill init!

Offline

#29 2009-06-10 10:51:42

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

Re: [SOLVED] Archiso doesn't work when booting

I had a look at your stuff and diffed it with mine and it all seems well. Only thing I can think of is your pacman.conf. Is that one clean and does it use a stable mirror?

Can you also upload the exact files you currently use for making it? I don't want the package files but the exact files existing in your system right now. For example /usr/bin/mkarchiso and /usr/share/archiso/ and the hooks. Upload those guys and I'll have a look.

Apart from that, you can try grabbing the git repo yourself and see if that works. If it doesn't, the problem is quite obscure.

Offline

#30 2009-06-10 12:48:28

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

thx a lot for ur effort :>

here are the files:
http://root.stcim.de/arch0r/archiso.tgz
http://root.stcim.de/arch0r/mkarchiso.tgz

#                              
# /etc/pacman.conf             
#                              

[options]
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log   
HoldPkg     = pacman glibc           
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/aria2c -s 2 -m 2 -d / -o %o %u

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

#[archlinuxfr]
#Server = http://repo.archlinux.fr/i686/

[kdemod-core]
Server = ftp://ftp.wh-stuttgart.net/kdemod/core/i686

[kdemod-extragear]
Server = ftp://ftp.wh-stuttgart.net/kdemod/extragear/i686

server is the ftp://hosteurope one

HOOKS="base udev autodetect pata scsi sata usbinput keymap encrypt filesystems"

edit: hmmm ... it even boots into a kernel panic when i build the iso on my laptop (tested with the package from the aur and the manually built one). is it possible that some packages are missing!?

Last edited by arch0r (2009-06-10 19:29:54)

Offline

#31 2009-06-10 20:16:59

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

Re: [SOLVED] Archiso doesn't work when booting

I'm quite certain that the current Git Archiso install sample is functional as this is what is used to create the official Arch Linux install disks. There was an error in your build log quite early on when installing the packages. You can try building the install cd on a genuine system.

Alternatively, you should chroot into the built rootfs (just mount the squashfs) and use Pacman in there and have a look around what is working and what is not. Also watch the output of pacman -Ql.

Offline

#32 2009-06-10 22:00:57

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

ok, mounted and chrooted into the squashfs. i'm taking a look around atm: all packages which i entered into the packagaes.list have been installed, BUT none of my changes and config files from the overlay/etc dir have been applied to the new system (neither any hooks in mkinitcpio.conf nor the inittab, sudoers ... -.-), there's no /boot folder

edit: read the readme, they will "squashed" together wink ... even after the iso is build wihout any errors, it'll cause a kernel panic.
so what brought you to patch the archiso package? what was the exact error that used to cause the panic?

best regards :>

Last edited by arch0r (2009-06-10 22:21:54)

Offline

#33 2009-06-10 22:47:05

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

Re: [SOLVED] Archiso doesn't work when booting

Aaron changed Archiso from unionfs to aufs2 (very wise decision) but forgot a very important change that would cause a kernel panic because the merging command at init changed from add:=blahimage to append:=blahimage and thus it would kernel panic because there wouldn't be a rootfs mounted after init. I submitted a patch to Aaron which he applied yesterday only so I fixed my package myself until he patched his Git repo.

Offline

#34 2009-06-11 23:50:43

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

okkk ... did an update from testing and installed the .30 kernel + aufs2-util from testing. no, it doesn't work now, but i get a new error (but still kernel panic sad )

tMXRpMQ

Last edited by arch0r (2009-06-11 23:54:21)

Offline

#35 2009-06-12 00:56:44

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: [SOLVED] Archiso doesn't work when booting

My first archiso related post is here. Posted today.
http://bbs.archlinux.org/viewtopic.php?id=73878


EDIT:
I have deleted here what amounted to duplication from my first archiso related post. [the above link]

I wll be posting here about the wondrous archiso. I'll try to stay calm, it's SO cool.

Last edited by yvonney (2009-06-12 01:53:14)

Offline

#36 2009-06-12 00:58:54

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

Re: [SOLVED] Archiso doesn't work when booting

Please continue discussion in this thread only! No need to spam the forums with two threads on the same issue. I'm working on the problem.

Offline

#37 2009-06-13 19:19:06

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

okk, after reinstalling archiso directly from the git, long testings and chats with svenstaro it seems to be solved now :>
i transfered the example from the wiki 1:1 and edited everything with a text based editor (this is imo quite important cause graphical text editors, i used kwrite, changed sth either in the encoding or displaced any tab stops which caused immediately a kernel panic hmm ... BUT i couldn't reproduce this "bug" today (after reinstalling archiso).

if u experience any kernel panic now, feel free to ask, i tried nearly every possibility to provoke a kernel panic big_smile

best regards :>

Offline

#38 2009-06-14 04:54:54

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

Re: [SOLVED] Archiso doesn't work when booting

Git repo should now be 100% working all by itself without patching. I left one patch in the archiso-git package anyway because it's a minor fix that enables usage of a custom pacman.conf. It will be in the git repo soon.

Offline

#39 2009-06-14 05:32:18

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: [SOLVED] Archiso doesn't work when booting

UPDATE further to my expecting a Makefile prob as said below:::::; SUCCESS!!!! you know the one where you post and then it works! Well, that happened..... So NOW the start down the long road of figuring out how to create a custom installer !!!!

BIG thanks. Sunday bliss!!

-------- written earlier --------
Great! and congrats!

So... I think my prob must be the Makefile tabs thing.
I 'tried' the other day a few times. I copied the code from the wiki into a text file. Turned on hidden characters in the editor and removed the spaces at only the beginnings of the lines and put tabs there instead. THEN the makeall would at least start and do the iso/img though panic after the boot startsed after about 6 seconds.... which is still a fair amount of booting SO..... is it my Makefile tabs??

'cause you've now told of success and also some new wiki stuff (couldn't find)  so, I think I must have never got the Makefile right.


AND can anyone please tell me how to get a working stock Makefile.

Does the wiki not allow a code view, I guess not.

Can a stock Makefile be attached to the forum?
'Whatever' is fine of course.... REALLY appreciate the forward motion on these essential scripts and proceedures!!

Last edited by yvonney (2009-06-14 08:52:27)

Offline

#40 2009-06-14 07:34:30

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

Re: [SOLVED] Archiso doesn't work when booting

Good! Nice to hear you got it working smile

I just converted all spaces to tabs on the wiki. It would be great if somebody could tell me if it works out of the box now using archiso-git and following the wiki guide.

Offline

#41 2009-06-14 10:46:14

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [SOLVED] Archiso doesn't work when booting

wiki guide's working :>

Offline

#42 2009-12-06 16:01:37

Calimero
Member
From: france
Registered: 2008-08-06
Posts: 45
Website

Re: [SOLVED] Archiso doesn't work when booting

Now, archiso-git doesn't want to use grub as bootloader ! http://pastebin.archlinux.fr/370038
Anyway, I kept the 20091004 version that at least accepts to build an image using grub, and I got this booting it : http://www.kirikoo.net/images/14Anonyme … 134810.png

Then I tried with everything up to date, and using isolinux, and I got exactly the same thing as the screenshot.


In a world without walls and fences, who needs windows and gates ?

Offline

#43 2009-12-06 18:33:29

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

Re: [SOLVED] Archiso doesn't work when booting

What did you label the CD and what label do you use in the kernel append line of isolinux.cfg? They have to match. That is, the iso label needs to match the one you pass to the archisolabel append command in isolinux.cfg. If they don't, it will not be able to find the image.

Offline

#44 2009-12-06 21:08:15

Calimero
Member
From: france
Registered: 2008-08-06
Posts: 45
Website

Re: [SOLVED] Archiso doesn't work when booting

I'm sure they matched with the 20091004 version of archiso-git

Not sure with the present version, with isolinux, you're right !

I really need a lot of entries and submenus that grub provided well.
Can't I use grub with the last archiso-git ? Totally impossible ?

Anyway, switching to isolinux, new bootloader to discover !

I'll give news soon, whether I'm still locked on this or not !
Anyway, archiso is a very nice script, I've already made 5 isos and imgs with it.


In a world without walls and fences, who needs windows and gates ?

Offline

#45 2009-12-06 22:11:22

Calimero
Member
From: france
Registered: 2008-08-06
Posts: 45
Website

Re: [SOLVED] Archiso doesn't work when booting

Bad news !
Even with the right label (case is OK), I got the same fail as the first screenshot !

I don't manage to make submenus in isolinux, too... nevermind as the live doesn't boot yet.

EDIT : It boots !!
I just repeated the process from the very beginning one more time...

Last edited by Calimero (2009-12-06 22:59:21)


In a world without walls and fences, who needs windows and gates ?

Offline

#46 2009-12-06 23:10:29

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

Re: [SOLVED] Archiso doesn't work when booting

Nice to hear it's working. We switched to isolinux to simplify the build process and to maximize compatibility. The isolinux image is both writable to a CD and to a USB at the same time. If you use the git version, yours is too! Isolinux submenus are easy and isolinux is capable of a higher image quality for the vesamenu than grub. Just search the syslinux wiki and you'll find that it can do everything that grub can.

Offline

#47 2009-12-06 23:52:41

Calimero
Member
From: france
Registered: 2008-08-06
Posts: 45
Website

Re: [SOLVED] Archiso doesn't work when booting

I can't find anything about submenus there http://syslinux.zytor.com/wiki/index.php/SYSLINUX
Does this work loading another syslinux.cfg with include ? and then return back, or reload the previous .cfg ?

I already got this, that's really nice ! http://www.kirikoo.net/images/14Anonyme … 230339.png
(btw I'm french)

Last edited by Calimero (2009-12-06 23:58:08)


In a world without walls and fences, who needs windows and gates ?

Offline

#48 2009-12-07 00:01:22

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

Re: [SOLVED] Archiso doesn't work when booting

See here at the very bottom: http://syslinux.zytor.com/wiki/index.ph … t/menu.c32
Also, capybaras rock.

Offline

#49 2009-12-10 22:53:04

Calimero
Member
From: france
Registered: 2008-08-06
Posts: 45
Website

Re: [SOLVED] Archiso doesn't work when booting

Of course they do.

And my livecd is released ! http://calimeroteknik.free.fr/ctkarchlive

Becomes nice... smile

en_US version soon.

Last edited by Calimero (2009-12-10 22:53:24)


In a world without walls and fences, who needs windows and gates ?

Offline

#50 2009-12-11 14:42:14

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

Re: [SOLVED] Archiso doesn't work when booting

Looks nice! Remember to upload your sources.

Offline

Board footer

Powered by FluxBB