<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-229191128187547457</id><updated>2025-09-24T11:16:05.321-07:00</updated><category term="virtualization"/><category term="multimedia"/><category term="ruby"/><category term="filesystem"/><title type='text'>Linuxified tips</title><subtitle type='html'>I am writing this blog as my Linux system administration notes. Hope it will help those who have encountered the same problems I have met and solved.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-5059299889493173677</id><published>2025-01-27T04:50:00.000-08:00</published><updated>2025-01-27T04:51:59.927-08:00</updated><title type='text'>How Math Skills Power Tech Careers (And Where to Learn Them)</title><content type='html'>As someone immersed in the tech world, I know firsthand how important maths skills are. From coding algorithms to optimising network performance, mathematics serves as the backbone of many technical careers. But how do you ensure the next generation is ready to excel in maths and reap the benefits it offers?

That’s where Tutoring with Renee comes in. This virtual maths tutoring service is dedicated to helping high school students not only improve their skills but also develop a passion for problem-solving—an essential skill in tech and beyond.

Why Choose Tutoring with Renee?

1. Tailored Learning: Every student gets a personalised plan to address their unique strengths and challenges.


2. Proven Results: Students often see significant improvements in grades and confidence within just a few months.


3. Convenient Access: With virtual tutoring, students can learn from the comfort of their home, no matter where they are located.



The Tech Connection

Why promote a maths tutoring service on a tech blog? Simple. I believe in empowering young minds to thrive in fields like engineering, IT, and data science, where maths is critical. By mastering these foundational skills early, students set themselves up for long-term success.

If you’re looking for expert high school maths tutoring, check out Tutoring with Renee. You can find more details on her Facebook page here: &lt;a href=&quot;https://www.facebook.com/share/1FPjCpvnEs/&quot;&gt;https://www.facebook.com/share/1FPjCpvnEs/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/5059299889493173677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/5059299889493173677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/5059299889493173677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/5059299889493173677'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2025/01/how-math-skills-power-tech-careers-and.html' title='How Math Skills Power Tech Careers (And Where to Learn Them)'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-5985952811930363810</id><published>2008-08-14T09:37:00.000-07:00</published><updated>2008-08-14T09:48:02.096-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>How to install Anvil on Ubuntu 8.04 Hardy Heron</title><content type='html'>I just found an interesting Ruby programming framework &lt;a href=&quot;http://anvil.rubyforge.org/&quot;&gt;Anvil&lt;/a&gt;. It makes Ruby MVC programming more efficient. Anvil is based on wxruby and works on multiple platforms.&lt;br /&gt;&lt;br /&gt;These are the steps to install anvil:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;install ruby by &lt;span style=&quot;font-weight: bold;&quot;&gt;sudo aptitude ruby-full rubygems&lt;/span&gt;&lt;/li&gt;&lt;li&gt;update the gem by &lt;span style=&quot;font-weight: bold;&quot;&gt;sudo gem update --system&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;font-weight: bold;&quot;&gt;sudo gem install anvil --include-dependencies&lt;/li&gt;&lt;/ol&gt;And then you may go to Anvil website and follow it to build your first Anvil application.</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/5985952811930363810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/5985952811930363810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/5985952811930363810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/5985952811930363810'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/how-to-install-anvil-on-ubuntu-804.html' title='How to install Anvil on Ubuntu 8.04 Hardy Heron'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-6898801670788266995</id><published>2008-08-14T09:20:00.000-07:00</published><updated>2008-08-14T09:26:29.714-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>How to fix /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)</title><content type='html'>After I ran &lt;span style=&quot;font-weight: bold;&quot;&gt;sudo gem update --system&lt;/span&gt; on Ubuntu 8.04 Hardy Heron, gem returns &lt;blockquote&gt;/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)&lt;/blockquote&gt; when I run it.&lt;br /&gt;&lt;br /&gt;The fix is very easy: Just add one line &lt;span style=&quot;font-weight: bold;&quot;&gt;require &#39;rubygems/gem_runner&#39;&lt;/span&gt; to /usr/bin/gem.</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/6898801670788266995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/6898801670788266995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/6898801670788266995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/6898801670788266995'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/how-to-fix-usrbingem23-uninitialized.html' title='How to fix /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-9153522938219811549</id><published>2008-08-11T11:00:00.000-07:00</published><updated>2008-08-26T22:28:29.355-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="filesystem"/><title type='text'>bootlace.com produces Error: Invalid partition table. Must specify --floppy explicitly for floppy.</title><content type='html'>I wrote a script to drive &lt;span style=&quot;font-weight: bold;&quot;&gt;parted&lt;/span&gt; to prepare an USB disk bootable. When my script tried to install &lt;span style=&quot;font-weight: bold;&quot;&gt;grub4dos &lt;/span&gt;with bootlace.com, it produced this error message:&lt;br /&gt;&lt;blockquote&gt;Error: Invalid partition table. Must specify --floppy explicitly for floppy.&lt;br /&gt;&lt;br /&gt;BOOTLACE writes GRLDR BOOT RECORD to MBR or to the boot area of a file system.&lt;br /&gt;Usage:  bootlace.com  [OPTIONS]  DEVICE_OR_FILE&lt;br /&gt;Options: --read-only, --floppy[=N], --boot-prevmbr-first, --boot-prevmbr-last,&lt;br /&gt;--no-backup-mbr, --force-backup-mbr, --mbr-enable-floppy, --mbr-disable-floppy,&lt;br /&gt;--mbr-enable-osbr, --mbr-disable-osbr, --duce, --time-out=T, --hot-key=K,&lt;br /&gt;--preferred-drive=D, --preferred-partition=P, --sectors-per-track=S, --heads=H,&lt;br /&gt;--start-sector=B, --total-sectors=C, --install-partition=I, --lba, --chs,&lt;br /&gt;--fat12, --fat16, --fat32, --vfat, --ntfs, --ext2&lt;br /&gt;DEVICE_OR_FILE: Filename of the device or image. For DOS, a BIOS drive number&lt;br /&gt;(in hex 0xHH or decimal DDD format)can be used to access the drive.&lt;/blockquote&gt;I was wondering what was wrong and it took me several hours in finding the answer on google. However I could not find an answer to this problem.&lt;br /&gt;&lt;br /&gt;Then I deleted the partition which was created by my script and created the partition again with gparted. Viola! &lt;span style=&quot;font-weight: bold;&quot;&gt;sudo ./bootlace.com /dev/sdb&lt;/span&gt; returned a success message to me. I noted down the start and end sectors of the working partition and compared them with the one which was created by my script. I found the start secter is 63 on the working partition while the bad one which was created by my script is 1. This is the culprit that my script assigned the first track to a primary partition and it is the reason why bootlace complained about it. &lt;span style=&quot;font-style: italic;&quot;&gt;MBR is always on the first track, and there are 64 sectors per track&lt;/span&gt;. I have learned it in a Computer Architechture lesson in University several years ago. I should have recalled it earlier.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:180%;&quot;&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;The solution:&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;font-weight: bold;&quot;&gt;sudo parted --script /dev/sdb mkpart primary ntfs 63s #{size}&lt;/span&gt;&lt;br /&gt;The above line is the modified command in my script. The start sector has been modified from 0 to 63, and bootlace.com is happy to install grub4dos for me now.</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/9153522938219811549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/9153522938219811549' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/9153522938219811549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/9153522938219811549'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/bootlacecom-produces-error-invalid.html' title='bootlace.com produces Error: Invalid partition table. Must specify --floppy explicitly for floppy.'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-5172113529725828795</id><published>2008-08-09T09:45:00.000-07:00</published><updated>2008-08-11T11:37:20.901-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="multimedia"/><title type='text'>mplayer no video with ATI fglrx driver</title><content type='html'>After I have installed Gmlive, I found mplayer doesn&#39;t render any video output. My graphic card is ATI Radeon X1600, and the driver for this graphic card is the default proprietary driver shipped with Ubuntu 8.04 Hardy Heron.&lt;br /&gt;&lt;br /&gt;It is the relevant error message of mplayer:&lt;br /&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;&quot;&gt;gnome_screensav&lt;wbr&gt;er_control(&lt;wbr&gt;)It seems there is no Xvideo support for your video card available.&lt;br /&gt;Run &#39;xvinfo&#39; to verify its Xv support and read DOCS/HTML/&lt;wbr&gt;en/video.&lt;wbr&gt;html#xv!&lt;br /&gt;See &#39;mplayer -vo help&#39; for other (non-xv) video out drivers. Try -vo x11&lt;br /&gt;Error opening/&lt;wbr&gt;initializing the selected video_out (-vo) device.&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;The solution is quite simple. Just edit &lt;span style=&quot;font-weight: bold;&quot;&gt;/etc/X11/xorg.conf&lt;/span&gt; and add the red-colored line (&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Option &quot;TexturedVideo&quot; &quot;on&quot;&lt;/span&gt;) to the Device section.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;&quot;&gt;&lt;br /&gt;Section &quot;Device&quot;&lt;br /&gt;Identifier  &quot;Configured Video Device&quot;&lt;br /&gt;Driver      &quot;fglrx&quot;&lt;br /&gt;Option     &quot;PowerState&quot; &quot;1&quot;&lt;br /&gt;Option     &quot;OpenGLOverlay&quot; &quot;off&quot;&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;Option     &quot;TexturedVideo&quot; &quot;on&quot;&lt;/span&gt;&lt;br /&gt;BusID       &quot;PCI:1:0:0&quot;&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;Restart X-Window or reboot, and then mplayer should play any video seamlessly.</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/5172113529725828795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/5172113529725828795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/5172113529725828795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/5172113529725828795'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/mplayer-no-video-with-ati-fglrx-driver.html' title='mplayer no video with ATI fglrx driver'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-2099884897230929010</id><published>2008-08-09T04:23:00.000-07:00</published><updated>2008-08-09T06:11:13.973-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="multimedia"/><title type='text'>How to install gmlive on Ubuntu to watch P2P TV and videos</title><content type='html'>Gmlive is a software which supports mms, sopcast, nslive P2P TV and stream video. I found this project when I was looking for pplive for linux. pplive is another windows only P2P TV software which a lot of people has recommended to me. I am installing this because of I missed the Beijing 2008 Olympic opening and someone told me that the last scene of igniting the Olympic torch is amazing.&lt;br /&gt;&lt;br /&gt;This following is how to install gmlive on Ubuntu 8.04 Hardy Heron:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;download gmlive here &lt;a href=&quot;http://code.google.com/p/gmlive/&quot;&gt;http://code.google.com/p/gmlive/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;install dependencies&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;&quot;&gt;sudo aptitude install &lt;span class=&quot;postbody&quot;&gt;intltool &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;libglibmm-2.4-1c2a &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;libglibmm-2.4-dev &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;libxml2 &lt;/span&gt;&lt;span class=&quot;postbody&quot;&gt;libxml2-dev &lt;/span&gt;libgtkmm-2.4-dev libglademm-2.4&lt;/pre&gt;&lt;/div&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;compile and install&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 100px; text-align: left;&quot;&gt;tar xf gmlive-0.20.3.tar.bz2&lt;br /&gt;cd gmlive-0.20.3&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;type gmlive and enjoy&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/2099884897230929010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/2099884897230929010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/2099884897230929010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/2099884897230929010'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/how-to-install-gmlive-on-ubuntu-to.html' title='How to install gmlive on Ubuntu to watch P2P TV and videos'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-6297816968463121386</id><published>2008-08-09T00:38:00.000-07:00</published><updated>2008-08-09T00:54:08.745-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><title type='text'>How to mount a kvm and qemu disk image file</title><content type='html'>It is an easy task to mount a kvm/qemu disk image. The magic is the &lt;span style=&quot;font-weight: bold;&quot;&gt;offset=32256&lt;/span&gt; parameter. However this magic only works on raw format disk image. If the image is in qcow or qcow2 format, you need to convert it to raw format.&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;&quot;&gt;# mount a raw qemu disk image &#39;disk.img&#39; to /mnt&lt;br /&gt;sudo mount -o loop,offset=32256 disk.img /mnt&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/span&gt;This is an example of converting a qcow image to a raw image. Only do it if the image format is not raw.&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;&quot;&gt;# convert image format&lt;br /&gt;qemu-img convert -f qcow disk.img -O raw disk.raw&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/span&gt;If you are unsure about the image format, you may type this command to figure it out.&lt;br /&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;&quot;&gt;#use qemu-img info &lt;file&gt; to get the virtual disk format information&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;qemu-img info disk.img&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;image: disk.img&lt;br /&gt;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;file format: raw&lt;/span&gt;&lt;br /&gt;virtual size: 1.0G (1073741824 bytes)&lt;br /&gt;disk size: 866M&lt;br /&gt;&lt;/file&gt;&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/6297816968463121386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/6297816968463121386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/6297816968463121386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/6297816968463121386'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/how-to-mount-kvm-and-qemu-disk-image.html' title='How to mount a kvm and qemu disk image file'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-1971186445531046361</id><published>2008-08-08T09:13:00.000-07:00</published><updated>2008-08-09T00:37:49.433-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><title type='text'>How to Enable USB devices in VMware server</title><content type='html'>&lt;span style=&quot;font-size:100%;&quot;&gt;In my memory, VMware workstation grabs USB devices automatically, and it works every time as long as the USB device is not claimed by the Linux host kernel driver. I have just installed VMware server tonight and I was trying to attache my USB stick to VMware client, however VM-&gt;Removeable Devices-&gt;USB Devices shows Empty; it has detected nothing! And then I spent 3 hours in googling the answer.&lt;br /&gt;&lt;br /&gt;The following is how I solved this problem on Ubuntu 8.04 Hardy Heron:&lt;br /&gt;&lt;br /&gt;1. edit /etc/fstab and add this line&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;&quot;&gt;# USB for vmware&lt;br /&gt;none /proc/bus/usb usbfs devgid=46,devmode=664 0 0&lt;br /&gt;&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;2. edit /etc/init.d/mountdevsubfs.sh and uncomment these &lt;span style=&quot;font-weight: bold;&quot;&gt;4 lines&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:100%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;&quot;&gt;#&lt;br /&gt;# Magic to make /proc/bus/usb work&lt;br /&gt;#&lt;br /&gt;mkdir -p /dev/bus/usb/.usbfs&lt;br /&gt;domount usbfs &quot;&quot; /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644&lt;br /&gt;ln -s .usbfs/devices /dev/bus/usb/devices&lt;br /&gt;mount --rbind /dev/bus/usb /proc/bus/usb&lt;br /&gt;&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;span style=&quot;font-size:100%;&quot;&gt;&lt;br /&gt;3. reboot&lt;br /&gt;&lt;br /&gt;4. &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family:Times New Roman;&quot;&gt;You need to do this step when your guest is turned off. In the VMware server window click &quot;Edit virtual machine settings&quot; -&gt; Click &quot;Add&quot; in the lower left -&gt; Select usb controller -&gt; click finish.&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;5. Start your guest and click &lt;span style=&quot;font-family:Times New Roman;&quot;&gt;VM -&gt; Removable devices -&gt; USB devices -&gt; Select the USB device which you want to access in your guest&lt;br /&gt;&lt;br /&gt;This works for me and should work with all modern Linux distributions with a tiny bit of change.&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/1971186445531046361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/1971186445531046361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/1971186445531046361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/1971186445531046361'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/how-to-enable-usb-devices-in-vmware.html' title='How to Enable USB devices in VMware server'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-229191128187547457.post-147791592859717915</id><published>2008-08-08T08:33:00.000-07:00</published><updated>2008-08-09T00:38:00.756-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><title type='text'>Install VMware on Ubuntu 8.04 Hardy Heron</title><content type='html'>&lt;span style=&quot;font-size:130%;&quot;&gt;Since &lt;a href=&quot;http://en.wikipedia.org/wiki/Automatix_%28software%29&quot;&gt;Automatix&lt;/a&gt; is no longer active, I can&#39;t install VMware on my Ubuntu laptop by just a few clicks anymore. I am really sad about the discontinue of such a nice piece of software. This is how I installed VMware Server 1.06 manually. It may also work with VMware Workstation and VMware Player.&lt;br /&gt;&lt;br /&gt;1. Prepare the environment&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;&quot;&gt;sudo apt-get install build-essential linux-headers-`uname -r` xinetd ia32-libs&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;2. Download VMware&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;VMWare server : &lt;a href=&quot;http://www.vmware.com/download/server/&quot; target=&quot;_blank&quot;&gt;http://www.vmware.com/download/server/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;VMware player: &lt;a href=&quot;http://www.vmware.com/download/player/&quot;&gt;http://www.vmware.com/download/player/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;VMware workstation: &lt;a href=&quot;http://www.vmware.com/products/ws/&quot;&gt;http://www.vmware.com/products/ws/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;VMWare serial number : &lt;a href=&quot;http://register.vmware.com/content/registration.html&quot; target=&quot;_blank&quot;&gt;http://register.vmware.com/content/registration.html&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;3. Decompress the downloaded tar.gz file&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 100px; text-align: left;&quot;&gt;cd /usr/src&lt;br /&gt;sudo tar xzf /tmp/VMware-server-1.0.6-91891.tar.gz&lt;br /&gt;&lt;br /&gt;cd vmware-server-distrib&lt;br /&gt;sudo ./vmware-install.pl&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;br /&gt;4. Enter the serial number during installation.&lt;br /&gt;&lt;br /&gt;5. Copy the lib files&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;&quot;&gt;sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1&lt;br /&gt;sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;&lt;br /&gt;6. 64-bit system only (You don&#39;t need this step if you are doing it on an i386 computer)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:Times New Roman;font-size:130%;&quot;  &gt;&lt;div style=&quot;margin: 5px 20px 20px;&quot;&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 100px; text-align: left;&quot;&gt;sudo ln -s /usr/lib32 /usr/l32&lt;br /&gt;sudo sed -i -e &#39;s:usr/lib/:usr/l32/:g&#39;  /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders&lt;br /&gt;sudo sed -i -e &#39;s:usr/lib/:usr/l32/:g&#39; /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9&lt;/pre&gt; &lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-size:130%;&quot;&gt;Now Vmware is ready. Enjoy!!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxified-tips.blogspot.com/feeds/147791592859717915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/229191128187547457/147791592859717915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/147791592859717915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/229191128187547457/posts/default/147791592859717915'/><link rel='alternate' type='text/html' href='http://linuxified-tips.blogspot.com/2008/08/install-vmware-on-ubuntu-804-hardy.html' title='Install VMware on Ubuntu 8.04 Hardy Heron'/><author><name>Jerry</name><uri>http://www.blogger.com/profile/05172373798952619600</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://1.bp.blogspot.com/-sUOlYULK4YU/TrkRpsQTUEI/AAAAAAAAAMs/yP6G5wIuEO4/s220/h.jpg'/></author><thr:total>0</thr:total></entry></feed>