Index of /~sthibault/tmp

Icon  Name                                  Last modified      Size  Description
[DIR] Parent Directory - [IMG] test.png 17-Aug-2011 16:36 14K [   ] Chewing Word-1.5.zip 21-Jan-2012 12:22 6.8M [   ] Makefile 14-Apr-2012 23:24 64 [   ] accessodf_0.1-2_all.deb 30-Jun-2012 03:26 248K [   ] accessodf_0.1-2_amd64.changes 30-Jun-2012 03:26 1.3K [   ] accessodf_0.1-2.debian.tar.gz 30-Jun-2012 03:26 5.8K [   ] accessodf_0.1-2.dsc 30-Jun-2012 03:26 1.0K [   ] accessodf_0.1.orig.tar.gz 30-Jun-2012 03:26 315K [   ] grep_result 06-Nov-2012 09:25 374K [DIR] i386/ 09-May-2013 13:18 - [TXT] README.txt 18-May-2013 17:24 6.8K [   ] at-spi2-core_2.9.3-1_amd64.deb 18-Jun-2013 22:24 53K [   ] at-spi2-core-dbg_2.9.3-1_amd64.deb 18-Jun-2013 22:24 61K [   ] at-spi2-doc_2.9.3-1_all.deb 18-Jun-2013 22:24 100K [   ] gir1.2-atspi-2.0_2.9.3-1_amd64.deb 18-Jun-2013 22:24 18K [   ] libatspi2.0-0_2.9.3-1_amd64.deb 18-Jun-2013 22:24 67K [   ] libatspi2.0-0-dbg_2.9.3-1_amd64.deb 18-Jun-2013 22:24 95K [   ] libatspi2.0-dev_2.9.3-1_amd64.deb 18-Jun-2013 22:24 75K [   ] at-spi2-core_2.9.4-1_amd64.deb 13-Jul-2013 17:19 53K [   ] at-spi2-core-dbg_2.9.4-1_amd64.deb 13-Jul-2013 17:19 58K [   ] at-spi2-doc_2.9.4-1_all.deb 13-Jul-2013 17:19 100K [   ] gir1.2-atspi-2.0_2.9.4-1_amd64.deb 13-Jul-2013 17:19 19K [   ] libatspi2.0-0_2.9.4-1_amd64.deb 13-Jul-2013 17:19 67K [   ] libatspi2.0-0-dbg_2.9.4-1_amd64.deb 13-Jul-2013 17:19 88K [   ] libatspi2.0-dev_2.9.4-1_amd64.deb 13-Jul-2013 17:19 75K [   ] libpomp2-dev_1.0.7_amd64.deb 04-Sep-2013 16:11 29K [   ] libpomp2-doc_1.0.7_all.deb 04-Sep-2013 16:11 77K [   ] opari2_1.0.7_amd64.deb 04-Sep-2013 16:11 85K [   ] gir1.2-atk-1.0_2.10.0-1_amd64.deb 24-Sep-2013 21:29 61K [   ] libatk1.0-0_2.10.0-1_amd64.deb 24-Sep-2013 21:29 84K [   ] libatk1.0-data_2.10.0-1_all.deb 24-Sep-2013 21:29 167K [   ] libatk1.0-dbg_2.10.0-1_amd64.deb 24-Sep-2013 21:29 179K [   ] libatk1.0-dev_2.10.0-1_amd64.deb 24-Sep-2013 21:29 111K [   ] libatk1.0-doc_2.10.0-1_all.deb 24-Sep-2013 21:30 123K [   ] at-spi2-core_2.10.0-1_amd64.deb 24-Sep-2013 21:43 44K [   ] at-spi2-core-dbg_2.10.0-1_amd64.deb 24-Sep-2013 21:43 58K [   ] at-spi2-doc_2.10.0-1_all.deb 24-Sep-2013 21:43 71K [   ] gir1.2-atspi-2.0_2.10.0-1_amd64.deb 24-Sep-2013 21:43 15K [   ] libatspi2.0-0_2.10.0-1_amd64.deb 24-Sep-2013 21:44 52K [   ] libatspi2.0-0-dbg_2.10.0-1_amd64.deb 24-Sep-2013 21:44 85K [   ] libatspi2.0-dev_2.10.0-1_amd64.deb 24-Sep-2013 21:44 56K [   ] config.log 05-Oct-2013 11:23 50K [   ] doxygen_1.8.5-1_amd64.deb 10-Nov-2013 20:04 2.0M [   ] netinst.iso 12-Feb-2014 23:07 135M [   ] espeak_1.47.11-2_amd64.deb 24-Feb-2014 06:07 67K [   ] espeak-data_1.47.11-2_amd64.deb 24-Feb-2014 06:07 839K [   ] espeak-data-udeb_1.47.11-2_amd64.udeb 24-Feb-2014 06:08 817K [   ] espeak-dbg_1.47.11-2_amd64.deb 24-Feb-2014 06:08 273K [   ] Packages 25-Feb-2014 03:11 19K [   ] Packages.gz 25-Feb-2014 03:11 5.7K [   ] libc.so 15-Apr-2014 01:37 10M
Debian GNU/Hurd 2013
20130503-22:19

                      Welcome to the exciting world of
                               Debian GNU/Hurd

   This directory contains CD images and pre-installed images for the Debian
   GNU/Hurd distribution.

   Debian is a very extensive collection of software. But it is more. It
   is a complete Operating System (OS) for your computer. And it is free
   (as in "freedom").

   This release is a snapshot of Debian sid at the time of the Wheezy release,
   so it is mostly based on Wheezy. It however also contains a few patched
   packages (seen by +hurd suffix in the version).

   This is *not* part of the official Debian Wheezy release. This is however a
   release of the Debian GNU/Hurd port.



Table of content
****************

* Pre-installed images
* Installer CD images
* Small Examples on Using Translators



Pre-installed image
********************


To give Debian GNU/Hurd a try, it is probably easier to simply run the
preinstalled image, which is provided here:

      $ wget http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd.img.tar.gz
      $ tar xzf debian-hurd.img.tar.gz

It can be run directly in qemu/kvm:

      $ kvm -no-kvm-irqchip -drive file=debian-hurd*.img,cache=writeback -m 1G

  The -no-kvm-irqchip option, is only needed when running this on Linux
  kernels 2.6.37 and 2.6.38, which do not emulate irq chips that correctly
  (see Debian bug #612105, fixed by 2.6.39)


It can also be run in virtualbox, by first converting to VDI format :

        $ VBoxManage convertfromraw debian-hurd.img debian-hurd.vdi --format vdi


You can then just log in as root without a password.
The qemu/kvm -curses option can be used to run it in text mode, which can help
with the keyboard layout, but it's better to simply reconfigure the layout by
running

dpkg-reconfigure keyboard-configuration

Please make sure to read
http://www.debian.org/ports/hurd/hurd-install
for other configuration information as well as the FAQ:
http://www.gnu.org/software/hurd/faq.html
and known open issues
http://www.gnu.org/software/hurd/open_issues.html

All the debian-hurd.img* files are the same, they are just in various
format, because it has been reported that some tools are not able to cope with
the sparse tar format. The .tar.gz is still the preferred, as it will produce a
sparse file on your disk. You can compare the resulting .img file with the
MD5SUMS file




Installer CD images
*******************



To test the installer images with kvm/qemu:

  * Download:

      $ wget http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd-2013-i386-DVD-1.iso

  * Create a hard disk image:

      $ kvm-img create hurd-install.qemu 3G

  * Start the installation:

    Since we haven't yet optimized the installer initrd mechanism for memory
    usage at all you will need at least 500MB of memory even for the text
    installer, or the installer will likely crash due to missing memory.

      $ kvm -m 1G -no-kvm-irqchip -drive file=hurd-install.qemu,cache=writeback -cdrom cd-1.iso -boot d

  Note the -no-kvm-irqchip option, which is needed when running this on 2.6.37
  and 2.6.38 Linux kernels, which do not emulate irq chips that correctly
  (see Debian bug #612105, fixed by 2.6.39)

On real hardware:

  * Note that GNU Mach does not have drivers for SATA devices. IDE/ATA emulation
  has to be enabled for those.
  * Installation CDs include the 2.6.32 Linux network drivers, and should
  thus cover a wide range of network boards. There is however no support for
  firmware loading.

When going through the installation:

  * Reminder for qemu: with the user network stack default configuration,
    use the following values:

       IP address: 10.0.2.15
       Netmask: 255.255.0.0
       Gateway: 10.0.2.2
       Nameserver: 10.0.2.3

Remarks:

  * /usr or /usr/local on separate filesystem is not supported yet.

Configuring the installed system:

  * Make sure to see http://www.debian.org/ports/hurd/hurd-install.html for
    more details and network / filesystems / X configuration.
  * Also make sure to check the FAQ
    http://www.gnu.org/software/hurd/faq.html
    and known open issues
    http://www.gnu.org/software/hurd/open_issues.html


Email us to <debian-hurd@lists.debian.org> for debian-specific things or
<bug-hurd@gnu.org> for non-debian-specific things if you have questions or
comments, We are also available on #hurd on Freenet, #debian-hurd on OFTC.





Small Examples on Using Translators
***********************************

The concept of user-space servers, translators, is a very powerful one. Here is
an introductionary text.

Intro
-----

The Hurd has some unique capabilities, and we created this simple image to
enable you to easily try three of them:

  * The simplest of translators: Hello World!
  * Transparent FTP
  * Mount a remote ISO file

Hello World
-----------

To try out the simplest of translators, you can go the following simple steps:

$ touch hello
$ cat hello
$ settrans hello /hurd/hello
$ cat hello
"Hello World!"
$ settrans -g hello
$ cat hello

What you do with these steps is first verifying that the file "hello" is empty.

Then you setup the translator /hurd/hello in the file/node hello.

After that you check the contents of the file, and the translator returns
"Hello World!".

To finish it, you remove the translator from the file "hello" (and tell any
active running instances to go away) via "settrans -g hello". Having done that,
verify that now the file is empty again.

Transparent FTP
---------------

We already setup a a transparent FTP translator for you at /ftp:

With it you can easily access public FTP via the file system, for example the
one from the GNU project:

$ ls /ftp://ftp.gnu.org/

But you can also do this very easily yourself:

$ # Setup the translator on the node ftp:
$ settrans -c ftp: /hurd/hostmux /hurd/ftpfs /

and you can access FTP sites via the pseudo-directory ftp:, for example with

$ ls ftp://ftp.gnu.org/

What you do here is setting up the translator /hurd/hostmux on ftp: and passing
it the translator /hurd/ftpfs to use for resolving accesses as well as / as
additional path component.

ISO file mount
--------------

Now that we can access ftp.gnu.org transparently, let's mount a remote ISO
file:

$ settrans -c mnt /hurd/iso9660fs ftp://ftp.gnu.org/old-gnu/gnu-f2/hurd-F2-main.iso
$ ls mnt/

It is interesting to note that since the ISO9660 format is indexed, ftpfs does
not have to download the whole ISO file, it merely fetches what iso9660fs
requests.

These were only three basic usages of translators on the Hurd. We're sure
you'll quickly see many other ways to use this.

As a last comment: You can setup a translator on any node you have access to,
so you can for example mount any filesystems as normal user.

You might currently be logged in as root, but you could just as well do the
same as normal user.

Why don't you try it out?