Hi, Is there anybody who could help me in tomsrtbt-bootcd realizing?
I did it... ... but I didn't succeed. Here is what I did: - Boot from Tomsrtbt2.0.103 floppy. /# mkdir /rb /# mount /dev/hda8 /rb /# cd /rb /rb# mkdir eltorito /rb# unpack.s /dev/fd9u1722 3444+0 records in 3444+0 records out 3985 Blocks done /rb# /rb# cd tomsrtbt-2.0.103.unpacked /rb/tomsrtbt-2.0.103.unpacked# ls 1 2 /rb/tomsrtbt-2.0.103.unpacked# cd 1 /rb/tomsrtbt-2.0.103.unpacked/1# vi settings.s <<I make some changes>> /rb/tomsrtbt-2.0.103.unpacked/1# gzip -d rc.custom.gz /rb/tomsrtbt-2.0.103.unpacked/1# vi rc.custom <<I make some changes>> /rb/tomsrtbt-2.0.103.unpacked/1# gzip rc.custom cd .. And then everything from: /rb/tomsrtbt-2.0.103.unpacked# 1/settings.s echo $NM-$VE.$PL -. export topdir=/rb/eltorito umount /dev/ram0 2>/dev/null umount /mnt/ram0 2>/dev/null umount /dev/ram1 2>/dev/null umount /mnt/ram1 2>/dev/null umount /fl 2>/dev/null umount /mnt/floppy 2>/dev/null mount But floppy is still mounted in /fl And if I try umount /fl I get: mount: error changing mode of /etc/mtab: Read-only file-system I go further... umount /dev/ram2 2>/dev/null dd if=/dev/zero of=/dev/ram0 bs=1k count=2880 2>/dev/null dd if=/dev/zero of=/dev/ram1 bs=1k count=4096 2>/dev/null mkfs.minix /dev/ram0 2880 > /dev/null I get: mkfs.minix: not found I stop here. Can you tell me where I did a mistake? Thank you very much. PS: I couldn't go up to root directoryafter umount /mnt/ram0,... /rb/tomsrtbt-2.0.103.unpacked became root for me. cd / didn't change directory. -- Stephane. Le Jeudi 25 Septembre 2003 22:17, Tom Oehser a �crit : > I have never productionized the script that makes the CD, I think > some others have worked on that and maybe what they did can be > found in the wikiwiki or the mailing list archive, the canonical > script (that is, what I use) will need to be customized, but, for > the record, here it is: > > > . 1/settings.s > echo $NM-$VE.$PL > export topdir=/rb/$NM-$VE.$PL.ElTorito > mkdir $topdir > umount /dev/ram0 2>/dev/null > umount /mnt/ram0 2>/dev/null > umount /dev/ram1 2>/dev/null > umount /mnt/ram1 2>/dev/null > umount /fl 2>/dev/null > umount /dev/ram2 2>/dev/null > dd if=/dev/zero of=/dev/ram0 bs=1k count=2880 2>/dev/null > dd if=/dev/zero of=/dev/ram1 bs=1k count=4096 2>/dev/null > mkfs.minix /dev/ram0 2880 > /dev/null > mkfs.minix /dev/ram1 4096 > /dev/null > mount /dev/ram0 /mnt/ram0 > mount /dev/ram1 /mnt/ram1 > cp -af /rb/1/* /mnt/ram0 > cp -af /rb/1/settings.s /mnt/ram1 > cp -af /rb/1/rc.custom.gz /mnt/ram1 > mkdir /mnt/ram0/dev > cp -af /rb/2/dev/ram* /mnt/ram0/dev > cp -af /rb/2/* /mnt/ram1 > cp -af /rb/license.html /mnt/ram1 > mv /mnt/ram1/etc/rc.S /mnt/ram1/etc/rc.S_ > cat > /mnt/ram1/etc/rc.S <<! > #!/bin/sh > PATH=/bin > BT=1 > mount -o remount / > mount -a > . /settings.s > update & > cp /rc.* /*.s /bin > gzip -d /bin/*.gz > . /bin/rc.custom > ! > chmod ugo+rx /mnt/ram1/etc/rc.S > umount /mnt/ram1 > dd if=/dev/ram1 bs=1k count=4096 | bzip2 -9 > /mnt/ram0/initrd.bz2 2>/dev/null > rm /mnt/ram0/map > lilo -r /mnt/ram0 -C - <<! > boot=/dev/ram0 > disk=/dev/ram0 > bios=0x00 > sectors=36 > heads=2 > cylinders=80 > install=/boot.b > message=/settings.s > backup=/dev/null > map=/map > timeout=150 > read-write > vga=ask > prompt > image=/bz2bzImage > root=/dev/ram0 > initrd=/initrd.bz2 > append="parport=0x378,7" > ! > #mkdir /mnt/ram0/add-ons > #cp -af /rb/add-ons/part1/* /mnt/ram0/add-ons > umount /mnt/ram0 > dd if=/dev/ram0 bs=1k count=2880 | bzip2 -9 > /var/httpd/htdocs/pair$topdir.288.img.bz2 > cd /M5/rb > dd if=/dev/ram0 bs=1k count=2880 of=/M5/rb/tomsrtbt.288.img > mkisofs -b tomsrtbt.288.img -c boot.catalog -o tomsrtbt.iso 1 2 add* tomsrtbt.288.img > cp /M5/rb/tomsrtbt.iso /var/httpd/htdocs/pair/rb > cd /var/httpd/htdocs/pair/rb > chmod ugo+rx * > > On Thu, 25 Sep 2003, Stephane Boireau wrote: > > > Date: Thu, 25 Sep 2003 16:00:52 +0200 > > From: Stephane Boireau <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: [tomsrtbt] Modify tomsrtbt-bootcd? > > > > Hi, > > > > If I want to change some things in tomsrtbt-bootcd, how can I proceed? > > > > - mount with -o loop option > > - copy to a directory > > - make changes > > - and then, what do I have to do to rebuid the image? > > > > Thank you very much. > > -- > > Stephane Boireau > > Personne ressource TICE du coll�ge Le Hameau � Bernay (27) > > > > -- Stephane Boireau Personne ressource TICE du coll�ge Le Hameau � Bernay (27) -- Stephane Boireau Personne ressource TICE du coll�ge Le Hameau � Bernay (27)
