Might be that you need to disklabel the image of the filesystem on
which you copy this files, ( not talking about the mfs filesystem that
is crunced into the kernel )
So, try the following.
Mount this image by doing 'vnconfig /dev/vn0 /pathtobootimage/myimage.img'
where myimgae.img is the 2.88 M boot image.
Now do a 'mount /dev/vn0 /mnt'
now do a 'disklabel -B -b /mnt/boot/boot1 -s /mnt/boot/boot2 /dev/vn0
Something like above, try and see if it works.
If it doesn't create a new filesystem, do newfs and disklabel, then copy all
those files of yours onto the filesystem.
You actually don't need all those files.
Anyways, i think it's the bootloader itself thats not loading the kernel on the
CD ( inside the 2.88 M) image. And to correct that you need to reinstall the
bootloader, and the bootblocks.
That is boot0 to boot2
On 17-Aug-00 Patrick Bihan-Faou wrote:
> Hi,
>
>
> I am trying to build a bootable CD... Now this sounds like something trivial
> enough to do when you know what you are doing. In my case I must admit that
> I am somewhat confused.
>
> Until now, I think that the trick was to make the CD look like a floppy and
> boot it as such. I have created some bootable CDs in the past and they
> seemed to work OK.
>
> However it looks like things have changed recently in the way CD-Roms are
> booted, and I am not able to create a working CD anymore.
>
> What I would like to clarify is what needs to be in the "2.88 M" bootable
> image ?
>
> Here is what I have:
>
> /boot
> /boot0
> /boot1
> /boot2
> /loader
> /cdboot
> /pxeboot
> /loader.config
> /loader.rc
> /boot.config
> /kernel.config
> /kernel.gz
> /modules
> ...
> /usr/sbin
> ibcs2
> linux
> svr4
>
>
> Now whenever I boot this image, the loader dies displaying a all whack hex
> values and saying "BTX Halted".
>
>
> I am a bit confused as to what to do next, and I would really appreciate any
> help.
>
> BTW I am working on a fresh copy of FreeBSD 4.1-STABLE (checked-out August
> 15).
>
>
> Patrick.
>
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
----------------------------------
E-Mail: Johan Kruger <[EMAIL PROTECTED]>
Date: 18-Aug-00
Time: 09:49:10
This message was sent by XFMail
----------------------------------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message