LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Closed Thread
 
Search this Thread
Old 04-15-2005, 02:40 PM   #1
MaximalSbcYahoo
LQ Newbie
 
Registered: Apr 2005
Location: CA,USA
Distribution: KANOTIX 2005-02
Posts: 5

Rep: Reputation: 0
KANOTIX posting forum not working


KANOTIX posting forum not working

Not Acceptable

An appropriate representation of the requested resource /posting.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

what this from ? with posting on their forum

message trying to post is

Theirs a walkthough on how to do this with hurd , I think the testing version you have here could use it too , The option of using both gentoo portage & debian apt-get together would bring more apps & and options into debian or exacly KANOTIX would standout with both installer systems on the cd-rom so , when you install KANOTIX on the hard drive you could have both apt-get available and emerge from portage , which their are some apps only available in portage that are not in apt-get or Synaptic Package Manager , I will post the how-to in this form & web links that I found thought using google

---------------------
First the web links
----------------------
http://hurd.rustedhalo.net/gentoo-hu...l/single-page/

http://hurd.rustedhalo.net/gentoo-hu...page/x126.html

http://lists.debian.org/debian-user/.../msg03227.html

-----------------------
Below is the how-to
----------------------
Gentoo GNU/Hurd Install Guide
Eric Olinger


<EvvL AT RustedHalo DOT net>

Table of Contents

1. Copyright and License
2. Disclaimer
3. Feedback

1. Installing Portage on Debian GNU/Hurd

1.1. Installing The Binary Portage Build

1.1.1. Installing Required Packages
1.1.2. Getting and Installing Portage
1.1.3. Adding Users and Groups
1.1.4. Syncing the Portage Tree

1.2. Manually Installing Portage

1.2.1. Installing Required Packages
1.2.2. Building Portage
1.2.3. Getting the Portage Tree
1.2.4. Adding Users and Groups

1.3. Portage Notes

1.3.1. Injecting Base Packages
1.3.2. LibSandbox

2. Installing Gentoo GNU/Hurd

2.1. Preparing the Disks

2.1.1. Partitioning your Disk
2.1.2. Creating the Filesystems
2.1.3. Mounting your Partitions

2.2. Configuring your Networking
2.3. Gentoo Base System

2.3.1. Getting the Gentoo Base System
2.3.2. Installing the Gentoo Base System
2.3.3. Installing Necessary System Tools

2.4. Configuring your System

2.4.1. Fstab
2.4.2. The Bootloader
2.4.3. Device Files
2.4.4. Transulators

1. Copyright and License

This document, Gentoo GNU/Hurd Install Guide,is copyrighted (c) 2004 by Eric Olinger. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html.
2. Disclaimer

No liability for the contents of this document can be accepted. Use the concepts, examples and information at your own risk. There may be errors and inaccuracies, that could be damaging to your system. Proceed with caution, and although this is highly unlikely, the author(s) do not take any responsibility.

All copyrights are held by their by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.
3. Feedback

Feedback is most certainly welcome for this document. Send your additions, comments and criticisms to the following email address : <EvvL AT RustedHalo DOT net>.
Chapter 1. Installing Portage on Debian GNU/Hurd

This chapter is on installing the Portage package manager on a Debian GNU/Hurd system. This is the current method of migrating a Debian GNU/Hurd system to a Gentoo GNU/Hurd system, while the Gentoo/Hurd team is still working on getting us to a point where we can make stage tarballs.

1.1. Installing The Binary Portage Build
1.1.1. Installing Required Packages

We're need to use apt to install some basic packages that portage needs till we can emerge them using portage:

hurd:~# apt-get install build-essential
hurd:~# apt-get install python2.3 python2.3-dev
hurd:~# apt-get install wget rsync bzip2

1.1.2. Getting and Installing Portage

Now we need to get the binary portage and some related files. Then we're going to need to extract the portage tarball on the root of the system so all files go into place. We also need to drop the functions.sh into place because its installed by the baselayout not by portage, but its needed by quite a few ebuilds.

hurd:~# cd /
hurd:~# wget ftp://hurd.rustedhalo.net/pub/gentoo...2.0.50-r1.tbz2 -O /portage-2.0.50-r1.tbz2
hurd:~# tar xjvf portage-2.0.50-r1.tbz2
hurd:~# wget ftp://hurd.rustedhalo.net/pub/gentoo-hurd/functions.sh -O /sbin/functions.sh
hurd:~# ln -s /sbin/functions.sh /etc/init.d/
hurd:~# cp /etc/make.conf.example /etc/make.conf

1.1.3. Adding Users and Groups

hurd:~# groupadd wheel
hurd:~# groupadd -g 250 portage
hurd:~# mkdir -p /var/tmp/portage/
hurd:~# useradd -g 250 -u 250 -d /var/tmp/portage/ -s /bin/false portage

1.1.4. Syncing the Portage Tree

For now we're going to have to manually sync the portage tree using emerge-webrsync as there are currently problems running emerge sync. See the Portage Notes section for more information on this problem.

hurd:~# wget ftp://hurd.rustedhalo.net/pub/gentoo...040616.tar.bz2
hurd:~# tar xjvf portage-20040616.tar.bz2
hurd:~# ln -s /usr/portage/profiles/default-x86hurd-1.4/ /etc/make.profile

1.2. Manually Installing Portage
1.2.1. Installing Required Packages

We're need to use apt to install some basic packages so we can build and install portage:

hurd:~# apt-get install python2.2 python2.2-dev
hurd:~# apt-get install wget rsync

1.2.2. Building Portage

All commands from this point forward are going to be from inside of the portage directory. First off we're going to need to patch the portage to support the GNU/Hurd system:

hurd:~/portage-2.0.50# patch -Np1 -i ../portage-2.0.50.patch

Next we're going to install the manpages and the configureation files for portage:

hurd:~/portage-2.0.50# cp man/*.1 /man/man1/
hurd:~/portage-2.0.50# cp man/*.5 /man/man5/
hurd:~/portage-2.0.50# cp cnf/make.conf.hurd /etc/make.conf
hurd:~/portage-2.0.50# cp cnf/make.globals.hurd /etc/make.globals
hurd:~/portage-2.0.50# cp cnf/*.conf /etc/

Then we're going to install the portage scripts:

hurd:~/portage-2.0.50# mkdir -p /lib/portage/{bin,pym}/
hurd:~/portage-2.0.50# cp pym/* /lib/portage/pym/
hurd:~/portage-2.0.50# cp -r bin/* /lib/portage/bin/
hurd:~/portage-2.0.50# cp -s /lib/portage/bin/* /{,s}bin/
hurd:~/portage-2.0.50# ln -s /bin/python2.2 /bin/python

Download and save the functions.sh from the site to /sbin then symlink it into the /etc/init.d directory.

hurd:~/portage-2.0.50# wget http://hurd.rustedhalo.net/downloads/functions.sh -O /sbin/functions.sh
hurd:~/portage-2.0.50# ln -s /sbin/functions.sh /etc/init.d/

Now we're going to compile and install tbz2tool.

hurd:~/portage-2.0.50# cd src/
hurd:~/portage-2.0.50# gcc tbz2tool.c -o /lib/portage/bin/tbz2tool

Finally we're going to install the missingos python module:

hurd:~/portage-2.0.50# cd python-missingos/
hurd:~/portage-2.0.50# ./setup.py install

1.2.3. Getting the Portage Tree

For now we're going to have to manually sync the portage tree as there are currently problems running emerge sync. See the Portage Notes section for more information on this problem.

hurd:~# cd /
hurd:~# wget ftp://hurd.rustedhalo.net/pub/gentoo...040427.tar.bz2
hurd:~# tar xjvf portage-20040616.tar.bz2
hurd:~# ln -s /portage/profiles/default-x86hurd-1.4 /etc/make.profile
hurd:~# emerge-webrsync

1.2.4. Adding Users and Groups

hurd:~# groupadd wheel
hurd:~# groupadd -g 250 portage
hurd:~# mkdir -p /var/tmp/portage/
hurd:~# useradd -g 250 -u 250 -d /var/tmp/portage/ -s /bin/false portage

1.3. Portage Notes

This section list known problem with running portage on a Gentoo GNU/Hurd system. If anyone finds a fix for one of these contact the Gentoo/Hurd team with a fix. Some of these problem might be related to running Portage on top of a Debian GNU/Hurd system, but we'll have to wait till we get a pure Gentoo GNU/Hurd system up and going to see.
1.3.1. Injecting Base Packages

Some of the ebuilds in the portage tree don't work so your going to need to inject the two main packages so you don't have to build them. Your going to need to run emerge -p glibc baselayout and note the version number for them. Next your going to need to run emerge inject sys-libs/glibc-{version} and emerge inject sys-libs/baselayout-{version}.
1.3.2. LibSandbox

Sandboxing is currently disabled in the x86hurd profile because of problems with the sandboxing enviorment dumping core and for some reason it can't fork a child process. We've taken care of one of the crashes but one still exists. For now it just easier to turn it off.
Chapter 2. Installing Gentoo GNU/Hurd

This chapter is on installing a clean Gentoo GNU/Hurd system.

2.1. Preparing the Disks
2.1.1. Partitioning your Disk

The disk device naming under GNU/Hurd differes from Linux, but will be familiar to those who use Grub as their bootloader. Disk devices are named starting at 0 while partitions are named starting at 1. Device hda from Linux is hd0 under Hurd and hda1 under Linux is hd0s1 under Hurd.

Until the patch can be included into the gnumach and hurd ebuilds for using partitions larger than 2gb, we're stuck using 2gb paritions. You'll need to parition out the system accordingly. We suggest you make a partition for at least the root, usr, portage, distfiles and the /var/tmp/portage build area.
2.1.2. Creating the Filesystems

GNU/Hurd uses the same format of The Extended 2 (ext2) Filesystem that linux does but it also uses some of the extensions that linux doesn't. When creating a filesystem for a GNU/Hurd system you need to pass the extra "-o hurd" to specify that hurd is the owner of the filesystem. If you don't set the owner to hurd all kinds of weird stuff can happen because transulators can't be set on any of the nodes.

hurd:~# mke2fs -o hurd /dev/hd0s1

2.1.3. Mounting your Partitions

Under GNU/Hurd you don't mount the partition in the traditional *nix sense. You insted start a 'transulator' on a filesystem node, which will allow access to the filesystem. An example of "mounting" a partition is given below:

hurd:~# settrans -fga /mnt/gentoo /hurd/ext2fs /dev/hd0s1

2.2. Configuring your Networking

There currently isn't a DHCP client or transulator for GNU/Hurd so the network needs to be manually configured. As with the filesystems, your going to need to start a transulator on the apropiate node to get the networking up and going. You will also need to manually add your namerserver to the /etc/resolv.conf.

hurd:~# settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 -a 192.168.1.200 -g 192.168.1.1 -m 255.255.255.0

2.3. Gentoo Base System
2.3.1. Getting the Gentoo Base System

Currently only stage4 tarballs exist. For those not fimiliar with stage4 tarballs they include the base system as well as the kernel. You will need to download and extract the current stage4 tarball to the /mnt/gentoo directory.

hurd:~# cd /mnt/gentoo
hurd:~# wget http://hurd.rustedhalo.net/pub/gento...leases/stage4-{date}.tar.bz2
hurd:~# tar xjpf stage4-{date}.tar.bz2

2.3.2. Installing the Gentoo Base System

TODO: Chrooting

TODO: Stage 1 to Stage 2

TODO: Stage 2 to Stage 3
2.3.3. Installing Necessary System Tools

TODO: Install syslogger

TODO: Install cron
2.4. Configuring your System
2.4.1. Fstab

Since most transulators are set as presistant when mounting a filesystem and there is no mount command under hurd there really isn't a need to have all your partitions in the fstab file. At most you need your root partition and your swap drives in the fstab file. The file format is exactly the same as it is under linux.
2.4.2. The Bootloader

For setting up grub your going to need
2.4.3. Device Files

2.4.4. Transulators

Running native-install

---------------
here another one
--------------
Gentoo GNU/Hurd Install Guide
Prev Chapter 1. Installing Portage on Debian GNU/Hurd Next
1.2. Manually Installing Portage
1.2.1. Installing Required Packages

We're need to use apt to install some basic packages so we can build and install portage:

hurd:~# apt-get install python2.2 python2.2-dev
hurd:~# apt-get install wget rsync

1.2.2. Building Portage

All commands from this point forward are going to be from inside of the portage directory. First off we're going to need to patch the portage to support the GNU/Hurd system:

hurd:~/portage-2.0.50# patch -Np1 -i ../portage-2.0.50.patch

Next we're going to install the manpages and the configureation files for portage:

hurd:~/portage-2.0.50# cp man/*.1 /man/man1/
hurd:~/portage-2.0.50# cp man/*.5 /man/man5/
hurd:~/portage-2.0.50# cp cnf/make.conf.hurd /etc/make.conf
hurd:~/portage-2.0.50# cp cnf/make.globals.hurd /etc/make.globals
hurd:~/portage-2.0.50# cp cnf/*.conf /etc/

Then we're going to install the portage scripts:

hurd:~/portage-2.0.50# mkdir -p /lib/portage/{bin,pym}/
hurd:~/portage-2.0.50# cp pym/* /lib/portage/pym/
hurd:~/portage-2.0.50# cp -r bin/* /lib/portage/bin/
hurd:~/portage-2.0.50# cp -s /lib/portage/bin/* /{,s}bin/
hurd:~/portage-2.0.50# ln -s /bin/python2.2 /bin/python

Download and save the functions.sh from the site to /sbin then symlink it into the /etc/init.d directory.

hurd:~/portage-2.0.50# wget http://hurd.rustedhalo.net/downloads/functions.sh -O /sbin/functions.sh
hurd:~/portage-2.0.50# ln -s /sbin/functions.sh /etc/init.d/

Now we're going to compile and install tbz2tool.

hurd:~/portage-2.0.50# cd src/
hurd:~/portage-2.0.50# gcc tbz2tool.c -o /lib/portage/bin/tbz2tool

Finally we're going to install the missingos python module:

hurd:~/portage-2.0.50# cd python-missingos/
hurd:~/portage-2.0.50# ./setup.py install

1.2.3. Getting the Portage Tree

For now we're going to have to manually sync the portage tree as there are currently problems running emerge sync. See the Portage Notes section for more information on this problem.

hurd:~# cd /
hurd:~# wget ftp://hurd.rustedhalo.net/pub/gentoo...040427.tar.bz2
hurd:~# tar xjvf portage-20040616.tar.bz2
hurd:~# ln -s /portage/profiles/default-x86hurd-1.4 /etc/make.profile
hurd:~# emerge-webrsync

1.2.4. Adding Users and Groups

hurd:~# groupadd wheel
hurd:~# groupadd -g 250 portage
hurd:~# mkdir -p /var/tmp/portage/
hurd:~# useradd -g 250 -u 250 -d /var/tmp/portage/ -s /bin/false portage

Prev Home Next
Installing Portage on Debian GNU/Hurd Up Portage Notes
 
Old 04-16-2005, 06:09 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
And again, this time in English, please. I can't work out if you've decided to copy and paste a how-to from another site, or if you can't post it there and so posted it here. Care to enlighten us?
 
Old 04-16-2005, 09:02 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Ok. Having reread through, this appears to be a response to a question on the Kanotix forum. It's abit silly posting it here, there wasn't a question for you to respond to and the person you are answering may not see it. I am closing this thread for those reasons.

If there is a problem with the Kanotix forum, email the webmaster of that forum.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rant about Forum Posting Matir LQ Suggestions & Feedback 42 01-24-2009 11:49 AM
looking for forum posting program springboard Demonoia Programming 0 09-20-2003 11:10 PM
Posting in Newbies Forum drben Linux - Hardware 1 08-15-2003 07:31 AM
Please Read This Before Posting in this Specific Forum! trickykid LinuxQuestions.org Member Success Stories 0 08-11-2003 12:48 PM
More info when posting in the forum. Medic6666 Linux - Newbie 5 07-25-2003 06:34 PM


All times are GMT -5. The time now is 04:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration