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

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: jemini_fr: bash</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>HOWTO Restore GRUB</title>
        <link>http://www.posteet.com/view/1043</link>
        <description>
        <![CDATA[<pre># Boot on a live CD and open a console. sda1 is supposed to be the partition containing the OS
# 1/ Restore GRUB
mount -t proc none /dev/sda1/proc
mount -o bind /dev /dev/sda1/dev
chroot /dev/sda1/ /bin/bash

/usr/sbin/grub
grub &gt; root(hd0,0)    # 0-&gt;a, 1-&gt;b ...      #1-&gt;0, 2-&gt;1 ...
grub &gt; setup(hd0)
grub &gt; quit

# 2/ Check if partition is bootable
fdsik /dev/sda
fdisk &gt; p      # print the partition table
fdisk &gt; a      # toggle a bootable flag
fdsik &gt; 1
fidsk &gt; w

# 3/ Reboot !! That's done</pre> <a href="http://www.posteet.com/tags/bash">[bash]</a>  <a href="http://www.posteet.com/tags/fdisk">[fdisk]</a>  <a href="http://www.posteet.com/tags/grub">[grub]</a>  <a href="http://www.posteet.com/tags/linux">[linux]</a>  <a href="http://www.posteet.com/tags/restore">[restore]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 13:02:00 +0000</pubDate>

            <category>bash</category>
            <category>fdisk</category>
            <category>grub</category>
            <category>linux</category>
            <category>restore</category>
    
    </item>

  
    <item>
        <title>Option sympa pour Grep // de la couleur dans ton grep</title>
        <link>http://www.posteet.com/view/1042</link>
        <description>
        <![CDATA[<pre>grep --color EXPRESSION [FICHIER]</pre> <a href="http://www.posteet.com/tags/bash">[bash]</a>  <a href="http://www.posteet.com/tags/grep">[grep]</a>  <a href="http://www.posteet.com/tags/linux">[linux]</a>  <a href="http://www.posteet.com/tags/regexp">[regexp]</a>  <a href="http://www.posteet.com/tags/shell">[shell]</a> ]]>        </description>
        <dc:creator>jemini_fr</dc:creator>
        <pubDate>Fri, 04 Jul 2008 12:50:23 +0000</pubDate>

            <category>bash</category>
            <category>grep</category>
            <category>linux</category>
            <category>regexp</category>
            <category>shell</category>
    
    </item>


</channel>
</rss>
