At first I tried the following:

- Unzip-untar root.lrp into a temp dir. 
- Change the scripts
- tar and zip
- Mount the bootdisk.bin as you suggested and then created the ISO

But I got so many errors when booting the CD because of the changes to
scripts (root.dev.mk and root.dev.mod in var/lib/lrpkg). And I am pretty
sure I did modify them correctly. But I must say that I used RedHat 7
machine, so it may be problem. That's why I did as in my previous message.

Charles, thank you for pointing out about the timestamp. I scratched my head
over that and finally just gave up because the new bootdisk.bin was OK.
 

-----Original Message-----
From: Charles Steinkuehler [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 9:06 AM
To: Binh Do; [EMAIL PROTECTED]
Subject: Re: How to update root.lrp on DCD


> I was trying to update the root.lrp to make the print-server work with
DCD.
> It took me sometime before realizing that I need to update the one
inside
> bootdisk.bin, not the one on the CD.
>
> The way I did was:
>
> - Create the floppy from the bootdisk.bin
> - Copy etc.lrp from DCD and modify the syslinux.cfg to have path
pointed to
> floppy
> - Boot with this floppy. Change scripts and backup root.lrp
> - Then use that new root.lrp on the floppy to replace the old one in
> original bootdisk.bin and recreate the ISO image.
>
> However I think it is quite ackward and hope that somebody can help to
show
> a more elegant way to achieve that.

Mount the bootdisk.bin file using the loop-back device on your linux
development system (ie mount -t msdos -o loop /path/bootdisk.bin /mnt),
update root.lrp, then unmount and "touch" bootdisk.bin (to update the
time/date of bootdisk.bin, which doesn't get affected when copying to
the file when mounted via loopback).  Finally, just make a new CD image,
using the example mkisofs command in the CD-ROM readme file.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to