Re: how to create cdrom42.fs?
On 11/08/2007 10:54:20 AM, Soner Tari wrote: On Wed, 2007-11-07 at 13:45 -0500, Steve Shockley wrote: Try using cdbr as the boot record in no emulation, and put cdboot in the root directory of the CD. I've tried as you suggested, and it works ... For the archives here's a mkisofs command (after moving cdboot to /path/to/cdrom/root/fs): mkisofs -r -no-emul-boot -b 4.2/i386/cdbr -c boot.catalog \ -o custom42.iso /path/to/cdrom/root/fs/ Note, cdboot boots 4.2/i386/bsd.rd by default. The boot.conf man page is not clear (to me) that you can use a full pathname, not just a filename, to refer to a kernel. Karl [EMAIL PROTECTED] Free Software: You don't pay back, you pay forward. -- Robert A. Heinlein
Re: how to create cdrom42.fs?
I believe the boot image must be less than 9900 sectors to be used on a bootable cdrom. bsd.rd would be too large. -- Calomel @ http://calomel.org Open Source Research and Reference On Wed, Nov 07, 2007 at 07:45:52PM -0500, Steve Shockley wrote: Calomel wrote: You can use geteltorito.pl by Rainer Krienke. It will extract what it needs from the cdemu42.iso image and make a new cdrom42.fs image. Just takes a second. Doing: ./geteltorito.pl -o test cd42.iso results in a file test that's identical to cdbr. Why jump through so many hoops to do things the hard way? I'm not sure I see the advantage of using 2.88 emulation, especially when bsd.rd is ~5M.
Re: how to create cdrom42.fs?
On Wed, 2007-11-07 at 13:45 -0500, Steve Shockley wrote: The drivers are in bsd.rd, not in the floppy image specifically. The other images just have smaller bsd.rd files so they fit on a floppy. Try using cdbr as the boot record in no emulation, and put cdboot in the root directory of the CD. As it has become usual, you are right. I've tried as you suggested, and it works (I didn't really install, but booted the system up with that CD and dropped to shell, this should be enough evidence). Thank you. Here is my mkhybrid line, I would welcome other suggestions you might have ($BOOT_IMG is now cdbr per your suggestion): mkhybrid -f -l -J -T -r -L \ -c boot.catalog \ -sysid $SYS_ID \ -p $PREP_ID \ -P $PUBLISH_ID \ -V $VOL_ID \ -A $APP_ID \ -b $BOOT_IMG \ -o $ISO_FILE \ $SRC_PATH (I need to follow symlinks and allow leading dots.)
Re: how to create cdrom42.fs?
On Tue, 2007-11-06 at 19:42 -0500, Steve Shockley wrote: Take a look at http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/amd64/ramdisk_cd/Makefile?rev=1.3content-type=text/x-cvsweb-markup It looks like if you comment out the NOFS line it'll generate the cdromXX.fs file. I did not test this. You are exactly right Steve, thanks. I've just generated cdrom42.fs for amd64, following your suggestion. Why not just use cdbr and cdboot? Unless you actually have a 2.88mb floppy drive. I need to create a custom CD image with cdromXY.fs. The only candidate replacement was floppy42.fs, and it seems to work. But unlike floppyXY.fs, cdromXY.fs is supposed to contain almost all of the updated drivers: cdrom42.fs The amd64 boot and installation 2.88MB floppy image that contains almost all OpenBSD drivers; ... In any case, there is no problem now. Thanks again.
Re: how to create cdrom42.fs?
You can use geteltorito.pl by Rainer Krienke. It will extract what it needs from the cdemu42.iso image and make a new cdrom42.fs image. Just takes a second. Check out Step 3, option 2 at Making a bootable OpenBSD install CD http://calomel.org/bootable_openbsd_cd.html -- Calomel @ http://calomel.org Open Source Research and Reference On Tue, Nov 06, 2007 at 05:03:05PM +0800, 23?? wrote: Hi, anything script? -- Best Regards, No.23 http://blog.chinaunix.net/u1/42287
Re: how to create cdrom42.fs?
Calomel wrote: You can use geteltorito.pl by Rainer Krienke. It will extract what it needs from the cdemu42.iso image and make a new cdrom42.fs image. Just takes a second. Doing: ./geteltorito.pl -o test cd42.iso results in a file test that's identical to cdbr. Why jump through so many hoops to do things the hard way? I'm not sure I see the advantage of using 2.88 emulation, especially when bsd.rd is ~5M.
how to create cdrom42.fs?
Hi, anything script? -- Best Regards, No.23 http://blog.chinaunix.net/u1/42287
Re: how to create cdrom42.fs?
On 06/11/2007, 23号 [EMAIL PROTECTED] wrote: Hi, anything script? -- Best Regards, No.23 http://marc.info/?t=11939458983r=1w=2
Re: how to create cdrom42.fs?
On Tue, 2007-11-06 at 23:06 +0100, ropers wrote: On 06/11/2007, 23e7 [EMAIL PROTECTED] wrote: Hi, anything script? -- Best Regards, No.23 http://marc.info/?t=11939458983r=1w=2 I guess that's not what the OP was asking for. However, there is a cdrom42.fs in cdemu42.iso for i386. But I also need the one for amd64, so I am looking for ways to create it myself too.
Re: how to create cdrom42.fs?
Soner Tari wrote: I guess that's not what the OP was asking for. However, there is a cdrom42.fs in cdemu42.iso for i386. But I also need the one for amd64, so I am looking for ways to create it myself too. Take a look at http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/amd64/ramdisk_cd/Makefile?rev=1.3content-type=text/x-cvsweb-markup It looks like if you comment out the NOFS line it'll generate the cdromXX.fs file. I did not test this. Why not just use cdbr and cdboot? Unless you actually have a 2.88mb floppy drive.
Re: how to create cdrom42.fs?
thx. On 11/6/07, Guillermo Bernaldo de Quiros Maraver [EMAIL PROTECTED] wrote: If you have the source tree downloaded, you can make it from: /usr/src/distrib/`uname -m`/ramdisk_cd/ 2007/11/6, 23$B9f(B [EMAIL PROTECTED] : Hi, anything script? -- Best Regards, No.23 http://blog.chinaunix.net/u1/42287 -- Best Regards, No.23 http://blog.chinaunix.net/u1/42287