Re: [OT] extracting boot image from 'el torito' image
On Wed, Jun 13, 2001 at 03:05:14PM -0400, Adam Di Carlo wrote:
> Brent Verner <brent@rcfile.org> writes:
>
> > On 13 Jun 2001 at 01:01 (-0400), Adam Di Carlo wrote:
> > | Brent Verner <brent@rcfile.org> writes:
> > |
> > | > Hi,
> > | > Sorry for the noise, but I figured this is the best list for the
> > | > question.
> > | >
> > | > How can I extract the boot image from a bootable ISO image?
> > | >
> > | > I've tried
> > | > dd if=iso.raw of=boot.img bs=2 skip=21 count=720
> > | > but it doesn't give me the bootable floppy image.
> > |
> > | The disk itself is the bootable image.
> >
> > well, yes, the cdrom does contain a bootable (1.44 or 2.88) image.
> > I would like to see that image. I believe there is no convenient
> > way to do this with current tools.
>
> Sure -- find the rescue.bin file and do :
>
> dd of=/dev/fd0 if=rescue.bin bs=1024
Or you could also try
mkdir torito
mount -o ro,loop=/dev/loop0 rescue.bin torito/
if you have a 'loop-able' kernel
then access the content of rescue.bin from torito/ dir
--
Eric VAN BUGGENHAUT
Eric.VanBuggenhaut@AdValvas.be
Reply to: