Re: [arch-general] Customising arch iso

2010-03-12 Thread Aaron Griffin
On Fri, Mar 12, 2010 at 4:49 PM, Thomas Bächler  wrote:
> Am 12.03.2010 20:35, schrieb Aaron Griffin:
>> Well it *is* one command from a git checkout
>>
>> cd install-iso
>> make
>
> Let's make that 2:
>
> # pacman -S archiso
> # archiso-build-cd --arch i686 --format iso

This is just too complex to do in one command like that, unless it
becomes just a wrapper for what the Makefile does, in which case
you're going to be adding lots of frameworking for error checking and
dependence whatnot (that make provides by default)

As for the packages: I honestly think we should remove it and just
have people checkout from git if they want to build a CD. /shrug


Re: [arch-general] Customising arch iso

2010-03-12 Thread Thomas Bächler
Am 12.03.2010 20:35, schrieb Aaron Griffin:
> Well it *is* one command from a git checkout
> 
> cd install-iso
> make

Let's make that 2:

# pacman -S archiso
# archiso-build-cd --arch i686 --format iso

or something like that :)

We have an archiso package from 2008 in extra. Any package is better
than that one, no matter how buggy it is.

And an easy-to-use wrapper with a manpage would be nice, so any end user
can easily build an image. I definitely won't have time for that soon,
but maybe someone else can make a patch.



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Customising arch iso

2010-03-12 Thread Aaron Griffin
On Fri, Mar 12, 2010 at 9:48 AM, Thomas Bächler  wrote:
> Am 12.03.2010 16:37, schrieb Aaron Griffin:
>>> Using the core installing then just upgrading kernel26 and
>>> kernel26-firmware to 2.6.33 worked just in case anyone was wondering.
>>> Got networking up finally :)
>>
>> Yeah, I was going to suggest just pulling the kernel updates onto a
>> thumb drive or something
>>
>
> Someone (as in not me) should really make archiso easier to use and
> document it better. The ultimate goal would be the ability to run one
> single command to get an up to date ISO - without any more configuration
> or other tweaking.

Well it *is* one command from a git checkout

cd install-iso
make


Re: [arch-general] Customising arch iso

2010-03-12 Thread Sven-Hendrik Haase
On 12.03.2010 16:48, Thomas Bächler wrote:
> Am 12.03.2010 16:37, schrieb Aaron Griffin:
>   
>>> Using the core installing then just upgrading kernel26 and
>>> kernel26-firmware to 2.6.33 worked just in case anyone was wondering.
>>> Got networking up finally :)
>>>   
>> Yeah, I was going to suggest just pulling the kernel updates onto a
>> thumb drive or something
>>
>> 
> Someone (as in not me) should really make archiso easier to use and
> document it better. The ultimate goal would be the ability to run one
> single command to get an up to date ISO - without any more configuration
> or other tweaking.
>
>   
Just get my AUR package (http://aur.archlinux.org/packages.php?ID=25996)
to get the utils installed on your system and clone git (git clone
git://projects.archlinux.org/archiso.git) to get the scripts. Then go to
archiso/configs/syslinux-iso/ and run make.
This should get you an updated set of isos for your architecture.

Also, I'm trying hard to keep the archiso wiki article
(http://wiki.archlinux.org/index.php/Archiso) updated and in good shape
to make it easier to make your own Arch-based distribution.

Please let me know if there's anything else left to document until
archiso becomes usuable to you.

-- Sven-Hendrik


Re: [arch-general] Customising arch iso

2010-03-12 Thread Thomas Bächler
Am 12.03.2010 16:37, schrieb Aaron Griffin:
>> Using the core installing then just upgrading kernel26 and
>> kernel26-firmware to 2.6.33 worked just in case anyone was wondering.
>> Got networking up finally :)
> 
> Yeah, I was going to suggest just pulling the kernel updates onto a
> thumb drive or something
> 

Someone (as in not me) should really make archiso easier to use and
document it better. The ultimate goal would be the ability to run one
single command to get an up to date ISO - without any more configuration
or other tweaking.



signature.asc
Description: OpenPGP digital signature


Re: [arch-general] Customising arch iso

2010-03-12 Thread Aaron Griffin
On Fri, Mar 12, 2010 at 8:15 AM, Damien Churchill  wrote:
> On 12 March 2010 13:19, Dieter Plaetinck  wrote:
>> On Fri, 12 Mar 2010 06:57:46 -0600
>> Dan McGee  wrote:
>>
>>> On Fri, Mar 12, 2010 at 6:29 AM, Dieter Plaetinck
>>>  wrote:
>>> > you could also try a netinstall cd and enable the testing repository
>>> > in /tmp/pacman.conf.  IIRC aif (the installer) uses pacman with that
>>> > config file, so it might just work, although i never tried it
>>> > myself. if you are not afraid of looking at bash scripts, look at
>>> > the source code of aif then you'll see how exactly
>>> > it works.
>>>
>>> A netinstall using a kernel without the necessary network drivers
>>> might prove hard to use. :)
>>>
>>> -Dan
>>
>> don't laugh :P i realised it just after hitting submit ;)
>>
>> Dieter
>>
>
> Using the core installing then just upgrading kernel26 and
> kernel26-firmware to 2.6.33 worked just in case anyone was wondering.
> Got networking up finally :)

Yeah, I was going to suggest just pulling the kernel updates onto a
thumb drive or something


Re: [arch-general] Customising arch iso

2010-03-12 Thread Damien Churchill
On 12 March 2010 13:19, Dieter Plaetinck  wrote:
> On Fri, 12 Mar 2010 06:57:46 -0600
> Dan McGee  wrote:
>
>> On Fri, Mar 12, 2010 at 6:29 AM, Dieter Plaetinck
>>  wrote:
>> > you could also try a netinstall cd and enable the testing repository
>> > in /tmp/pacman.conf.  IIRC aif (the installer) uses pacman with that
>> > config file, so it might just work, although i never tried it
>> > myself. if you are not afraid of looking at bash scripts, look at
>> > the source code of aif then you'll see how exactly
>> > it works.
>>
>> A netinstall using a kernel without the necessary network drivers
>> might prove hard to use. :)
>>
>> -Dan
>
> don't laugh :P i realised it just after hitting submit ;)
>
> Dieter
>

Using the core installing then just upgrading kernel26 and
kernel26-firmware to 2.6.33 worked just in case anyone was wondering.
Got networking up finally :)


Re: [arch-general] Customising arch iso

2010-03-12 Thread Dieter Plaetinck
On Fri, 12 Mar 2010 06:57:46 -0600
Dan McGee  wrote:

> On Fri, Mar 12, 2010 at 6:29 AM, Dieter Plaetinck
>  wrote:
> > you could also try a netinstall cd and enable the testing repository
> > in /tmp/pacman.conf.  IIRC aif (the installer) uses pacman with that
> > config file, so it might just work, although i never tried it
> > myself. if you are not afraid of looking at bash scripts, look at
> > the source code of aif then you'll see how exactly
> > it works.
> 
> A netinstall using a kernel without the necessary network drivers
> might prove hard to use. :)
> 
> -Dan

don't laugh :P i realised it just after hitting submit ;)

Dieter


Re: [arch-general] Customising arch iso

2010-03-12 Thread Dan McGee
On Fri, Mar 12, 2010 at 6:29 AM, Dieter Plaetinck  wrote:
> you could also try a netinstall cd and enable the testing repository
> in /tmp/pacman.conf.  IIRC aif (the installer) uses pacman with that
> config file, so it might just work, although i never tried it myself.
> if you are not afraid of looking at bash scripts, look at the source
> code of aif then you'll see how exactly
> it works.

A netinstall using a kernel without the necessary network drivers
might prove hard to use. :)

-Dan


Re: [arch-general] Customising arch iso

2010-03-12 Thread Dieter Plaetinck
On Fri, 12 Mar 2010 12:17:07 +
Damien Churchill  wrote:

> On 12 March 2010 12:14, Dieter Plaetinck  wrote:
> > you can also build your own iso's using archiso.
> > it's pretty easy, although you need archiso from git and you must
> > let it look in a repository that contains a 2.6.33 package (ie
> > archlinux testing)
> >
> > Dieter
> >
> 
> Ok cool, thanks!
> 
> I'm just going to try installing using the core cd and then copying
> the kernel and firmware packages over via flash, if that fails too
> then I'll resort to creating my own cd!

you could also try a netinstall cd and enable the testing repository
in /tmp/pacman.conf.  IIRC aif (the installer) uses pacman with that
config file, so it might just work, although i never tried it myself.
if you are not afraid of looking at bash scripts, look at the source
code of aif then you'll see how exactly
it works.

Dieter


Re: [arch-general] Customising arch iso

2010-03-12 Thread Dieter Plaetinck
On Fri, 12 Mar 2010 11:49:36 +
Damien Churchill  wrote:

> On 12 March 2010 10:56, Damien Churchill  wrote:
> > On 12 March 2010 10:54, Ionut Biru  wrote:
> >>
> >> On 03/12/2010 12:51 PM, Damien Churchill wrote:
> >>>
> >>> I was just wondering if there are there any up to date
> >>> instructions available for customising the arch installer? I only
> >>> need to upgrade the kernel to 2.6.32 in order to install (at
> >>> least that is the first problem I have encountered).
> >>>
> >>> Thanks in advance,
> >>>
> >>> Damien
> >>
> >> you could test this isos: http://build.archlinux.org/isos/
> >>
> >> --
> >> Ionut
> >
> > Excellent! Just what I was looking for, thanks a lot!
> >
> 
> Ahh my mistake, I need 2.6.33,
> 
> Heres the commit that adds support for my network card:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0f5aac7070a01ec757ed243febe4fff7c944c4d2
> 
> Would I be able to just install kernel26 from testing on another arch
> and copy the resulting vmlinuz26 and kerne26.img files across to the
> new iso?
> 
> Damien

you can also build your own iso's using archiso.
it's pretty easy, although you need archiso from git and you must let
it look in a repository that contains a 2.6.33 package (ie archlinux
testing)

Dieter


Re: [arch-general] Customising arch iso

2010-03-12 Thread Damien Churchill
On 12 March 2010 10:56, Damien Churchill  wrote:
> On 12 March 2010 10:54, Ionut Biru  wrote:
>>
>> On 03/12/2010 12:51 PM, Damien Churchill wrote:
>>>
>>> I was just wondering if there are there any up to date instructions
>>> available for customising the arch installer? I only need to upgrade the
>>> kernel to 2.6.32 in order to install (at least that is the first problem I
>>> have encountered).
>>>
>>> Thanks in advance,
>>>
>>> Damien
>>
>> you could test this isos: http://build.archlinux.org/isos/
>>
>> --
>> Ionut
>
> Excellent! Just what I was looking for, thanks a lot!
>

Ahh my mistake, I need 2.6.33,

Heres the commit that adds support for my network card:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0f5aac7070a01ec757ed243febe4fff7c944c4d2

Would I be able to just install kernel26 from testing on another arch
and copy the resulting vmlinuz26 and kerne26.img files across to the
new iso?

Damien


Re: [arch-general] Customising arch iso

2010-03-12 Thread Damien Churchill
On 12 March 2010 10:54, Ionut Biru  wrote:
>
> On 03/12/2010 12:51 PM, Damien Churchill wrote:
>>
>> I was just wondering if there are there any up to date instructions
>> available for customising the arch installer? I only need to upgrade the
>> kernel to 2.6.32 in order to install (at least that is the first problem I
>> have encountered).
>>
>> Thanks in advance,
>>
>> Damien
>
> you could test this isos: http://build.archlinux.org/isos/
>
> --
> Ionut

Excellent! Just what I was looking for, thanks a lot!


Re: [arch-general] Customising arch iso

2010-03-12 Thread Ionut Biru

On 03/12/2010 12:51 PM, Damien Churchill wrote:

I was just wondering if there are there any up to date instructions
available for customising the arch installer? I only need to upgrade the
kernel to 2.6.32 in order to install (at least that is the first problem I
have encountered).

Thanks in advance,

Damien


you could test this isos: http://build.archlinux.org/isos/

--
Ionut


[arch-general] Customising arch iso

2010-03-12 Thread Damien Churchill
I was just wondering if there are there any up to date instructions
available for customising the arch installer? I only need to upgrade the
kernel to 2.6.32 in order to install (at least that is the first problem I
have encountered).

Thanks in advance,

Damien