public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Gentoo Linux preinstalled
@ 2005-10-13 21:33 Stefan Schweizer
  2005-10-14  7:12 ` [gentoo-dev] " Duncan
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Stefan Schweizer @ 2005-10-13 21:33 UTC (permalink / raw
  To: gentoo-dev

Hi,

I want to preinstall Gentoo Linux on some devices for customers. Do
you have any tips for preinstallation, any scripts? What is the
correct prcedure of doing so?
Anyone knows of something like a "sysprep" script for linux that will
ask the costumer for user  and passwort setup when he first switches
on the PC?

On the technical side what I am currently doing is taking a normal
setup, cleaning up distfiles, /usr/src, /tmp, /home, creating a new
usser without any files of my own ;)
cleaning out all my passwords of /etc.
partimageing the partition, and dd'ing grub and sfdisking the partition table.
Then playing back the images on the HDs I want to put into the devices later.

Regards,
Stefan

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev]  Re: Gentoo Linux preinstalled
  2005-10-13 21:33 [gentoo-dev] Gentoo Linux preinstalled Stefan Schweizer
@ 2005-10-14  7:12 ` Duncan
  2005-10-14  7:43   ` Alexander Simonov
  2005-10-17 10:53   ` Stefan Schweizer
  2005-10-14  7:38 ` [gentoo-dev] " notopic.hppa
  2005-10-17  7:06 ` Shuduo Sang
  2 siblings, 2 replies; 12+ messages in thread
From: Duncan @ 2005-10-14  7:12 UTC (permalink / raw
  To: gentoo-dev

Stefan Schweizer posted
<e79639220510131433u5bf59b36r8be28c93ab576c01@mail.gmail.com>, excerpted
below,  on Thu, 13 Oct 2005 23:33:57 +0200:

> I want to preinstall Gentoo Linux on some devices for customers. Do
> you have any tips for preinstallation, any scripts? What is the
> correct prcedure of doing so?
> Anyone knows of something like a "sysprep" script for linux that will
> ask the costumer for user  and passwort setup when he first switches
> on the PC?
> 
> On the technical side what I am currently doing is taking a normal
> setup, cleaning up distfiles, /usr/src, /tmp, /home, creating a new
> usser without any files of my own ;)
> cleaning out all my passwords of /etc.
> partimageing the partition, and dd'ing grub and sfdisking the partition table.
> Then playing back the images on the HDs I want to put into the devices later.

This is what the catalyst application does -- allow one to make their own
customized LiveCD installers*, just like Gentoo does with each periodic
snapshot release. The ebuild is in portage, and there's a catalyst
specific mailing list, should you have any questions.

---

* Presumably, they don't have to be CDs or CD images, but I've never used
it personally and haven't chanced to see that specifically stated in
threads such as this that I've come across, so can't say for sure.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Gentoo Linux preinstalled
  2005-10-13 21:33 [gentoo-dev] Gentoo Linux preinstalled Stefan Schweizer
  2005-10-14  7:12 ` [gentoo-dev] " Duncan
@ 2005-10-14  7:38 ` notopic.hppa
  2005-10-17  7:06 ` Shuduo Sang
  2 siblings, 0 replies; 12+ messages in thread
From: notopic.hppa @ 2005-10-14  7:38 UTC (permalink / raw
  To: gentoo-dev

On Thu, 13 Oct 2005 23:33:57 +0200
Stefan Schweizer <genstef@gentoo.org> wrote:

> Hi,
> 
> I want to preinstall Gentoo Linux on some devices for customers. Do
> you have any tips for preinstallation, any scripts? What is the
> correct prcedure of doing so?
> Anyone knows of something like a "sysprep" script for linux that will
> ask the costumer for user  and passwort setup when he first switches
> on the PC?

what kind of hardware and his goal ?
what kind of users ?
here are the most important questions. For me, it will be a must to create
a "stage4" (stage3+all apps need). Do a normal install with all the currents
apps used or will be used by the customer and tar.bz2 it ;)

> 
> On the technical side what I am currently doing is taking a normal
> setup, cleaning up distfiles, /usr/src, /tmp, /home, creating a new
> usser without any files of my own ;)
> cleaning out all my passwords of /etc.
> partimageing the partition, and dd'ing grub and sfdisking the partition table.
> Then playing back the images on the HDs I want to put into the devices later.
> 
> Regards,
> Stefan
> 
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev]  Re: Gentoo Linux preinstalled
  2005-10-14  7:12 ` [gentoo-dev] " Duncan
@ 2005-10-14  7:43   ` Alexander Simonov
  2005-10-14 13:15     ` Preston Cody
  2005-10-17 10:53   ` Stefan Schweizer
  1 sibling, 1 reply; 12+ messages in thread
From: Alexander Simonov @ 2005-10-14  7:43 UTC (permalink / raw
  To: gentoo-dev


What about mass instalation Gentoo?
Now it's how i know impossible, it's get more time.
Any one know technology for mass instalation Gentoo?
W/ NFS,HTTP or FTP instalation.
W/ X server, KDE or Gnome ?
W/ Office packages?
How i know RH and SuSE have this.
Thank you for ansver.


On Fri, 14.10.2005 10:12, Duncan wrote:
> Stefan Schweizer posted
> <e79639220510131433u5bf59b36r8be28c93ab576c01@mail.gmail.com>, excerpted
> below,  on Thu, 13 Oct 2005 23:33:57 +0200:
>
>> I want to preinstall Gentoo Linux on some devices for customers. Do
>> you have any tips for preinstallation, any scripts? What is the
>> correct prcedure of doing so?
>> Anyone knows of something like a "sysprep" script for linux that will
>> ask the costumer for user  and passwort setup when he first switches
>> on the PC?
>>

> This is what the catalyst application does -- allow one to make their own
> customized LiveCD installers*, just like Gentoo does with each periodic
> snapshot release. The ebuild is in portage, and there's a catalyst
> specific mailing list, should you have any questions.
>
> ---
>
> * Presumably, they don't have to be CDs or CD images, but I've never used
> it personally and haven't chanced to see that specifically stated in
> threads such as this that I've come across, so can't say for sure.
>

--
  WBR, Alexander Simonov
  Ukrainian Gentoo Community Coordinator

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Re: Gentoo Linux preinstalled
  2005-10-14  7:43   ` Alexander Simonov
@ 2005-10-14 13:15     ` Preston Cody
  0 siblings, 0 replies; 12+ messages in thread
From: Preston Cody @ 2005-10-14 13:15 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1889 bytes --]

The Gentoo Installer will be able to do mass installations very soon using a
secure XMLRPC server and nice web interface and all that jazz.
http://www.gentoo.org/proj/en/releng/installer/
you can grab experimental livecds with the installer on them from the
mirrors.
-Codeman

On 10/14/05, Alexander Simonov <devil@gentoo.org.ua> wrote:
>
>
> What about mass instalation Gentoo?
> Now it's how i know impossible, it's get more time.
> Any one know technology for mass instalation Gentoo?
> W/ NFS,HTTP or FTP instalation.
> W/ X server, KDE or Gnome ?
> W/ Office packages?
> How i know RH and SuSE have this.
> Thank you for ansver.
>
>
> On Fri, 14.10.2005 10:12, Duncan wrote:
> > Stefan Schweizer posted
> > <e79639220510131433u5bf59b36r8be28c93ab576c01@mail.gmail.com>, excerpted
> > below, on Thu, 13 Oct 2005 23:33:57 +0200:
> >
> >> I want to preinstall Gentoo Linux on some devices for customers. Do
> >> you have any tips for preinstallation, any scripts? What is the
> >> correct prcedure of doing so?
> >> Anyone knows of something like a "sysprep" script for linux that will
> >> ask the costumer for user and passwort setup when he first switches
> >> on the PC?
> >>
>
> > This is what the catalyst application does -- allow one to make their
> own
> > customized LiveCD installers*, just like Gentoo does with each periodic
> > snapshot release. The ebuild is in portage, and there's a catalyst
> > specific mailing list, should you have any questions.
> >
> > ---
> >
> > * Presumably, they don't have to be CDs or CD images, but I've never
> used
> > it personally and haven't chanced to see that specifically stated in
> > threads such as this that I've come across, so can't say for sure.
> >
>
> --
> WBR, Alexander Simonov
> Ukrainian Gentoo Community Coordinator
>
> --
> gentoo-dev@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 2527 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Gentoo Linux preinstalled
  2005-10-13 21:33 [gentoo-dev] Gentoo Linux preinstalled Stefan Schweizer
  2005-10-14  7:12 ` [gentoo-dev] " Duncan
  2005-10-14  7:38 ` [gentoo-dev] " notopic.hppa
@ 2005-10-17  7:06 ` Shuduo Sang
  2005-10-17  7:41   ` Corvus Corax
  2005-10-17 12:50   ` Chris Gianelloni
  2 siblings, 2 replies; 12+ messages in thread
From: Shuduo Sang @ 2005-10-17  7:06 UTC (permalink / raw
  To: gentoo-dev

I want to know is there any way to install a gentoo to an embedded system?
For example, ipaq. Because those samll devices do not have enough effort to
build a system from stage1.  But it still need a portage-like way to upgrade
packages.

2005/10/14, Stefan Schweizer <genstef@gentoo.org>:
> Hi,
>
> I want to preinstall Gentoo Linux on some devices for customers. Do
> you have any tips for preinstallation, any scripts? What is the
> correct prcedure of doing so?
> Anyone knows of something like a "sysprep" script for linux that will
> ask the costumer for user  and passwort setup when he first switches
> on the PC?
>
> On the technical side what I am currently doing is taking a normal
> setup, cleaning up distfiles, /usr/src, /tmp, /home, creating a new
> usser without any files of my own ;)
> cleaning out all my passwords of /etc.
> partimageing the partition, and dd'ing grub and sfdisking the partition table.
> Then playing back the images on the HDs I want to put into the devices later.
>
> Regards,
> Stefan
>
> --
> gentoo-dev@gentoo.org mailing list
>
>

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Gentoo Linux preinstalled
  2005-10-17  7:06 ` Shuduo Sang
@ 2005-10-17  7:41   ` Corvus Corax
  2005-10-17 12:50   ` Chris Gianelloni
  1 sibling, 0 replies; 12+ messages in thread
From: Corvus Corax @ 2005-10-17  7:41 UTC (permalink / raw
  To: gentoo-dev

Am Mon, 17 Oct 2005 15:06:29 +0800
schrieb Shuduo Sang <sangshuduo@gmail.com>:

> I want to know is there any way to install a gentoo to an embedded system?
> For example, ipaq. Because those samll devices do not have enough effort to
> build a system from stage1.  But it still need a portage-like way to upgrade
> packages.
> 

Well it should be possible with a network mounted data storage big enough to
compile everything on it, and hold the space consuming /usr/portage/* tree
shouldnt it?
 
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Re: Gentoo Linux preinstalled
  2005-10-14  7:12 ` [gentoo-dev] " Duncan
  2005-10-14  7:43   ` Alexander Simonov
@ 2005-10-17 10:53   ` Stefan Schweizer
  2005-10-17 12:56     ` Chris Gianelloni
  2005-10-18  2:34     ` Peter Gordon
  1 sibling, 2 replies; 12+ messages in thread
From: Stefan Schweizer @ 2005-10-17 10:53 UTC (permalink / raw
  To: gentoo-dev

On 10/14/05, Duncan <1i5t5.duncan@cox.net> wrote:
> Stefan Schweizer posted
> <e79639220510131433u5bf59b36r8be28c93ab576c01@mail.gmail.com>, excerpted
> below,  on Thu, 13 Oct 2005 23:33:57 +0200:
> > [..]
> > Anyone knows of something like a "sysprep" script for linux that will
> > ask the costumer for user  and passwort setup when he first switches
> > on the PC?
> > [...]
> This is what the catalyst application does -- allow one to make their own
> customized LiveCD installers*, just like Gentoo does with each periodic
> snapshot release. The ebuild is in portage, and there's a catalyst
> specific mailing list, should you have any questions.
[..]

Well, catalyst is not really good for that because I need something
that I can constantly upgrade without recompiling everything .. that
is a live system for me at the moment.
And LiveCD installers is nice, but what I need is a Sysprep-Installer
like when someone turns on his windows PC the first time, where you
can setuo hostname/user/password and maybe network.
Is anything like that available for Linux?

Regards,
Stefan

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Gentoo Linux preinstalled
  2005-10-17  7:06 ` Shuduo Sang
  2005-10-17  7:41   ` Corvus Corax
@ 2005-10-17 12:50   ` Chris Gianelloni
  2005-10-18 16:20     ` Shuduo Sang
  1 sibling, 1 reply; 12+ messages in thread
From: Chris Gianelloni @ 2005-10-17 12:50 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

On Mon, 2005-10-17 at 15:06 +0800, Shuduo Sang wrote:
> I want to know is there any way to install a gentoo to an embedded system?
> For example, ipaq. Because those samll devices do not have enough effort to
> build a system from stage1.  But it still need a portage-like way to upgrade
> packages.

Considering there is a "Gentoo Embedded" project that has been releasing
stages, I would say yes.  In fact, they have stages for several
architectures available.  Check out /experimental/$arch/embedded/stages
on a local mirror that mirrors /experimental.

One thing to remember is that these stages are complete stage3, just
using uclibc, so there may still be packages that you do not require for
your end system.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Re: Gentoo Linux preinstalled
  2005-10-17 10:53   ` Stefan Schweizer
@ 2005-10-17 12:56     ` Chris Gianelloni
  2005-10-18  2:34     ` Peter Gordon
  1 sibling, 0 replies; 12+ messages in thread
From: Chris Gianelloni @ 2005-10-17 12:56 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]

On Mon, 2005-10-17 at 12:53 +0200, Stefan Schweizer wrote:
> Well, catalyst is not really good for that because I need something
> that I can constantly upgrade without recompiling everything .. that
> is a live system for me at the moment.

Because there isn't any way to cache packages in catalyst to keep from
having to recompile everything...

> And LiveCD installers is nice, but what I need is a Sysprep-Installer
> like when someone turns on his windows PC the first time, where you
> can setuo hostname/user/password and maybe network.

Simple enough.  This could be done with a small shell script.

> Is anything like that available for Linux?

Sure.  Write one.  It isn't like you're asking for anything complex.  It
needs to ask the user what?  User name, password, and time zone?

Heck, you could take a note from catalyst/release media and have the
system auto-login as root using bashlogin via inittab at first boot.
Then have the system run a shell script as root.  The shell script could
adjust the files (inittab and root's .bashrc) back to their original
state, along with asking the user for their "adminstrator" password, a
username for their normal user, that user's password, and the time zone.

Most of what sysprep does is completely irrelevant for a Linux
installation, as it clears out the hardware configurations in the
registry and prepares the system for detecting the hardware on boot.  It
also allows for the setting of passwords and such.  Even with sysprep,
you end up writing your own scripts for any customized software.

(Used to be a Windows admin... scary, huh?)

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Re: Gentoo Linux preinstalled
  2005-10-17 10:53   ` Stefan Schweizer
  2005-10-17 12:56     ` Chris Gianelloni
@ 2005-10-18  2:34     ` Peter Gordon
  1 sibling, 0 replies; 12+ messages in thread
From: Peter Gordon @ 2005-10-18  2:34 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

On Mon, 2005-10-17 at 12:53 +0200, Stefan Schweizer wrote:
> And LiveCD installers is nice, but what I need is a Sysprep-Installer
> like when someone turns on his windows PC the first time, where you
> can setuo hostname/user/password and maybe network.
> Is anything like that available for Linux?

Fedora has something called firstboot[1]. Perhaps, with some alterations
and tweaking, that it could help you?

[1] http://tinyurl.com/b898t
-- 
~ Peter Gordon ~
GnuPG Public Key ID: 0x87C59026



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Gentoo Linux preinstalled
  2005-10-17 12:50   ` Chris Gianelloni
@ 2005-10-18 16:20     ` Shuduo Sang
  0 siblings, 0 replies; 12+ messages in thread
From: Shuduo Sang @ 2005-10-18 16:20 UTC (permalink / raw
  To: gentoo-dev

2005/10/17, Chris Gianelloni <wolf31o2@gentoo.org>:
> On Mon, 2005-10-17 at 15:06 +0800, Shuduo Sang wrote:
> > I want to know is there any way to install a gentoo to an embedded system?
> > For example, ipaq. Because those samll devices do not have enough effort to
> > build a system from stage1.  But it still need a portage-like way to upgrade
> > packages.
>
> Considering there is a "Gentoo Embedded" project that has been releasing
> stages, I would say yes.  In fact, they have stages for several
> architectures available.  Check out /experimental/$arch/embedded/stages
> on a local mirror that mirrors /experimental.
>
> One thing to remember is that these stages are complete stage3, just
> using uclibc, so there may still be packages that you do not require for
> your end system.
>

I did not find out the document of gentoo-embedded.
I'd like to customize my system. from desktop to embedded device.
I think most small devices  would not support a big disk now. So I just
wanna install some packages I need. And update them on my demand.
So I think portage is a good way if it already meet my requirement.

> --
> Chris Gianelloni
> Release Engineering - Strategic Lead
> x86 Architecture Team
> Games - Developer
> Gentoo Linux
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQBDU54NkT4lNIS36YERAqCTAKCSjKBUR8iTfgpkUQCNjmcalB/0tACfQKxv
> nLt0SlrydYQOyxxeQId3h5A=
> =lD+Q
> -----END PGP SIGNATURE-----
>
>
>

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-10-18 16:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-13 21:33 [gentoo-dev] Gentoo Linux preinstalled Stefan Schweizer
2005-10-14  7:12 ` [gentoo-dev] " Duncan
2005-10-14  7:43   ` Alexander Simonov
2005-10-14 13:15     ` Preston Cody
2005-10-17 10:53   ` Stefan Schweizer
2005-10-17 12:56     ` Chris Gianelloni
2005-10-18  2:34     ` Peter Gordon
2005-10-14  7:38 ` [gentoo-dev] " notopic.hppa
2005-10-17  7:06 ` Shuduo Sang
2005-10-17  7:41   ` Corvus Corax
2005-10-17 12:50   ` Chris Gianelloni
2005-10-18 16:20     ` Shuduo Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox