Re: need libc5 versino of portmap - and where are the add-ons?
Tom Oehser <[email protected]> Fri, 19 Mar 2004 12:58:16 -0500 (EST)
| Newsgroups | gmane.linux.tomsrtbt |
|---|---|
| Message-ID | <[email protected]> |
The add-ons are availalbe on the same mirrors where tomsrtbt is, start at http://www.toms.net/rb/, follow through to tux or one of the others, you'll see them there. -Tom On Fri, 19 Mar 2004, John Lumby wrote: > Date: Fri, 19 Mar 2004 12:08:12 -0500 > From: John Lumby <[email protected]> > To: [email protected] > Subject: [tomsrtbt] need libc5 versino of portmap - and where are the > add-ons? > > I would find it useful to be able to run an nfs server under tomsrtbt. = I > have the NFSD support included in my 2.2.20 kernel. I thought I could = put > the necessary daemon progs on a separate diskette. I've found rpc.moun= td > and rpc.nfsd and exportfs in > > > ftp://at.rpmfind.net/linux/redhat.com/contrib/libc5/i386/nfs-server-2.2= beta29-1.i386.rpm > > But that doesn't include the portmap. I don't see a libc5 portmap anyw= here. > > I see many references to doing this in the archives so I guess it shoul= d > work, and also a mention of getting portmap from "the add-ons". I see= m to > remember once finding the add-ons, but I can't remember where they are = now, > and they certainly aren't anywhere where the archives say they are ( > variously ftp.toms.net://rb/add-ons/ doesn't exist > http://www.toms.net/rb/add-ons/ doesn't exist > > (maybe nice to add their location to the FAQ)? > > John > ----Original Message Follows---- > From: Stephane Boireau <[email protected]> > To: [email protected] > Subject: Re: [tomsrtbt] bootcd (next step) > Date: Sun, 7 Mar 2004 20:34:53 +0100 > > Hi, > > Le Dimanche 7 Mars 2004 15:32, Tom Oehser a =E9crit : > > > Could you explain me why the way I copied a part of rc.custom to a= sk if > I > > > want to mount cdrom doesn't work? > > > > Not sure, I can add researching it to my to-do list, or perhaps some= one > > else reading this will see right away what the problem is. > > Sure, you've got better things to do;o). > > > > Can you explain me why errors occur when I try to add a file to > > > initrd.bz2? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > > > init started: Busybox v0.61.pre... > > > Bummer, could not run '/etc/rc.S': Exec format ettor > > > Bummer, could not run '/etc/rc.S': Exec format ettor > > > _setutent: Can't open utmp file: No such file or directory > > > _setutent: Can't open utmp file: No such file or directory > > > _setutent: Can't open utmp file: No such file or directory > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > > > Hmmmm... are you re-running unpack.s/buildit.s? > > No I didn't. > I just did what I wrote (copy/paste from Mdk9.2 terminal to kwrite (onl= y > simplifying my shell prompt;o)). > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > # mount -o loop toms2.img /mnt/disk/ > # cp /mnt/disk/initrd.bz2 ./ > # bzip2 -d initrd.bz2 > # mount -o loop initrd /mnt/initrd > # vi /mnt/initrd/settings.s > # cp /mnt/initrd/rc.custom.gz ./ > # gzip -d rc.custom.gz > # vi rc.custom > # gzip rc.custom > # cp rc.custom.gz /mnt/initrd/ > > I copied my scripts to /mnt/initrd/bin/ at this time. > > # umount /mnt/initrd > # cat initrd | bzip2 -9 > initrd.bz2 > # cp -f initrd.bz2 /mnt/disk/ > # umount /mnt/disk/ > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > > > It is hard to say without > > playing with what you modified more directly. I have never tried to= make > > changes to the generated stuff, I only modify it in the unpacked for= m, > and > > then always recreate it using the scripts... Note, the eltorito ver= sion > of > > tomsrtbt is a side effect of the floppy version, the well-tested pat= h for > > modifying it is the floppy one. Certainly, all I do with the cdrom > version > > is run the eltorito.s script after I create the floppy, I've never t= ried > to > > change it in place. > > Didn't you tell me that to modify eltorito-cd this way I should have sa= me > config as yours,... > I didn't succeed when I tried a few month ago. > > Can I modify Tomsrtbt-floppy with unpack,... and then run eltorito.s to= do a > cd version of this floppy? > > > > Some tests later: > I succeeded in something better: > I create cd.sh script from rc.custom and it ask which drive should be u= sed: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > ... > route add -net 127.0.0.0 lo > > echo 'if mount | grep /mnt/cdrom > /dev/null; then' > /bin/cd.sh > echo ' echo ""' >> /bin/cd.sh > echo 'else' >> /bin/cd.sh > echo ' BLUE=3D"\033[1;34m"' >> /bin/cd.sh > echo ' GREY=3D"\033[0;37m"' >> /bin/cd.sh > echo ' WHITE=3D"\033[1;37m"' >> /bin/cd.sh > echo ' GREEN=3D"\033[1;32m"' >> /bin/cd.sh > echo ' RED=3D"\033[1;31m"' >> /bin/cd.sh > echo ' echo -e "${BLUE}*****************"' >> /bin/cd.sh > echo ' echo "* Scripts on CD *"' >> /bin/cd.sh > echo ' echo "*****************"' >> /bin/cd.sh > echo ' echo -e "${GREY}CD-drives found:${WHITE}"' >> /bin/cd.sh > echo ' dmesg | grep hd | grep ROM | grep Cache' >> /bin/cd.sh > echo ' dmesg | grep sd | grep ROM | grep Cache' >> /bin/cd.sh > echo ' echo -e "${GREY}"' >> /bin/cd.sh > echo ' echo -e "Which cd-drive do you want to mount? ${GREEN}\c"' >> > /bin/cd.sh > echo ' read CD' >> /bin/cd.sh > echo ' if [ "$CD" !=3D "" ]; then' >> /bin/cd.sh > echo ' echo -e "${WHITE}"' >> /bin/cd.sh > echo ' mkdir -p /mnt/cdrom' >> /bin/cd.sh > echo ' mount -t iso9660 /dev/$CD /mnt/cdrom||exit' >> /bin/cd.sh > echo ' echo -e "${GREY}"' >> /bin/cd.sh > echo ' else' >> /bin/cd.sh > echo ' echo -e "${RED}ERROR!\nDevice name can not be empty${GREY= }"' > >> > /bin/cd.sh > echo ' exit' >> /bin/cd.sh > echo ' fi' >> /bin/cd.sh > echo 'fi' >> /bin/cd.sh > echo "sh /mnt/cdrom/toms_addons/index.sh" >> /bin/cd.sh > chmod +x /bin/cd.sh > > FM=3D`sh -c 'shift 2;echo $8' \`dd if=3D/proc/meminfo 2>/dev/null\` ` > ... > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > It can probably be improved but it works;o). > > 'hope it can be usefull... (I'll use it) > > Thank you very much! > -- > Stephane Boireau > Personne Ressource TICE du Coll=E8ge Le Hameau =E0 Bernay (27) > > _________________________________________________________________ > Add photos to your e-mail with MSN Premium. Get 2 months FREE* > http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines >