<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tekoholic</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tekoholic"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Tekoholic"/>
	<updated>2026-07-21T23:04:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=GPT&amp;diff=28954</id>
		<title>GPT</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=GPT&amp;diff=28954"/>
		<updated>2011-11-05T01:09:06Z</updated>

		<summary type="html">&lt;p&gt;Tekoholic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
If you want to create partitions larger than 2TB you&#039;ll have to use GTP partitioning system instead of classical MBR. Note that you BIOS knows only MBR partitioning schema and will not likely boot from a GTP partition.  You cannot mix GTP and MBR partitions on a single drive so drives larger than 2TB will need to be completely GTP and will be non-bootable; you will need a separate hard drive that contains the system.&lt;br /&gt;
&lt;br /&gt;
--forgive me, but this is no longer accurate.  I&#039;ve got some pretty old gear around here, and NOT ONE of my systems has any trouble booting to GPT (as opposed to &amp;quot;GTP&amp;quot;) mbr... --tekoholic&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Creating Partitions ==&lt;br /&gt;
You&#039;ll need to use parted to create the partitions since fdisk only know to work with MBR. The next command will open a parted shell, you&#039;ll need to replace /dev/sda with the drive that you want to partition.&lt;br /&gt;
 parted /dev/sda&lt;br /&gt;
&lt;br /&gt;
The next commands should be typed int the parted shell.&lt;br /&gt;
&lt;br /&gt;
WARNING: By running this commands you will delete you partition schema and won&#039;t be able to access the information that was stored on the disk (if any).&lt;br /&gt;
 (parted) mklabel gpt                   &amp;lt;-- This one creates a empty partition table on the disk&lt;br /&gt;
&lt;br /&gt;
 (parted) print                         &amp;lt;-- List some information about the current partition table, size of the disc&lt;br /&gt;
&lt;br /&gt;
 (parted) mkpart primary 0 3000GB       &amp;lt;--- Creates a partition starting from the beginning trough the 3000GB location&lt;br /&gt;
 (parted) mkpart primary 3000GB 5000GB  &amp;lt;--- Creates another partition starting from the 3000GB locations to the 5000GB location&lt;br /&gt;
&lt;br /&gt;
 (parted) quit                          &amp;lt;-- Exit the parted shell&lt;br /&gt;
&lt;br /&gt;
After doing the previous command, you should have created two partitions, a 3TB and a 2TB one. In order for udev to create /dev/sda1 and /dev/sda2 devices associated with the partitions, you need to run the next command or reboot your computer:&lt;br /&gt;
 partprobe /dev/sda&lt;br /&gt;
== Formating the Partitions ==&lt;br /&gt;
Except of partition creation you won&#039;t see any difference between GPT and MBR in linux. So for formatting you can do it the same way as you would format  any other discs. For example:&lt;br /&gt;
 mkfs.ext3 /dev/sda1&lt;br /&gt;
== Resize Partition Table ==&lt;br /&gt;
If you partitioned a raid array with GPT and you later increased the size by adding more disks you must run parted again on that drive and tell it to use all available space. A simple &#039;print&#039; command in parted will use the warning message to which you you need to answe &#039;F&#039;.&lt;br /&gt;
 # parted /dev/sda&lt;br /&gt;
&lt;br /&gt;
 (parted) print&lt;br /&gt;
 Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all &lt;br /&gt;
 of the space (an extra 1953103872 blocks) or continue with the current setting? &lt;br /&gt;
 Fix/Ignore? F&lt;br /&gt;
== Resize Existing Partitions ==&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039; &amp;lt;span style=&amp;quot;color: #700&amp;quot;&amp;gt;Parted has some known bugs in both Ubuntu 0710 and LinuxMCE that will prevent resizing of a ext3 partition. Until this bugs get fixed the next instruction are here just for information purpose.&amp;lt;/span&amp;gt;&lt;br /&gt;
Parted can also resize an existing partition to fill some unused space that you added. Before trying doing the partition resize check first that you partition is umounted and that it the filesystem on it is fine. Parted will complain about mounted partitions or inconsistent filesystem anyway.&lt;br /&gt;
&lt;br /&gt;
For example, let&#039;s take a 5000GB drive that has a 4000GB ext3 partition on it.&lt;br /&gt;
 (parted) print               &lt;br /&gt;
 Model: AMCC 9650SE-16M DISK (scsi)&lt;br /&gt;
 Disk /dev/sda: 5000GB&lt;br /&gt;
 Sector size (logical/physical): 512B/512B&lt;br /&gt;
 Partition Table: gpt&lt;br /&gt;
 &lt;br /&gt;
 Number  Start   End     Size    File system  Name     Flags&lt;br /&gt;
  1      17.4kB  4000GB  4000GB  ext3         primary&lt;br /&gt;
&lt;br /&gt;
To resize that partition, you need to use the &#039;&#039;resize&#039;&#039; parted command which has the fallowing syntax :&lt;br /&gt;
 resize &amp;lt;partition_no&amp;gt; &amp;lt;new_start&amp;gt; &amp;lt;new_end&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To transform the partition from our example from 4000GB to 5000GB :&lt;br /&gt;
 (parted) resize 1 0GB 5000GB&lt;/div&gt;</summary>
		<author><name>Tekoholic</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Bluetooth_Proximity_Setup&amp;diff=28953</id>
		<title>Bluetooth Proximity Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Bluetooth_Proximity_Setup&amp;diff=28953"/>
		<updated>2011-11-05T00:59:25Z</updated>

		<summary type="html">&lt;p&gt;Tekoholic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Versioninfo}}&lt;br /&gt;
[[Category: Tutorials| ]]&lt;br /&gt;
[[Category: Bluetooth]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;I will clean this up and make it a full how-to later, just wanted to get this out there for now, feel free to beat me to the clean-up&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Using the bluetooth signal from a phone or some other device that you routinely carry in your pocket, the computer can automatically detect when you enter and leave the room (or at least the general vicinity)&lt;br /&gt;
*This method isn&#039;t so good when multiple Media Directors are being used, because bluetooth can only connect and monitor signal strength between one pair at a time&lt;br /&gt;
#Upon insertion of the bluetooth dongle, MCE should automatically recognize it and set bluetooth up for you&lt;br /&gt;
#After this, it may ask to reload, regen, etc&lt;br /&gt;
#If any bluetooth devices are in the area and visible, MCE will ask you if you want to use them, etc&lt;br /&gt;
#My phone is not supported as a mobile orbiter, so I clicked &amp;quot;do not use&amp;quot;&lt;br /&gt;
#Once all that is done and the dongle is setup, go to the KDE desktop&lt;br /&gt;
#Web Admin &amp;gt; Wizard &amp;gt; Devices &amp;gt; Security&lt;br /&gt;
#Click &amp;quot;Add Device&amp;quot;&lt;br /&gt;
#Under Device Template, select &amp;quot;Generic Sensor&amp;quot; and click &amp;quot;Pick Device Template&amp;quot;&lt;br /&gt;
#Select &amp;quot;Bedroom(Master)&amp;quot; from the drop down menu on the left&lt;br /&gt;
#Click Update at the bottom&lt;br /&gt;
#Make note of the device number at the top left corner&lt;br /&gt;
#In terminal run &#039;sudo apt-get install blueproximity&#039;&lt;br /&gt;
#Run BlueProximity by going to K menu &amp;gt; Applications &amp;gt; Utilities &amp;gt; BlueProximity&lt;br /&gt;
#Right click the BlueProximity icon (bluetooth icon with key) and click preferences&lt;br /&gt;
#Put your bluetooth phone or device in discoverable/visible mode (See device&#039;s documentation)&lt;br /&gt;
#Click on &amp;quot;Scan for Devices&amp;quot;&lt;br /&gt;
#When it has finished scanning, click the desired device and then &amp;quot;Use Selected Device&amp;quot;&lt;br /&gt;
#A pairing request should then appear on the phone, accept it and enter a passkey&lt;br /&gt;
#Enter that same pass key on the computer when it asks&lt;br /&gt;
#If your phone gives the option, choose &amp;quot;Always Connect&amp;quot; (This will automatically connect the phone and media center when they are in range of each other)&lt;br /&gt;
#The sliders in the &amp;quot;Proximity Details&amp;quot; tab can be adjusted to the proper settings for being outside the room (Locking) and inside the room (Unlocking)...this takes some trial and error to get the right setting, but be patient and it will work&lt;br /&gt;
#In the &amp;quot;Locking&amp;quot; tab, replace the &amp;quot;Locking command&amp;quot; with &amp;quot;/usr/pluto/bin/MessageSend localhost &#039;&#039;&#039;62&#039;&#039;&#039; -1000 2 9 25 0&amp;quot; replacing 62 with the device code of the generic sensor you created&lt;br /&gt;
#Replace the &amp;quot;Unlocking command&amp;quot; with &amp;quot;/usr/pluto/bin/MessageSend localhost &#039;&#039;&#039;62&#039;&#039;&#039; -1000 2 9 25 1&amp;quot; again replacing 62 with the device code of the generic sensor&lt;br /&gt;
#Erase the &amp;quot;Proximity Command&amp;quot;&lt;br /&gt;
#The generic sensor will now be tripped when the phone is in range, and untripped when it is out of range&lt;br /&gt;
#Web Admin &amp;gt; Events Handler &amp;gt; Respond to Events&lt;br /&gt;
#Set the description to &amp;quot;Bluetooth enters room&amp;quot;&lt;br /&gt;
#Choose &amp;quot;A sensor is Tripped&amp;quot; in the drop down menu&lt;br /&gt;
#Click Add&lt;br /&gt;
#Set what device to &amp;quot;= Generic Sensor&amp;quot;&lt;br /&gt;
#Set trigger state to &amp;quot;tripped = 1&amp;quot;&lt;br /&gt;
#Click update&lt;br /&gt;
#Choose &amp;quot;Lighting Wizard&amp;quot; from the drop down and select the lights you would like to turn on/off/set level/leave unchanged when you enter the room&lt;br /&gt;
#Repeat the last 8 steps, with the description &amp;quot;Bluetooth leaves room&amp;quot; and the trigger state &amp;quot;tripped = 0&amp;quot; for the lights you want to turn on/off, etc when you leave the room&lt;br /&gt;
#After a reload router/orbiter regen...and possibly a full reboot...you should have proximity set up for you to leave the room and come back in&lt;br /&gt;
#Fine tune the sliders in BlueProximity to avoid lights turning off unintentionally&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apparently, blueproximity is not supported by developer since 2008, and in (K)Ubuntu 10.04 has lost the basis for it&#039;s capabilities.  Lucid is not able to determine signal strength for bluetooth, by way of past or presently known methods, unfortunately.  With 10.04, unfortunately, you&#039;re either connected or not, by all available info.&lt;br /&gt;
--tekoholic, November 04, 2011&lt;/div&gt;</summary>
		<author><name>Tekoholic</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Bluetooth_Proximity_Setup&amp;diff=28952</id>
		<title>Bluetooth Proximity Setup</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Bluetooth_Proximity_Setup&amp;diff=28952"/>
		<updated>2011-11-05T00:57:04Z</updated>

		<summary type="html">&lt;p&gt;Tekoholic: Broken in 1004, due to bluetooth code rewrite (or regression, as the case may be).&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Versioninfo}}&lt;br /&gt;
[[Category: Tutorials| ]]&lt;br /&gt;
[[Category: Bluetooth]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;I will clean this up and make it a full how-to later, just wanted to get this out there for now, feel free to beat me to the clean-up&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*Using the bluetooth signal from a phone or some other device that you routinely carry in your pocket, the computer can automatically detect when you enter and leave the room (or at least the general vicinity)&lt;br /&gt;
*This method isn&#039;t so good when multiple Media Directors are being used, because bluetooth can only connect and monitor signal strength between one pair at a time&lt;br /&gt;
#Upon insertion of the bluetooth dongle, MCE should automatically recognize it and set bluetooth up for you&lt;br /&gt;
#After this, it may ask to reload, regen, etc&lt;br /&gt;
#If any bluetooth devices are in the area and visible, MCE will ask you if you want to use them, etc&lt;br /&gt;
#My phone is not supported as a mobile orbiter, so I clicked &amp;quot;do not use&amp;quot;&lt;br /&gt;
#Once all that is done and the dongle is setup, go to the KDE desktop&lt;br /&gt;
#Web Admin &amp;gt; Wizard &amp;gt; Devices &amp;gt; Security&lt;br /&gt;
#Click &amp;quot;Add Device&amp;quot;&lt;br /&gt;
#Under Device Template, select &amp;quot;Generic Sensor&amp;quot; and click &amp;quot;Pick Device Template&amp;quot;&lt;br /&gt;
#Select &amp;quot;Bedroom(Master)&amp;quot; from the drop down menu on the left&lt;br /&gt;
#Click Update at the bottom&lt;br /&gt;
#Make note of the device number at the top left corner&lt;br /&gt;
#In terminal run &#039;sudo apt-get install blueproximity&#039;&lt;br /&gt;
#Run BlueProximity by going to K menu &amp;gt; Applications &amp;gt; Utilities &amp;gt; BlueProximity&lt;br /&gt;
#Right click the BlueProximity icon (bluetooth icon with key) and click preferences&lt;br /&gt;
#Put your bluetooth phone or device in discoverable/visible mode (See device&#039;s documentation)&lt;br /&gt;
#Click on &amp;quot;Scan for Devices&amp;quot;&lt;br /&gt;
#When it has finished scanning, click the desired device and then &amp;quot;Use Selected Device&amp;quot;&lt;br /&gt;
#A pairing request should then appear on the phone, accept it and enter a passkey&lt;br /&gt;
#Enter that same pass key on the computer when it asks&lt;br /&gt;
#If your phone gives the option, choose &amp;quot;Always Connect&amp;quot; (This will automatically connect the phone and media center when they are in range of each other)&lt;br /&gt;
#The sliders in the &amp;quot;Proximity Details&amp;quot; tab can be adjusted to the proper settings for being outside the room (Locking) and inside the room (Unlocking)...this takes some trial and error to get the right setting, but be patient and it will work&lt;br /&gt;
#In the &amp;quot;Locking&amp;quot; tab, replace the &amp;quot;Locking command&amp;quot; with &amp;quot;/usr/pluto/bin/MessageSend localhost &#039;&#039;&#039;62&#039;&#039;&#039; -1000 2 9 25 0&amp;quot; replacing 62 with the device code of the generic sensor you created&lt;br /&gt;
#Replace the &amp;quot;Unlocking command&amp;quot; with &amp;quot;/usr/pluto/bin/MessageSend localhost &#039;&#039;&#039;62&#039;&#039;&#039; -1000 2 9 25 1&amp;quot; again replacing 62 with the device code of the generic sensor&lt;br /&gt;
#Erase the &amp;quot;Proximity Command&amp;quot;&lt;br /&gt;
#The generic sensor will now be tripped when the phone is in range, and untripped when it is out of range&lt;br /&gt;
#Web Admin &amp;gt; Events Handler &amp;gt; Respond to Events&lt;br /&gt;
#Set the description to &amp;quot;Bluetooth enters room&amp;quot;&lt;br /&gt;
#Choose &amp;quot;A sensor is Tripped&amp;quot; in the drop down menu&lt;br /&gt;
#Click Add&lt;br /&gt;
#Set what device to &amp;quot;= Generic Sensor&amp;quot;&lt;br /&gt;
#Set trigger state to &amp;quot;tripped = 1&amp;quot;&lt;br /&gt;
#Click update&lt;br /&gt;
#Choose &amp;quot;Lighting Wizard&amp;quot; from the drop down and select the lights you would like to turn on/off/set level/leave unchanged when you enter the room&lt;br /&gt;
#Repeat the last 8 steps, with the description &amp;quot;Bluetooth leaves room&amp;quot; and the trigger state &amp;quot;tripped = 0&amp;quot; for the lights you want to turn on/off, etc when you leave the room&lt;br /&gt;
#After a reload router/orbiter regen...and possibly a full reboot...you should have proximity set up for you to leave the room and come back in&lt;br /&gt;
#Fine tune the sliders in BlueProximity to avoid lights turning off unintentionally&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Apparently, blueproximity is not supported by developer since 2008, and in (K)Ubuntu 10.04 has lost the basis for it&#039;s capabilities.  Lucid is not able to determine signal strength for bluetooth, by way of past or presently known methods, unfortunately.  With 10.04, unfortunately, you&#039;re either connected or not, by all available info.&lt;/div&gt;</summary>
		<author><name>Tekoholic</name></author>
	</entry>
</feed>