Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS Development (http://www.linux-archive.org/centos-development/)
-   -   Net Install ISO (http://www.linux-archive.org/centos-development/710003-net-install-iso.html)

Chandana De Silva 10-06-2012 02:16 AM

Net Install ISO
 
Hello All,

I need to create a slightly modified Centos 6.3 Net Install ISO. The
modification is trivial, (a default kickstart in isolinux.cfg). I have
created a new ISO by loopback mounting the original, copying to a new
directory, editing and using mkisofs, and it works as expected.

This is how I made the new ISO:

<code>
cd my_install_directory
sudo mkisofs -o ~/centos63-ks.iso -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J
-v -T .
</code>

However, I an unable to copy this new ISO into a USB disk using dd, in
the same manner as the original net install iso. I believe this is
because the new ISO does not include an MBR. How do I include an MBR in
the new ISO, so that it can be transferred to a USB disk via DD, in the
same way as the original ?

Thanks in advance

Chandana
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Scott Silva 10-09-2012 11:35 PM

Net Install ISO
 
on 10/5/2012 7:16 PM Chandana De Silva spake the following:
> Hello All,
>
> I need to create a slightly modified Centos 6.3 Net Install ISO. The
> modification is trivial, (a default kickstart in isolinux.cfg). I have
> created a new ISO by loopback mounting the original, copying to a new
> directory, editing and using mkisofs, and it works as expected.
>
> This is how I made the new ISO:
>
> <code>
> cd my_install_directory
> sudo mkisofs -o ~/centos63-ks.iso -b isolinux/isolinux.bin -c
> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J
> -v -T .
> </code>
>
> However, I an unable to copy this new ISO into a USB disk using dd, in
> the same manner as the original net install iso. I believe this is
> because the new ISO does not include an MBR. How do I include an MBR in
> the new ISO, so that it can be transferred to a USB disk via DD, in the
> same way as the original ?
>
> Thanks in advance
>
> Chandana
>
Can't you just modify the usb device after you create it?


_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel


Wed Oct 10 02:30:02 2012
Return-Path: <devel-bounces@lists.fedoraproject.org>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
eagle542.startdedicated.com
X-Spam-Level:
X-Spam-Status: No, score=-4.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MAT CHES_RCVD,SPF_PASS,
T_DKIM_INVALID autolearn=ham version=3.3.2
X-Original-To: tom@linux-archive.org
Delivered-To: tom-linux-archive.org@eagle542.startdedicated.com
Received: from bastion.fedoraproject.org (bastion01.fedoraproject.org [209.132.181.2])
by eagle542.startdedicated.com (Postfix) with ESMTP id 2760620E0086
for <tom@linux-archive.org>; Wed, 10 Oct 2012 01:37:25 +0200 (CEST)
Received: from lists.fedoraproject.org (collab03.vpn.fedoraproject.org [192.168.1.70])
by bastion01.phx2.fedoraproject.org (Postfix) with ESMTP id A1B4F2100D;
Tue, 9 Oct 2012 23:37:22 +0000 (UTC)
Received: from collab03.fedoraproject.org (localhost [127.0.0.1])
by lists.fedoraproject.org (Postfix) with ESMTP id 2C59C40A80;
Tue, 9 Oct 2012 23:37:22 +0000 (UTC)
X-Original-To: devel@lists.fedoraproject.org
Delivered-To: devel@lists.fedoraproject.org
Received: from smtp-mm02.fedoraproject.org (smtp-mm02.fedoraproject.org
[66.35.62.164])
by lists.fedoraproject.org (Postfix) with ESMTP id 57D614078F
for <devel@lists.fedoraproject.org>;
Tue, 9 Oct 2012 23:37:20 +0000 (UTC)
Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51])
by smtp-mm02.fedoraproject.org (Postfix) with ESMTP id D1B6241B8D
for <devel@lists.fedoraproject.org>;
Tue, 9 Oct 2012 23:37:19 +0000 (UTC)
Received: by mail-wg0-f51.google.com with SMTP id ed3so3285531wgb.20
for <devel@lists.fedoraproject.org>;
Tue, 09 Oct 2012 16:37:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=message-id:date:from:user-agent:mime-version:to:subject:references
:in-reply-to:content-type:content-transfer-encoding;
bh=16Ss4r2sZDwobPEhDtEaXqBR32g3bAb4K4XGWb/ONF4=;
b=XXSbG0SUQZAsWPzWqnh9YEfA3YL9oTgHUM/Zocsf215uKyEVJN9WUjmxDWLDmmOKx7
RZse0hKeLum9/PahSjwKD836ArwiEHIdEihO27PblNQTTOjuVhpKZrUBU3KQbS/FGuQN
rrhkXIvnrKm7S2F6abneUukbq4INV6Wzae6SVnFeIK3FENhb52 cr4S+1dybe0dGTAebZ
3+xPXBuJ2iT0D8GCV7FHLSgA3fR3EgbuxXRZdLtEG9nG0FjYCr 6bDMwmLPzJATtwl9TT
anz1QXTWlibij3O534qB6C7zcvmDp/kKIW9Dcq2+Lvu4JO1rdIR3R4MAoWnGRx6CxNkt
drVQ==
Received: by 10.216.145.98 with SMTP id o76mr12524530wej.27.1349825838967;
Tue, 09 Oct 2012 16:37:18 -0700 (PDT)
Received: from localhost.localdomain (85-220-55-128.dsl.dynamic.simnet.is.
[85.220.55.128])
by mx.google.com with ESMTPS id gm7sm30806778wib.10.2012.10.09.16.37.15
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 09 Oct 2012 16:37:16 -0700 (PDT)
Message-ID: <5074B4B4.3050105@gmail.com>
Date: Tue, 09 Oct 2012 23:35:16 +0000
From: =?UTF-8?B?IkrDs2hhbm4gQi4gR3XDsG11bmRzc29uIg==?=
<johannbg@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:15.0) Gecko/20120911 Thunderbird/15.0.1
MIME-Version: 1.0
To: devel@lists.fedoraproject.org
Subject: Re: replacing rsyslogd in minimal with journald [was Re: systemd
requires HTTP server and serves QR codes]
References: <50740365.7050000@gmail.com> <20121009115304.GA24573@disco.bu.edu>
<20121009140404.GG19792@tango.0pointer.de>
<20121009144524.GB1337@disco.bu.edu>
<20121009175130.GL29383@tango.0pointer.de>
<20121009184045.GG17404@hiwaay.net>
<20121009184722.GB10849@tango.0pointer.de>
<1349815981.26127.190.camel@willson.li.ssimo.org >
<20121009212449.GA20903@tango.0pointer.de>
<CANnLRdjETx40gdQo1Xu=wkx7vW9nr7rPWG_NxJD2LFOTH9fd HQ@mail.gmail.com>
<20121009220855.GD20903@tango.0pointer.de>
In-Reply-To: <20121009220855.GD20903@tango.0pointer.de>
X-BeenThere: devel@lists.fedoraproject.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Development discussions related to Fedora
<devel@lists.fedoraproject.org>
List-Id: Development discussions related to Fedora
<devel.lists.fedoraproject.org>
List-Unsubscribe: <https://admin.fedoraproject.org/mailman/options/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=unsubscrib e>
List-Archive: <http://lists.fedoraproject.org/pipermail/devel/>
List-Post: <mailto:devel@lists.fedoraproject.org>
List-Help: <mailto:devel-request@lists.fedoraproject.org?subject=help>
List-Subscribe: <https://admin.fedoraproject.org/mailman/listinfo/devel>,
<mailto:devel-request@lists.fedoraproject.org?subject=subscribe>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Sender: devel-bounces@lists.fedoraproject.org
Errors-To: devel-bounces@lists.fedoraproject.org

T24gMTAvMDkvMjAxMiAxMDowOCBQTSwgTGVubmFydCBQb2V0dG VyaW5nIHdyb3RlOgo+IFdpdGgg
dGhlIGZlYXR1cmUgSSBhbSBwbGFubmluZyB0byBwcm9wb3NlIG ZvciBGMTk6CgpXaGljaCBpbiBl
c3NlbmNlIGlzIHRoZSBzYW1lIGFzIEkgcHJvcG9zZWQgZm9yIE YxOCAoIEFsdGhvdWdoIGZvciAK
Y29tcGxldGVseSBkaWZmZXJlbnQgcHVycG9zZXMgKS4KClRoZX JlIHdhcyBhYnNvbHV0ZWx5IG5v
dGhpbmcgcHJldmVudGluZyB0aGlzIGZlYXR1cmUgaGF2aW5nIG JlZW4gCmFjY2VwdGVkIGFuZCB0
aG9z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kZXZlbEBsaXN0cy5mZWRvcmFw
cm9qZWN0Lm9yZwpodHRwczovL2FkbWluLmZlZG9yYXByb2plY3 Qub3JnL21haWxtYW4vbGlzdGlu
Zm8vZGV2ZWw=

Chandana De Silva 10-10-2012 05:50 AM

Net Install ISO
 
Yes, but I would like to know how it was done. It would also make it
easier in the long run for those using the iso.


On 10/10/12 10:35, Scott Silva wrote:
> on 10/5/2012 7:16 PM Chandana De Silva spake the following:
>> Hello All,
>>
>> I need to create a slightly modified Centos 6.3 Net Install ISO. The
>> modification is trivial, (a default kickstart in isolinux.cfg). I have
>> created a new ISO by loopback mounting the original, copying to a new
>> directory, editing and using mkisofs, and it works as expected.
>>
>> This is how I made the new ISO:
>>
>> <code>
>> cd my_install_directory
>> sudo mkisofs -o ~/centos63-ks.iso -b isolinux/isolinux.bin -c
>> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J
>> -v -T .
>> </code>
>>
>> However, I an unable to copy this new ISO into a USB disk using dd, in
>> the same manner as the original net install iso. I believe this is
>> because the new ISO does not include an MBR. How do I include an MBR in
>> the new ISO, so that it can be transferred to a USB disk via DD, in the
>> same way as the original ?
>>
>> Thanks in advance
>>
>> Chandana
>>
> Can't you just modify the usb device after you create it?
>
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel@centos.org
> http://lists.centos.org/mailman/listinfo/centos-devel

_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel

James Pearson 10-10-2012 12:33 PM

Net Install ISO
 
Chandana De Silva wrote:
> Hello All,
>
> I need to create a slightly modified Centos 6.3 Net Install ISO. The
> modification is trivial, (a default kickstart in isolinux.cfg). I have
> created a new ISO by loopback mounting the original, copying to a new
> directory, editing and using mkisofs, and it works as expected.
>
> This is how I made the new ISO:
>
> <code>
> cd my_install_directory
> sudo mkisofs -o ~/centos63-ks.iso -b isolinux/isolinux.bin -c
> isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J
> -v -T .
> </code>
>
> However, I an unable to copy this new ISO into a USB disk using dd, in
> the same manner as the original net install iso. I believe this is
> because the new ISO does not include an MBR. How do I include an MBR in
> the new ISO, so that it can be transferred to a USB disk via DD, in the
> same way as the original ?

I believe you need to run 'isohybrid' on the new ISO - e.g. in your case:

isohybrid ~/centos63-ks.iso

isohybrid is part of the syslinux package

Also, you might want to run "hardlink" on your 'my_install_directory'
before running mkisofs - this will make the resulting ISO image a bit
smaller

James Pearson
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel

Chandana De Silva 10-11-2012 10:48 AM

Net Install ISO
 
James,
Thank you very much for this. This is exactly what I was looking for
On 10/10/12 23:33, James Pearson wrote:
> I believe you need to run 'isohybrid' on the new ISO - e.g. in your case:
>
> isohybrid ~/centos63-ks.iso
>
> isohybrid is part of the syslinux package
>
> Also, you might want to run "hardlink" on your 'my_install_directory'
> before running mkisofs - this will make the resulting ISO image a bit
> smaller

_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel


All times are GMT. The time now is 01:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.