<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Fedora Daily Package - Focus Weeks</title>
    <link>http://dailypackage.fedorabook.com/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.1.2 - http://www.s9y.org/</generator>
    <pubDate>Thu, 29 May 2008 04:59:28 GMT</pubDate>

    <image>
        <url>http://dailypackage.fedorabook.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Fedora Daily Package - Focus Weeks - </title>
        <link>http://dailypackage.fedorabook.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Fedora 9 Week: Package Management from the Command Line</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/188-Fedora-9-Week-Package-Management-from-the-Command-Line.html</link>
            <category>Fedora 9 Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/188-Fedora-9-Week-Package-Management-from-the-Command-Line.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=188</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=188</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(220, 190, 255) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;Fedora 9 Week&lt;/i&gt;.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;In Fedora 9, the default package manager has changed from Yum to PackageKit. PackageKit is a system service that can queue package installation and removal requests. In Fedora 9 it works with a Yum-based backend (and can work with other backends on other systems).&lt;/p&gt;&lt;p&gt;To manage packages from the command line in Fedora 9, there are two options available: first, you could continue to use the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;yum&lt;/font&gt; command which is still present. The second option is to use the PackageKit command-line tool, &lt;font face=&quot;courier new,courier,monospace&quot;&gt;pkcon&lt;/font&gt;, which works a lot like the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;yum&lt;/font&gt; command but which interfaces with the PackageKit service.&lt;/p&gt;&lt;p&gt;Like &lt;font face=&quot;courier new,courier,monospace&quot;&gt;yum&lt;/font&gt;, &lt;font face=&quot;courier new,courier,monospace&quot;&gt;pkcon&lt;/font&gt; accepts a subcommand and arguments. Here are some of the more common uses and the closest corresponding yum command:&lt;/p&gt;&lt;p&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;width: 100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align=&quot;center&quot; style=&quot;width: 33%;&quot;&gt;&lt;b&gt;pkcon command&lt;/b&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; style=&quot;width: 33%;&quot;&gt;&lt;b&gt;yum command&lt;/b&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; style=&quot;width: 33%;&quot;&gt;&lt;b&gt;description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width: 33%;&quot;&gt;pkcon search name &lt;i&gt;pattern&lt;/i&gt;&lt;/td&gt;&lt;td style=&quot;width: 33%;&quot;&gt;yum list &lt;i&gt;pattern&lt;/i&gt;&lt;/td&gt;&lt;td style=&quot;width: 33%;&quot;&gt;lists packages with names containing &lt;i&gt;pattern&lt;/i&gt; (note: with yum it&#039;s necessary to specify wildcard astrisks if required.).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon search details &lt;i&gt;pattern&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum search &lt;i&gt;pattern&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;lists packages with details (including description) containing &lt;i&gt;pattern&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon install &lt;i&gt;packageId&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum install &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;installs the designated package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon install-file &lt;i&gt;filename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum localinstall &lt;i&gt;filename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;installs the designated RPM file, resolving dependencies through yum repositories as required&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon update-system&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum update&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;update all packages on the system for which updates are available&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon update &lt;i&gt;packageId&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum  update &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;update only the specified package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon get description &lt;i&gt;packageId&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum info &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;get detailed information on the specified package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;pkcon get depends &lt;i&gt;packageId&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;yum deplist &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;display dependency information for a package&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;Since &lt;font face=&quot;courier new,courier,monospace&quot;&gt;pkcon&lt;/font&gt; queues requests with the PackageManager service, it does not ask for confirmation before proceeding with an installation or removal (which is the default behavior for &lt;font face=&quot;courier new,courier,monospace&quot;&gt;yum&lt;/font&gt;). However, you do have the option of adding the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;-n&lt;/font&gt; option to the command line to enqueue a request without waiting for it to complete.&lt;/p&gt;&lt;p /&gt; 
    </content:encoded>

    <pubDate>Tue, 27 May 2008 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/188-guid.html</guid>
    
</item>
<item>
    <title>Fedora 9 Week: Installing Over an Existing System with LVM</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/187-Fedora-9-Week-Installing-Over-an-Existing-System-with-LVM.html</link>
            <category>Fedora 9 Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/187-Fedora-9-Week-Installing-Over-an-Existing-System-with-LVM.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=187</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=187</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(220, 190, 255) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;Fedora 9 Week&lt;/i&gt;.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;a onclick=&quot;F1 = window.open(&#039;/uploads/2008-05-26-fdp1-partitioning-3.png&#039;,&#039;Zoom&#039;,&#039;height=615,width=815,top=225,left=440,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/2008-05-26-fdp1-partitioning-3.png&quot; class=&quot;serendipity_image_link&quot;&gt;&lt;!-- s9ymdb:296 --&gt;&lt;img width=&quot;300&quot; height=&quot;225&quot; src=&quot;http://dailypackage.fedorabook.com/uploads/2008-05-26-fdp1-partitioning-3.serendipityThumb.png&quot; style=&quot;border: 0px none ; float: right; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;When installing Fedora 9 onto a system which already has a Fedora installation, it can be hard to decide whether to do an upgrade or a full reinstallation. Doing an update preserves virtually all of you data and settings, but doing a reinstallation gives a completely clean slate (at the expense of your data -- even if you use a separate /home filesystem, there are often system settings, web sites, and other data in /etc and /var).&lt;/p&gt;&lt;p&gt;Fortunately, when using logical volume management (the default storage scheme in Fedora), you can choose a middle ground: install the new version of Fedora onto a different logical volume without disturbing the existing LVs. The technique is simple:&lt;/p&gt;&lt;p&gt;1. &lt;a target=&quot;_blank&quot; href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/181-Wednesday-Why-Getting-an-F8-LVM-System-Ready-for-F9.html&quot;&gt;Ensure that there is some space within your volume group which is not allocated to a logical volume.&lt;/a&gt; The easiest way to do this is by booting from the Fedora Live Disc image, and then using &lt;i&gt;system-config-lvm&lt;/i&gt;.&lt;/p&gt;&lt;p&gt;2. Start the normal Fedora installer (from the install DVD) and select Instllation (not upgrade). When you reach the partitioning screen, select Create Custom Layout.&lt;/p&gt;&lt;p&gt;3. On the custom layout screen, double-click on your main volume group (named VolGroup00 if you used the default VG naming scheme during the previous Fedora instllation).&lt;/p&gt;&lt;p&gt;4. Select each of our previous filesystems and create a custom mountpoint for each (for example, if you had just one LV filesystem -- the root one, from Fedora 8 -- you may want to mount it as /f8root). Do not format these filesystems. If you have filesystems such as a home that you wish to use, specify the appropriate mountpoint for each (e.g., /home).&lt;/p&gt;&lt;p&gt;5. Create a new logical volume to hold the new root filesystem. Give it a descriptive name such as &amp;quot;f9root&amp;quot; and specify / as the mountpoint. 10 GB is a reasonable minimum size for this filesystem (you can go as small as 4 GB).  If you don&#039;t already have a /home filesystem, consider creating one in a logical volume to make upgrading easier next time.&lt;/p&gt;&lt;p&gt;6. Click Ok in the &lt;i&gt;Edit LVM Volume Group &lt;/i&gt;window to close it. Double-click on your old /boot partition and specify /boot as the mountpoint (consider formatting this partition).&lt;/p&gt;&lt;p&gt;7. Proceed with the installation as usual.&lt;/p&gt;&lt;p&gt;One the system has been fully installed, you can simply copy any needed file from your old system (/f8root) to your new system (/). Once you&#039;re certain that you don&#039;t need the old filesystem any more, you can remove it (and again, &lt;i&gt;system-config-lvm&lt;/i&gt; provides a simple way to do this graphically).&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 26 May 2008 00:02:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/187-guid.html</guid>
    
</item>
<item>
    <title>System Recovery Week: Dealing with Disk Images</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/161-System-Recovery-Week-Dealing-with-Disk-Images.html</link>
            <category>System Recovery Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/161-System-Recovery-Week-Dealing-with-Disk-Images.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=161</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=161</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(255, 190, 0) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;System Recovery Week&lt;/i&gt;, examining techniques used to perform maintenance or recovery on a Fedora system in special circumstances.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;When performing system recovery, it is sometimes useful to capture the data from a disk drive into an &lt;i&gt;image file&lt;/i&gt; which can then be manipulated on another system -- this is useful when hardware failure is imminent. You can copy a disk&#039;s contents over the network using a command such as:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;ssh -C &lt;i&gt;user@remotehost&lt;/i&gt; &amp;quot;cat &amp;gt;&lt;i&gt;disk1.img&lt;/i&gt;&amp;quot; &amp;lt;&lt;i&gt;/dev/sda&lt;/i&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The &lt;font face=&quot;courier new,courier,monospace&quot;&gt;-C&lt;/font&gt; option specifies compression, which may or may not be beneficial, depending on the speed of the network connection and the speed of the local and remote CPUs.&lt;/p&gt;&lt;p&gt;This resulting file (&lt;font face=&quot;courier new,courier,monospace&quot;&gt;disk1.img&lt;/font&gt; in this example) is an exact copy of the data on the original disk. The same type of disk image is used for Xen and KVM virtualization.&lt;/p&gt;&lt;p&gt;The &lt;i&gt;file&lt;/i&gt; command will report this type of file as an x86 boot sector:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;file disk1.img&lt;/b&gt;&lt;br /&gt;disk1.img: x86 boot sector; partition 2: ID=0x83, starthead 0, startsector 208845, 1012095 sectors; partition 3: ID=0x83, starthead 0, startsector 1220940, 6972210 sectors&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;You can view the partition table of the disk image using &lt;font face=&quot;courier new,courier,monospace&quot;&gt;fdisk -l&lt;/font&gt;.&lt;i&gt; &lt;/i&gt;However, to access the individual partitions within the image, you must first use &lt;i&gt;losetup&lt;/i&gt; to make the image accessible as a block device:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;losetup -f -v disk1.img&lt;/b&gt;&lt;br /&gt;Loop device is /dev/loop0&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This contents of the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;disk1.img&lt;/font&gt; file are now available through the block device &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/dev/loop0&lt;/font&gt;. (The &lt;font face=&quot;courier new,courier,monospace&quot;&gt;-f&lt;/font&gt; option specifies that the first available &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/dev/loopN&lt;/font&gt; device should be used, and the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;-v&lt;/font&gt; enables verbose mode so that you will be told the name of the block device). You can now use &lt;i&gt;kpartx&lt;/i&gt; to create a block device for each partition within the image:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;kpartx -a -v /dev/loop0&lt;/b&gt;&lt;br /&gt;add map loop0p1 : 0 208782 linear /dev/loop0 63&lt;br /&gt;add map loop0p2 : 0 1012095 linear /dev/loop0 208845&lt;br /&gt;add map loop0p3 : 0 6972210 linear /dev/loop0 1220940&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;The partition block devices are found in /dev/mapper and are named with the original block device name (loop0) with the letter &amp;quot;p&amp;quot; and the partition number appended. The file -s command will analyze the contents of each partition:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;file -s /dev/mapper/loop0p*&lt;/b&gt;&lt;br /&gt;/dev/mapper/loop0p1: Linux rev 1.0 ext3 filesystem data&lt;br /&gt;/dev/mapper/loop0p2: Linux/i386 swap file (new style) 1 (4K pages) size 126510 pages&lt;br /&gt;/dev/mapper/loop0p3: LVM2 (Linux Logical Volume Manager) , UUID: 5zG5aVBny87KnCdsicTz3RQbt3w37db&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;In this example, the first partition contains a filesystem which may be directly mounted (e.g., with &lt;font face=&quot;courier new,courier,monospace&quot;&gt;mkdir /mnt/x1 ; mount /dev/mapper/loop0p1 /mnt/x1&lt;/font&gt;). &lt;/p&gt;&lt;p&gt;The second partition contains swap space, which is probably not of any interest. The third partition contains an LVM physical volume (PV), so you will need to use &lt;i&gt;vgscan&lt;/i&gt; and &lt;i&gt;vgchange&lt;/i&gt; to gain access to logical volumes contained therein:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;vgscan &lt;/b&gt;&lt;br /&gt;  Reading all physical volumes.  This may take a while...&lt;br /&gt;  Found volume group &amp;quot;zephyr&amp;quot; using metadata type lvm2&lt;br /&gt;  Found volume group &amp;quot;main&amp;quot; using metadata type lvm2&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;br /&gt;# &lt;b&gt;vgchange -ay&lt;/b&gt;&lt;br /&gt;  2 logical volume(s) in volume group &amp;quot;zephyr&amp;quot; now active&lt;br /&gt;  4 logical volume(s) in volume group &amp;quot;main&amp;quot; now active&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;br /&gt;# &lt;b&gt;file -s /dev/mapper/zephyr-*&lt;/b&gt;&lt;br /&gt;/dev/mapper/zephyr-home: Linux rev 1.0 ext3 filesystem data (large files)&lt;br /&gt;/dev/mapper/zephyr-root: Linux rev 1.0 ext3 filesystem data (large files)&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Note that in this case the discovered VG name is &lt;i&gt;zephyr&lt;/i&gt;. Once these steps have been performed, the zephyr LVs can then be mounted in the usual way to provide access to their contents.&lt;/p&gt;&lt;p&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;width: 100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; If the volume group (VG) name on the disk image conflicts with the VG name on the host, it may be necessary to rename the VG on the host with the &lt;i&gt;vgrename&lt;/i&gt; command in order to access the VG on the disk image. However, renaming the VG on the host can be a tricky task. For this reason, it&#039;s strongly recommended that VGs be given unique names when they are originally created -- naming each system&#039;s main VG after the hostname is a good practice.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;When you are done using the disk image, reverse the procedure to take the disk image out of use:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;vgchange -an zephyr &lt;/b&gt;&lt;br /&gt;  0 logical volume(s) in volume group &amp;quot;zephyr&amp;quot; now active&lt;br /&gt;# &lt;b&gt;kpartx -d /dev/loop0&lt;/b&gt;&lt;br /&gt;# &lt;b&gt;losetup -d /dev/loop0&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Fri, 07 Dec 2007 00:01:00 -0500</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/161-guid.html</guid>
    
</item>
<item>
    <title>System Recovery Week: Recovering RAID Devices</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/160-System-Recovery-Week-Recovering-RAID-Devices.html</link>
            <category>System Recovery Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/160-System-Recovery-Week-Recovering-RAID-Devices.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=160</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=160</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(255, 190, 0) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;System Recovery Week&lt;/i&gt;, examining techniques used to perform maintenance or recovery on a Fedora system in special circumstances.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;When you boot from a Fedora installation disc and enter rescue mode, you have the option of having the filesystems from your Fedora installation mounted at &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/mnt/sysimage&lt;/font&gt;. If you do not select this option, or if it fails, RAID devices will not be configured for use (as is also the case with LVM, as &lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/159-System-Recovery-Week-Using-LVM-In-Rescue-Mode.html&quot;&gt;discussed yesterday&lt;/a&gt;).&lt;/p&gt;&lt;p&gt;On a Fedora system, RAID arrays are managed by the mdadm utility. This program expects the RAID configuration to be available at /etc/mdadm.conf. In order to use mdadm without this configuration file, it is necessary to create a dummy configuration file. This is a multi-step process:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Create a dummy mdadm configuration file containing only the partitions to be scanned for possible RAID elements:&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;sh-3.2# &lt;b&gt;echo &amp;quot;DEVICE /dev/[hs]d?[0-9]&amp;quot; &amp;gt;/tmp/mdadm.conf&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Use mdadm&#039;s scanning capability to identify any RAID arrays and array members and append that information to the dummy configuration file:&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;sh-3.2# &lt;b&gt;mdadm --examine --scan --config=/tmp/mdadm.conf &amp;gt;&amp;gt;/tmp/mdadm.conf&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Start the detected arrays: &lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;sh-3.2# &lt;b&gt;mdadm --assemble --scan --config=/tmp/mdadm.con&lt;/b&gt;&lt;br /&gt;mdadm: /dev/md0 has been started with 2 drives (out of 3).&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;You can now perform any RAID recovery tasks that are needed -- adding (or re-adding) elements to arrays, for example. To view the status of your arrays, &lt;font face=&quot;courier new,courier,monospace&quot;&gt;cat /proc/mdstat&lt;/font&gt;.&lt;/li&gt;&lt;/ol&gt;If you have layered LVM on top of RAID, manually scan for and activate your volume groups as &lt;a href=&quot;index.php?/archives/159-System-Recovery-Week-Using-LVM-In-Rescue-Mode.html&quot;&gt;discussed yesterday&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Thu, 06 Dec 2007 00:01:00 -0500</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/160-guid.html</guid>
    
</item>
<item>
    <title>System Recovery Week: Using LVM In Rescue Mode</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/159-System-Recovery-Week-Using-LVM-In-Rescue-Mode.html</link>
            <category>System Recovery Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/159-System-Recovery-Week-Using-LVM-In-Rescue-Mode.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=159</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=159</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(255, 190, 0) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;System Recovery Week&lt;/i&gt;, examining techniques used to perform maintenance or recovery on a Fedora system in special circumstances.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;Logical Volume Management (LVM) is a powerful storage system layer which abstracts the logical view of storage from the actual physical layout. It is automatically configured in the default Fedora storage configuration. LVM enables you to grow and shrink volumes, add storage from new devices to existing volumes, and migrate volumes between storage devices, all without taking the system offline. In fact, the &lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/92-GUI-Thursday-System-config-lvm-LVM-GUI-tool.html&quot;&gt;&lt;i&gt;system-config-lvm&lt;/i&gt;&lt;/a&gt; package provides a convenient way to perform all of these operations using a graphical interface.&lt;/p&gt;&lt;p&gt;However, you can&#039;t (yet) shrink a filesystem while it is mounted. This isn&#039;t a limitation of LVM itself, but of most filesystems, including ext3. To shrink a partition that is always mounted when the system is running -- such as the root filesystem -- it&#039;s necessary to boot from another medium, which is where rescue mode comes in (see &lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/158-System-Recovery-Week-Rescue-Mode-and-Reinstalling-Grub.html&quot;&gt;yesterday&#039;s article&lt;/a&gt;). It may also be necessary to use rescue mode to recover from some particularly nasty corruption or misconfiguration issues.&lt;/p&gt;&lt;p&gt;To do LVM and filesystem-resizing work within the Fedora rescue mode, boot the rescue mode from disc as usual, but select &lt;b&gt;Skip&lt;/b&gt; when the system offers to mount your hard-disk partitions. Unfortunately, this will mean that your volume groups will not be detected or activated, so you will need to do that manually.&lt;/p&gt;&lt;p&gt;The commands normally used for logical volume management such as &lt;font face=&quot;courier new,courier,monospace&quot;&gt;vgdisplay&lt;/font&gt;, &lt;font face=&quot;courier new,courier,monospace&quot;&gt;pvcreate&lt;/font&gt;, and &lt;font face=&quot;courier new,courier,monospace&quot;&gt;lvreduce&lt;/font&gt; are actually symbolic links to a single executable named &lt;font face=&quot;courier new,courier,monospace&quot;&gt;lvm&lt;/font&gt;. These symbolic links are not available in rescue mode, so you must explicitly use the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;lvm&lt;/font&gt; command followed by the operation you wish to perform: if you wish to do a &lt;font face=&quot;courier new,courier,monospace&quot;&gt;vgscan,&lt;/font&gt; for example, enter the command &lt;font face=&quot;courier new,courier,monospace&quot;&gt;lvm vgscan&lt;/font&gt;.&lt;/p&gt;&lt;p&gt;Therefore, to discover and activate all volume groups, you must execute these commands:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;sh-3.2# &lt;b&gt;lvm vgscan&lt;/b&gt;&lt;br /&gt;  Reading all physical volumes. This may take a while...&lt;br /&gt;  Found volume group &amp;quot;VolGroup00&amp;quot; using metadata type lvm2&lt;br /&gt;sh-3.2# &lt;b&gt;lvm vgchange -ay&lt;/b&gt;&lt;br /&gt;  2 logical volume(s) in volume group &amp;quot;VolGroup00&amp;quot; now active&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;You can display information about the logical volumes using &lt;font face=&quot;courier new,courier,monospace&quot;&gt;lvm lvs&lt;/font&gt; (or &lt;font face=&quot;courier new,courier,monospace&quot;&gt;lvm lvdisplay&lt;/font&gt; for a more verbose display):&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;sh-3.2# &lt;b&gt;lvm lvs&lt;/b&gt;&lt;br /&gt;  LV       VG         Attr    LSize  Origin Snap%  Move Log Copy%&lt;br /&gt;  LogVol00 VolGroup00 -wi-a-  28.66G&lt;br /&gt;  LogVol01 VolGroup00 -wi-a- 992.00M&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Note that the LV and VG names are not very descriptive -- which is why it&#039;s a good idea to override the default names during system installation. In this case, we know the approximate size of the LV containing the root filesystem, so we can determine that it is &lt;font face=&quot;courier new,courier,monospace&quot;&gt;LogVol00&lt;/font&gt; in &lt;font face=&quot;courier new,courier,monospace&quot;&gt;VolGroup00.&lt;/font&gt;&lt;/p&gt;&lt;p /&gt;&lt;p&gt;Armed with this information, you can now check (&lt;font face=&quot;courier new,courier,monospace&quot;&gt;fsck&lt;/font&gt;) the filesystem, shrink the filesystem within that logical volume, and then shrink the LV. Because of the potential for rounding errors, it&#039;s best to shrink the filesystem to a size slightly smaller than the new LV size, resize the LV, and then grow the filesystem to fully fill the LV:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;sh-3.2# &lt;b&gt;e2fsck -f /dev/VolGroup00/LogVol00&lt;/b&gt;&lt;br /&gt;e2fsck 1.40.2 (12-Jul-2007)&lt;br /&gt;Pass 1: Checking inodes, blocks, and sizes&lt;br /&gt;Pass 2: Checking directory structure&lt;br /&gt;Pass 3: Checking directory connectivity&lt;br /&gt;Pass 4: Checking refernce counts&lt;br /&gt;Pass 5: Checking group summary information&lt;br /&gt;/dev/VolGroup00/LogVol00: 122967/7514560 files (0.9% non-contiguous), 1113272/7512064 blocks&lt;br /&gt;&lt;br /&gt;sh-3.2# &lt;b&gt;resize2fs /dev/VolGroup00/LogVol00 &lt;i&gt;19G&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;resize2fs 1.40.2 (12-Jul-2007)&lt;br /&gt;Resizing the filesystem on /dev/VolGroup00/LogVol00 to 4980736 (4k) blocks.&lt;br /&gt;The filesystem on /dev/VolGroup00/LogVol00 is now 4980736 blocks long.&lt;br /&gt;&lt;br /&gt;sh-3.2# &lt;b&gt;lvm lvresize VolGroup00/LogVol00 --size &lt;i&gt;20G&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;  WARNING: Reducing active logical volume to 20.00 GB&lt;br /&gt;  THIS MAY DESTROY YOUR DATA (filesystem etc.)&lt;br /&gt;Do you really want to reduce LogVol00? [y/n]: &lt;b&gt;y&lt;/b&gt;&lt;br /&gt;  Reducing logical volume LogVol00 to 20.00 GB&lt;br /&gt;  Logical volume LogVol00 successfully resized&lt;br /&gt;&lt;br /&gt;sh-3.2# &lt;b&gt;resize2fs /dev/VolGroup00/LogVol00&lt;/b&gt;&lt;br /&gt;resize2fs 1.40.2 (12-Jul-2007)&lt;br /&gt;Resizing the filesystem on /dev/VolGroup00/LogVol00 to 5242880 (4k) blocks.&lt;br /&gt;The filesystem on /dev/VolGroup00/LogVol00 is now 5242880 blocks long.&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Note that the operations following the first resize2fs do not need to be performed in rescue mode -- you can reboot the system at that point and continue after the system has booted normally. Earlier versions of the Fedora rescue mode may not set up the symbolic link &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/dev/&lt;i&gt;VolumeGroup&lt;/i&gt;/&lt;i&gt;LogicalVolume&lt;/i&gt;&lt;/font&gt;, so you may need to refer to &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/dev/mapper/&lt;i&gt;VolumeGroup-LogicalVolume&lt;/i&gt;&lt;/font&gt; (e.g., use &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/dev/mapper/VolGroup00-LogVol00&lt;/font&gt; in place of &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/dev/VolGroup00/LogVol00&lt;/font&gt;).&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 05 Dec 2007 00:01:00 -0500</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/159-guid.html</guid>
    
</item>
<item>
    <title>System Recovery Week: Rescue Mode and Reinstalling Grub</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/158-System-Recovery-Week-Rescue-Mode-and-Reinstalling-Grub.html</link>
            <category>System Recovery Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/158-System-Recovery-Week-Rescue-Mode-and-Reinstalling-Grub.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=158</wfw:comment>

    <slash:comments>19</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=158</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(255, 190, 0) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;System Recovery Week&lt;/i&gt;, examining techniques used to perform maintenance or recovery on a Fedora system in special circumstances.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;a onclick=&quot;F1 = window.open(&#039;/uploads/2007-12-04-rescue-mode-boot.png&#039;,&#039;Zoom&#039;,&#039;height=495,width=655,top=285,left=520,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-04-rescue-mode-boot.png&quot; class=&quot;serendipity_image_link&quot;&gt;&lt;!-- s9ymdb:245 --&gt;&lt;img width=&quot;300&quot; height=&quot;225&quot; align=&quot;right&quot; src=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-04-rescue-mode-boot.serendipityThumb.png&quot; style=&quot;border: 0px none ; float: right; padding-left: 5px; padding-right: 5px;&quot; /&gt;&lt;/a&gt;When a system is too damaged to permit booting from the hard disk drive, it&#039;s necessary to boot from another medium. The Fedora installation discs support a &amp;quot;Rescue mode&amp;quot; in which the system is booted from the CD and the hard disk partitions are optionally mounted for access.&lt;/p&gt;&lt;p&gt;To access this mode, boot from your Fedora install media and select &amp;quot;Rescue installed system&amp;quot; from the boot menu using the arrow keys and Enter or by pressing the &lt;b&gt;R&lt;/b&gt; key (if you need to edit the boot options first -- to disable ACPI, for example -- navigate to the Rescue option with the arrow keys and press Tab).&lt;/p&gt;&lt;p&gt;The kerenel will boot from CD and the system will prompt you to select a keyboard style and language from scrollable lists of options. You will then be given the opportunity to enable the network interfaces on the system, either by entering the IP information or by using DHCP.&lt;/p&gt;&lt;br clear=&quot;all&quot; /&gt;&lt;a class=&quot;serendipity_image_link&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-04-rescue-mode-mount-dialog.png&quot; onclick=&quot;F1 = window.open(&#039;/uploads/2007-12-04-rescue-mode-mount-dialog.png&#039;,&#039;Zoom&#039;,&#039;height=415,width=735,top=325,left=480,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:246 --&gt;&lt;img width=&quot;300&quot; height=&quot;167&quot; style=&quot;border: 0px none ; float: left; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-04-rescue-mode-mount-dialog.serendipityThumb.png&quot; /&gt;&lt;/a&gt;The system will then present a dialog stating that the rescue environment is about to find and mount the filesystems from your hard disk Fedora installation, and asks if you wish to continue. This is a critical question: if your filesystems are intact and you wish to access the data that is in them, you can select &lt;b&gt;Continue&lt;/b&gt;, the default option. If you are concerned about the state of your filesystems and want to ensure that they will not be altered, but still want to access them, select &lt;b&gt;Read-Only&lt;/b&gt;. If your filesystems are damaged, you have multiple Fedora installations, or you wish to perform an operation such as reducing the size of the root filesystem, choose &lt;b&gt;Skip&lt;/b&gt;. After some additional messages, you will be presented with a root shell prompt.&lt;p&gt;If you have elected to continue with read/write mounting of your filesystems, all of the files from your Fedora installation should be available under &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/mnt/sysimage&lt;/font&gt; -- so the normal &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/passwd&lt;/font&gt; file will be available at &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/mnt/sysimage/etc/passwd&lt;/font&gt;.&lt;/p&gt;&lt;p&gt;Although regular Fedora commands and utilities are available in rescue mode, most of them will not work because of the altered paths. You can work around this issue by temporarily changing the root directory using the chroot command:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;chroot /mnt/sysimage&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;However, you need to be aware that files within the mounted Fedora filesystems will not have been updated during the rescue mode boot process, including &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/mtab&lt;/font&gt; and &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/var/log/messages&lt;/font&gt;. You can compensate for this by some degree by getting the information from other places (such as &lt;font face=&quot;courier new,courier,monospace&quot;&gt;dmesg&lt;/font&gt; for kernel messages and &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/proc/mounts&lt;/font&gt; for mount information).&lt;/p&gt;&lt;p&gt;If you have been forced to use rescue mode because your system&#039;s Grub bootloader code has become damaged or has been overwritten by another bootloader, you can reinstall the Grub bootloader in rescue mode:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Start the Grub shell with the &lt;b&gt;grub&lt;/b&gt; command:&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;grub&lt;/b&gt;&lt;br /&gt;Probing devices to guess BIOS drives. This may take a long time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)&lt;br /&gt;&lt;br /&gt; [ Minimal BASH-like line editing is supported.  For the first word, TAB&lt;br /&gt;   lists possible command completions.  Anywhere else TAB lists the possible&lt;br /&gt;   completions of a device/filename.]&lt;br /&gt;grub&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Use the &lt;b&gt;find&lt;/b&gt; command to locate the partition containing the boot files by searching for &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/grub/grub.conf&lt;/font&gt; (or &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/boot/grub/grub.conf&lt;/font&gt; if that fails). Grub will report the partition using its own syntax:&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;grub&amp;gt; &lt;b&gt;find /grub/grub.conf&lt;/b&gt;&lt;br /&gt; (hd0,0)&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Use the &lt;b&gt;root&lt;/b&gt; command to configure the partition from which the boot files are to be loaded (use the partition ID from step 2):&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;grub&amp;gt; &lt;b&gt;root (hd0,0)&lt;/b&gt;&lt;br /&gt; Filesystem type is ext2fs, partition type 0x83&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;The partition ID from step 2 can be converted to a drive ID by removiing the comma and partition number -- for example, the partition (hd0,0) is on the drive (hd0). Use the &lt;b&gt;setup&lt;/b&gt; command with this drive ID to install the Grub bootloader code:&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;grub&amp;gt; &lt;b&gt;setup (hd0)&lt;/b&gt;&lt;br /&gt; Checking if &amp;quot;/boot/grub/stage1&amp;quot; exists... no&lt;br /&gt; Checking if &amp;quot;/grub/stage1&amp;quot; exists... yes&lt;br /&gt; Checking if &amp;quot;/grub/stage2&amp;quot; exists... yes&lt;br /&gt; Checking if &amp;quot;/grub/e2fs_stage1_5&amp;quot; exists... yes&lt;br /&gt; Running &amp;quot;embed /grub/e2fs_stage1_5 (hd0)&amp;quot;...  16 sectors are embedded.&lt;br /&gt;succeeded&lt;br /&gt; Running &amp;quot;install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2 /grub/grub.conf&amp;quot;... succeeded&lt;br /&gt;Done.&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Exit the Grub shell with &lt;b&gt;quit&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;grub&amp;gt; &lt;b&gt;quit&lt;/b&gt;&lt;br /&gt;#&lt;br /&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;You can also use rescue mode to set the root password, create alternate superuser accounts, or change or remove a boot password. Whether these are important recovery operations or a type of attack depends only on the context in which they are performed. You can slow down such an attack by configuring the system BIOS to boot only from the hard disk and installing a BIOS password, but that can be reset using a motherboard jumper in most cases. The moral of the story: if you don&#039;t have physical security, you don&#039;t have system security.&lt;/p&gt;&lt;p&gt;When you are finished using rescue mode, type &lt;font face=&quot;courier new,courier,monospace&quot;&gt;exit&lt;/font&gt; or press Ctrl-D twice. The system will then reboot.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p /&gt; 
    </content:encoded>

    <pubDate>Tue, 04 Dec 2007 00:01:00 -0500</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/158-guid.html</guid>
    
</item>
<item>
    <title>System Recovery Week: Single-user mode</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/157-System-Recovery-Week-Single-user-mode.html</link>
            <category>System Recovery Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/157-System-Recovery-Week-Single-user-mode.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=157</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=157</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p align=&quot;center&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;background: rgb(255, 190, 0) none repeat scroll 0% 50%; width: 100%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 100%;&quot;&gt;&lt;center&gt;This article is part of &lt;i&gt;System Recovery Week&lt;/i&gt;, examining techniques used to perform maintenance or recovery on a Fedora system in special circumstances.&lt;/center&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-03-singleuser-grub.png&quot; onclick=&quot;F1 = window.open(&#039;/uploads/2007-12-03-singleuser-grub.png&#039;,&#039;Zoom&#039;,&#039;height=495,width=655,top=285,left=520,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:242 --&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style=&quot;width: 300px;&quot; class=&quot;serendipity_imageComment_left&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a onclick=&quot;F1 = window.open(&#039;/uploads/2007-12-03-singleuser-grub.png&#039;,&#039;Zoom&#039;,&#039;height=495,width=655,top=285,left=520,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-03-singleuser-grub.png&quot; class=&quot;serendipity_image_link&quot;&gt;&lt;!-- s9ymdb:242 --&gt;&lt;img width=&quot;300&quot; height=&quot;225&quot; align=&quot;left&quot; src=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-03-singleuser-grub.serendipityThumb.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Figure 1 - Appending single-user mode (&amp;quot;s&amp;quot;) to the system boot options.&lt;/div&gt;&lt;/div&gt;There are times when a Fedora system will not boot normally, due to the state of the filesystem, the absence of startup files, or incorrect configuration. Most users will never encounter these circumstances, but it&#039;s important to know what to do if they arise.&lt;p /&gt;&lt;p&gt;The simplest recovery mode available is &amp;quot;single user&amp;quot; or &amp;quot;maintainence mode&amp;quot;. This is a special runlevel which will take you directly into a superuser (root) shell prompt without executing most of the normal system startup scripts. Because this mode boots from the normal filesystems, it will only work when the kernel, initrd (initial ramdisk), and basic filesystem are intact; however, it does not require a valid &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/inittab&lt;/font&gt;, &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/passwd&lt;/font&gt;, or &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/shadow&lt;/font&gt; file or a working set of boot scripts, so it can be used in many situations where a normal boot would fail.&lt;/p&gt;&lt;p&gt;To enter single user mode, interrupt the normal grub boot display (which usually shows a message counting down the seconds until Fedora is booted, or which may show a menu of available operating systems if you have altered the default grub boot configuration) by pressing the spacebar. If you have a boot password, press &lt;b&gt;P&lt;/b&gt; and enter the password now.&lt;/p&gt;&lt;p&gt;Press the &lt;b&gt;A&lt;/b&gt; key to append boot options to the default kernel, and type a space and the letter &lt;b&gt;s&lt;/b&gt; to indicate that you want to enter single-user mode, as shown in Figure 1. Press Enter to continue booting.&lt;/p&gt;&lt;br clear=&quot;all&quot; /&gt;&lt;div style=&quot;width: 300px;&quot; class=&quot;serendipity_imageComment_right&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a onclick=&quot;F1 = window.open(&#039;/uploads/2007-12-03-singleuser-shell.png&#039;,&#039;Zoom&#039;,&#039;height=415,width=735,top=325,left=480,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-03-singleuser-shell.png&quot; class=&quot;serendipity_image_link&quot;&gt;&lt;!-- s9ymdb:243 --&gt;&lt;img width=&quot;300&quot; height=&quot;167&quot; align=&quot;right&quot; src=&quot;http://dailypackage.fedorabook.com/uploads/2007-12-03-singleuser-shell.serendipityThumb.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Figure 2 - Root shell prompt in single-user mode.&lt;/div&gt;&lt;/div&gt;&lt;p&gt;The system will boot and then go directly to a root shell prompt (Figure 2). You can perform any normal administrative functions at this prompt - but since the normal system startup has not taken place, you will not be able to use networking, printing, or other services. If your init scripts are intact, you can start specific services, such as &lt;font face=&quot;courier new,courier,monospace&quot;&gt;network&lt;/font&gt; or &lt;font face=&quot;courier new,courier,monospace&quot;&gt;cups&lt;/font&gt;, using the &lt;i&gt;service&lt;/i&gt; command: &lt;font face=&quot;courier new,courier,monospace&quot;&gt;service &lt;i&gt;nameOfService&lt;/i&gt; start&lt;/font&gt;&lt;/p&gt;&lt;p&gt;Operations commonly performed in single user mode include:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Selecting a new root password: &lt;font face=&quot;courier new,courier,monospace&quot;&gt;passwd&lt;/font&gt;&lt;/li&gt;&lt;li&gt;Replacing or repairing the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/inittab&lt;/font&gt;, &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/passwd&lt;/font&gt;, or &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/shadow&lt;/font&gt; files by copying or editing the files&lt;/li&gt;&lt;li&gt;Checking a filesystem which will not start up cleanly during normal boot, using a command such as this (Caution! the command as written here will proceed with all repair operations without asking further questions. This will likely result in a clean filesystem which can be mounted but may in rare cases result in some data loss): &lt;font face=&quot;courier new,courier,monospace&quot;&gt;fsck -f -y /dev/&lt;i&gt;filesystemDevice&lt;/i&gt;&lt;/font&gt;&lt;br /&gt; &lt;/li&gt;&lt;/ul&gt;When you are finished using single user mode, exiting the shell with the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;exit&lt;/font&gt; command or Ctrl-D will start a normal system boot. It&#039;s usually a better idea to perform a full reboot, using the &lt;font face=&quot;courier new,courier,monospace&quot;&gt;reboot&lt;/font&gt; command.&lt;p&gt;Note that single user mode presents an extreme security risk: any person who has physical access to your system can use single user mode to gain root (unrestricted) access to your system. A boot password will make it slightly more difficult to execute this type of attack. If you did not create a boot password at installation, you can add one at any time:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Use the grub-md5-crypt command to generate an encrypted version of your selected password:&lt;br /&gt;&lt;blockquote&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# &lt;b&gt;grub-md5-crypt&lt;/b&gt;&lt;br /&gt;Password: &lt;font color=&quot;#0000ff&quot;&gt;&lt;b&gt;hello&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;Retype password: &lt;font color=&quot;#0000ff&quot;&gt;&lt;b&gt;hello&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;$1$gNc9G$BppzXI37ogNVc2aJ8tjSe0&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;Enter the encrypted password into the top of your Grub configuration file, /boot/grub/grub.conf:&lt;br /&gt;&lt;blockquote&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# grub.conf generated by anaconda&lt;br /&gt;#&lt;br /&gt;# Note that you do not have to rerun grub after making changes to this file&lt;br /&gt;# NOTICE:  You have a /boot partition.  This means that&lt;br /&gt;#          all kernel and initrd paths are relative to /boot/, eg.&lt;br /&gt;#          root (hd0,0)&lt;br /&gt;#          kernel /vmlinuz-version ro root=/dev/concord3/f8root&lt;br /&gt;#          initrd /initrd-version.img&lt;br /&gt;#boot=/dev/md0&lt;br /&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;b&gt;password --md5 &lt;/b&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&lt;b&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;$1$gNc9G$BppzXI37ogNVc2aJ8tjSe0&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;default=0&lt;br /&gt;timeout=5&lt;br /&gt;splashimage=(hd0,0)/grub/splash.xpm.gz&lt;br /&gt;hiddenmenu&lt;br /&gt;title Fedora (2.6.23.1-49.fc8)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.6.23.1-49.fc8 ro root=/dev/concord3/f8root rhgb quiet&lt;br /&gt;        initrd /initrd-2.6.23.1-49.fc8.img&lt;br /&gt;title Fedora (2.6.23.1-42.fc8)&lt;br /&gt;        root (hd0,0)&lt;br /&gt;        kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/concord3/f8root rhgb quiet&lt;br /&gt;        initrd /initrd-2.6.23.1-42.fc8.img&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/blockquote&gt;&lt;/li&gt;&lt;/ol&gt;However, a user with physical access to your machine can circumvent the boot password by booting from another device, as we will see later this week.&lt;br /&gt;&lt;p /&gt; 
    </content:encoded>

    <pubDate>Mon, 03 Dec 2007 00:02:00 -0500</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/157-guid.html</guid>
    
</item>
<item>
    <title>Focus Week: System Recovery Week</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/156-Focus-Week-System-Recovery-Week.html</link>
            <category>Administrivia</category>
            <category>System Recovery Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/156-Focus-Week-System-Recovery-Week.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=156</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=156</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
This week is a special &lt;i&gt;Focus Week&lt;/i&gt; where we&#039;ll be examining the techniques used by experienced system administrators to recover a system or perform special maintainence in unusual circumstances. This will include the use of single-user mode, rescue mode (booted from optical disc), LVM and RAID recovery, and dealing with disk images from other computers.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 03 Dec 2007 00:01:00 -0500</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/156-guid.html</guid>
    
</item>
<item>
    <title>Fedora 7: Custom Spins with Revisor</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/70-Fedora-7-Custom-Spins-with-Revisor.html</link>
            <category>Fedora 7 Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/70-Fedora-7-Custom-Spins-with-Revisor.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=70</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div style=&quot;border: 1px solid black; background: rgb(153, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 100%; text-align: center;&quot;&gt;&lt;i&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Fedora 7.&lt;/b&gt;&lt;/i&gt;&lt;div align=&quot;left&quot;&gt;&lt;i&gt;This site, the Fedora Daily Package, is all about the software packages included in Fedora. The latest release of Fedora -- Fedora 7 -- introduces some significant improvements in packaging, including the merge of the Fedora Core and Fedora Extras repositories and the introduction of tools for creating custom distribution spins and live discs.&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;a class=&quot;serendipity_image_link&quot; href=&quot;http://dailypackage.fedorabook.com/uploads/revisor-pungi-1.png&quot; onclick=&quot;F1 = window.open(&#039;/uploads/revisor-pungi-1.png&#039;,&#039;Zoom&#039;,&#039;height=515,width=775,top=134,left=132,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:89 --&gt;&lt;img width=&quot;300&quot; height=&quot;197&quot; style=&quot;border: 0px none ; float: right; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://dailypackage.fedorabook.com/uploads/revisor-pungi-1.serendipityThumb.png&quot; /&gt;&lt;/a&gt;One of the biggest improvements that Fedora 7 brings is a change in the package repository structure. Previous releases of Fedora had separate &lt;i&gt;Core&lt;/i&gt; and &lt;i&gt;Extras&lt;/i&gt; repositories:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;i&gt;Core&lt;/i&gt; included packages that were &#039;on-disc&#039; -- distributed on the ISO images -- and almost all of the packages were maintained by Red Hat employees.&lt;/li&gt;&lt;li&gt;&lt;i&gt;Extras&lt;/i&gt; packages were not on the main ISO images. They were maintained by a mix of Red Hat and non-Red Hat community members.&lt;/li&gt;&lt;/ul&gt;&lt;p /&gt;&lt;p&gt;Erasing the distinction between these two group of packages opened up the way for any community member to maintain any type of package. It also meant that the package set became too large to fit on a single-sided DVD. Rather than arbitrarily select a group of packages to go on disc, a set of tools was created which can take any set of packages -- including ones from third-party repositories -- and build a custom installation image or a live environment which can be booted and run entirely from optical or USB media.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/70-Fedora-7-Custom-Spins-with-Revisor.html#extended&quot;&gt;Continue reading &quot;Fedora 7: Custom Spins with Revisor&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 06 Jun 2007 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/70-guid.html</guid>
    
</item>
<item>
    <title>Fedora 7: Installation</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/69-Fedora-7-Installation.html</link>
            <category>Fedora 7 Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/69-Fedora-7-Installation.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=69</wfw:comment>

    <slash:comments>12</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=69</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div style=&quot;border: 1px solid black; background: rgb(153, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 100%; text-align: center;&quot;&gt;&lt;i&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Fedora 7.&lt;/b&gt;&lt;/i&gt;&lt;div align=&quot;left&quot;&gt;&lt;i&gt;This site, the Fedora Daily Package, is all about the software packages included in Fedora. The latest release of Fedora -- Fedora 7 -- introduces some significant improvements in packaging, including the merge of the Fedora Core and Fedora Extras repositories and the introduction of tools for creating custom distribution spins and live discs.&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt; &lt;/i&gt;&lt;/p&gt;Fedora 7 offers more distribution and installation options than any previous version of Fedora.&lt;p&gt;The &lt;a target=&quot;_blank&quot; href=&quot;http://fedoraproject.org/get-fedora.html&quot;&gt;Fedora torrents and mirrors&lt;/a&gt; offer seven different Fedora DVD and CD images:&lt;/p&gt;&lt;p&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;width: 100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 25%;&quot;&gt;&lt;b&gt;Name&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;width: 25%;&quot;&gt;&lt;b&gt;Size&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;width: 25%;&quot;&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width: 25%;&quot;&gt;Fedora 7 i386&lt;/td&gt;&lt;td style=&quot;width: 25%;&quot;&gt;2.8G&lt;/td&gt;&lt;td style=&quot;width: 25%;&quot;&gt;DVD image for installation on 32-bit PCs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width: 25%;&quot;&gt;Fedora 7 x86_64&lt;/td&gt;&lt;td style=&quot;width: 25%;&quot;&gt;3.4G&lt;/td&gt;&lt;td style=&quot;width: 25%;&quot;&gt;DVD image for installation on 64-bit PCs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Fedora 7 ppc&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;3.5G&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;DVD image for installation on POWER-based systems, including non-Intel Macs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Fedora 7 Live i686&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;701M&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Live CD/DVD with Gnome for 32-bit PCs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Fedora 7 KDE Live i686&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;688M&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Live CD/DVD with KDE for 32-bit PCs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Fedora 7 Live x86_64&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;781M&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Live DVD with Gnome for 64-bit PCs&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;Fedora 7 KDE Live x86_64&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;833M&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Live DVD with KDE for 64-bit PCs&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;The &lt;i&gt;Live&lt;/i&gt; discs may be used to directly run Fedora without installing it, but they may also be used to perform a minimal installation to hard disk. This minimal installation will not include most server software or large desktop applications such as OpenOffice.org.&lt;/p&gt;&lt;p&gt;The actual Fedora 7 installation process is very similar to the Fedora 6 installation process. If you haven&#039;t performed a Fedora installation before, get the free Chapter 1 from my book &lt;a target=&quot;_blank&quot; href=&quot;http://www.oreilly.com/catalog/fedoralinux/&quot;&gt;&lt;i&gt;Fedora Linux: A Complete Guide to Red Hat&#039;s Community Distribution&lt;/i&gt;&lt;/a&gt; on the O&#039;Reilly web site (click the &lt;i&gt;Sample Chapter&lt;/i&gt; link).&lt;/p&gt;&lt;h3&gt;Network Installation&lt;/h3&gt;&lt;p&gt;Many people would like to install Fedora 7 on a system without a working DVD drive. This is easily done using a network installation if you have another Linux system available on the network, as I &lt;a href=&quot;https://www.redhat.com/archives/fedora-list/2007-June/msg00693.html&quot;&gt;wrote on the fedora-list yesterday&lt;/a&gt;:&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/69-Fedora-7-Installation.html#extended&quot;&gt;Continue reading &quot;Fedora 7: Installation&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 04 Jun 2007 05:10:43 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/69-guid.html</guid>
    
</item>
<item>
    <title>Package Management Week: Tips &amp; Tricks</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/37-Package-Management-Week-Tips-Tricks.html</link>
            <category>Package Management Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/37-Package-Management-Week-Tips-Tricks.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=37</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=37</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 1px solid black; background: rgb(255, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Package Management.&lt;/b&gt;&lt;br /&gt;This site, the &lt;i&gt;Fedora Daily Package&lt;/i&gt;, is all about the software packages included in Fedora Core and Fedora Extras. Fedora includes a number of powerful tools for managing packages, and this week will focus on those tools so that you can get the most out of your system.&lt;/div&gt;&lt;p&gt;Let&#039;s wrap up this Focus Week with a some tips and tricks in a Q&amp;amp;A format:&lt;/p&gt;&lt;p /&gt;&lt;hr width=&quot;100%&quot; size=&quot;2&quot; /&gt;&lt;b&gt;Q: I have an RPM file that did not come from a yum repository. I can install it with &lt;font face=&quot;courier new,courier,monospace&quot;&gt;rpm -i packagefile&lt;/font&gt;, but then I have to solve the dependencies myself. Is there a way to install a package which is not from a repository, but use the &lt;i&gt;yum&lt;/i&gt; repository system to resolve dependencies?&lt;/b&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;A:&lt;/b&gt; Yes -- use the yum command &lt;i&gt;localinstall:&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/p&gt;&lt;blockquote&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;b&gt;# &lt;/b&gt;yum localinstall packagefile.rpm&lt;br /&gt;&lt;/font&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt; &lt;/font&gt;&lt;p /&gt;&lt;/blockquote&gt;&lt;hr width=&quot;100%&quot; size=&quot;2&quot; /&gt;&lt;p&gt;&lt;b&gt;Q: Fedora provides an icon in the notification area/taskbar that shows when packages are available for upgrade. But I run a server, and there&#039;s usually no one logged into the GUI. How can I get my system to automatically install the latest updates, so that it is not left vulnerable to known security risks?&lt;br /&gt;&lt;br /&gt;A:&lt;/b&gt; &lt;a title=&quot;Wednesday Why article on Automatic Software Updates&quot; target=&quot;_blank&quot; href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/29-Wednesday-Why-Automatic-software-updates.html&quot;&gt;Configure &lt;i&gt;yum-updatesd&lt;/i&gt; to automatically install available updates (click!).&lt;/a&gt;&lt;/p&gt;&lt;p /&gt;&lt;p&gt;&lt;a title=&quot;Wednesday Why article on Automatic Software Updates&quot; target=&quot;_blank&quot; href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/29-Wednesday-Why-Automatic-software-updates.html&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;p /&gt;&lt;p&gt;&lt;a title=&quot;Wednesday Why article on Automatic Software Updates&quot; target=&quot;_blank&quot; href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/29-Wednesday-Why-Automatic-software-updates.html&quot;&gt;&lt;/a&gt;&lt;/p&gt;&lt;hr width=&quot;100%&quot; size=&quot;2&quot; /&gt;&lt;p /&gt;&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p /&gt;&lt;p&gt;&lt;b&gt;Q: &lt;i&gt;Yum&lt;/i&gt; seems dazed and confused, and I think it&#039;s due to some bad repository data being cached. How do I fix this?&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;A:&lt;/b&gt; Tell &lt;i&gt;yum&lt;/i&gt; to erase cached data:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;# yum clean all&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;hr width=&quot;100%&quot; size=&quot;2&quot; /&gt; &lt;br /&gt;&lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/37-Package-Management-Week-Tips-Tricks.html#extended&quot;&gt;Continue reading &quot;Package Management Week: Tips &amp;amp; Tricks&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 20 Apr 2007 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/37-guid.html</guid>
    
</item>
<item>
    <title>Package Management Week: Yum Repositories &amp; Plugins</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/36-Package-Management-Week-Yum-Repositories-Plugins.html</link>
            <category>Package Management Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/36-Package-Management-Week-Yum-Repositories-Plugins.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=36</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=36</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 1px solid black; background: rgb(255, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Package Management.&lt;/b&gt;&lt;br /&gt;This site, the &lt;i&gt;Fedora Daily Package&lt;/i&gt;, is all about the software packages included in Fedora Core and Fedora Extras. Fedora includes a number of powerful tools for managing packages, and this week will focus on those tools so that you can get the most out of your system.&lt;/div&gt;&lt;p&gt;&lt;i&gt;Yum&lt;/i&gt; resolves dependencies and downloads packages from &lt;i&gt;repositories&lt;/i&gt; -- online package libraries. Fedora Core 6 ships with three repositories enabled:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;&lt;b&gt;Fedora Core&lt;/b&gt; -- the software packages included in Fedora Core 6. These are the packages included on the distribution media (for example, the DVD or CD-ROMs)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Fedora Updates &lt;/b&gt;-- updates to the packages in Fedora Core 6&lt;/li&gt;&lt;li&gt;&lt;b&gt;Fedora Extras&lt;/b&gt; -- additional software that works with Fedora Core but which is not included on the distribution media&lt;/li&gt;&lt;/ul&gt;(In Fedora 7, Core and Extras are being merged).&lt;br /&gt;&lt;p&gt;Repository configuration files are stored in in &lt;font face=&quot;courier new,courier,monospace&quot;&gt;/etc/yum.repos.d&lt;/font&gt;. By editing these files, it is possible to change the server(s) used for each repository, use a repository on DVD or hard disk, and enable or disable repositories.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/36-Package-Management-Week-Yum-Repositories-Plugins.html#extended&quot;&gt;Continue reading &quot;Package Management Week: Yum Repositories &amp;amp; Plugins&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 19 Apr 2007 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/36-guid.html</guid>
    
</item>
<item>
    <title>Package Management Week: Using Yum</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/35-Package-Management-Week-Using-Yum.html</link>
            <category>Package Management Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/35-Package-Management-Week-Using-Yum.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 1px solid black; background: rgb(255, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Package Management.&lt;/b&gt;&lt;br /&gt;This site, the &lt;i&gt;Fedora Daily Package&lt;/i&gt;, is all about the software packages included in Fedora Core and Fedora Extras. Fedora includes a number of powerful tools for managing packages, and this week will focus on those tools so that you can get the most out of your system.&lt;/div&gt;&lt;p&gt;The &lt;i&gt;Yum&lt;/i&gt; repository system is layered on top of RPM to facilitate automatic package downloading and dependency resolution. There are seven ways to access &lt;i&gt;Yum&lt;/i&gt; repositories in Fedora 6:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;the &lt;i&gt;yum&lt;/i&gt; command&lt;/li&gt;&lt;li&gt;the &lt;i&gt;pirut&lt;/i&gt; graphical installation/removal tool, located on the menus at Applications &amp;gt; Add/Remove Software&lt;/li&gt;&lt;li&gt;the &lt;i&gt;pup&lt;/i&gt; package updater, located on the menus at Applications &amp;gt; System Tools &amp;gt; Software Updater&lt;/li&gt;&lt;li&gt;the &lt;i&gt;yum-updatesd &lt;/i&gt;service, which normally signals the &lt;i&gt;puplet&lt;/i&gt; applet in the notification area to inform the user of the availability of updates, but which can also be configured to &lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/29-Wednesday-Why-Automatic-software-updates.html&quot; target=&quot;_blank&quot; title=&quot;Fedora Daily Package - Wednesday Why article on yum-updatesd&quot;&gt;automatically update packages or download available updates&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;the &lt;i&gt;yum-updateonboot&lt;/i&gt; service, which is not installed by default; it automatically updates the system at boot time&lt;/li&gt;&lt;li&gt;the optional &lt;i&gt;kyum&lt;/i&gt; graphical interface for &lt;i&gt;yum&lt;/i&gt; (a KDE alternative to &lt;i&gt;Pirut&lt;/i&gt;)&lt;/li&gt;&lt;li&gt;the &lt;i&gt;yumex&lt;/i&gt; graphical tool, which is available in Fedora Extras -- this is a very powerful GUI tool, providing access to some &lt;i&gt;yum&lt;/i&gt; features that are not accessible through other GUI tools such as &lt;i&gt;pirut&lt;/i&gt; and &lt;i&gt;pup&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;In today&#039;s article I will focus on the first three programs: &lt;i&gt;yum&lt;/i&gt;, &lt;i&gt;pirut&lt;/i&gt;, and &lt;i&gt;pup&lt;/i&gt;. &lt;br /&gt;&lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/35-Package-Management-Week-Using-Yum.html#extended&quot;&gt;Continue reading &quot;Package Management Week: Using Yum&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 18 Apr 2007 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/35-guid.html</guid>
    
</item>
<item>
    <title>Package Management Week: RPM Queries</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/34-Package-Management-Week-RPM-Queries.html</link>
            <category>Package Management Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/34-Package-Management-Week-RPM-Queries.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 1px solid black; background: rgb(255, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Package Management.&lt;/b&gt;&lt;br /&gt;This site, the &lt;i&gt;Fedora Daily Package&lt;/i&gt;, is all about the software packages included in Fedora Core and Fedora Extras. Fedora includes a number of powerful tools for managing packages, and this week will focus on those tools so that you can get the most out of your system.&lt;/div&gt;&lt;p&gt;The venerable &lt;i&gt;rpm&lt;/i&gt; utility provides command-line access to the RPM system. With the development of the Fedora repository system, &lt;i&gt;rpm&lt;/i&gt; is rarely used for package installation, update, or removal -- &lt;i&gt;yum&lt;/i&gt; serves that role -- but &lt;i&gt;rpm&lt;/i&gt; is still the best tool for directly querying the local database of installed software.&lt;/p&gt;&lt;p&gt;The &lt;i&gt;rpm&lt;/i&gt; query option (&lt;font face=&quot;courier new,courier,monospace&quot;&gt;-q&lt;/font&gt;) provides access to the RPM database. It is used along with options that fall into two distinct categories: those which select the packages for which information is displayed, and those which select the information to be displayed about each of those packages. Here are the most common options:&lt;/p&gt;&lt;p align=&quot;left&quot; style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;u&gt;&lt;i&gt;Options to select files:&lt;/i&gt;&lt;/u&gt;&lt;/p&gt;&lt;p align=&quot;left&quot; style=&quot;margin-bottom: 0in; text-decoration: none;&quot;&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;width: 100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;Option&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;Selects...&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;td&gt;The installed package &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-a&lt;/td&gt;&lt;td&gt;All installed packages&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;-f &lt;i&gt;filename&lt;/i&gt;&lt;/td&gt;&lt;td&gt;The instaled package that provided &lt;i&gt;filename&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;--whatprovides &lt;i&gt;capabilityname&lt;/i&gt;&lt;/td&gt;&lt;td&gt;The installed package that provides the capability &lt;i&gt;capabilityname&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;--whatrequires &lt;i&gt;capabilityname&lt;/i&gt;&lt;/td&gt;&lt;td&gt;The installed package that depends on the capability &lt;i&gt;capabilityname&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;--triggeredby &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;All installed packages that include a trigger script which is triggered by the installation or removal of &lt;i&gt;packagename&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;-p &lt;i&gt;filename&lt;/i&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;The uninstalled package file &lt;i&gt;filename&lt;/i&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;i&gt;&lt;u&gt;Options to control the information displayed:&lt;/u&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;table cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; border=&quot;1&quot; style=&quot;width: 100%;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;width: 50%;&quot;&gt;&lt;b&gt;Option&lt;/b&gt;&lt;/td&gt;&lt;td style=&quot;width: 50%;&quot;&gt;&lt;b&gt;Displays...&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width: 50%;&quot;&gt;(nothing)&lt;/td&gt;&lt;td style=&quot;width: 50%;&quot;&gt;The package name and version&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width: 50%;&quot;&gt;-l&lt;/td&gt;&lt;td style=&quot;width: 50%;&quot;&gt;List of all files in the package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width: 50%;&quot;&gt;-c&lt;/td&gt;&lt;td style=&quot;width: 50%;&quot;&gt;List of config files in the package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;-d&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;List of documentation files in the package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;--provides&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;List of capabilities provided by the package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;--requires&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;List of capabilities required by the package (dependencies)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;-i&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Detailed metadata about the packages&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;--scripts&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Installation/uninstallation scripts included in the package&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;--triggers&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;Trigger scripts included in the package&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/p&gt;&lt;p&gt;These arguments can be combined in many different ways. Here are some examples:&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://dailypackage.fedorabook.com/index.php?/archives/34-Package-Management-Week-RPM-Queries.html#extended&quot;&gt;Continue reading &quot;Package Management Week: RPM Queries&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 17 Apr 2007 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/34-guid.html</guid>
    
</item>
<item>
    <title>Package Management Week: RPM Basics</title>
    <link>http://dailypackage.fedorabook.com/index.php?/archives/33-Package-Management-Week-RPM-Basics.html</link>
            <category>Package Management Week</category>
    
    <comments>http://dailypackage.fedorabook.com/index.php?/archives/33-Package-Management-Week-RPM-Basics.html#comments</comments>
    <wfw:comment>http://dailypackage.fedorabook.com/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://dailypackage.fedorabook.com/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Chris Tyler)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;border: 1px solid black; background: rgb(255, 255, 0) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;b&gt;This week we are diverging from the usual daily themes to present a Focus Week on Package Management.&lt;/b&gt;&lt;br /&gt;This site, the &lt;i&gt;Fedora Daily Package&lt;/i&gt;, is all about the software packages included in Fedora Core and Fedora Extras. Fedora includes a number of powerful tools for managing packages, and this week will focus on those tools so that you can get the most out of your system.&lt;/div&gt;&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;The Fedora linux distribution is comprised of thousands of &lt;i&gt;RPM packages&lt;/i&gt;. RPM stands for &lt;i&gt;RPM Package Manager&lt;/i&gt; and refers to the package format, the tool used to manage packages, and the overall package system. RPM is important not only to Fedora but to the entire Linux community, because it is the package format specified in ISO 23360, the &lt;i&gt;Linux Standard Base&lt;/i&gt;.&lt;p&gt;An RPM package is a single file containing all of the components necessary to install one feature, such as a software application, a group of related utilities, a driver, or a set or fonts or artwork files. The components contained in an RPM package may include:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;software (binaries or scripts)&lt;/li&gt;&lt;li&gt;configuration files&lt;/li&gt;&lt;li&gt;documentation, including manpages, info files, on-line help files, and text files&lt;/li&gt;&lt;li&gt;data such as fonts, artwork, sound files, game levels, and XML stylesheets&lt;/li&gt;&lt;li&gt;sample data files to aid the user in learning how to use an application&lt;/li&gt;&lt;li&gt;scripts which are executed before or after the package is installed, and before or after the package is removed&lt;/li&gt;&lt;li&gt;triggers: scripts which are executed when &lt;i&gt;another &lt;/i&gt;package is installed or removed&lt;/li&gt;&lt;li&gt;metadata, or data about the package, including the package name, summary, and description, software version, package revision, build date, packager name, build host, license, source URL (upstream website), and more&lt;/li&gt;&lt;li&gt;a list of the capabilities provided by the package&lt;/li&gt;&lt;li&gt;a list of the package&#039;s dependencies -- capabilities required in order to successfully install and use the package&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The RPM system tracks installed packages in a local database, which is invaluable to a system administrator -- the database makes it easy to find out what is installed, identify the source of mystery files, determine if files have changed, and check which license applies to a package.&lt;/p&gt;&lt;p&gt;When installing a package, the RPM system can determine when other packages are needed to meet dependencies, but RPM itself cannot determine which packages will solve those dependencies. The &lt;i&gt;yum&lt;/i&gt; repository system builds on RPM, permitting dependencies to be solved automatically by searching repositories of packages.&lt;/p&gt;&lt;p&gt;In the next few days we&#039;ll examine the Fedora package tools in detail:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Tuesday - Using the &lt;i&gt;rpm&lt;/i&gt; command to query the package database as well as install, update, and remove packages.&lt;/li&gt;&lt;li&gt;Wednesday - Using &lt;i&gt;yum&lt;/i&gt; repository tools, including &lt;i&gt;yum&lt;/i&gt;, &lt;i&gt;pirut, pup, yum-updatesd, &lt;/i&gt;and &lt;i&gt;yumex&lt;/i&gt;.&lt;/li&gt;&lt;li&gt;Thursday - Enabling and disabling repositories and using &lt;i&gt;yum&lt;/i&gt; plugins.&lt;/li&gt;&lt;li&gt;Friday - Package management tips and tricks.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt; &lt;p /&gt; 
    </content:encoded>

    <pubDate>Mon, 16 Apr 2007 00:01:00 -0400</pubDate>
    <guid isPermaLink="false">http://dailypackage.fedorabook.com/index.php?/archives/33-guid.html</guid>
    
</item>

</channel>
</rss>