Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Reading, editing and then burning a new ISO image using Gentoo
Date: Thu, 08 May 2008 19:49:59
Message-Id: 1210276196.11792.33.camel@localhost
In Reply to: Re: [gentoo-user] [OT] Reading, editing and then burning a new ISO image using Gentoo by Mark Knecht
1 On Thu, 2008-05-08 at 12:24 -0700, Mark Knecht wrote:
2 > On Thu, May 8, 2008 at 11:55 AM, Albert Hopkins <marduk@×××××××××××.org> wrote:
3 [...]
4 > > Well if it's El Torito you just point mkisofs to the boot image. But
5 > > since you say it's a DOS CD, who knows.
6 > >
7 > > -a
8 >
9 > Can you clarify what you mean by 'point mkisofs to the boot image'? It
10 > seems that 'man mkisofs' calls up pages about genisoimage.
11 >
12 > I've got the CD mounted on my Linux box. ls -al /mnt/cdrom shows only
13 > SPINRITE.EXE and nothing else. However the CD is bootable and I see
14 > FreeDOS info when it's booting so maybe all the
15 > autoexec.bat/config.sys stuff is hidden somewhere. Linux isn't seeing
16 > it.
17
18 It's a boot (floppy image) that's not part of the ISO filesystem per se.
19 A quick 'Net search shows you might be able to do this following
20
21 http://kiss.molteni.net/
22
23 I tried that on an Open Solaris ISO and got:
24
25 $ isoinfo -d -i os200805.iso
26 CD-ROM is in ISO 9660 format
27 System id: Solaris
28 Volume id: OpenSolaris-2008-05
29 Volume set id:
30 Publisher id:
31 Data preparer id:
32 Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER &
33 CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997
34 J.PEARSON/J.SCHILLING
35 Copyright File id:
36 Abstract File id:
37 Bibliographic File id:
38 Volume set size is: 1
39 Volume set sequence number is: 1
40 Logical block size is: 2048
41 Volume size is: 351117
42 El Torito VD version 1 found, boot catalog is in sector 104
43 NO Joliet present
44 Rock Ridge signatures version 1 found
45 Eltorito validation header:
46 Hid 1
47 Arch 0 (x86)
48 ID ''
49 Key 55 AA
50 Eltorito defaultboot header:
51 Bootid 88 (bootable)
52 Boot media 0 (No Emulation Boot)
53 Load segment 0
54 Sys type 0
55 Nsect 4
56 Bootoff 69 105
57
58 $ dd if=os200805.iso of=boot.img bs=2048 count=4 skip=105
59 4+0 records in
60 4+0 records out
61 8192 bytes (8.2 kB) copied, 6.7118e-05 s, 122 MB/s
62
63 $ file boot.img
64 boot.img: isolinux Loader
65
66 YMMV.
67
68 -a
69
70
71 --
72 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] Reading, editing and then burning a new ISO image using Gentoo Mark Knecht <markknecht@×××××.com>