Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 06:30
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Puppy & Gentoo
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 11 [155 Posts]   Goto page: 1, 2, 3, ..., 9, 10, 11 Next
Author Message
Leachim

Joined: 27 May 2007
Posts: 229

PostPosted: Mon 28 Jan 2008, 20:19    Post subject:  Puppy & Gentoo
Subject description: integrate Gentoo Linux into Puppy Linux
 

Last week I started an ambitious project: merging my two favorite Linux distributions (and lots of code of my own): Puppy Linux and Gentoo Linux.

Minutes ago I "emerged" for the first time successfully a package via portage (the Gentoo-package manager): vim - automatically including 5 prerequisite packages.

I had to add some users to make Gentoo happy but the whole boot process and save-file management is done by (modified) Puppy-scripts. Smile

The Gentoo portage-tree is stored in two separate image files (ext2 & reiserfs) which are mounted onto /usr/portage and /usr/portage/distfiles.

Everything is running from an USB-flash-drive which of course should have a minimum size of 8GB ... (to store Gentoo repositories) - the base image files are much smaller. One will also need lots of RAM for compiling packages (all compiling is done within the Puppy-ramdisk).

I will keep you updated and will offer the base-image-files for downloading and testing as soon as the project reaches beta-status.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 28 Jan 2008, 21:12    Post subject:  

Shocked [Lobster faints]

Rolling Eyes OK I recovered. Congratulations. Sounds an amazing achievement. Idea

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
SirDuncan


Joined: 09 Dec 2006
Posts: 836
Location: Ohio, USA

PostPosted: Mon 28 Jan 2008, 22:24    Post subject:  

That really does sound like quite an achievement! It also sounds like something that would be very fun to play with. I eagerly await a beta ISO.
_________________
Be brave that God may help thee, speak the truth even if it leads to death, and safeguard the helpless. - A knight's oath
Back to top
View user's profile Send private message Visit poster's website 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 28 Jan 2008, 22:47    Post subject:  

Heh. You beat me to it.

What I'm intending to do, with my Classmate, is to adjust Puppy's (tmxxine 3.01's actually) structure to Gentoo's as you have, then pare down the Portage tree to just what is appropriate for that machine and Puppy, and then somehow enforce it that inappropriate packages not be downloadable from the Gentoo mirrors.

The easy restorability and sheer speed of Puppy plus the total "synchronization assuredness" (dependencies resolution, easy rollbacks etc.) of Gentoo, is exactly what a OLPC or similar machine needs. Provided of course, that the machine has what it takes to compile on demand...

Last edited by Sit Heel Speak on Tue 29 Jan 2008, 15:05; edited 1 time in total
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Tue 29 Jan 2008, 00:01    Post subject:  

Leetness! Checking out Gentoo has been on my to-do list for a while now (in fact, if I'd had the computer and internet connection three years ago that I have now, I'd probably have picked Gentoo as my first Linux rather than Puppy).
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 29 Jan 2008, 00:21    Post subject:  

Pizzasgood wrote:
...Checking out Gentoo has been on my to-do list for a while now...

I strongly recommend you start your Gentoo install from the stage 3 tarball, rather than try installing from the .iso DVD (which has a lot of...rough edges). Follow the directions in the online Gentoo Handbook.

Once you get your network up and your user account created...you can actually boot into Puppy, mount the Gentoo partition using MUT, open an rxvt window, cd to the root directory of the Gentoo partition, chroot, and wuh-laww, you are now running command-line-mode Gentoo in an rxvt window within Puppy--well, not exactly, since you're still on the Puppy kernel, but...most thrillingly, you can emerge -uavtdPnN all your desired Gentoo packages from within Puppy. If this seems oblique, it will all become clear as you step through the Handbook.

I recommend you reserve at least a solid weekend the first time you do this, for limitless possibilities will suggest themselves. For example, if you carefully match your source versions, you can compile, within the Gentoo window, a custom "Gentoo" kernel which you can then rename vmlinuz and transplant into Puppy. SMP is rather trivial to implement this way. So is low-latency. So is full SATA and SCSI boot-time support, once you scope out Gentoo's comprehensive, one might even say "exhaustive," menuconfig...

Pizzasgood wrote:
...(in fact, if I'd had the computer and internet connection three years ago that I have now, I'd probably have picked Gentoo as my first Linux rather than Puppy).

Wow. Am I ever glad you didn't! Smile

Last edited by Sit Heel Speak on Tue 29 Jan 2008, 15:07; edited 2 times in total
Back to top
View user's profile Send private message 
paulh177


Joined: 22 Aug 2006
Posts: 875
Location: ST862228

PostPosted: Tue 29 Jan 2008, 04:05    Post subject:  

Oh wow sounds like a fascinating marriage ... I built a gentoo machine a few months ago and loved the process but couldn't get a WM to run on the hardware i was using (Puppy ran of course).
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 29 Jan 2008, 05:32    Post subject:  

paulh177 wrote:
Oh wow sounds like a fascinating marriage ... I built a gentoo machine a few months ago and loved the process but couldn't get a WM to run on the hardware i was using (Puppy ran of course).

I got stuck too, at first. Turns out there's an ATi-specific framebuffer driver loadable kernel module atifb, which must be compiled into the kernel in order for X to start. Odd, because, if I understand correctly, X doesn't even use the framebuffer. A forgotten snippet of old validation code in the card's driver module, is my guess.
Back to top
View user's profile Send private message 
Leachim

Joined: 27 May 2007
Posts: 229

PostPosted: Tue 29 Jan 2008, 07:19    Post subject:  

Sit Heel Speak wrote:
Once you get your network up and your user account created...you can actually boot into Puppy, mount the Gentoo partition using MUT, open an rxvt window, cd to the root directory of the Gentoo partition, chroot, and wuh-laww, you are now running command-line-mode Gentoo in an rxvt window within Puppy--well, not exactly, since you're still on the Puppy kernel, but...most thrillingly, you can emerge -uavtdPnN all your desired Gentoo packages from within Puppy.

That's quiet what I did: I had got a preconfigured Gentoo-Linux-image from a friend of mine - a real Gentoo guru. We ran this version within a "root jail" under Puppy. Then we changed packages (e.g. gcc) until they resembled the versions used in Puppy.

Then this weekend I tried to join configuration files, executables and libraries between both system. First attempts resulted just in crashs ... But yesterday evening I was at last successful. There are sure still a lot of traps left, but I will carry on finding and removing them.
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 29 Jan 2008, 12:44    Post subject:  

Man...it took you only one weekend? "root jail"--I like that term.

I wonder if it might save us both time if we synchronize efforts. My initial questions:

What hardware do you have?

Which Puppy are you matching to?

Are you sticking to the x86 tree, or venturing out on ~x86 when you do your emerges?

Are you using layman (i.e. third-party "untested" emerge packages)?

I would suggest fvwm as a nice safe solid WM for Gentoo-minded new Puppyists to standardize on...but if you have a real live Gentoo guru at your side...?
Back to top
View user's profile Send private message 
Leachim

Joined: 27 May 2007
Posts: 229

PostPosted: Wed 30 Jan 2008, 20:07    Post subject:  

Sit Heel Speak wrote:
What hardware do you have?

I'm developing on a Core 2 Dual with 4GB of RAM and am using a 32GB USB-flash-drive. The big flash drive is nice for saving snapshots on the fly - that's what making development with Puppy so stress-free.

I also run the same flash-drive on several other computers with much less computing power.
Sit Heel Speak wrote:
Which Puppy are you matching to?

Not easy to answer. A long time ago my Puppy was a 2.15CE, but I updated a lot of things! E.g. I'm using xorg 1.4, kernel 2.6.24, aufs instead of unionfs, ..., I also rewrote the complete code in the initrd, the save-file-handling, the xorgwizard, ... - but the hardware recognition scripts called by /sbin/init are still Barry's.

Sit Heel Speak wrote:
Are you sticking to the x86 tree, or venturing out on ~x86 when you do your emerges?

Are you using layman (i.e. third-party "untested" emerge packages)?

Currently I'm just happy that things work at all!
Sit Heel Speak wrote:
I would suggest fvwm as a nice safe solid WM for Gentoo-minded new Puppyists to standardize on...

I'm still using the preconfigured iceWM of 2.15CE - I really like it ...

____

I now have updated to glibc 2.6.1 and have old and new commands running. Smile

I'm now able to emerge and use nearly any command line tool (some of them rejected to run with glibc 2.3.5).

By now Gentoo does not know anything about X-Windows, so I can't emerge X-applications. This will be one of the next steps to take in the merger of Puppy and Gentoo.

I will keep you updated.
Back to top
View user's profile Send private message 
prehistoric


Joined: 23 Oct 2007
Posts: 1282

PostPosted: Wed 30 Jan 2008, 21:56    Post subject: for those new to Gentoo  

For those who are new to Gentoo the choices can be overwhelming. Starting from a stage 3 tarball is one way to shorten the process, and Daniel Robbins is providing weekly builds on his site. http://www.funtoo.org/

Another quick route to a functioning system is through the Sabayon distribution, which is primarily a particular way of packaging Gentoo, it builds from the Gentoo distfiles. I had good luck with their 3.4f at a time when the Gentoo live install was a source of pure frustration. http://www.sabayonlinux.org/

(The above will probably get me hate mail.)

Anyone who thinks I am easily discouraged should try a full stage 1 bootstrap of Gentoo over a dial-up connection. I did, and succeeded, but once was enough. The doctors tell me I'll be all right in a few years, if I limit my exposure to source code.

prehistoric

Last edited by prehistoric on Thu 31 Jan 2008, 13:06; edited 1 time in total
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Thu 31 Jan 2008, 00:08    Post subject: Re: for those new to Gentoo  

Leachim wrote:
A long time ago my Puppy was a 2.15CE, but I updated a lot of things! E.g. I'm using xorg 1.4, kernel 2.6.24,...

Heh. I'm on Puppy 2.17-1 with WhoDo's EZPup, using a kernel patched with the full set of the very last edition of the Con Kolivas low-latency patches, thanks to the "root jail" technique.

prehistoric wrote:
...Starting from a stage 3 tarball is one way to shorten the process,...

That is an understatement. I would say that there are only two ways a sane person will install Gentoo and stay sane. "From a stage 3 tarball" is the first. Thanks for the link to funtoo.

prehistoric wrote:
Another quick route to a functioning system is through the Sabayon distribution...

Sabayon Professional 1.1 is what I'm basing my own rearrangement of Puppy on. So, starting from a Sabayon .iso, uncompressed to a hard drive, is the second. At least, I think I'm still sane. Some would challenge that.

prehistoric wrote:
(The above will probably get me hate mail.)...Anyone who thinks I am easily discouraged should try a full stage 1 bootstrap of Gentoo over a dial-up connection. I did, and succeeded, but once was enough.

No, no hate here...I did my first Gentoo about a year ago, all the way from stage 1, but over a 512kbps ADSL line, not a dial-up. And that was an experience I wouldn't want to repeat. It was said that, when Errol Flynn walked into the room, you knew he had two of 'em...but when Clark Gable walked in, you could hear 'em clank...

Last edited by Sit Heel Speak on Thu 31 Jan 2008, 20:02; edited 2 times in total
Back to top
View user's profile Send private message 
prehistoric


Joined: 23 Oct 2007
Posts: 1282

PostPosted: Thu 31 Jan 2008, 13:01    Post subject: no clanking allowed in polite company  

@Sit_Heel_Speak,

I came to Puppy as a refugee from the ego wars around Gentoo. This community is considerably different, and far more tolerant of human weakness. My comment about doctors' advice was only a slight exaggeration. I have, at least for the time being, hung up my spurs as a coder.

A few years ago, I had the goal of building a small, fast, clean Linux system which would present the same interface to me no matter what machine I was running on. The Gentoo bootstrap process made it possible to grow up (carefully) from the bottom. (Starting with a large system and cutting it down proved to be a real headache. I decided that KDE applications were caught in a web of dependencies I had trouble untangling.) The user interface of Xfce appealed to me and had few dependencies. (If you haven't tried the puplet wNOP, I recommend it, despite its experimental status.) I have tried Xubuntu, which has Xfce, but it seems to have pulled in most of the libraries use by KDE applications. Its memory footprint is large and it is not as responsive as I want on slow machines. I knew it was possible to do better because I had my own personal version running nicely. The catch was in the business of installing it on another system; I would have had to build it all over again.

The only libraries which seemed indispensible for a GUI, aside from X, were those for GTK-2. Barry seems to have reached a similar conclusion with "Dingo".

I will be happy to sit on the sidelines and cheer as you people tackle this fast penguin+puppy.

Regards,

prehistoric
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Thu 31 Jan 2008, 15:35    Post subject: Re: no clanking allowed in polite company  

prehistoric wrote:
...I came to Puppy as a refugee from the ego wars around Gentoo. This community is considerably different, and far more tolerant of human weakness...

The only member I'm aware of who was banned by John Murga, is a Gentoo aficianado. When I lived in Germany, I noticed that BMW drivers are the rudest on the autobahn. I know when I've been using Gentoo too long, for I start to become rather...intolerant of the everyday fuzzheaded world...demanding of gourmet foods...

prehistoric wrote:
...KDE applications were caught in a web of dependencies I had trouble untangling.)

That is an understatement. "Trouble?" To emerge full kde, on a system I'd been running e17 on for a month...took me three full days. Perhaps Leachim's guru knows how to untangle the blocked dependencies in the correct order, to emerge full kde on a well-used system from scratch in ten minutes. Probably some trivial trick, like start from the top down in the would-be-emerged's list and emerge in order, working down, in needs-fewest-dependencies small batches, or something like that, something simple after you've seen it done once. If there is such a trick, I would greatly appreciate knowing it.

fvwm is the first lightweight WM I've been able on Gentoo to make remember window positions, and moreover to open new windows where I want them, which is why I like it best.

prehistoric wrote:
The catch was in the business of installing it on another system; I would have had to build it all over again.
Yep. This is the reason why I intend to concentrate on a single machine, the Classmate. Also it is why I don't offer my blink-and-you'll-miss-it-fast ck-patched 2.6.21.5 kernel-with-Barry's-patches to the Puppy world. It was difficult enough, just rebuilding X and the vidcard driver etc., (including Firefox) to accommodate said kernel on my own machine. To recreate the entire universe of .ko drivers, DRI drivers, libraries, and to tweak X and the GUI...the network components, and everything else...to work with it on every machine out there, would be a job for a corporation not an individual. Well, at least not this individual...unless it be for a specific machine.

prehistoric wrote:
The only libraries which seemed indispensible for a GUI, aside from X, were those for GTK-2. Barry seems to have reached a similar conclusion with "Dingo".
qt is needed for Scribus and Blender, but does anyone happen to know why pango/cairo were developed, aside from their dubious putative uses in the Mozilla browsers?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 11 [155 Posts]   Goto page: 1, 2, 3, ..., 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1202s ][ Queries: 12 (0.0129s) ][ GZIP on ]