<?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 - System Recovery Week</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>Mon, 11 Feb 2008 07:34:26 GMT</pubDate>

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

<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>

</channel>
</rss>