From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 21EC03EA72 for ; Thu, 4 Jul 2002 15:21:47 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g64JLk224022 for blinux-list@listman.redhat.com; Thu, 4 Jul 2002 15:21:46 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g64JLka24018 for ; Thu, 4 Jul 2002 15:21:46 -0400 Received: from lexx.delysid.org (mail@212186194087.graz.teleweb.at [212.186.194.87]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g64JBe929465 for ; Thu, 4 Jul 2002 15:11:41 -0400 Received: from mlang by lexx.delysid.org with local (Exim 3.35 #1 (Debian)) id 17QCBb-0000uK-00 for ; Thu, 04 Jul 2002 21:22:39 +0200 To: blinux-list@redhat.com Subject: Re: woody root.bin References: <878z4z785e.fsf@Pulsar.resI.insa-lyon.fr> <87ofdn4kxn.fsf@lexx.delysid.org> <87vg7vsbq3.fsf@Pulsar.resI.insa-lyon.fr> In-Reply-To: <87vg7vsbq3.fsf@Pulsar.resI.insa-lyon.fr> (Boris DAIX's message of "Thu, 04 Jul 2002 18:24:04 +0200") From: Mario Lang Date: Thu, 04 Jul 2002 21:22:38 +0200 Message-ID: <87it3v47sx.fsf@lexx.delysid.org> User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: Boris DAIX writes: > Mario Lang writes: > >> Check ftp://ftp.tugraz.at/incoming/debian >> for the files I just sent over to kajarii for first time >> real-world testing. I tested the procedure in theory >> (without having a brailledisplay connect) and it worked. > > I would try it as soon as possible :-) I have two debian testing dists > to install by yesterday... I wait for your erratum on url given. OK, first I have to say, the version there (brltty.tar) does not work. We forgot that we needed to link brltty statically. >> The whole idea is that we load brltty via tar >> from a disk directly. The only modification >> I made to root.bin is essentially editing /etc/init.d/rcS and >> inserting >> >> echo "Please insert BRLTTY disk and press ENTER" >> read ret 1 > cd / >> tar xf /dev/fd0 >> /sbin/brltty > > Very, very interesting ! > OK, here goes the story: To build such a third brltty disk, simply create a directory tree which looks like a root of a filesystem, something like etc/brltty etc lib/brltty sbin Now, put all the brltty files you want/need there, there are actually some ways to do it. Either precompile the text.table and device name and driver type into one static brltty, then you just need sbin/brltty. If you still want it to dynload different drivers, just do that, but dont forget to compile brltty statically, and put a etc/brltty.conf in your dummy directory. Now if everything is there, just tar that up: tar c * >../brlttydisk.tar You now write this tar directly to a normal floppy disk, either using dd or cat, both work: dd if=../brlttydisk.tar of=/dev/fd0 or cat ../brlttydisk.tar >/dev/fd0 Now you just need the modified woody-root.bin from ftp://ftp.tugraz.at/incoming/debian. >> So, read the file INSTALL in the ftp directory, >> and try it. Please tell me if that worked for you, and if >> it is a useable solution at all. > > I'll do report when I'd have tried it. But how do you modify the > root.bin ? 'cause I can't take over mounting it, and source package > boot-floppies can't compile (libs needed conflict each other...) ? Here the second story: To modify root.bin, you need to unzip it: mv root.bin root.bin.gz gunzip root.bin.gz mount root.bin /mnt -o loop Now you are ready, only thing I did was to insert the lines I posted into etc/init.d/rcS Just after proc gets mounted should be ok. now, dont forget to umount and gzip again :) cd / umount /mnt gzip root.bin This is only a rough email to get the info across to interested people, as soon as I find more time I will put that together in a readme and on a web site. The right time for the (hopefully soon) coming woody release :-) > > Thank you a lot -- CYa, Mario