Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
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 20:49:35
Message-Id: 5bdc1c8b0805081349h30deeef9yc89cc1cfee4b2b8e@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] Reading, editing and then burning a new ISO image using Gentoo by Albert Hopkins
1 On Thu, May 8, 2008 at 12:49 PM, Albert Hopkins <marduk@×××××××××××.org> wrote:
2 <SNIP>
3 >
4 > $ isoinfo -d -i os200805.iso
5
6 Great stuff. Thanks. OK, using your command but changing it to the
7 drive itself I got this:
8
9 ~ # isoinfo -d dev=/dev/hdb
10 CD-ROM is in ISO 9660 format
11 System id: LINUX
12 Volume id: FreeDOS 1.0
13 Volume set id:
14 Publisher id:
15 Data preparer id:
16 Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD
17 CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
18 Copyright File id:
19 Abstract File id:
20 Bibliographic File id:
21 Volume set size is: 1
22 Volume set sequence number is: 1
23 Logical block size is: 2048
24 Volume size is: 78305
25 El Torito VD version 1 found, boot catalog is in sector 364
26 NO Joliet present
27 Rock Ridge signatures version 1 found
28 Eltorito validation header:
29 Hid 1
30 Arch 0 (x86)
31 ID ''
32 Key 55 AA
33 Eltorito defaultboot header:
34 Bootid 88 (bootable)
35 Boot media 0 (No Emulation Boot)
36 Load segment 0
37 Sys type 0
38 Nsect 4
39 Bootoff 16D 365
40
41 I then used dd to make a file:
42
43 ~ # dd if=/dev/hdb of=FreeDOS.iso
44 dd: reading `/dev/hdb': Input/output error
45 313568+0 records in
46 313568+0 records out
47 160546816 bytes (161 MB) copied, 55.8198 s, 2.9 MB/s
48
49 I don't like the Input/Output error message but it did create a file
50 which gives the same info using isoinfo:
51
52 ~ # isoinfo -d -i FreeDOS.iso
53 CD-ROM is in ISO 9660 format
54 System id: LINUX
55 Volume id: FreeDOS 1.0
56 Volume set id:
57 Publisher id:
58 Data preparer id:
59 Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD
60 CD-R/DVD CREA TOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
61 Copyright File id:
62 Abstract File id:
63 Bibliographic File id:
64 Volume set size is: 1
65 Volume set sequence number is: 1
66 Logical block size is: 2048
67 Volume size is: 78305
68 El Torito VD version 1 found, boot catalog is in sector 364
69 NO Joliet present
70 Rock Ridge signatures version 1 found
71 Eltorito validation header:
72 Hid 1
73 Arch 0 (x86)
74 ID ''
75 Key 55 AA
76 Eltorito defaultboot header:
77 Bootid 88 (bootable)
78 Boot media 0 (No Emulation Boot)
79 Load segment 0
80 Sys type 0
81 Nsect 4
82 Bootoff 16D 365
83
84
85 Now, how does one turn this ISO image back into a set of files and
86 folders to be changed and later turned back into an ISO image?
87
88 I see Joerg Schilling has responded. That's a famous name in this
89 area. Off to read his pages!
90
91 - Mark
92 --
93 gentoo-user@l.g.o mailing list