public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] create an installable custom distro with gentoo?
       [not found] <46200F6A.6080408@gmail.com>
@ 2007-04-13 21:38 ` Pongracz Istvan
  2007-04-14  8:52 ` [gentoo-user] " Marc Blumentritt
  2007-04-14 12:45 ` [gentoo-user] " Michal 'vorner' Vaner
  2 siblings, 0 replies; 13+ messages in thread
From: Pongracz Istvan @ 2007-04-13 21:38 UTC (permalink / raw
  To: gentoo-user

2007. 04. 13, péntek keltezéssel 23.16-kor b.n. ezt írta:
> Hi,
> 
> I have looked a bit for this but I've found nothing.

> However I'd like to see some tutorial/advice/whatever about it.
> 
> m.

Hi,

Try out catalyst, which is part of portage.
It is easy to create a custom own livecd.

>From livecd, you can rsync its content (from /mnt/livecd/) to hdd and
you can customize.
For example my "distribution" is a customized livecd, which is capable
to install it to hdd (i686 optimized) and focused to server
functionalities. 
ftp://ftp.linuxforum.hu/magenta/releases/x86/livecd
here you can see glivecd.0.0.1.iso

The learning curve is funny ;)
With catalyst, you can make uptodate stages etc.
It is a really great tool. Everybody able to make an own release :)

Regards,
István

-- 
IT szolgáltatások, alkalmazásszolgáltatás
http://www.osbusiness.hu

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: create an installable custom distro with gentoo?
       [not found] <46200F6A.6080408@gmail.com>
  2007-04-13 21:38 ` [gentoo-user] create an installable custom distro with gentoo? Pongracz Istvan
@ 2007-04-14  8:52 ` Marc Blumentritt
  2007-04-14  9:11   ` purple
  2007-04-15 12:10   ` b.n.
  2007-04-14 12:45 ` [gentoo-user] " Michal 'vorner' Vaner
  2 siblings, 2 replies; 13+ messages in thread
From: Marc Blumentritt @ 2007-04-14  8:52 UTC (permalink / raw
  To: gentoo-user

b.n. schrieb:
> Hi,
> 
> I have looked a bit for this but I've found nothing.
> I'd like to create an installable disk ready-to-install on another old,
> low specs machine that cannot bear a Gentoo install by itself.
> 
> The logic would be:
> - create a chroot environment
> - install a subgentoo in it
> - emerge the needed sw in the subgentoo, tweak etc.
Then create a tarball from it. You could call this tarball a stage4
tarball, because it is a complete system (compared to a stage3 tarball).

To create the tarball, leave the chroot an run something like this:
tar -cjvpf /stage4.tar.bz2 /path/to/your/chroot

Boot your old machine with a gentoo live cd and create partitions
(follow the gentoo handbook to chapter 4) and copy your tarball to it.

After unpacking the tarball, your system is nearly finished. All you
need to do is to install grub (or your personal choice of bootloader)
and that's it.


For this method you do not need a special install medium. But you have
to find a way to copy the tarball to your system. Possible options are
scp or on cd (in this case you need a second drive or boot your cd with
the option to load the whole image to memory (I d'ont remember the name
for it), but since you said you have an old machine, the memory will be
small...).


Regards
Marc

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Re: create an installable custom distro with gentoo?
  2007-04-14  8:52 ` [gentoo-user] " Marc Blumentritt
@ 2007-04-14  9:11   ` purple
  2007-04-15 12:10   ` b.n.
  1 sibling, 0 replies; 13+ messages in thread
From: purple @ 2007-04-14  9:11 UTC (permalink / raw
  To: gentoo-user

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

"in this case you need a second drive or boot your cd with
the option to load the whole image to memory (I d'ont remember the name
for it"

in boot prompt of livecd type:

# gentoo docache

greets :)

-- 
purple..

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

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

* Re: [gentoo-user] create an installable custom distro with gentoo?
       [not found] <46200F6A.6080408@gmail.com>
  2007-04-13 21:38 ` [gentoo-user] create an installable custom distro with gentoo? Pongracz Istvan
  2007-04-14  8:52 ` [gentoo-user] " Marc Blumentritt
@ 2007-04-14 12:45 ` Michal 'vorner' Vaner
  2007-04-14 20:53   ` Neil Bothwick
  2 siblings, 1 reply; 13+ messages in thread
From: Michal 'vorner' Vaner @ 2007-04-14 12:45 UTC (permalink / raw
  To: gentoo-user

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

Hello

On Fri, Apr 13, 2007 at 11:16:58PM +0000, b.n. wrote:
>  Hi,
> 
>  I have looked a bit for this but I've found nothing.
>  I'd like to create an installable disk ready-to-install on another old, low 
>  specs machine that cannot bear a Gentoo install by itself.
> 
>  The logic would be:
>  - create a chroot environment
>  - install a subgentoo in it
>  - emerge the needed sw in the subgentoo, tweak etc.
>  - create an installable medium <--???
>  - install on the old box
> 
>  The "installable" needs not to be complete... I can install Grub by myself 
>  on the box, for example, and just copy the files of the subgentoo on the 
>  partitions.
> 
>  However I'd like to see some tutorial/advice/whatever about it.

This is not exactly what you have asked for, but I did install this way
on an old machine (1.5GB disc, 48MB ram) and it worked. You need to:

• Get some space for swap and create partitions
• Unpack the stage tarball (preferably stage3)
• Install nfs
	(that time, I had to compile kernel for it, but I hope the today
	livecd has one nfs-capable).
• Install distcc

Now you can mount /var remotely (portage compiles there and needs lots
of space) - this way you need only the space for installed programs, not
compiling and compile on other machine using distcc. It is more or less
install the usual way, but with a great help of other computer by
network. The advantage is, you can keep updating the system the same
way.

Have a nice day

-- 
This is a terroristic email. It will explode in 10 minutes, 
if you do not close it in the meantime.

Michal "vorner" Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] create an installable custom distro with gentoo?
  2007-04-14 12:45 ` [gentoo-user] " Michal 'vorner' Vaner
@ 2007-04-14 20:53   ` Neil Bothwick
  2007-04-16 22:01     ` Michal 'vorner' Vaner
  0 siblings, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2007-04-14 20:53 UTC (permalink / raw
  To: gentoo-user

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

Hello Michal 'vorner' Vaner,

> Now you can mount /var remotely (portage compiles there and needs lots
> of space) - this way you need only the space for installed programs, not
> compiling and compile on other machine using distcc.

portage can use any directory you like for its workspace, you don't have
to remote mount /var to achieve this. You could mount /var/tmp over NFS,
but setting PORTAGE_TMPDIR is less kludgy. 


-- 
Neil Bothwick

Data to Picard: 'No, Captain, I do NOT run WINDOWS!'

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user]  Re: create an installable custom distro with gentoo?
  2007-04-14  8:52 ` [gentoo-user] " Marc Blumentritt
  2007-04-14  9:11   ` purple
@ 2007-04-15 12:10   ` b.n.
  2007-04-16 17:36     ` Marc Blumentritt
  1 sibling, 1 reply; 13+ messages in thread
From: b.n. @ 2007-04-15 12:10 UTC (permalink / raw
  To: gentoo-user

Marc Blumentritt ha scritto:

> Then create a tarball from it. You could call this tarball a stage4
> tarball, because it is a complete system (compared to a stage3 tarball).
> 
> To create the tarball, leave the chroot an run something like this:
> tar -cjvpf /stage4.tar.bz2 /path/to/your/chroot
> 
> Boot your old machine with a gentoo live cd and create partitions
> (follow the gentoo handbook to chapter 4) and copy your tarball to it.
> 
> After unpacking the tarball, your system is nearly finished. All you
> need to do is to install grub (or your personal choice of bootloader)
> and that's it.

Thanks a lot, that's more or less what I thought to do.
I hoped for some integrated solution that attached some kind of nice 
installer, but no problem.

> For this method you do not need a special install medium. But you have
> to find a way to copy the tarball to your system. 
 > Possible options are
 > scp or on cd (in this case you need a second drive or boot your cd with
 > the option to load the whole image to memory (I d'ont remember the name
 > for it), but since you said you have an old machine, the memory will be
 > small...).


Yes, this is quite boring, since I wouldn't like to rely on 
network/double drive. Wouldn't it be possible to use a multisession 
cd/dvd with the gentoo cd in the first session and the tarball in the 
second (or editing the gentoo cd ISO)?

m.
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: create an installable custom distro with gentoo?
  2007-04-15 12:10   ` b.n.
@ 2007-04-16 17:36     ` Marc Blumentritt
  2007-04-16 22:14       ` b.n.
  0 siblings, 1 reply; 13+ messages in thread
From: Marc Blumentritt @ 2007-04-16 17:36 UTC (permalink / raw
  To: gentoo-user

b.n. schrieb:
> Yes, this is quite boring, since I wouldn't like to rely on
> network/double drive. Wouldn't it be possible to use a multisession
> cd/dvd with the gentoo cd in the first session and the tarball in the
> second (or editing the gentoo cd ISO)?


I d'ont know. I'm not good at this CD-ISO stuff, though I always use
network, if possible. What about a USB-Stick (if you have USB 2.0)? Or
possibly a second hard drive? Or you move the harddrive from your old
machine to your build machine and build everything on it? In this way
you do not need a tarball. OK, it is not very comfortable, but simple to
realize and quite fast to do.

Regards
Marc

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] create an installable custom distro with gentoo?
  2007-04-14 20:53   ` Neil Bothwick
@ 2007-04-16 22:01     ` Michal 'vorner' Vaner
  2007-04-16 22:35       ` Neil Bothwick
  0 siblings, 1 reply; 13+ messages in thread
From: Michal 'vorner' Vaner @ 2007-04-16 22:01 UTC (permalink / raw
  To: gentoo-user

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

Hello,

On Sat, Apr 14, 2007 at 09:53:54PM +0100, Neil Bothwick wrote:
> Hello Michal 'vorner' Vaner,
> 
> > Now you can mount /var remotely (portage compiles there and needs lots
> > of space) - this way you need only the space for installed programs, not
> > compiling and compile on other machine using distcc.
> 
> portage can use any directory you like for its workspace, you don't have
> to remote mount /var to achieve this. You could mount /var/tmp over NFS,
> but setting PORTAGE_TMPDIR is less kludgy. 

Well, seems on the same level for me, but that is only personal
preference. But the point with this one is - PORTAGE_TMPDIR (besides,
isn't it PORTAGE_WORKDIR?) is gentoo specific, but you can do the
mounting just anywhere.

Anyway, the point is probably clear…

With regards

-- 
Anyone who goes to a psychiatrist ought to have his head examined.
		-- Samuel Goldwyn

Michal 'vorner' Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user]  Re: create an installable custom distro with gentoo?
  2007-04-16 17:36     ` Marc Blumentritt
@ 2007-04-16 22:14       ` b.n.
  0 siblings, 0 replies; 13+ messages in thread
From: b.n. @ 2007-04-16 22:14 UTC (permalink / raw
  To: gentoo-user

Marc Blumentritt ha scritto:
> I d'ont know. I'm not good at this CD-ISO stuff, though I always use
> network, if possible. What about a USB-Stick (if you have USB 2.0)? Or
> possibly a second hard drive? Or you move the harddrive from your old
> machine to your build machine and build everything on it? In this way
> you do not need a tarball. OK, it is not very comfortable, but simple to
> realize and quite fast to do.

Problem is, I'd like a general solution that can work on any kind of 
machine, no matter if it's network connected, it has 1 or 2 cd drives etc.

m.
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] create an installable custom distro with gentoo?
  2007-04-16 22:01     ` Michal 'vorner' Vaner
@ 2007-04-16 22:35       ` Neil Bothwick
  2007-04-17  9:00         ` Alan McKinnon
  2007-04-20 10:51         ` Michal 'vorner' Vaner
  0 siblings, 2 replies; 13+ messages in thread
From: Neil Bothwick @ 2007-04-16 22:35 UTC (permalink / raw
  To: gentoo-user

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

On Tue, 17 Apr 2007 00:01:24 +0200, Michal 'vorner' Vaner wrote:

> > > Now you can mount /var remotely (portage compiles there and needs
> > > lots of space) - this way you need only the space for installed
> > > programs, not compiling and compile on other machine using distcc.  
> > 
> > portage can use any directory you like for its workspace, you don't
> > have to remote mount /var to achieve this. You could mount /var/tmp
> > over NFS, but setting PORTAGE_TMPDIR is less kludgy.   
> 
> Well, seems on the same level for me, but that is only personal
> preference.

It's not the same at all. you are advocating mounting the whole of /var
on a networked filesystem, which could affect the performance of the
system as a whole.

> But the point with this one is - PORTAGE_TMPDIR (besides,
> isn't it PORTAGE_WORKDIR?)

No, it's PORTAGE_TMPDIR, check your make.conf.

> is gentoo specific, but you can do the
> mounting just anywhere.

The last time I looked, portage compiles were Gentoo-specific too. If you
want to change where portage uses for its workspace, it is much safer to
use the provided configuration settings than move the whole of a
system-critical directory to an unreliable medium.


-- 
Neil Bothwick

User-friendly: (adj.) trivialized, slow, incapable, and boring.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] create an installable custom distro with gentoo?
  2007-04-16 22:35       ` Neil Bothwick
@ 2007-04-17  9:00         ` Alan McKinnon
  2007-04-20 10:54           ` Michal 'vorner' Vaner
  2007-04-20 10:51         ` Michal 'vorner' Vaner
  1 sibling, 1 reply; 13+ messages in thread
From: Alan McKinnon @ 2007-04-17  9:00 UTC (permalink / raw
  To: gentoo-user

On Tuesday 17 April 2007, Neil Bothwick wrote:
> The last time I looked, portage compiles were Gentoo-specific too. If
> you want to change where portage uses for its workspace, it is much
> safer to use the provided configuration settings than move the whole
> of a system-critical directory to an unreliable medium.

Going slightly OT here, but does anyone know which ebuilds are the big 
ones using lots of space in /var/tmp when compiling? Apart from OOo 
that is :-)

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] create an installable custom distro with gentoo?
  2007-04-16 22:35       ` Neil Bothwick
  2007-04-17  9:00         ` Alan McKinnon
@ 2007-04-20 10:51         ` Michal 'vorner' Vaner
  1 sibling, 0 replies; 13+ messages in thread
From: Michal 'vorner' Vaner @ 2007-04-20 10:51 UTC (permalink / raw
  To: gentoo-user

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

Hello

On Mon, Apr 16, 2007 at 11:35:25PM +0100, Neil Bothwick wrote:
> On Tue, 17 Apr 2007 00:01:24 +0200, Michal 'vorner' Vaner wrote:
> > > portage can use any directory you like for its workspace, you don't
> > > have to remote mount /var to achieve this. You could mount /var/tmp
> > > over NFS, but setting PORTAGE_TMPDIR is less kludgy.   
> > 
> > Well, seems on the same level for me, but that is only personal
> > preference.
> 
> It's not the same at all. you are advocating mounting the whole of /var
> on a networked filesystem, which could affect the performance of the
> system as a whole.

Yes, which I was glad - the NFS filesystem was faster than local disk :D

But that is not the point, as nothing run at the time (the machine had
enough anyway).

Have a nice day

-- 
Wait few minutes before opening this email. The temperature difference 
could lead to vapour condensation.

Michal "vorner" Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] create an installable custom distro with gentoo?
  2007-04-17  9:00         ` Alan McKinnon
@ 2007-04-20 10:54           ` Michal 'vorner' Vaner
  0 siblings, 0 replies; 13+ messages in thread
From: Michal 'vorner' Vaner @ 2007-04-20 10:54 UTC (permalink / raw
  To: gentoo-user

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

Hello

On Tue, Apr 17, 2007 at 11:00:51AM +0200, Alan McKinnon wrote:
> On Tuesday 17 April 2007, Neil Bothwick wrote:
> > The last time I looked, portage compiles were Gentoo-specific too. If
> > you want to change where portage uses for its workspace, it is much
> > safer to use the provided configuration settings than move the whole
> > of a system-critical directory to an unreliable medium.
> 
> Going slightly OT here, but does anyone know which ebuilds are the big 
> ones using lots of space in /var/tmp when compiling? Apart from OOo 
> that is :-)

Depends what is big for your machine. gcc was huge for that machine,
xorg too, mutt was only big…

Have a nice day

-- 
_(){ _&_;};_

Michal 'vorner' Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2007-04-20 11:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <46200F6A.6080408@gmail.com>
2007-04-13 21:38 ` [gentoo-user] create an installable custom distro with gentoo? Pongracz Istvan
2007-04-14  8:52 ` [gentoo-user] " Marc Blumentritt
2007-04-14  9:11   ` purple
2007-04-15 12:10   ` b.n.
2007-04-16 17:36     ` Marc Blumentritt
2007-04-16 22:14       ` b.n.
2007-04-14 12:45 ` [gentoo-user] " Michal 'vorner' Vaner
2007-04-14 20:53   ` Neil Bothwick
2007-04-16 22:01     ` Michal 'vorner' Vaner
2007-04-16 22:35       ` Neil Bothwick
2007-04-17  9:00         ` Alan McKinnon
2007-04-20 10:54           ` Michal 'vorner' Vaner
2007-04-20 10:51         ` Michal 'vorner' Vaner

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