<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>fstab &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/fstab/</link>
	<description>Feed of posts on WordPress.com tagged "fstab"</description>
	<pubDate>Sat, 28 Nov 2009 23:08:16 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Mounting Automatis Pastisi Linux]]></title>
<link>http://antonhartono.wordpress.com/2009/11/19/mounting-automatis-pastisi-linux/</link>
<pubDate>Thu, 19 Nov 2009 05:10:02 +0000</pubDate>
<dc:creator>Anton Hartono</dc:creator>
<guid>http://antonhartono.wordpress.com/2009/11/19/mounting-automatis-pastisi-linux/</guid>
<description><![CDATA[Untuk mounting otomatis partisi Windows dapat dilakukan melalui file /etc/fstab tetapi saya kesulita]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Untuk mounting otomatis partisi Windows dapat dilakukan melalui file /etc/fstab tetapi saya kesulitan untuk mounting otomatis untuk partisi linux ( ext4 ). Partisi saya memang telah terdetect dengan benar ( Menu Places &#62; Dataku ), partisi sda6 telah diberi label Dataku. Partisi Dataku ( sda6 ) telah saya coba untuk dimasukkan ke file /etc/fstab tetapi setelah reboot juga belum ter-mount secara automatis.</p>
<p>Cara lain untuk melakukan mounting automatis saya mencoba menggunakan aplikasi pysdm ( telah terdapat pada Repo Ubuntu ), setalah menginstall aplikasi tersebut dan menjalankannya melalui Terminal dengan perintah <span style="color:#0000ff;">sudo pysdm</span> maka akan muncul layar seperti ini :</p>
<p><a href="http://antonhartono.wordpress.com/files/2009/11/pysdm.png"><img class="alignnone size-medium wp-image-154" title="pysdm" src="http://antonhartono.wordpress.com/files/2009/11/pysdm.png?w=300" alt="" width="300" height="220" /></a></p>
<p>Keterangan gambar :</p>
<ol>
<li>Partisi yang akan di mounting secara automatis.</li>
<li>Mounting Point, jadi karena saya telah me-label partisi saya dengan &#8220;Dataku&#8221; maka ketika di browse akan muncul partisi Dataku, tentu saja sebelum menjalankan perintah sudo pysdm terlebih dahulu kita mount partisi tersebut.</li>
<li>Apply semua perubahan.</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Modifing /etc/fstab in Linux]]></title>
<link>http://mohammadthalif.wordpress.com/2009/11/18/modifing-etcfstab-in-linux/</link>
<pubDate>Wed, 18 Nov 2009 05:37:59 +0000</pubDate>
<dc:creator>mohammadthalif</dc:creator>
<guid>http://mohammadthalif.wordpress.com/2009/11/18/modifing-etcfstab-in-linux/</guid>
<description><![CDATA[Here I will explain how to add entries to /etc/fstab for various filesystem. Mounting the fat partit]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Here I will explain how to add entries to /etc/fstab for various filesystem.</p>
<p><span style="text-decoration:underline;"><strong>Mounting the fat partition in linux</strong></span></p>
<p>To mount the FAT partation in linux enter the following entry in /etc/fstab file</p>
<p>/dev/&#60;node&#62;      &#60;path&#62;     vfat    relatime,rw,exec,nodev,user,auto,uid=&#60;username&#62;,gid=&#60;groupname&#62;  0  2</p>
<p>example</p>
<p>/dev/sda6       /media/DATA     vfat    relatime,rw,exec,nodev,user,auto,uid=thalib,gid=thalib  0  2</p>
<p><span style="text-decoration:underline;"><strong>Mounting the samba/cifs partition in linux</strong></span></p>
<p>//&#60;ipadres&#62;/&#60;share name&#62;     /path/to/mount    cifs username=&#60;username&#62;,password=&#60;password&#62; ,rw,_netdev,uid=&#60;userid&#62;,gid=&#60;groupid&#62;      0 2</p>
<p>example</p>
<p>//172.29.38.6/thalib     /mnt/samba    cifs username=thalib,password=thalib,rw,_netdev,uid=thalib,gid=thalib      0 2</p>
<p>From the above :</p>
<p>uid and gid are the users and groups to which we want to give acces to the mounted partition.</p>
<p>rw = read and write permisson</p>
<p>auto = when you do <em>mount -a</em> or on the boot the parations will be mounted</p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[#6 – (s)Collegamenti]]></title>
<link>http://idl3.wordpress.com/2009/11/14/6-scollegamenti/</link>
<pubDate>Sat, 14 Nov 2009 07:29:54 +0000</pubDate>
<dc:creator>idl3</dc:creator>
<guid>http://idl3.wordpress.com/2009/11/14/6-scollegamenti/</guid>
<description><![CDATA[Creare un .deb partendo da Python Programmate in Python e non sapete come creare un file .deb per la]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Creare un .deb partendo da Python</strong><br />
Programmate in Python e non sapete come creare un file .deb per la vostra distro Debian (o derivate come Ubuntu)? La soluzione è semplice e non serve molto per creare il vostro deb da usare oppure da condividere su internet per tutti i debianizzati.<br />
<a href="http://mika29.wordpress.com/2009/10/23/creare-un-deb-partendo-da-python/">Continua a leggere&#8230;</a></p>
<p><strong>Five Power Tools for Pidgin</strong><br />
Pidgin is a great GTK2-based instant messenger application that supports a bevy of protocols, including ICQ, Yahoo!, MSN, Jabber, and AIM. It&#8217;s a terrific app in its own right, but when you add some of these power tools, Pidgin is even better.<br />
<a href="http://ostatic.com/blog/five-power-tools-for-pidgin">Continua a leggere&#8230;</a></p>
<p><strong>Installare e configurare sudo su Debian</strong><br />
Questa breve guida è dedicata all&#8217;installazione e alla configurazione base di sudo. Molto semplicemente, sudo è l&#8217;acronimo di superuser do. Si intuisce quindi immediatamente il significato di questo comando molto utile: fornire i privilegi di root ad un singolo utente.<br />
<a href="http://www.e-pillole.com/linux/post/20/installare-e-configurare-sudo-su-debian/">Continua a leggere&#8230;</a></p>
<p><strong>Fstab Demystified: How to Add Partitions</strong><br />
In this article, you will learn to understand fstab (File System Table) and its entries. We&#8217;ll show you how to add a new hard drive to fstab and mount the partitions automatically on boot. We&#8217;ll also explain some of the terminology used in fstab, and we take a look at the fdisk command.<br />
<a href="http://www.brighthub.com/computing/linux/articles/13750.aspx">Continua a leggere&#8230;</a></p>
<p><strong>QuickTip: Make life easier with ssh-copy-id</strong><br />
Thanks to bash&#8217;s tab completion, I happened upon ssh-copy-id. Instead of all that above, just do this:<br />
<code>$ ssh-copy-id myhost</code><br />
<a href="http://www.sysadminsjourney.com/content/2009/11/12/quicktip-make-life-easier-ssh-copy-id">Continua a leggere&#8230;</a></p>
<hr />
<p style="text-align:right;"><a href="#content" title="torna su">[^] torna su</a>&#160;&#124;&#160;<a href="http://postli.com/post?u=http://idl3.wordpress.com/2009/11/14/6-scollegamenti/&#38;t=6 – sCollegamenti" title="Post to Postli" style="color:blue;text-decoration:none;">post<span style="color:orange;">&#60;</span><span style="color:red;">li</span><span style="color:orange;">&#62;</span></a>&#160;&#124;&#160;<a href="http://www.wikio.it/vote?url=http://idl3.wordpress.com/2009/11/14/6-scollegamenti/" target="_blank"><img src="http://www.wikio.it/shared/img/vote/wikio2.gif" border="0" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Linode中修改fstab错误的挽救]]></title>
<link>http://freshventure.wordpress.com/2009/11/11/linode%e4%b8%ad%e4%bf%ae%e6%94%b9fstab%e9%94%99%e8%af%af%e7%9a%84%e6%8c%bd%e6%95%91/</link>
<pubDate>Wed, 11 Nov 2009 13:41:16 +0000</pubDate>
<dc:creator>freshventure</dc:creator>
<guid>http://freshventure.wordpress.com/2009/11/11/linode%e4%b8%ad%e4%bf%ae%e6%94%b9fstab%e9%94%99%e8%af%af%e7%9a%84%e6%8c%bd%e6%95%91/</guid>
<description><![CDATA[首先，不要没事修改/etc/fstab。一定要修改的，注意检查语法。最好先用mount -t ext3 -o 参数1, 参数2 /dev/xdeva/  /    测试一下。 最后在/etc/fsta]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>首先，不要没事修改/etc/fstab。一定要修改的，注意检查语法。最好先用mount -t ext3 -o 参数1, 参数2 /dev/xdeva/  /    测试一下。 最后在/etc/fstab中一定要保留error=remount-ro, 保存后再用mount -a测试一下。</p>
<p>万一还是进入了的只读状态，千万不要随便格式分区。试一试 mount -t ext3 /dev/xdeva / -o remount。</p>
<p>一般可以回复到原始状态，赶紧把/etc/fstab改会去，反复核对，再mount -a。</p>
<p>没问题的话，重启应该就OK</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[montowanie partycji NTFS z prawami odczytu/zapisu]]></title>
<link>http://trycode.wordpress.com/2009/11/08/montowanie-partycji-ntfs-z-prawami-zapisuodczytu/</link>
<pubDate>Sun, 08 Nov 2009 20:51:33 +0000</pubDate>
<dc:creator>trym</dc:creator>
<guid>http://trycode.wordpress.com/2009/11/08/montowanie-partycji-ntfs-z-prawami-zapisuodczytu/</guid>
<description><![CDATA[Instalacja potrzebnego pakietu: # aptitude install ntfs-3g Sprawdzamy jakie mamy partycje: # fdisk -]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Instalacja potrzebnego pakietu:</p>
<p><code># aptitude install ntfs-3g</code></p>
<p>Sprawdzamy jakie mamy partycje:</p>
<p><code># fdisk -l</code></p>
<p>Przykładowo dostaniemy taki wynik:</p>
<blockquote><p>Disk /dev/sda: 160.0 GB, 160041885696 bytes<br />
255 heads, 63 sectors/track, 19457 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0&#215;960c960c</p>
<p>Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1        1362    10940233+   7  HPFS/NTFS<br />
/dev/sda2            1363        2517     9277537+  83  Linux<br />
/dev/sda3            2518       19355   135251235   83  Linux<br />
/dev/sda4           19356       19457      819315    5  Extended<br />
/dev/sda5           19356       19386      248976   83  Linux<br />
/dev/sda6           19387       19457      570276   82  Linux swap / Solaris</p></blockquote>
<p>Widać więc, że nasza partycja o systemie plików <em>NTFS</em> to <em>/dev/sda1</em>, zatem teraz należałoby ją podmontować, w tym celu:</p>
<p><!--more--></p>
<p><code># mkdir /mnt/ntfs_disk<br />
# ntfs-3g /dev/sda1 /mnt/ntfs_disk/</code></p>
<p>Aby teraz przeglądać lub edytować zasoby tej partycji , wydajemy z konsoli:</p>
<p><code>$ cd /mnt/ntfs_disk<br />
$ ls</code></p>
<p>lub za pomocą naszego ulubionego menedżera plików (<em>mc</em>, <em>konqueror</em>, <em>nautilus</em>, itd&#8230;)</p>
<p><code>$ polecenie katalog</code></p>
<p>ja akurat korzystam z <em>pcmanfm</em>, więc:</p>
<p><code>$ pcmanfm /mnt/ntfs_disk </code></p>
<p>Jeżeli chcemy zamontować partycję na stałe to będziemy musieli ingerować w plik <em>/etc/fstab</em>. Polega to na dopisaniu w ostatniej linii:</p>
<p><code>/dev/sda1 /mnt/ntfs_disk ntfs-3g rw,uid=1000,codepage=852,iocharset=iso8859-2,auto 0 2</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Create a swap space]]></title>
<link>http://amshameer.wordpress.com/2009/10/28/create-a-swap-space/</link>
<pubDate>Wed, 28 Oct 2009 04:20:51 +0000</pubDate>
<dc:creator>Shameer A M</dc:creator>
<guid>http://amshameer.wordpress.com/2009/10/28/create-a-swap-space/</guid>
<description><![CDATA[For 1 gb Execute the command below. ========================= dd if=/dev/zero of=swapfile1 bs=1024 c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>For 1 gb</p>
<p>Execute the command below.</p>
<p>=========================<br />
dd if=/dev/zero of=swapfile1 bs=1024 count=1048576<br />
=========================</p>
<p>=========================<br />
/sbin/mkswap -c -v1 /swapfile1<br />
=========================</p>
<p>=========================<br />
/sbin/swapon /swapfile1<br />
=========================</p>
<p>Edit the file /etc/fstab<br />
Add the line below.</p>
<p>=========================</p>
<p>/swapfile1              swap                   swap    defaults  0 0</p>
<p>=========================</p>
<p>For creating swap files of different sizes. Example 2GB , you can create two !GB swap files with different swapfile name.</p>
<p>If you need to create a single 2 GB swap file the first step should be edited with suitable values.</p>
<p>=========================</p>
<p>For 1 gb</p>
<p>Execute the command below.</p>
<p>=========================<br />
dd if=/dev/zero of=swapfile1 bs=1024 count=1048576<br />
=========================</p>
<p>=========================<br />
/sbin/mkswap -c -v1 /swapfile1<br />
=========================</p>
<p>=========================<br />
/sbin/swapon /swapfile1<br />
=========================</p>
<p>Edit the file /etc/fstab<br />
Add the line below.</p>
<p>=========================</p>
<p>/swapfile1              swap                   swap    defaults  0 0</p>
<p>=========================</p>
<p>For creating swap files of different sizes. Example 2GB , you can create two !GB swap files with different swapfile name.</p>
<p>If you need to create a single 2 GB swap file the first step should be edited with suitable values.</p>
<p>=========================<br />
dd if=/dev/zero of=swapfile1 bs=1024 count=1048576<br />
=========================</p>
<p>The bs value and count value should be changed for corresponding swap file size.</p>
<p>However, the easier method is to create more swap files to size 1Gb.</p>
<p>If you need 4Gb swap , create four 1Gb swap files.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[PySDM - A user friendly application to automount your disk in Ubuntu]]></title>
<link>http://dizzietech.wordpress.com/2009/10/19/pysdm-a-user-friendly-application-to-automount-your-disk-in-ubuntu/</link>
<pubDate>Mon, 19 Oct 2009 08:18:17 +0000</pubDate>
<dc:creator>rohan_laish</dc:creator>
<guid>http://dizzietech.wordpress.com/2009/10/19/pysdm-a-user-friendly-application-to-automount-your-disk-in-ubuntu/</guid>
<description><![CDATA[If you are dual booting Windows and Ubuntu, you will find that Ubuntu does not auto mount NTFS parti]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		H2 { margin-bottom: 0.21cm } 		H2.western { font-family: "Nimbus Sans L", sans-serif; font-size: 14pt; font-style: italic } 		H2.cjk { font-size: 14pt; font-style: italic } 		H2.ctl { font-size: 14pt; font-style: italic } --></p>
<p style="margin-bottom:0;text-align:justify;"><img class="alignright size-thumbnail wp-image-218" title="Logo_Ubuntu" src="http://dizzietech.wordpress.com/files/2009/10/logo_ubuntu3.gif?w=147" alt="Logo_Ubuntu" width="147" height="150" />If you are dual booting Windows and Ubuntu, you will find that Ubuntu does not auto mount NTFS partition by default. Everytime you login, you have to mount it manually. There is a simple way to fix this problem. You can use the application PySDM. It provides a friendly user interface and is very simple to work with.</p>
<p style="margin-bottom:0;text-align:justify;">PySDM is a Storage Device Manager that allows full customization of hard disk mountpoints without manually access to fstab. It also allows the creation of udev rules for dynamic configuration of storage devices<!--more--></p>
<p style="margin-bottom:0;text-align:justify;">
<h2 style="font-style:normal;text-align:justify;"><strong>How to install it?</strong></h2>
<p style="margin-bottom:0;text-align:justify;">Open terminal and enter the following command:</p>
<p style="margin-bottom:0;text-align:justify;"><strong>sudo apt-get install pysdm</strong></p>
<p style="margin-bottom:0;text-align:justify;">
<h2 style="font-style:normal;text-align:justify;"><strong>Auto mount your disk</strong></h2>
<ol style="text-align:justify;">
<li>
<p style="font-style:normal;font-weight:normal;">Goto System &#62; 	Administration &#62; Storage Device Manager</p>
</li>
<li>
<p style="font-style:normal;font-weight:normal;">This will 	open the application. The left panel shows the list of partitions. 	Select the desired partition.</p>
<p style="font-style:normal;font-weight:normal;text-align:center;"><img class="aligncenter size-full wp-image-217" title="Screenshot-Storage Device Manager" src="http://dizzietech.wordpress.com/files/2009/10/screenshot-storage-device-manager1.png" alt="Screenshot-Storage Device Manager" width="600" height="440" /></p>
<p style="font-style:normal;font-weight:normal;">Note: The 	partitions are labelled as sda1,sda2,sda3,etc. To identify which is 	the required partition, open GParted (System &#62; Administration &#62; 	Partition Editor). All the partitions will be displayed alongwith 	their size, file system and labels.</p>
</li>
<li><span style="font-style:normal;"><span style="font-weight:normal;"> Once 	you have selected the partition, click on the </span></span><span style="font-style:normal;"><strong>Assistant</strong></span><span style="font-style:normal;"><span style="font-weight:normal;"> button on the right pane. </span></span></li>
<li><span style="font-style:normal;"><span style="font-weight:normal;"> Check 	the box </span></span><em><span style="font-style:normal;"><strong>The 	File system is mounted at boot time</strong></span></em><span style="font-style:normal;"><span style="font-weight:normal;">.</span></span></li>
<li> Uncheck the box <em><span style="font-style:normal;"><strong>Mount 	file system in read only mode</strong></span></em><span style="font-style:normal;">.</span> <span style="font-style:normal;"> </span><span style="font-style:normal;"> </span></li>
<li> Click on <strong>OK</strong> button and apply the changes</li>
</ol>
<p style="font-style:normal;font-weight:normal;text-align:justify;">Now your NTFS partition will auto mount on startup.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Sostituire /DEV con UUID]]></title>
<link>http://nolinuxnoparty.wordpress.com/2009/10/07/sostituire-dev-con-uuid/</link>
<pubDate>Wed, 07 Oct 2009 18:48:03 +0000</pubDate>
<dc:creator>cromoq</dc:creator>
<guid>http://nolinuxnoparty.wordpress.com/2009/10/07/sostituire-dev-con-uuid/</guid>
<description><![CDATA[Può capitare di trovarsi improblemati col mount automatico delle partizioni all&#8217; avvio del sis]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Può capitare di trovarsi improblemati col mount automatico delle partizioni all&#8217; avvio del sistema, in seguito a modifiche hardware ( inserimento o rimozione dei diski ), trovandosi le combinazioni dei dev all&#8217; interno di fstab, non più coerente con la situazione reale.</p>
<p>lo UUID è un identificativo del disko che raccoglie in una stringa exadecimale, le informazioni sulla partizione che vogliamo montare, senza calcolare a quale dev è abbinato, possiamo quindi usarlo all&#8217; interno del file /etc/fstab sostituendo ad esempio la riga :</p>
<p><!--more--></p>
<p><strong>/dev/sdd1 /media/250      ext3    defaults        0       2</strong></p>
<p>con la riga<strong><br />
</strong></p>
<p><strong>UUID=e31960da-b1a4-4e3f-b041-c15cec311d1e /media/250      ext3    defaults        0       2</strong></p>
<p><strong>Per ottenere il UUID di una partizione specifica, basta dare il comando<br />
</strong></p>
<p><code>vol_id -u /dev/xxxx ( sostituendo gli xxxx )</code></p>
<p>per ottenere gli UUID di tutte le partizioni, basterà dare</p>
<p><strong><code>ls -lah /dev/disk/by-uuid/</code></strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Serie Videos Tutorias Linux]]></title>
<link>http://jmsalles.wordpress.com/2009/10/04/serie-videos-tutorias-linux/</link>
<pubDate>Sun, 04 Oct 2009 15:13:27 +0000</pubDate>
<dc:creator>jmsalles</dc:creator>
<guid>http://jmsalles.wordpress.com/2009/10/04/serie-videos-tutorias-linux/</guid>
<description><![CDATA[Pessoal estou lançando a serie video tutorias linux a mesma conta com 16 video aulas sobre linux par]]></description>
<content:encoded><![CDATA[Pessoal estou lançando a serie video tutorias linux a mesma conta com 16 video aulas sobre linux par]]></content:encoded>
</item>
<item>
<title><![CDATA[Procedure to mount your windows partitions in Fedora / Linux at boot time itself !!]]></title>
<link>http://shadab5.wordpress.com/2009/09/30/procedure-to-mount-your-windows-partitions-in-fedora-linux-at-boot-time-itself/</link>
<pubDate>Wed, 30 Sep 2009 07:55:34 +0000</pubDate>
<dc:creator>Shadab Wadiwala</dc:creator>
<guid>http://shadab5.wordpress.com/2009/09/30/procedure-to-mount-your-windows-partitions-in-fedora-linux-at-boot-time-itself/</guid>
<description><![CDATA[Now use the following procedure to mount your windows partitions in Fedora / Linux at boot time itse]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Now use the following procedure to mount your windows partitions in Fedora / Linux at boot time itself</p>
<p> </p>
<p>Also avoid entering root user password every time while Mounting your Windows Partitions   in Fedora<br />
( In Fedora/Linux the process is called Mounting )</p>
<p> </p>
<p>Open a Shell ( command prompt )<br />
Type the following<br />
su<br />
&#60;password&#62;</p>
<p> </p>
<p>rpm -ivh <a href="http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm">http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm</a></p>
<p>rpm -ivh <a href="http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm">http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm</a></p>
<p>yum install fwfstab</p>
<p>Next execute the following command on the command prompt (Shell )</p>
<p>tail /var/log/messages</p>
<p>****  For this tutorial, lets assume that the label of your C drive ( Windows Drive ) is Drive_C</p>
<p> </p>
<p>Now Open File Manager from Start Menu/ Fedora Menu ( F- Menu )</p>
<p>Now click on the Drive_C  icon on the Left side Menu .<br />
It will ask for root password.<br />
Type in the password</p>
<p>Then immediately again Execute the following command</p>
<p>tail /var/log/messages  ( You can simply use the UP arrow keys to avoid the typing work again )</p>
<p>Just notice the last line .<br />
In the last line you will see something like ( /dev/sda&#60;no&#62;  )</p>
<p>Remember it by heart or note it down..  Its the device name used by Linux for your &#8221; Drive_C &#8220;  Partition  </p>
<p>Now again in the File Manager right click the &#8221; Drive_C  &#8221; icon then click UNMOUNT &#8230;</p>
<p>It will ask for root password .. so please type it .. </p>
<p>Now type the following command :-</p>
<p>mkdir /media/Drive_C    (   /media/Drive_C  will be a mount point where you will be mounting your  Windows &#8220;Drive_C&#8221; Drive )</p>
<p>All your contents of &#8220;Drive_C&#8221; drive will be visible under /media/Drive_C as it going to be defined as mount point in /etc/fstab  file</p>
<p>**For safety lets take a backup of the original &#8220;fstab&#8221; file .</p>
<p>**  A little bit about &#8220;fstab&#8221; file  **</p>
<p>This &#8220;fstab&#8221; file in /etc  directory contains the information and settings for the partitions you want to mount at boot time</p>
<p>So its better that you keep a backup of the original fstab file ( as we are gonna modify it now )</p>
<p>On the Shell, type</p>
<p>cd /etc   (Enter )<br />
cp fstab fstab.old   ( Enter )</p>
<p>Above command will make a copy of your present fstab file</p>
<p>For backup we used the name fstab.old, which will also reside in /etc directory as our PWD ( present working Directory ) is still  /etc</p>
<p>Next type the following word on the Shell ( Remember Shell ?? the CMD ) </p>
<p>fwfstab</p>
<p>This will open a window</p>
<p>Click on new entry</p>
<p>Under Device select Manual</p>
<p>Then type  /dev/sda&#60;no&#62;   ( Did you note that string { for eg.  /dev/sda3 }  on your Notes Plasma Widget from /var/log/messages output ?? )</p>
<p>Under File System, select Manual and type  ntfs-3g</p>
<p>Under Mount Point select the Mount point ( Remember we created /media/Drive_C  ????  )</p>
<p>Then click OK</p>
<p>Now click the File Menu and APPLY Changes &#8230;</p>
<p>There after click the Mount button .</p>
<p> </p>
<p>The Windows partition Drive_C will be mounted in the Mount point directory /media/Drive_C</p>
<p> </p>
<p>Now, even if you reboot your Fedora machine,  Drive_C will be always mounted at the boot time and there will be no requirement of root password being asked everytime  !!!</p>
<p> </p>
<p>Hurrah !!!!!</p>
<p> </p>
<p>Please Note :- It is not at all necessary that the name of the mount point directory ( created under /media ) should be same as the Windows Partition label.</p>
<p> </p>
<p>Please revert back to us for any queries, and we will be happy to assist you.</p>
<p> </p>
<p><strong>Regards,<br />
Shadab I. Wadiwala</strong></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to disable fsck on reboot?]]></title>
<link>http://webhostrepo.wordpress.com/2009/09/29/how-to-disable-fsck-on-reboot/</link>
<pubDate>Tue, 29 Sep 2009 14:17:54 +0000</pubDate>
<dc:creator>webhostrepo</dc:creator>
<guid>http://webhostrepo.wordpress.com/2009/09/29/how-to-disable-fsck-on-reboot/</guid>
<description><![CDATA[Steps: 1. While rebooting the server from the server), use “shutdown -rf now”. This will restrict th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Steps:</p>
<p>1. While  rebooting the server from the server),  use “shutdown -rf now”. This will restrict the system to run an autofsck.</p>
<p>2. Edit the /etc/grub.conf file and place &#8220;fastboot&#8221; at the end of the kernel line.</p>
<p>3. Edit the /etc/fstab. You can  see two numbers at the end of the line for each partition, change the second number to a 0</p>
<p>Example: /dev/sdd2 / ext3 defaults 1 0). This will have the system mount the partition but will not run a check when booting. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mount NTFS-partition under Ubuntu]]></title>
<link>http://rforge.org/2009/09/23/mount-ntfs-partition-under-ubuntu/</link>
<pubDate>Wed, 23 Sep 2009 11:00:36 +0000</pubDate>
<dc:creator>rforge</dc:creator>
<guid>http://rforge.org/2009/09/23/mount-ntfs-partition-under-ubuntu/</guid>
<description><![CDATA[Open up Terminal (Applications &#8211; Accessories &#8211; Terminal) and type the following: sudo fd]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><ol>
<li>Open up Terminal (Applications &#8211; Accessories &#8211; Terminal) and type the following:<br />
<code>sudo fdisk -l</code></p>
<p>you will be asked for the root password (password you chose at setup) and will be presented with a list that looks similar to this:</p>
<p><code>Disk /dev/sdb: 320.0 GB, 320072933376 bytes<br />
255 heads, 63 sectors/track, 38913 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x000e4abf</p>
<p>Device Boot Start End Blocks Id System /dev/sdb2 * 1 38913 312568641 7 HPFS/NTFS</code></p>
<p>this tells us that the drive is 320GB and is located at /dev/sdb2, you will need to remember the location of the drive.</li>
<li>In terminal again, type<br />
<code>sudo gedit /etc/fstab</code></p>
<p>You will be presented with your fstab file, which basically tells Ubuntu where to mount the drives listed.</li>
<li>At the bottom of the fstab file paste the following:<br />
<code>/dev/sdb2 /media/wimpy ntfs-3g defaults 0 0</code></p>
<p>You will need to adjust 2 things: the name /dev/sdb2 to the drive that is specific to your computer, and the name /media/wimpy. The name I chose &#8220;wimpy&#8221; the directory where the drive will be mounted. Save the file</li>
<li>to create the mount point, open Terminal and type:<br />
<code>sudo mkdir /media/wimpy</code></p>
<p>where &#8220;wimpy&#8221; matches the name you used in the fstab file.</li>
<li>To test that it works, type:<br />
<code>sudo mount -a</code></p>
<p>This will mount all the drives listed in the fstab file.</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How To Formatear Disco Duro por Consola en Linux (Ubuntu Server 8.04)]]></title>
<link>http://magicdrums.wordpress.com/2009/09/21/how-to-formatear-disco-duro-por-consola-en-linux-ubuntu-server-8-04/</link>
<pubDate>Mon, 21 Sep 2009 17:57:23 +0000</pubDate>
<dc:creator>Victor Pereira</dc:creator>
<guid>http://magicdrums.wordpress.com/2009/09/21/how-to-formatear-disco-duro-por-consola-en-linux-ubuntu-server-8-04/</guid>
<description><![CDATA[Bueno siempre me hice esta pregunta y ahora escribo un How To de como realizarlo: Primero debemos te]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bueno siempre me hice esta pregunta y ahora escribo un How To de como realizarlo:</p>
<p>Primero debemos tener el servidor instalado con sistema operativo y todo lo necesario, en mi caso fui bastante osado ya que el servidor esta en produccion y con servicios primordiales (No realizar en casa <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> ), logicamente entendiendo que el sistema que instalaron es un sistema servidor no tendran GUI(Graphics User Interfaces), es por esto que siempre me lo habia preguntado para realizar este proceso de formateo y creacion de particion mi escenario es el siguiente:</p>
<ul>
<li>Servidor ubuntu 8.04</li>
<li>Pimer Disco Duro 160 GB con S.O. Instalado</li>
<li>Segundo Disco Duro 80 GB sin Formato</li>
</ul>
<p>Software Necesario:</p>
<ul>
<li>gnu-fdisk (comando: fdisk)</li>
</ul>
<p>primero instalamos el software por si no lo tuvieramos instalado ya:</p>
<blockquote><p>$sudo apt-get install gnu-fdisk</p></blockquote>
<p>ejecutamos el comando:</p>
<blockquote><p>$sudo lshw &#124; grep disk</p></blockquote>
<p>para que nos muestre el disco que no tiene formato y verificar en que modulo esta cargado, que deveria ser algo asi:</p>
<blockquote><p>/dev/sdb</p></blockquote>
<p>ejecutamos gnu-fdisk, con la opcion &#8220;-i&#8221; para que sea interactivo:</p>
<blockquote><p>$sudo fdisk -i /dev/sdb</p></blockquote>
<p>una vez ejecutado este comando nos aparece una bienvenida:</p>
<blockquote><p>GNU Fdisk 1.0<br />
Copyright (C) 1998 &#8211; 2006 Free Software Foundation, Inc.<br />
This program is free software, covered by the GNU General Public License.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY<br />
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A<br />
PARTICULAR PURPOSE.  See the GNU General Public License for more details.</p>
<p>Using /dev/sdb<br />
Command (m for help):</p></blockquote>
<p>donde nos dice que estamos trabajando sobre /dev/sdb, presionamos &#8220;m +Enter&#8221; y nos muestra un menu:</p>
<blockquote><p>Command action<br />
a   toggle bootable flag<br />
b   edit bsd disklabel<br />
d   delete a partition<br />
l   list known partition types<br />
m   print this menu<br />
n   add a new partition<br />
o   create a new empty DOS partition table<br />
p   print the partition table<br />
q   quit without saving changes<br />
s   create a new empty Sun disklabel<br />
t   change a partition&#8217;s system id<br />
u   change display/entry units<br />
w   write table to disk and exit<br />
x   extra functionality (experts only)<br />
Command (m for help):</p></blockquote>
<p>ya una vez dentro de la aplicacion solo debemos comenzar a leer para poder, particionar, mover, formatear, el disco duro, una vez que hemos terminado de trabaja con el disco presionamos &#8220;w + Enter&#8221; y se escribiran los cambios en el disco y volveremos al promt ($), luego para cargar el disco y comenzar a utilizarlo tenemos dos formas</p>
<ul>
<li>cargarlo con mount</li>
<li>modificar el FSTAB</li>
</ul>
<p>pero eso es harina de otro costal</p>
<p>SL2</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Discovering the wonders of fstab]]></title>
<link>http://wizandchips.wordpress.com/2009/09/03/discovering-the-wonders-of-fstab/</link>
<pubDate>Thu, 03 Sep 2009 19:12:38 +0000</pubDate>
<dc:creator>wizandchips</dc:creator>
<guid>http://wizandchips.wordpress.com/2009/09/03/discovering-the-wonders-of-fstab/</guid>
<description><![CDATA[I’ve recently had to format my Ubuntu partition because of a Kernel Panic. This happened when I hit ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I’ve recently had to format my Ubuntu partition because of a Kernel Panic. This happened when I hit the “suspend” button in Boxee. The OS freezed still (it didn’t suspend) and there was no way to resurrect it than resetting the system. When I rebooted the there came the Kernel Panic. During the brief unsuccessful efforts to fix the problem I checked the fstab file to see if Boxee did somehow mess with it. I did not know much about fstab so, now that my system is fresh again, I want to discuss the wonders of fstab, this tiny yet superimportant text file.</p>
<p>fstab stands for file system table and it’s basically a configuration file which gives the kernel all the necessary information to mount partitions (usually only the internal ones; external partitions like usb flash drives and similar are mounted via volume managers).  Being a configuration file fstab is located under the /etc directory; to read it you can just locate and open it by the graphical interface, however only root can write to it so if you need to modify it you must access with su (super user) privileges.</p>
<p>Disclaimer: Critical system files in Linux can only be modified by ROOT and not by the user(s). The rationale behind this is to make the system more safe against security attacks and mishandling by users. Having said that, use super user privileges to access system files only if you fall into one of the following categories:</p>
<p>-          You know exactly what you’re doing</p>
<p>-          You’re in an experiment environment</p>
<p>-          Your system is completely and –by your point of view- irrevocably compromised so you judge you have nothing to lose</p>
<p>To read-only your fstab gile in console type:</p>
<p>~$ cat /etc/fstab</p>
<p>To open the fstab file in write mode open a console and type:</p>
<p>~$ sudo gedit /etc/fstab</p>
<p>As I said before the information contained in fstab is plain text, organized in rows and columns and laid out as follows</p>
<p><strong>[device] [mount point] [file system type] [options] [dump] [pass]</strong></p>
<p><strong>[device]</strong> &#62; indicates the device or partition that contains the file system<br />
Note for Ubuntu: Canonical’s distro now uses UUID (<a href="http://en.wikipedia.org/wiki/Universally_Unique_Identifier">Universally Unique Identifier</a>) by default to identify partitions. In order to listyour devices by UUID you can use ~$ sudo blkid</p>
<p><strong>[file system types]</strong> &#62; indicates the type of file system. On Ubuntu you will likely see ext3 or ext4 for the main partition where root resides. Depending on the type of partitions or devices in your computer you could encounter any of the following file system types:</p>
<ul>
<li><strong>ext2, ext3, ext4, reiserfs</strong> (don’t miss the macabre gossip related to this one <a href="http://en.wikipedia.org/wiki/Hans_Reiser">http://en.wikipedia.org/wiki/Hans_Reiser</a>), etc.</li>
<li><strong>auto</strong> (commonly used for removable devices in order to try to detect the specific file system of the device)</li>
<li><strong>vfat</strong> (identify FAT partitions)</li>
<li><strong>ntfs</strong> (identify NTFS partitions)</li>
<li><strong>udf,iso9660</strong> (identify optical media -aka CD/DVD-)</li>
<li><strong>swap</strong> (a hard disk partition where a page of memory is copied to free up that page of memory)</li>
<li><strong>procfs</strong> (stands for process file system and it’s a pseudo file system (dynamically generated at boot) used to access process information from the kernel. The file system is often mounted at the /proc directory and occupies no storage space</li>
</ul>
<p><strong>[options]</strong> &#62; there are several options which specify how the partition is handled and what can or cannot do. I’ll try to cover them briefly here and let you google for them if you need an in depth description.</p>
<ul>
<li><strong>auto / noauto</strong> specify if the partition has to be automatically mounted or not at boot or when mount –a command is executed. auto itself it’s almost useless because it’s the default behavior. noauto is more interesting as it blocks a partition to be mounted unless you manually mount it.</li>
<li><strong>sync / async</strong> are for I/O to the file system and indicate whether it has to be done synchronously (at the same time a I/O operation is issued) or asyinchronously. The meaning of this gets more clear if you imagine to issue a command to execute data transfer to a floppy disk or rw optical media.</li>
<li><strong>exec / noexec</strong> is meant either to allow or prevent execution of binaries within the partition. If you set you’re the partition where root dwells as noexec your system is screwed</li>
<li> <strong>dev / nodev</strong> interpret or not interpret character or block special devices on the file system</li>
<li><strong>ro / rw</strong> is used to specify if the partition is read-only or read-write mounted</li>
<li><strong>suid / nosuid</strong> allow or block operations of suid or sgid bits. Suid and sgid stand for set user id and set group id. When a suid or sgid file is executed, the process which runs it is granted access to system resources based on the user who owns the file and not the user who created the process.</li>
<li><strong>user / nouser</strong> are used to specify the user related permissions to mount the file system. user means that all the users can mount the file system and by consequence of this the noexec, nosuid,nodev options are automatically implied. nouser means instead that only root can mount the file system and this is the default setting.</li>
<li><strong>defaults</strong> uses the default settings which are rw, suid, dev, exec, auto, nouser, async.</li>
<li> <strong>_netdev</strong> is for a network device which has to be mounted after bringing up the network and it’s only valid for nfs (<a href="http://en.wikipedia.org/wiki/Network_File_System_%28protocol%29">Network File System</a>)</li>
</ul>
<p>Note for Ubuntu: from the 8.04 release Ubuntu uses relatime as default for linux native file systems. This options replaces atime and it’s used to know when a file was last used. Read more about atime and relatime <a href="http://lwn.net/Articles/244829/">here</a>.</p>
<p><strong>[dump]</strong> &#62; this field specifies if the backup utility dump is enabled -1- or not -0-. Dump is a application which backs up and restores file systems as a whole. This field is usually set to 0.</p>
<p><strong>[pass] </strong>&#62; this field is related to the fsck system utility. fsck, which stands for “file system check”, is a program which check the state of the file system. In case of a system crash or a forced shutdown fsck</p>
<p>should detect it and then proceed automatically or user guided to fix the damaged parts. The options are the following:</p>
<ul>
<li><strong>0</strong> -&#62; don’t check</li>
<li><strong>1</strong> -&#62; check this partition first</li>
<li><strong>2</strong> -&#62; check this partition next</li>
</ul>
<p>fsck checks the file system every 30 mount operations as default. It’s possible to modify this interval (mostly by using tune2fs)</p>
<p>Here belows my fstab file commented by the system. Try to read it and retrieve the various specifications and options described before. You will surely encounter elements not covered in my description of fstab – i.e. ‘sw’, ‘utf8’ ‘errors=remount-ro’, ecc..- as you possibly will by reading your own fstab. This is common because technologies are for their nature prone to rapid changes and, like systems, tends to accumulates details in times. We have caught a couple of them like relatime and UUID while for the few remaining others you can google them to find more information or issue the command ~$ man fstab in a terminal</p>
<p><span style="color:#008000;"># /etc/fstab: static file system information.<br />
#<br />
# Use &#8216;vol_id &#8211;uuid&#8217; to print the universally unique identifier for a<br />
# device; this may be used with UUID= as a more robust way to name devices<br />
# that works even if disks are added and removed. See fstab(5).<br />
#<br />
# &#60;file system&#62; &#60;mount point&#62;   &#60;type&#62;  &#60;options&#62;       &#60;dump&#62;  &#60;pass&#62;<br />
proc            /proc           proc    defaults        0       0<br />
# / was on /dev/sda5 during installation<br />
UUID=197ac49c-16f9-41a6-9c18-40e87231f4ba /               ext3    relatime,errors=remount-ro 0       1<br />
# swap was on /dev/sda6 during installation<br />
UUID=84365e80-cbc7-495f-9e46-46a852bef3c2 none            swap    sw              0       0<br />
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0<br />
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0</span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Manejar Pendrives (montar y desmontar)]]></title>
<link>http://hatteras.wordpress.com/2009/09/03/manejar-pendrives-montar-y-desmontar/</link>
<pubDate>Thu, 03 Sep 2009 07:17:44 +0000</pubDate>
<dc:creator>hatteras</dc:creator>
<guid>http://hatteras.wordpress.com/2009/09/03/manejar-pendrives-montar-y-desmontar/</guid>
<description><![CDATA[Los Pendrives pueden ser manejados ( montados/desmontados ) sin necesidad de que haya una entrada en]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Los Pendrives pueden ser manejados ( montados/desmontados ) sin necesidad de que haya una entrada en el archivo /etc/fstab en relación con ellos. La razón para que normalmente no haya ninguna linea en relación a ellos en el /etc/fstab es que su designación es dinámica, es decir una vez puede ser /dev/sdc otra /dev/sdg, etc, y el archivo /etc/fstab no reconocería el cambio de designación.</p>
<p><strong>Si quieres incluir una entrada en el archivo /etc/fstab en relación a un  pendrive</strong>, como su designación (/dev/sdxx) no es fija cuesta algo mas de trabajo hacerlo. La línea en el archivo /etc/fstab debería identificar el pendrive de acuerdo a una &#8220;Etiqueta&#8221; o a un &#8220;UUID&#8221; (﻿identificador único universal) .</p>
<p>Esto asegura que la configuración del archivo /etc/fstab sera válida tanto si el pendrive es asignado como /dev/sdc o /dev/sdh, etc. Para crear la línea del archivo /etc/fstab relacionada con el pendrive se hace de forma similar a como se crea una línea en relación a una partición del disco duro ( ver lo esencial de <a href="http://hatteras.wordpress.com/2008/06/17/lo-esencial-de-fstab-1/">fstab-1 </a>y <a href="http://hatteras.wordpress.com/2008/06/25/lo-esencial-de-fstab-y-2/">fstab-2</a>) , pero reemplazando la entrada /dev/sdxx por un &#8220;UUID&#8221; o por una &#8220;etiqueta&#8221;</p>
<p>&#8211; <em>Para encontrar el UUID</em> del pendrive conectado , ejecuta en una terminal: <span style="color:#008000;">sudo blkid &#124; grep &#8216;UUID&#8217;<br />
</span> y cambia<span style="color:#ff6600;"> /dev/sdxx <span style="color:#000000;">por</span> UUID=123-abc </span> ( por ejemplo UUID=4693C6431F7DAB23 )</p>
<p>&#8211; <em>Para encontrar la Etiqueta</em> del pendrive conectado, ejecuta en una terminal: <span style="color:#008000;">sudo blkid &#124; grep &#8216;LABEL&#8217;</span></p>
<p>&#8211; Para poner una Etiqueta si el pendrive no la tiene: Sistema-Administración-Editor de particiones: eliges el pendrive, lo desmontas, y ya le puedes poner una etiqueta ( los dos últimos pasos con el botón derecho del ratón). Y cambia <span style="color:#ff6600;">/dev/sdxx <span style="color:#000000;">por </span>LABEL=LABELNAME</span> ( por ejemplo LABEL=Cruzer )</p>
<p>De esta forma se pueden crear en /etc/fstab todas las entradas que quieras para todos los pendrives que tengas, asignando a cada uno un UUID o una Etiqueta determinada que los identifique, de forma que cada pendrive determinado siempre se monte de la misma forma, independientemente del orden en que se monten o del puerto usb en el que se monten.</p>
<p><strong>Un ejemplo del archivo /etc/fstab</strong>, con la línea correspondiente a un pendrive en el archivo /etc/fstab:<br />
&#8212; Con una Etiqueta:<br />
<span style="color:#ff6600;">LABEL=Cruzer /media/cruzer auto users, defaults, utf8,umask=0 0 2</span><br />
&#8212; Con un UUID:<br />
<span style="color:#ff6600;">UUID=4693C6431F7DAB23 /media/cruzer auto users, defaults, utf8,umask=0 0 2</span></p>
<p>Para saber que es lo que quiere decir todo lo que va detrás del UUID o la Etiqueta, y saber modificarlo a nuestro gusto según queramos y de acuerdo con el tipo de partición -vfat, ntfs, ext3, etc &#8211; que tenga el pendrive debemos leer y comprender lo esencial de <a href="../2008/06/17/lo-esencial-de-fstab-1/">fstab-1 </a>y <a href="../2008/06/25/lo-esencial-de-fstab-y-2/">fstab-2</a> , aunque aquí pongo un resumen:</p>
<p>&#8211; <span style="color:#ff6600;"> <em>/media/cruzer </em></span> Es el directorio en donde queremos montar el sistema de ficheros.<br />
&#8211;  <em><span style="color:#ff6600;">auto</span> </em>define el tipo del sistema de ficheros. Si deseas, porque no estas seguro de que tipo se trata, puedes poner auto, y así fstab lo detecta automáticamente.<br />
&#8211; <em><span style="color:#ff6600;">users</span></em> Indica que cualquier usuario puede montar y cualquiera también, puede desmontar el dispositivo.<br />
&#8211; <em><span style="color:#ff6600;">defaults</span></em> Esta opción es la unión de las opciones rw, suid, dev, exec, auto, nouser y async<br />
&#8211; <em><span style="color:#ff6600;">utf8</span> </em>Esta opción es para que los archivos con nombres con caracteres especiales (ñ,letras con acentos como à y demas ) se guarden en particiones Windows ( particiones fat, vfat, ntfs ) ( discos duros internos, discos duros externos, pendrives-usb ) de forma que se puedan leer bien sus nombres y no aparezcan en ellos caractes “raros” ( como un rombo en vez de una ñ ).<br />
&#8211; <em><span style="color:#ff6600;">umask=0</span></em> Para que todos los usuarios puedan escribir en la particion, el valor de umask debe ser 0<br />
&#8211; <span style="color:#ff6600;"> <em>0</em></span><em> </em>Si este valor es 0 ( o falta ) indica al comando dump que no es necesario hacer copia de seguridad del sistema de ficheros asociado a la correspondiente línea de /etc/fstab<br />
&#8211; <span style="color:#ff6600;"> <em>2</em></span><em> </em>Este campo le sirve al comando fsck (algo asi como el scandisk en windows) para identificar los sistemas de ficheros cuya consistencia hay que comprobar en el siguiente reinicio, y el orden en el que hay que efectuar esa comprobación. Para la partición / usamos 1, y 2 para el resto de las particiones.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Si como se explica arriba ponemos una Etiqueta distinta a cada pendrive que tengamos, aun sin modificar el archivo /etc/fstab veremos que cada pendrive se monta siempre de la misma forma de acuerdo con su Etiqueta: por ejemplo un pendrive cuya Etiqueta sea Cruzer se montara siempre en /media/Cruzer, y otro cuya Etiqueta sea Pen se montara en /media/Pen</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Aunque no tengas ninguna línea en el archivo /etc/fstab en relación a los pendrives, en el Panel del Escritorio se puede añadir &#8220;<span style="color:#008000;">Montador de Discos</span>&#8220;: aparecerán unos iconos por cada una de las particiones del disco duro y de los pendrives que tengas, y te los ayudara a montar/desmontar.</p>
<p>Desde Synaptic puedes instalar el paquete &#8220;<span style="color:#008000;">mount-systray</span>&#8221; ( o bajarlo desde aquí: <a href="http://ftp.cica.es/Guadalinex/guadalinex-toro/pool/main/m/mount-systray/">http://ftp.cica.es/Guadalinex/guadalinex-toro/pool/main/m/mount-systray/ </a>) e instalarlo con gdebi) y añadirlo a Sistema-Preferencias-Programas de inicio para que desde el inicio de la sesión te aparezca un icono que te avisa (con un parpadeo del icono y/o con una notificación cada x minutos ) si tienes un pendrive montado, y te permite desmontarlo; es una utilidad práctica para que no se te olvide desmontarlo antes de cerrar la sesión o apagar el sistema.( para volver a montarlo tendrias que hacerlo con el otro icono del Montador de Discos ).</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Si te gusta este Blog puedes ver: <a href="http://www.odsolidaria.org/">Odontología Solidaria</a>. Si te interesa puedes entrar en esa página y en ella encontraras mas información, y también la forma de <a href="http://www.odsolidaria.org/Colabora/PapeletaInscripcion.pdf">colaborar </a>económicamente, haciéndote socio-colaborador, o aportando una cantidad económica, que en ambos casos puedes desgravar ante hacienda. También puedes ver los temas sobre <a href="http://odontologiasolidaria.wordpress.com/">Odontología Solidaria- Valencia</a>.</p>
<p>Desde <a href="http://www.odsolidaria.org/Quisom/EstatutsFOS.pdf">aquí</a> puedes bajarte los estatutos de la ONG.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[fstab no Linux]]></title>
<link>http://rodrigorenault.wordpress.com/2009/08/26/fstab-no-linux/</link>
<pubDate>Wed, 26 Aug 2009 23:01:11 +0000</pubDate>
<dc:creator>Rodrigo Renault</dc:creator>
<guid>http://rodrigorenault.wordpress.com/2009/08/26/fstab-no-linux/</guid>
<description><![CDATA[Fstab (static information about the filesystems) é um arquivo de configuração do Linux que contém de]]></description>
<content:encoded><![CDATA[Fstab (static information about the filesystems) é um arquivo de configuração do Linux que contém de]]></content:encoded>
</item>
<item>
<title><![CDATA[Usar una imagen iso como repositorio en Debian]]></title>
<link>http://juliorestrepo.wordpress.com/2009/08/23/usar-una-imagen-iso-como-repositorio-en-debian/</link>
<pubDate>Sun, 23 Aug 2009 12:06:39 +0000</pubDate>
<dc:creator>juliorestrepo</dc:creator>
<guid>http://juliorestrepo.wordpress.com/2009/08/23/usar-una-imagen-iso-como-repositorio-en-debian/</guid>
<description><![CDATA[Para lograr nuestro objetivo debemos montar cada imagen ISO en un directorio. En el archivo /etc/fst]]></description>
<content:encoded><![CDATA[Para lograr nuestro objetivo debemos montar cada imagen ISO en un directorio. En el archivo /etc/fst]]></content:encoded>
</item>
<item>
<title><![CDATA[Automount NTFS dan FAT32 di Linux]]></title>
<link>http://myconnect.wordpress.com/2009/08/22/automount-ntfs-dan-fat32-di-linux/</link>
<pubDate>Sat, 22 Aug 2009 14:48:36 +0000</pubDate>
<dc:creator>myconnect</dc:creator>
<guid>http://myconnect.wordpress.com/2009/08/22/automount-ntfs-dan-fat32-di-linux/</guid>
<description><![CDATA[Postingan kali ini adalah sekedar tutorial sederhana dari gw cara melakukan automount partisi window]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Postingan kali ini adalah sekedar tutorial sederhana dari gw <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  cara melakukan automount partisi windows di Linux baik NTFS maupun FAT32 yang umum dipakai pada saat startup. Jadi begitu start linux kita ga perlu lagi melakukan mount secara berulang-ulang,mending kalo Cuma satu partisi nah kalo banyak????bakal repot pastinya. Sudah gtu bakal ga praktis juga kalo kita punya lagu2 kesayangan di partisi windows ini dan harus selalu dimasukkan ke playlist audio player secara manual  di linux setiap kali kita masuk ke linux. SANGAT TIDAK PRAKTIS BUKAN?ok langsung ke tips sederhana dari gw.</p>
<p>Tutorial ini menggunakan distro ubuntu tapi umumnya juga bisa diterapkan di distro lain karena kita akan melakukan &#8220;konfigurasi&#8221; pada file fstab.</p>
<p>1. Seperti biasa buka konsole dan login sebagai root <em>su</em>, bisa juga dengan <em>sudo</em> tapi saya lebih suka su sih <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
2. Buka file fstab (di ubuntu terletak di /etc/fstab) dengan text editor seperti <em>gedit</em> atau vi atau apapun terserah anda. Misal <em>gedit /etc/fstab</em>. Isinya kurang lebih seperti ini:</p>
<blockquote><p># /etc/fstab: static file system information.<br />
&#62; #<br />
&#62; # &#60;file system&#62; &#60;mount point&#62; &#60;type&#62; &#60;options&#62; &#60;dump&#62; &#60;pass&#62;<br />
&#62; proc /proc proc defaults 0 0<br />
&#62; # /dev/sda1<br />
&#62; UUID=ec08eda5-1ac7-402f-84e7-77c0c26e3206 / ext3<br />
&#62; relatime,errors=remount-ro 0 1<br />
&#62; # /dev/sda3<br />
&#62; UUID=8817-CDBD /dos vfat utf8,umask=007,gid=46 0 1<br />
&#62; # /dev/sda4<br />
&#62; UUID=E291-3013 /windows vfat utf8,umask=007,gid=46 0 1<br />
&#62; # /dev/sda2<br />
&#62; UUID=1899d45b-8e12-4ef5-9b04-b1b248c7f8c1 none swap<br />
&#62; sw 0 0<br />
&#62; /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0</p></blockquote>
<p>Coba perhatikan diatas!ada keterangan /windows ada /dos lalu ada vfat,umask=007,gid,ext3 dsb. Tidak usah bingung!yang jadi perhatian kita adalah UUID=xxxxxxxxxxxx kemudian type partisinya yaitu (VFAT untuk FAT dan ntfs untuk NTFS) serta perintah umask dan gid. Saya rada lupa sih tapi kalo ga salah umask=007 adalah &#8220;perintah&#8221; tertingginya alias ini memerintahkan partisi tersebut agar bisa langsung di mount saat startup dan juga bisa ditulisi seperti partisi linux saja.Saya mengasumsikan anda sudah paham maksud dari /dev/sda(x) dll itu.</p>
<p>3. Pasti bingung,darimana kita tau UUID kita?karena masing2 tipe partisi UUIDnya pasti beda lho, caranya kita bisa tau dengan mengetikan <strong><em>blkid</em></strong> di konsole(harus dalam root)<br />
4. Tahap berikutnya(bisa dengan buka tab konsole baru),login sbg root lagi dan buat folder baru sebagai tujuan mount partisi misalnya diletakkan di /media/windows jadi kita bikin folder namanya windows di dalam folder /media/ . CARANYA ketik <strong><em>mkdir /media/windows</em></strong> di konsole.<br />
5. Berikutnya adalah kita harus tahu partisi mana yang MAU kita automount kan,partisi disini &#8220;biasanya&#8221; dikenal sebagai sda(x) ataupun sdb(x) untuk yang punya 2 buah harddisk. X berati nomor mulai dari satu sesuai jumlah partisi. Kita gunakan perintah<strong><em> fdisk -l</em></strong> di konsole lagi. Nanti bakal muncul informasi yang kurang lebih seperti ini:</p>
<blockquote><p>Disk /dev/sda: 120.0 GB, 120034123776 bytes<br />
255 heads, 63 sectors/track, 14593 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0×80d2f3ee</p>
<p>Device Boot Start End Blocks Id System<br />
/dev/sda1 * 1 2833 22756041 83 Linux<br />
/dev/sda2 2834 3165 2666790 82 Linux swap / Solaris<br />
/dev/sda3 3166 6934 30274492+ b W95 FAT32<br />
/dev/sda4 6935 14593 61520917+ b W95 FAT32</p></blockquote>
<p>Berdasarkan keterangan diatas terlihat bahwa ukuran harddisk adalah 120GB,jumlah partisinya ada 4 yaitu sda1-sda4 dan type file yang non linux hanya ada FAT32,NTFS pun bisa di mount juga kok dan juga bisa support baca tulis seperti FAT32 Cuma saratnya harus sudah terinstall <em>ntfs-3g</em> di linuxnya. Untuk kernel 2.6.27 keatas(Ubuntu 8.04 keatas) sepertinya sudah default terinstal.</p>
<p>6. Sekarang kita bisa lihat partisi (nomor) keberapa yang akan di automount,contoh diatas adalah sda3 dengan type FAT32. Sesuai dengan tahap2 di poin sebelumnya dimana kita sudah tau nomor UUID(poin 3),kita bisa menulis manual di file /etc/fstab (poin 2.) dan juga &#8220;folder&#8221; tujuan untuk atumount (poin 4).<br />
kurang lebih ketik seperti ini di fstab:</p>
<blockquote><p>
# /dev/sda3<br />
&#62; UUID=8817-CDBD /media/windows vfat utf8,umask=007,gid=46  0     1</p></blockquote>
<p>Tinggal diurut aja bacanya,diliat dari keterangan diatasnya dari<br />
# &#60;file system&#62; &#60;mount point&#62; &#60;type&#62; &#60;options&#62; &#60;dump&#62; &#60;pass&#62;</p>
<p>Alamat &#8220;file&#8221; yang di mount terletak di /dev/sda3, UUID yang didapat lewat blkid yaitu 8817-CDBD, typenya vfat. Berikutnya yang rada ribet adalah keterangan utf8,umask=007,gid=46 0 1.<br />
7. Kalau tipenya nadalah NTFS maka ganti saja vfat dengan ntfs</p>
<p>artinya:<br />
<em>umask=007 will set the permissions on the partition to 770:<br />
owner = read/write/execute<br />
group = read/write/execute<br />
others = no permissions</em></p>
<p><em>umask=007,gid=46 &#8211; allows read/write/execute permissions for the users from the plugdev group.</em></p>
<p>8. Apalagi neh muncul plugdev????gw jg ga tau sih…tapi yang jelas karena kita mengetikkan keterangan gid=46 dan umask itu dimana partisi yang kita mount memilik hak baca tulis oleh &#8220;user yang terdaftar&#8221; di plugdev so mau ga mau kita HARUS &#8220;mendaftarkan&#8221; user account kita di plugdev, caranya</p>
<p><strong><em>Addgroup username plugdev</em></strong>, username bisa diganti nama username anda.<br />
9. Done,sekarang anda bisa memount secara otomatis partisi windows anda di linux saat startup selain itu juga support baca tulis sehingga ga da beda seperti jalan di windows asli.</p>
<p>CMIIW</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Menu.lst &amp; fstab - starzy przyjaciele.]]></title>
<link>http://piekarz.wordpress.com/2009/08/06/menu-lst-fstab-starzy-przyjaciele/</link>
<pubDate>Thu, 06 Aug 2009 18:28:56 +0000</pubDate>
<dc:creator>Piekarz</dc:creator>
<guid>http://piekarz.wordpress.com/2009/08/06/menu-lst-fstab-starzy-przyjaciele/</guid>
<description><![CDATA[Znów Ubuntu &#8211; tym razem jednak opiszę nie tyle wzór co robić, a pokażę jak to wygląda u mnie. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Znów Ubuntu &#8211; tym razem jednak opiszę nie tyle wzór co robić, a pokażę jak to wygląda u mnie. Jeśli wiesz co znaczy <a href="http://pl.wikipedia.org/wiki/Analogia">analogia</a> to będziesz mógł wykorzystać to do własnych celów. Konfiguracja <code>fstab</code> oraz <code>menu.lst</code>. Zaczniemy od <code>menu.lst</code> bo będzie to trochę prostsze. <!--more--></p>
<p><span style="color:#50b4f8;font-size:large;"> Menu.lst </span></p>
<p>Plik konfiguracji bootloadera (używam gruba) otwieramy za pomocą.<br />
<code> sudo gedit /boot/grub/menu.lst</code><br />
Zchodzimy na sam dół pliku i być może zobaczymy coś w stylu.</p>
<p><code> title		Microsoft Windows XP Professional<br />
rootnoverify	(hd0,0)<br />
savedefault<br />
makeactive<br />
chainloader	+1</code><br />
<code> Title </code>możemy sobie bez obawy zmienić na jakim nam odpowiada. W pliku zobaczymy dużo <code> # </code> oznaczają one komentarz. Dzięki nim możemy tutaj zrobić naprawdę fajną pracę. Wyżej mamy wypisane wszystkie pozycje, które widzimy podczas wgrywania się systemu. U mnie wyglądają tak.</p>
<p><code><br />
title		Ubuntu 9.04, kernel 2.6.28-14-generic<br />
uuid		23037c8a-6df6-4d16-9e83-990163262fa7<br />
kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=23037c8a-6df6-4d16-9e83-990163262fa7 ro quiet splash<br />
initrd		/boot/initrd.img-2.6.28-14-generic<br />
quiet<br />
</code><br />
<code><br />
title		Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)<br />
uuid		23037c8a-6df6-4d16-9e83-990163262fa7<br />
kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=23037c8a-6df6-4d16-9e83-990163262fa7 ro  single<br />
initrd		/boot/initrd.img-2.6.28-14-generic</code></p>
<p>&#8230;<br />
<code><br />
title		Ubuntu 9.04, memtest86+<br />
uuid		23037c8a-6df6-4d16-9e83-990163262fa7<br />
kernel		/boot/memtest86+.bin<br />
quiet<br />
</code></p>
<p>Aby wywalić niepotrzebne wpisy (i zostawić na przykład jeden) wystarczy że niepotrzebne pozycje oznaczymy komentarzami.<br />
<code><br />
#title		Ubuntu 9.04, kernel 2.6.28-14-generic<br />
#uuid		23037c8a-6df6-4d16-9e83-990163262fa7<br />
#kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=23037c8a-6df6-4d16-9e83-990163262fa7 ro quiet splash<br />
#initrd		/boot/initrd.img-2.6.28-14-generic<br />
#quiet<br />
</code><br />
Dla leni powiem że nie wystarczy wstawić komentarz przed <code> title </code> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
I z takim wpisem mamy już spokój i nie musimy się martwić że będzie nam śmiecił. Ja zwykle zostawiam jeden wpis na system. Czyli jeden dla Ubuntu oraz jeden dla Windowsa którego również posiadam. Występuje tu także takie cudo:<br />
<code> title		Other operating systems:<br />
root</code><br />
Można sobie to przetłumaczyć na język polski bo czemu nie?<br />
<code> title		Inne systemy:<br />
root</code><br />
Takich kategorii możemy sobie zrobić więcej i to może być przydatne jak mamy wiele systemów.<br />
<code> title		Debianopochodne:<br />
root </code><br />
czy<br />
<code> title		Wersje testowe:<br />
root</code><br />
Możemy także zmienić jeszcze czas jaki zostaje nam dany na decyzję który system tym razem włączyć.<br />
<code> timeout		10 </code><br />
dla wolnych polecam<br />
<code> timeout		40 </code><br />
dla szybkich polecam<br />
<code> timeout		3 </code><br />
i&#8230; 2fast4you<br />
<code> timeout		0</code><br />
W tym momęcie czasami warto sprawdzić czy wszystko działa. Zawsze mogliśmy nieświadomie coś zrobić&#8230;<br />
<code> sudo reboot </code><br />
Oglądamy wyniki i sprawdzamy czy nam to pasuje.<br />
I tą drogą przeszliśmy przez najprostszą część. Teraz czas na</p>
<p><span style="color:#50b4f8;font-size:large;"> Przygotowanie folderów</span></p>
<p>I to jest coś czego nie lubię. Zawsze o czymś zapominam &#8211; dlatego ta notka przyda się także mnie.<br />
Zacznijmy od efektu jaki zamierzam osiągnąć. Pragnę aby parę partycji montowało się automatycznie a do tego nie pokazywały się na pulpicie (jestem obsesyjnie chory na punkcie pustego pulpitu i zapchanych pasków). Do dysków będzie dostęp jedynie przez górny pasek na którym będą skróty. Aby nie robić śmietnika, same dyski będą nieco &#8220;ukryte&#8221;. Dla każdego dysku będzie inny znaczek folderu aby łatwo się orientować, który jest którym. Więc tak&#8230; jako że jestem człowiekiem który lubi porządek to dysk mam gęsto podzielony. Po prostu jak czasem przyjdzie coś formatować bo się robi bałagan to nie chce formatować wszystkiego. Dlatego mam dwa dyski twarde. 120GB na którym jest Ubuntu oraz 320 GB na którym jest Windows. O ile w Ubuntu podział jest prosty. Trzy partycje &#8211; system plików, osobny home i do tego partycja wymiany. To w Windowsie mam napchane multum partycji. Dwie duże partycje czyli &#8220;Dysk alfa&#8221; oraz &#8220;Dysk beta&#8221; &#8211; tam zwykle mam gry na Windowsa i tych dysków nie chcę montować. Kolejne których nie będę montował to &#8220;Programy&#8221; z programami dla Windowsa oraz partycja &#8220;Zdjęcia&#8221; ze zdjęciami dla rodziców (specjalna, osobna żeby nikt nie psioczył że się usunęły podczas problemów z systemem). Ostatnia partycja której nie mam zamiaru montować to dysk C. Pozostają więc &#8220;Download&#8221;, &#8220;Multimedia&#8221;, &#8220;Dane&#8221;, oraz &#8220;VirtualSys&#8221;. Mamy więc cztery partycje które chciałbym by były montowane automatycznie. Najpierw sprawmy by miały się gdzie montować:<br />
<span style="color:#ff0000;"> Pamiętaj aby w poleceniu zamiast <code> nazwa_użytkownika </code> wpisać własną nazwę użytkownika! </span><br />
<code> cd /home/nazwa_użytkownika </code><br />
Dla dowloadu,<br />
<code> mkdir .Download </code><br />
dla multimediów,<br />
<code> mkdir .Multimedia </code><br />
dla danych,<br />
<code> mkdir .Dane </code><br />
oraz dla wirtualnych systemów.<br />
<code> mkdir .VirtualSys </code><br />
Dla przykładu, czyli cokolwiek masz ochotę byle byś wiedział co to nazwa znaczy dla Ciebie.<br />
<code> mkdir .Disk3-2b5af0x45</code><br />
Kropka przed nazwą folderu sprawi że foldery będą ukryte. Nie będziemy robić śmietnika w <code>/home</code>.</p>
<p><span style="color:#50b4f8;font-size:large;"> Przygotowanie odnośników</span></p>
<p>Klikamy PPM na górny pasek (czy tam gdzie chcemy mieć te skróty). Wybieramy <code> Dodaj do panelu </code> następnie odszukujemy (pierwszy od góry, więc problemów być nie powinno). I klikamy dwa razy LPM na <code> Własny aktywator programu </code>. Zmieniamy <code> Typ</code> na <code> Położenie </code>. W miejscu <code>Nazwa</code> oraz <code>Komentarz</code> wpisujemy według własnego uznania. Rubrykę <code> Położenie </code> uzupełniamy następująco.<br />
<span style="color:#ff0000;"> Pamiętaj aby w poleceniu zamiast <code> nazwa_użytkownika </code> wpisać własną nazwę użytkownika! </span><br />
Dla folderu <code> .Multimedia</code><br />
<code> file:///home/nazwa_użytkownika/.Multimedia </code><br />
Dla folderu <code> jakas_nazwa </code><br />
<code> file:///home/nazwa_użytkownika/jakas_nazwa </code><br />
Należy pamiętać że nazwa folderu musi być taka sama jak wtedy gdy go tworzyliśmy. Kiedy zrobimy to dla wszystkich. Możemy przejść dalej.</p>
<p><span style="color:#50b4f8;font-size:large;">Montowanie partycji </span></p>
<p>Montowanie partycji to podstawowa czynność. O ile nie robimy tego kliknięciem to wygląda ono modelowo tak.<br />
<code> sudo mount /dev/dysk /miejsce </code><br />
O ile <code> sudo mount </code> jest nie zmienne o tyle <code> /dev/dysk </code> jest inne dla każdego. Co kryje się pod <code> /dev/dysk </code> i skąd wiedzieć co tam wpisać? Jest to bardzo proste. Możemy zrobić to na dwa sposoby. Zobaczyć to programem do partycjonowania dysku na przykład <code> gparted (sudo apt-get install gparted)</code> albo skoro już mowa o Ubuntu zamontować dysk przez kliknięcie na niego w <code> Miejsca&#62;Nośniki Wymienne </code> a później zobaczyć co z tego wyszło przez kliknięcie w <code> System&#62;Administracja&#62;Monitor Systemu </code> i zakładka <code> Systemy Plików </code>. Jest jeszcze trzecia metoda ale ze względu na to że jest zbyt prosta zostawiłem ją na koniec wcześniej o niej nie mówiąc <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Aby zobaczyć listę wszystkich partycji w komputerze wystarczy jedno polecenie w terminalu (czuję potężną satysfakcję pokazania Ci jak wygodniejszy jest terminal). Oczywiście, wiele osób mówi że Windows przecież od razu montuje wszystkie dyski i to jest wygodniejsze. Ale pomyśl &#8211; co jeśli montowanie dysku zajmuje (załóżmy)  0.5s? Ja mam 10 partycji to efektem jest 5 sekund dłużej startujący system. Wole wybrać czego używam sporadycznie i montować ręcznie jak będzie potrzeba (<code> sudo mount /dev/dysk /miejsce </code>) a jedynie to czego używam na co dzień mieć ładowane &#8220;od kopa&#8221;. Wracając do magicznego polecenia<br />
<code> sudo fdisk -l </code><br />
U mnie to wygląda tak (nie przeraź się, u Ciebie na pewno nie ma nawet połowy tego co tu, ale przynajmniej się opatrzysz na trudniejsze przykłady ;]).</p>
<p><code> Disk /dev/sda: 320.0 GB, 320072933376 bytes<br />
255 heads, 63 sectors/track, 38913 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x0c6c0c6b</code></p>
<p><code> Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1        2611    20972826    7  HPFS/NTFS<br />
/dev/sda2            2612       38912   291587782+   f  W95 Ext'd (LBA)<br />
/dev/sda5            2612        5222    20972826    7  HPFS/NTFS<br />
/dev/sda6            5223        7833    20972826    7  HPFS/NTFS<br />
/dev/sda7            7834       13055    41945683+   7  HPFS/NTFS<br />
/dev/sda8           13056       22193    73400953+   7  HPFS/NTFS<br />
/dev/sda9           22194       26109    31455238+   7  HPFS/NTFS<br />
/dev/sda10          26110       28720    20972826    7  HPFS/NTFS<br />
/dev/sda11          28721       33942    41945683+   7  HPFS/NTFS<br />
/dev/sda12          33943       38912    39921493+   7  HPFS/NTFS</code></p>
<p><code>Disk /dev/sdb: 120.0 GB, 120034123776 bytes<br />
255 heads, 63 sectors/track, 14593 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
Disk identifier: 0x15b1449c</code></p>
<p><code> Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1        3112    24997108+  83  Linux<br />
/dev/sdb2            3113        5228    16996770    5  Extended<br />
/dev/sdb5            3113        3361     2000061   82  Linux swap / Solaris<br />
/dev/sdb6            3362        5228    14996646   83  Linux<br />
</code><br />
Czyli teraz mam polecenie <code> mount </code> oraz nazwę tego co chce montować. Bez problemu można teraz stworzyć polecenie które zamontuje nam odpowiedni dysk w odpowiednie miejsce.<br />
<code> sudo mount /dev/sda7 /home/.Multimedia </code><br />
Polecenie zamontuje partycje <code> /dev/sda5 </code> w folderze <code> .Multimedia </code>, który to zaś jest w katalogu <code> home </code>. Z zasady możemy montować wszystko gdzie chcemy o ile dany folder istnieje i partycja jest sprawna.<br />
Jednak cały czas to nie jest to! My chcemy to robić automatycznie. I od tego jest</p>
<p><span style="color:#50b4f8;font-size:large;">Edycja pliku fstab </span></p>
<p>Wpisujemy<br />
<code> sudo gedit /etc/fstab </code><br />
Patrzymy na efekt&#8230; Dużo wszystkiego, dużo znaczków. Trzeba zobaczyć między krzaczkami. Najważniejsza linijka to <code> # &#60;file system&#62; &#60;mount point&#62;    &#60;type&#62;  &#60;options&#62;       &#60;dump&#62;  &#60;pass&#62; </code> pokazuje piękny przepis na dodanie wpisu.<br />
<code> file system </code> &#8211; tutaj wciskamy nazwę dysku (<code> /dev/dysk </code>)<br />
U mnie to będzie (można robić pojedynczo, jednak ja wolę robić wszystko naraz kolumnami):<br />
<code><br />
#dane<br />
/dev/sda10<br />
#multimedia<br />
/dev/sda7<br />
#download<br />
/dev/sda12<br />
#virtsys<br />
/dev/sda9<br />
</code><br />
Dodałem sobie komentarze aby wiedzieć co jest czym. Następnie potrzebujemy<br />
<code> mount point </code> &#8211; miejsce montowania. Może to być dowolny katalog, jednak my zrobiliśmy przecież swoje własne katalogi! Teraz możemy je wykorzystać. Klikamy tab (ładnie ma być) i w każdej linijce dopisujemy katalog. Powstało oto to<br />
<code> #dane<br />
/dev/sda10	/home/nazwa_uzytkownika/.Dane<br />
#multimedia<br />
/dev/sda7	/home/</code><code>nazwa_uzytkownika</code><code>/.Multimedia<br />
#download<br />
/dev/sda12	/home/</code><code>nazwa_uzytkownika</code><code>/.Download<br />
#virtsys<br />
/dev/sda9	/home/</code><code>nazwa_uzytkownika</code><code>/.VirtSys<br />
</code><br />
Kolejną kolumny to<br />
<code> type </code> &#8211; typ. Wszystkie moje partycje są w <code> ntfs </code> dlatego z tym nie będzie problemu. Wystarczy napisać nazwę systemu plików.<br />
<code> options </code> &#8211; tutaj dopisujemy jedynie <code>default</code><br />
<code> dump i pass </code> &#8211; Opcje <code> dump </code> ominiemy. Jeśli chcemy chronić partycje hasłem piszemy dla <code> pass </code> &#8220;1&#8243;, jeśli nie to &#8220;0&#8243;.<br />
I tak teraz wyglądają wpisy<br />
<code><br />
#dane<br />
/dev/sda10	/home/</code><code>nazwa_uzytkownika</code><code>/.Dane		 ntfs	default		0 0<br />
#multimedia<br />
/dev/sda7	/home/</code><code>nazwa_uzytkownika</code><code>/.Multimedia	 ntfs	default		0 0<br />
#download<br />
/dev/sda12	/home/</code><code>nazwa_uzytkownika</code><code>/.Download	 ntfs	default		0 0<br />
#virtsys<br />
/dev/sda9	/home/</code><code>nazwa_uzytkownika</code><code>/.VirtSys		 ntfs	default		0 0<br />
</code><br />
Czas to przetestować!<br />
<code> sudo reboot </code></p>
<p><span style="color:#50b4f8;font-size:large;"> Ukrywanie dysków na pulpicie </span></p>
<p>Wszystko działa! (Nie działa? Kłamiesz <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' /> ) Ale dyski są na pulpicie czego my nie chcemy! Klikamy.<br />
<code> alt + F2 </code><br />
Wpisujemy tam<br />
<code> gconf-editor </code><br />
I otwiera nam się takie cuś w czym możemy zmieniać dużo innych cusiów aczkolwiek nas będzie interesowało ino coś.<br />
Rozwijamy ścieżkę<br />
<code> /apps/nautilus/desktop/ </code><br />
i odznaczamy <code> volumes_visible </code>. Można tu zmienić jeszcze kilka rzeczy ale to nie wymaga omówienia jeśli tylko znamy podstawy angielskiego.</p>
<p><span style="color:#50b4f8;font-size:large;"> Koniec. </span></p>
<p>Zostaje tylko zrobić jedno.<br />
<code> sudo reboot </code><br />
Wszystko w porządku? To teraz możesz sobie wydrukować (a wcześniej zrobić) odznakę &#8220;Umiem montować partycje!&#8221; ewentualnie dla tych którzy nie lubią kłamać &#8220;Wydaje mi się że umiem montować partycje!&#8221; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[PySDM for automounting partitions]]></title>
<link>http://leftminor.wordpress.com/2009/08/05/pysdm-for-automounting-partitions/</link>
<pubDate>Wed, 05 Aug 2009 07:18:18 +0000</pubDate>
<dc:creator>raunaq2012</dc:creator>
<guid>http://leftminor.wordpress.com/2009/08/05/pysdm-for-automounting-partitions/</guid>
<description><![CDATA[PySDM ( Python Storage Device Manager ) can be used to customize your hard disk partitions without f]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>PySDM ( Python Storage Device Manager ) can be used to customize your hard disk partitions without fiddling with the fstab file.<br />
It&#8217;s as simple as:</p>
<blockquote><p>
sudo apt-get install pysdm<br />
$gksudo pysdm
</p></blockquote>
<p>PySDM needs python and almost every linux distribution is bundled with python out of the box. So you would not need to install python.<br />
One major use of pysdm is to enable auto-mounting ntfs ( your windows partitions ) in linux. To do that simply:</p>
<p>1. Select the partition from the left side-pane. Your hard disks and partitions may be named as sda* or hda*. To know which ones you want to auto-mount ( your ntfs ones ) simple select each and look for the ones with &#8220;ntfs&#8221; in their &#8220;type&#8221;.<br />
2. Select the desired partition<br />
3. Click on the assistant button<br />
4. Check the option &#8220;The file system is mounted at boot time&#8221;<br />
5. Uncheck &#8220;Mount file system in read only mode&#8221;<br />
6. If you want everyone to mount/unmount the partition you can check the options:<br />
        &#8220;Allow any user to mount the file system&#8221;<br />
        &#8220;Allow a user to mount/unmount the file system&#8221;<br />
7. Once you&#8217;re done click on Apply</p>
<p>Reboot and your ntfs partitions would be mounted automatically.</p>
<p>PySDM sourceforge page: <a href="http://pysdm.sourceforge.net/">http://pysdm.sourceforge.net/</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Accessing Samba shares in Terminal]]></title>
<link>http://nullpointers.wordpress.com/2009/08/04/samba-shares-terminal/</link>
<pubDate>Tue, 04 Aug 2009 06:03:03 +0000</pubDate>
<dc:creator>Intensity !</dc:creator>
<guid>http://nullpointers.wordpress.com/2009/08/04/samba-shares-terminal/</guid>
<description><![CDATA[I use Ubuntu for my daily work. Rest of my team members use Windows. So I end up using samba for all]]></description>
<content:encoded><![CDATA[I use Ubuntu for my daily work. Rest of my team members use Windows. So I end up using samba for all]]></content:encoded>
</item>
<item>
<title><![CDATA[your fstab file]]></title>
<link>http://maboelnour.wordpress.com/2009/08/01/your-fstab-file/</link>
<pubDate>Sat, 01 Aug 2009 18:50:52 +0000</pubDate>
<dc:creator>aboelnour</dc:creator>
<guid>http://maboelnour.wordpress.com/2009/08/01/your-fstab-file/</guid>
<description><![CDATA[Peace be upon you: our article today is about the /etc/fstab file. Target: to get a good knowledge a]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-medium wp-image-144" title="One cogwheel" src="http://maboelnour.wordpress.com/files/2009/08/one_cogwheel.jpg?w=300" alt="One cogwheel" width="300" height="299" /></p>
<p>Peace be upon you:</p>
<p>our article today is about the <em>/etc/fstab</em> file.</p>
<p>Target: to get a good knowledge about the <em>fstab</em> file to deal with partitions and mounting.</p>
<p>Requirements: knowledge with the mounting commands and Basic Knowledge about hard partitioning in linux.</p>
<p>======</p>
<p>the fstab file is one of very important files in linux directory structure</p>
<p>The file pass his configurations to the kernel to deal with different file systems ,links the hard disk partitions with others and it has many operations on this partitions.</p>
<p>The main function of this file is used in dual-booting systems where there is more than operating system and each operating system have its partitions with their own format .</p>
<p>if you want to share a partition from operating system to another operating system you need to <em>mount </em>this partition and the mount configurations saved in the <em>fstab</em> file to <em>mount</em> this partition every the system boot.</p>
<p>you can show the contact of the <em>/etc/fstab </em>file</p>
<p>by running in terminal :</p>
<blockquote><p><em>cat /etc/fstab</em></p></blockquote>
<p>so you will see something like this :</p>
<blockquote>
<blockquote><p># &#60;file system&#62; &#60;mount point&#62;   &#60;type&#62;   &#60;options&#62;       &#60;dump&#62;   &#60;pass&#62;</p>
<p>proc                         /proc                      proc         defaults            0                  0</p>
<p>/dev/hda1             /                               ext3          defaults,errors=remount-ro 0</p></blockquote>
</blockquote>
<p><strong>1)  fstab syntax :</strong></p>
<blockquote><p>(Device)   (mount point)   (file system type)   (options)       (dump)   (pass)</p></blockquote>
<p>-&#62; Device :</p>
<p>The device/partition (by /dev location or UUID) that contain a file system (The physical path).</p>
<p>By Default Ubuntu Using the UUID to identify partitions.</p>
<p>to list your devices by UUID run in terminal:</p>
<blockquote><p>sudo blkid</p></blockquote>
<p>-&#62;Mont Point:</p>
<p>The location that you created to mount in it the Device the default location is <em>/media </em>you can use <em>/mnt </em>or your <em>/home</em></p>
<p>as a mount point</p>
<p>-&#62;File Sytem type:</p>
<p>You may either use auto or specify a file system. Auto will attempt to automagically detect the file system of the target file system and in general works well. In general auto is used for removable devices .</p>
<p>Exampels:</p>
<ul>
<li>auto</li>
<li>vfat &#8211; used for FAT partitions.</li>
<li>ntfs, ntfs-3g &#8211; used for ntfs partitions.</li>
<li>ext2, ext3, jfs, etc.</li>
<li>iso9660 &#8211; for CD/DVD.</li>
<li>swap</li>
</ul>
<p>-&#62; Options:</p>
<p>Mount options of access to the device/partition.</p>
<p>Examples:</p>
<blockquote><p>1) defaults</p></blockquote>
<p>the option &#8220;defaults&#8221; contain other options in it :</p>
<p>rw : that&#8217;s mean the mounted device will have the permission to read and write</p>
<p>auto : that&#8217;s mean the device will mounted automatically</p>
<p>and other options like : suid, dev, exec, nouser, and async.</p>
<blockquote><p>2) ro</p></blockquote>
<p>that&#8217;s mean the mounted device will be read-only</p>
<blockquote><p>3) noauto</p></blockquote>
<p>that&#8217;s mean the mounted device won&#8217;t mount when Booting</p>
<blockquote><p>4) user</p></blockquote>
<p>that&#8217;s mean any user in the system can mount this device but the one who mount the device only he can unmount it</p>
<blockquote><p>5) users</p></blockquote>
<p>that&#8217;s mean any user can mount this device and any user can unmount it</p>
<blockquote><p>6) exec / noexec</p></blockquote>
<p>Permit/Prevent the execution of binaries from the device.</p>
<p>NOTES:</p>
<p>1) you can use many options seperate between every option&#8221; , &#8221; COMMA.</p>
<p>2) for more options run in terminal <em>man mount</em></p>
<p>-&#62; Dump:</p>
<p>this field take only 0 or 1.</p>
<p>1 : The backup utility <em>dump </em>will backup file system.(to use this the tool dump must be installed).</p>
<p>0 : Ignore backing up the device.</p>
<p>-&#62; Pass</p>
<p>this field also take only 0 , 1 and 2 and indicating if the device must be checked in booting stage or not</p>
<p>0 : Device ignored.</p>
<p>1 : Check this device first.</p>
<p>2 :  Check this partition(s) next ,all partitions marked with a &#8220;2&#8243; are checked in sequence and you do not need to specify an order.</p>
<p><strong>2) related commands</strong> :</p>
<p>to edit in the <em>fstab </em>file:</p>
<blockquote><p>sudo gedit /etc/fstab</p></blockquote>
<p>To get a list of all the UUIDs, use one of the following two commands:</p>
<blockquote><p>sudo blkid</p>
<p>ls -l /dev/disk/by-uuid</p></blockquote>
<p>To list the drives and relevant partitions that are attached to your system, run:</p>
<blockquote><p>sudo fdisk -l</p></blockquote>
<p>To mount all file systems in <em>/etc/fstab</em> run:</p>
<blockquote><p>sudo mount -a</p></blockquote>
<p>======</p>
<p>so that&#8217;s it any feedback is welcomed</p>
<p>best wishes,</p>
<p>aboelnour</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Настраиваем fstab]]></title>
<link>http://x1mylene.wordpress.com/2009/07/20/%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%b0%d0%b8%d0%b2%d0%b0%d0%b5%d0%bc-fstab/</link>
<pubDate>Mon, 20 Jul 2009 17:38:32 +0000</pubDate>
<dc:creator>x1mylene</dc:creator>
<guid>http://x1mylene.wordpress.com/2009/07/20/%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%b0%d0%b8%d0%b2%d0%b0%d0%b5%d0%bc-fstab/</guid>
<description><![CDATA[Небольшая статейка о параметрах и настройке файла fstab. Ключевые слова и фразы статьи: Linux, Ubunt]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Небольшая статейка о параметрах и настройке файла fstab. Ключевые слова и фразы статьи: Linux, Ubuntu. Пример файла fstab. /etc/fstab. Редактирование fstab. Ext3, ntfs 3g, ext2. <a href="http://57st.net/articles/5">http://57st.net/articles/5</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Formatera om ett USB-minne]]></title>
<link>http://mathsgothe.wordpress.com/2009/07/12/formatera-om-ett-usb-minne/</link>
<pubDate>Sun, 12 Jul 2009 21:59:22 +0000</pubDate>
<dc:creator>Maths</dc:creator>
<guid>http://mathsgothe.wordpress.com/2009/07/12/formatera-om-ett-usb-minne/</guid>
<description><![CDATA[Jag ville formatera mitt nya Kingstone USB-minne till ext2 för att kunna göra backup av filer på den]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Jag ville formatera mitt nya Kingstone USB-minne till ext2 för att kunna göra backup av filer på den bärbara till den. Tyvärr var stickan formaterad i ett Windowsformat, vilket gör att det finns upplysningar om filerna som försvinner om jag för över filer dit. Därför ville jag hellre ha en ett av Linux filsystem. Bland de som finns kändes ext2 som det bästa alternativet, eftersom det inte skriver mer än nödvändigt till stickan och sliter på dess yta.</p>
<p><!--more Läs hela inlägget här ...--></p>
<p>För att formatera ett USB-minne kan man använda programmet &#8216;Gnome Format&#8217;. Man hittar det i Pakethanteraren i Ubuntu. Programmet kan formatera i FAT och ext2, alltså väldigt lämpligt för ett sånt här jobb. Ändå kommer jag här att visa hur man gör i terminalen, fram för allt för att &#8216;Gnome Format&#8217; tar bort etiketten, LABEL, från stickan.</p>
<p>Jag skapade först filsystemet på stickan så här. Jag stoppade i den och när den dök upp avmonterade jag direkt. Det gjorde jag genom att högerklicka på dess ikon på skrivbordet och välja &#8216;Avmontera volym&#8217;. Man kan inte formatera en enhet som är monterad. Sedan fixade jag filsystemet i terminalen.</p>
<pre>
sudo mke2fs -t ext2 -L KingstonBackup /dev/sdb1
</pre>
<p>Körde följande för att se om stickan fanns med och vilka uppgifter den hade. Först fick jag dock lov att installera paketet &#8216;tree&#8217;. Här hittar man bl a uppgifter om UUID och label.</p>
<pre>
tree /dev/disk
</pre>
<p>Efter omformateringen hade den inte något namn, ingen LABEL, så jag gav den ett nytt. Men jag gav den ett namn på det här sättet, för jag missade växeln -L för mke2fs. Använder man alltså den växeln behöver man inte göra så här.</p>
<pre>
sudo tune2fs -L KingstonBackup /dev/sdb1
</pre>
<p>Monterade jag nu på vanligt sätt, genom att bara stopp in stickan, så kan jag inte skriva till det. Ägaren var root och jag kunde bara läsa, inte skriva till stickan. Jag monterar den i min hemkatalog, nu med bättre resultat. Men jag måste ändå vara root för att montera stickan.</p>
<p>Jag lyckades montera den som jag ville genom att i /etc/fstab ange följande. Först hade jag skapat mappen /media/KingstonBackup.</p>
<pre>
UUID=&#60;långt-nummer&#62;  /media/KingstonBackup  ext2  user,rw,sync  0  0
</pre>
<p>Det skulle kunna ha gått om jag istället angav LABEL.</p>
<pre>
LABEL=KingstonBackup  /meida/KingstonBackup  ext2  user,rw,sync  0  0
</pre>
<p>Jag vet inte om det här var något elegant sätt att göra det på, men det har funkat för mig. Nu kan jag använda USB-stickan som jag vill. Nu ska jag titta närmare på Rsync eller något annat verktyg att göra backup med.</p>
<p style="margin-top:50px;">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/se/"><img alt="Creative Commons License" style="border-width:0;" src="http://i.creativecommons.org/l/by-sa/2.5/se/88x31.png" /></a><br />Det här verket av <span>Maths G&#246;the</span> är licensierat under <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/se/">Creative Commons Erk&#228;nnande-Dela Lika 2.5 Sverige License</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Beaglefs, ovvero il filesystem semantico]]></title>
<link>http://guiodic.wordpress.com/2009/07/06/beaglefs-ovvero-il-filesystem-semantico/</link>
<pubDate>Mon, 06 Jul 2009 08:30:09 +0000</pubDate>
<dc:creator>guiodic</dc:creator>
<guid>http://guiodic.wordpress.com/2009/07/06/beaglefs-ovvero-il-filesystem-semantico/</guid>
<description><![CDATA[La principale novità di Windows Vista doveva essere WinFS. WinFS era un filesystem basato su databas]]></description>
<content:encoded><![CDATA[La principale novità di Windows Vista doveva essere WinFS. WinFS era un filesystem basato su databas]]></content:encoded>
</item>

</channel>
</rss>
