FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fedora Remix DVD for upgrade

    I have created a own fedora 16 Remix live CD/DVD according to my need and .I have installed it successfully in 2-3 other machine also.

    Now I would like know how I can create a CD/DVD of same packages to upgrade the installed system with the CD/DVD.Just like fedora official DVD available for install or upgrade.

    I Know yum pre upgrade can do this job but I want to build the DVD to do the job done.

    Please guide me.
    thanx.

  2. #2
    Join Date
    Oct 2010
    Posts
    894
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora Remix DVD for upgrade

    Hello Rishi,

    Pungi works for building custom install media.

    Hope this helps,

  3. #3
    Join Date
    May 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora Remix DVD for upgrade

    thanx AndrewSerk.
    can you give me details about the procedure or any link?
    Thanx for your reply.

  4. #4
    Join Date
    Oct 2010
    Posts
    894
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora Remix DVD for upgrade

    Hi Rishi,
    I don't have a link for you because I couldn't find any useful info on the subject. The docs are useless but the man page isn't bad. I can only share with you what I have learned from my limited use of pungi.

    I set out the other day to make a custom remix install DVD that would do a unattended install of the packages I wanted installed. There may be a "better way" but this is how I did it.

    I used "system-config-kickstart" to create a kickstart with the packages I wanted in the install media (I used this kickstart as config file for pungi to build from). I edited the kickstart to include my local repo that contains custom rpms. The "%include" directive will work for kickstarts for pungi to build from but most of the other kickstart directives seemed to have no effect for the build.( so don't worry about the "%post" section at this point). I took that kickstart (named test.ks) and used it as a config file for pungi to build from with a command like:
    Code:
    pungi --config=/home/SpaceTimeCompressor/Desktop/test/test.ks --nosource --nodebuginfo --name=MyRemix --cachedir=/var/cache/live/
    This produced the install media, but if you try to install with this media you would have to select the packages for a custom install and check a bunch of boxes. I wanted the install media to automaticly install all the packages I had included along with some %post operations.The way I came up with to achieve this is to add a kickstart to the install media and have the media use this kickstart for the install.
    I took the test.ks I used to build from and edited it. I added to the %packages sections the packages that where added from %include section by copying the list from the other .ks that where listed with %include and added them to the %package list. I then removed the repo lines from the kickstart and added the %post scripts I needed along with the other normal directives needed for a unattended install (install or upgrade, part info, root password, language, autostep ect.).

    The next step is to include the kickstart in the install media. This is how I went about achieving that:
    I mounted the install media in a loop with a command like:
    Code:
    mount -o loop MyRemix-20120516-i386-DVD.iso /mnt/iso/
    Then copy the contents of the install media to a different directory with a command like:
    Code:
    cp -r /mnt/iso/./* /isowork
    I then copied the edited kickstart to the /isowork directory and did a "chmod 777 /isowork/" so I could edit "/isolinux/isolinux.cfg " to add "ks=cdrom:/test.ks" to the kernel line so the kernel line looked like:
    Code:
      kernel vmlinuz ks=cdrom:/test.ks
    The next step is to build the /isowork directory into a DVD again. I used a command like:
    Code:
    mkisofs -o /MyNewRemix.iso -r -J -N -d -hide-rr-moved -sysid 'hostname' -V 'Appliance' -no-emul-boot -boot-info-table -boot-load-size 4 -b isolinux/isolinux.bin -c isolinux/boot.cat /isowork/
    After the above command was finished I had the DVD MyNewRemix.iso under the directory / that would do a unattended custom install.

    Hope this helps,

  5. #5
    Join Date
    May 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora Remix DVD for upgrade

    THanx...I will try it and then reply you.

Similar Threads

  1. Fedora Remix help
    By sijothakadiyel in forum Fedora Spins & Remixes
    Replies: 3
    Last Post: 29th December 2011, 05:34 PM
  2. Fedora Community Remix 12
    By Valent in forum Fedora Spins & Remixes
    Replies: 26
    Last Post: 26th December 2011, 10:36 PM
  3. GreenOS (A Fedora remix)
    By Dan in forum Fedora Spins & Remixes
    Replies: 7
    Last Post: 1st December 2010, 04:05 PM
  4. Custom Fedora Remix
    By Valent in forum Using Fedora
    Replies: 0
    Last Post: 2nd June 2009, 05:24 PM
  5. Rebrand/remix Fedora
    By ecullerton in forum Using Fedora
    Replies: 14
    Last Post: 25th March 2009, 03:44 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •