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.
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
10-09-2012, 11:35 PM
Scott Silva
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
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
10-10-2012, 12:33 PM
James Pearson
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
10-11-2012, 10:48 AM
Chandana De Silva
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