<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>k3mist™ &#187; Linux</title>
	<atom:link href="http://k3mist.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://k3mist.com</link>
	<description>Development, Design &#38; System Administration</description>
	<lastBuildDate>Sat, 12 Sep 2009 15:40:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create ISO/Disk Image from DVD/CDROM on Linux</title>
		<link>http://k3mist.com/linux/create-iso-disk-image-from-dvd-cdrom-on-linux/</link>
		<comments>http://k3mist.com/linux/create-iso-disk-image-from-dvd-cdrom-on-linux/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:01:36 +0000</pubDate>
		<dc:creator>k3mist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[create disk image]]></category>
		<category><![CDATA[create iso]]></category>
		<category><![CDATA[dd]]></category>

		<guid isPermaLink="false">http://k3mist.com/?p=97</guid>
		<description><![CDATA[<p>This is a quick guide to creating an ISO/Disk Image on Linux from your DVD or CDROM drive.<br />
<span id="more-97"></span><br />
Insert the dvd/cd into your optical reader drive (obviously ;p)</p>
<p>If it is automatically mounted, you will need to unmount it. On my laptop, my dvd drive is /dev/sr0. </p>
<p>To figure out what device it is, you can always mount the device or if it is already mounted, type<br />
<code>cat /etc/mtab | grep udf</code>.</p>
<p>To create the iso/disk image, the device must not be mounted. To unmount your DVD drive/CDROM drive;<br />
<code>#DVD Drive<br />
sudo umount /dev/sr0<br />
#CDRom Drive<br />
sudo umount /dev/cdrom</code></p>
<p>Now, we will copy the raw data from the dvd/cd to a disk image using the dd command. The dd command stands for &#8220;dataset definition&#8221; but I like to personally remember it by &#8220;data dump&#8221;. </p>
<p><strong style="color:red;">Be VERY careful using dd, one mistake can make a hard drive completely unusable. Caution is advised.</strong> Lot&#8217;s of useful information on dd can be found on the <a href="http://en.wikipedia.org/wiki/Dd_(Unix)" target="_blank">wikipedia</a>.</p>
<p>Now for the command;<br />
<code>dd if=/dev/sr0 of=/home/user/diskimage.iso</code></p>
<p>This will copy the raw data from /dev/sr0 (DVD drive) to the file /home/user/diskimage.iso</p>
]]></description>
			<content:encoded><![CDATA[<p>This is a quick guide to creating an ISO/Disk Image on Linux from your DVD or CDROM drive.<br />
<span id="more-97"></span><br />
Insert the dvd/cd into your optical reader drive (obviously ;p)</p>
<p>If it is automatically mounted, you will need to unmount it. On my laptop, my dvd drive is /dev/sr0. </p>
<p>To figure out what device it is, you can always mount the device or if it is already mounted, type<br />
<code>cat /etc/mtab | grep udf</code>.</p>
<p>To create the iso/disk image, the device must not be mounted. To unmount your DVD drive/CDROM drive;<br />
<code>#DVD Drive<br />
sudo umount /dev/sr0<br />
#CDRom Drive<br />
sudo umount /dev/cdrom</code></p>
<p>Now, we will copy the raw data from the dvd/cd to a disk image using the dd command. The dd command stands for &#8220;dataset definition&#8221; but I like to personally remember it by &#8220;data dump&#8221;. </p>
<p><strong style="color:red;">Be VERY careful using dd, one mistake can make a hard drive completely unusable. Caution is advised.</strong> Lot&#8217;s of useful information on dd can be found on the <a href="http://en.wikipedia.org/wiki/Dd_(Unix)" target="_blank">wikipedia</a>.</p>
<p>Now for the command;<br />
<code>dd if=/dev/sr0 of=/home/user/diskimage.iso</code></p>
<p>This will copy the raw data from /dev/sr0 (DVD drive) to the file /home/user/diskimage.iso</p>
]]></content:encoded>
			<wfw:commentRss>http://k3mist.com/linux/create-iso-disk-image-from-dvd-cdrom-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Jaunty: ATI Restricted Proprietary FGLRX Driver, Direct Rendering, Mobility Radeon HD Series</title>
		<link>http://k3mist.com/linux/ubuntu-jaunty-ati-restricted-proprietary-fglrx-driver-direct-rendering-mobility-radeon-hd-series/</link>
		<comments>http://k3mist.com/linux/ubuntu-jaunty-ati-restricted-proprietary-fglrx-driver-direct-rendering-mobility-radeon-hd-series/#comments</comments>
		<pubDate>Sat, 02 May 2009 14:43:38 +0000</pubDate>
		<dc:creator>k3mist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fglrx]]></category>
		<category><![CDATA[ati proprietary]]></category>
		<category><![CDATA[direct rendering]]></category>
		<category><![CDATA[jaunty 9.04]]></category>
		<category><![CDATA[ubuntu jaunty]]></category>

		<guid isPermaLink="false">http://k3mist.com/?p=50</guid>
		<description><![CDATA[<p>To start off I am no expert. I am a windows convert about a week ago now. However, I&#8217;m grabbing Linux by the horns and loving it!</p>
<p>The reason I am posting this is because it took me several hours to figure this out. I could not find in one place an organized concise approach. I&#8217;d imagine the experts already know this info but for the new Linux users, I can see this being helpful and also as a reference for me in the future <img src='http://k3mist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This does not fix the current <a href="https://bugs.launchpad.net/ubuntu/+bug/353800/" target="_blank">memory leak in Xorg</a> or the <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/351186" target="_blank">slow sluggishness of compiz when minimizing, maximizing or resizing</a>. Sadly, I&#8217;m experiencing both of these issues on Jaunty with the ATI Driver, I have not tried the open source ATI Driver yet.</p>
<p>I went through many installations and removals of the ati driver during this process. I will only explain how and what I did to actually get the driver working with direct rendering enabled.</p>
<p><span id="more-50"></span><strong>Let&#8217;s begin:</strong></p>
<p>You can see if you have direct rendering working by typing:</p>
<pre>glxinfo | grep direct</pre>
<p>If you get &#8220;direct rendering: Yes&#8221; you do not need to do this and your drivers and card are configured correctly. Otherwise, if it says no and possibly one of two messages after the &#8220;no&#8221;. Your xorg and driver settings are not configured correctly.</p>
<p>After a complete failure of the drivers off ATI&#8217;s website not working, even after compiling the .deb packages and installing everything that was necessary, my Linux installation no longer booted in the GUI.</p>
<p>The first thing I did was boot into recovery and remove ALL FGLRX packages from my installation. If you get permission denied for any commands, use sudo. You can see what packages are installed by typing this:</p>
<pre>dpkg -l | grep fglrx</pre>
<p>If any of the following packages are installed they will need removed:<br />
<strong>xorg-driver-fglrx, fglrx-kernel-source, fglrx-modaliases, fglrx-amdcccle</strong></p>
<p>You can remove these with the following command, leave out any packages that are not installed;</p>
<pre>apt-get purge xorg-driver-fglrx fglrx-kernel-source fglrx-modaliases fglrx-amdcccle</pre>
<p>Purge ensures that all files and directories created by the packages are removed. After successful purge I typed reboot. I was back in the GUI now in an 800&#215;600 screen, which was great since I could not boot into the GUI before! This also told me that all previous flgrx drivers were definitely gone =)</p>
<p>After I rebooted I started envyng.</p>
<pre>envyng -t</pre>
<p>This takes us to the text based version of the installer. If you do not have envyng, I highly recommend it, download it via;</p>
<pre>sudo apt-get install envyng-core</pre>
<p>After you go through the text based wizard, it will ask you to reboot. Do that. You should come back to your login with your native screen resolution. Envyng never failed me through about 6-7 manual package removals and re-installing again everytime.</p>
<p>You can check if your drivers are working and installed correctly by typing the following &#8220;fglrxinfo&#8221;, you should see something like this:</p>
<pre>display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 2.1.8575</pre>
<p>Next we will update xorg.conf. This creates a new xorg.conf and backups your old.</p>
<pre>aticonfig --initial -f</pre>
<p>To update your xorg.cong, type;</p>
<pre>sudo vim /etc/X11/xorg.conf</pre>
<p>If you don&#8217;t have vim, you can use vi instead. This is my xorg.conf file after researching and looking at other Linux users xorg.conf files for my series card.</p>
<pre>Section "ServerLayout"

#  InputDevice   "Synaptics Touchpad"
	Identifier     "Default Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	Option	    "AIGLX" "on"
EndSection

Section "Files"
EndSection

Section "Module"

#	Disable	"dri2"
	Load  "glx"
	Load  "dri"
#Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"

  # Option "CorePointer"
  # Option "Device" "/dev/input/mice"
  # Option "Protocol" "ImPS/2"
  # Option "ZAxisMapping" "4 5"
  # Option "Emulate3Buttons" "true"
	Identifier  "Configured Mouse"
	Driver      "mouse"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Gamma        0.85
EndSection

Section "Device"
	Identifier  "Mobility Radeon HD 3400 Series"
	Driver      "fglrx"
	Option	    "DynamicClocks" "on"
	Option	    "mtrr" "on"
	Option	    "DesktopSetup" "Single"
	Option	    "ScreenOverlap" "0"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	Option	    "Stereo" "off"
	Option	    "StereoSyncEnable" "1"
	Option	    "FSAAEnable" "no"
	Option	    "FSAAScale" "1"
	Option	    "FSAADisableGamma" "no"
	Option	    "FSAACustomizeMSPos" "no"
	Option	    "UseFastTLS" "0"
	Option	    "BlockSignalsOnLock" "on"
	Option	    "XAANoOffscreenPixmaps"
	Option	    "AccelMethod" "XAA"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "Mobility Radeon HD 3400 Series"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"

  #Group "Video"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "RENDER" "Enable"
	Option	    "DAMAGE" "Enable"
	Option	    "Composite" "Enable"
EndSection
</pre>
<p>The trick in this file that got my direct rendering enabled was setting the name of my actual video card under Section &#8220;Device&#8221; and Section &#8220;Screen&#8221;. To get the name of your video card as linux sees it, type the following;</p>
<pre>lspci | grep VGA</pre>
<p>Once you have updated your xorg.conf file, these settings are NOT actually set at this point. Even after a reboot! You must now type following to enable these settings.</p>
<pre>sudo aticonfig --input=/etc/X11/xorg.conf</pre>
<p>You should see a message that it was updated. Now reboot again and type the following to see if your direct rendering is enabled.</p>
<pre>glxinfo | grep direct</pre>
<p>You should get &#8220;direct rendering: Yes&#8221;</p>
]]></description>
			<content:encoded><![CDATA[<p>To start off I am no expert. I am a windows convert about a week ago now. However, I&#8217;m grabbing Linux by the horns and loving it!</p>
<p>The reason I am posting this is because it took me several hours to figure this out. I could not find in one place an organized concise approach. I&#8217;d imagine the experts already know this info but for the new Linux users, I can see this being helpful and also as a reference for me in the future <img src='http://k3mist.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This does not fix the current <a href="https://bugs.launchpad.net/ubuntu/+bug/353800/" target="_blank">memory leak in Xorg</a> or the <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/351186" target="_blank">slow sluggishness of compiz when minimizing, maximizing or resizing</a>. Sadly, I&#8217;m experiencing both of these issues on Jaunty with the ATI Driver, I have not tried the open source ATI Driver yet.</p>
<p>I went through many installations and removals of the ati driver during this process. I will only explain how and what I did to actually get the driver working with direct rendering enabled.</p>
<p><span id="more-50"></span><strong>Let&#8217;s begin:</strong></p>
<p>You can see if you have direct rendering working by typing:</p>
<pre>glxinfo | grep direct</pre>
<p>If you get &#8220;direct rendering: Yes&#8221; you do not need to do this and your drivers and card are configured correctly. Otherwise, if it says no and possibly one of two messages after the &#8220;no&#8221;. Your xorg and driver settings are not configured correctly.</p>
<p>After a complete failure of the drivers off ATI&#8217;s website not working, even after compiling the .deb packages and installing everything that was necessary, my Linux installation no longer booted in the GUI.</p>
<p>The first thing I did was boot into recovery and remove ALL FGLRX packages from my installation. If you get permission denied for any commands, use sudo. You can see what packages are installed by typing this:</p>
<pre>dpkg -l | grep fglrx</pre>
<p>If any of the following packages are installed they will need removed:<br />
<strong>xorg-driver-fglrx, fglrx-kernel-source, fglrx-modaliases, fglrx-amdcccle</strong></p>
<p>You can remove these with the following command, leave out any packages that are not installed;</p>
<pre>apt-get purge xorg-driver-fglrx fglrx-kernel-source fglrx-modaliases fglrx-amdcccle</pre>
<p>Purge ensures that all files and directories created by the packages are removed. After successful purge I typed reboot. I was back in the GUI now in an 800&#215;600 screen, which was great since I could not boot into the GUI before! This also told me that all previous flgrx drivers were definitely gone =)</p>
<p>After I rebooted I started envyng.</p>
<pre>envyng -t</pre>
<p>This takes us to the text based version of the installer. If you do not have envyng, I highly recommend it, download it via;</p>
<pre>sudo apt-get install envyng-core</pre>
<p>After you go through the text based wizard, it will ask you to reboot. Do that. You should come back to your login with your native screen resolution. Envyng never failed me through about 6-7 manual package removals and re-installing again everytime.</p>
<p>You can check if your drivers are working and installed correctly by typing the following &#8220;fglrxinfo&#8221;, you should see something like this:</p>
<pre>display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 3400 Series
OpenGL version string: 2.1.8575</pre>
<p>Next we will update xorg.conf. This creates a new xorg.conf and backups your old.</p>
<pre>aticonfig --initial -f</pre>
<p>To update your xorg.cong, type;</p>
<pre>sudo vim /etc/X11/xorg.conf</pre>
<p>If you don&#8217;t have vim, you can use vi instead. This is my xorg.conf file after researching and looking at other Linux users xorg.conf files for my series card.</p>
<pre>Section "ServerLayout"

#  InputDevice   "Synaptics Touchpad"
	Identifier     "Default Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	Option	    "AIGLX" "on"
EndSection

Section "Files"
EndSection

Section "Module"

#	Disable	"dri2"
	Load  "glx"
	Load  "dri"
#Load  "synaptics"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"

  # Option "CorePointer"
  # Option "Device" "/dev/input/mice"
  # Option "Protocol" "ImPS/2"
  # Option "ZAxisMapping" "4 5"
  # Option "Emulate3Buttons" "true"
	Identifier  "Configured Mouse"
	Driver      "mouse"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Gamma        0.85
EndSection

Section "Device"
	Identifier  "Mobility Radeon HD 3400 Series"
	Driver      "fglrx"
	Option	    "DynamicClocks" "on"
	Option	    "mtrr" "on"
	Option	    "DesktopSetup" "Single"
	Option	    "ScreenOverlap" "0"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	Option	    "Stereo" "off"
	Option	    "StereoSyncEnable" "1"
	Option	    "FSAAEnable" "no"
	Option	    "FSAAScale" "1"
	Option	    "FSAADisableGamma" "no"
	Option	    "FSAACustomizeMSPos" "no"
	Option	    "UseFastTLS" "0"
	Option	    "BlockSignalsOnLock" "on"
	Option	    "XAANoOffscreenPixmaps"
	Option	    "AccelMethod" "XAA"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "Mobility Radeon HD 3400 Series"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"

  #Group "Video"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "RENDER" "Enable"
	Option	    "DAMAGE" "Enable"
	Option	    "Composite" "Enable"
EndSection
</pre>
<p>The trick in this file that got my direct rendering enabled was setting the name of my actual video card under Section &#8220;Device&#8221; and Section &#8220;Screen&#8221;. To get the name of your video card as linux sees it, type the following;</p>
<pre>lspci | grep VGA</pre>
<p>Once you have updated your xorg.conf file, these settings are NOT actually set at this point. Even after a reboot! You must now type following to enable these settings.</p>
<pre>sudo aticonfig --input=/etc/X11/xorg.conf</pre>
<p>You should see a message that it was updated. Now reboot again and type the following to see if your direct rendering is enabled.</p>
<pre>glxinfo | grep direct</pre>
<p>You should get &#8220;direct rendering: Yes&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://k3mist.com/linux/ubuntu-jaunty-ati-restricted-proprietary-fglrx-driver-direct-rendering-mobility-radeon-hd-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
