<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="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" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-52571247496292698</atom:id><lastBuildDate>Sat, 28 Sep 2024 20:56:26 +0000</lastBuildDate><category>Informatique</category><category>Debugging</category><category>Information générale</category><category>Script</category><category>Windows XP</category><category>powercli</category><category>vmware</category><category>GPS</category><category>Photographie</category><category>Windows 7</category><title>Geek Dav</title><description></description><link>http://geekdav.blogspot.com/</link><managingEditor>noreply@blogger.com (Unknown)</managingEditor><generator>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-8815895493916661908</guid><pubDate>Mon, 20 May 2013 09:27:00 +0000</pubDate><atom:updated>2013-05-23T19:19:34.073+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Informatique</category><category domain="http://www.blogger.com/atom/ns#">powercli</category><category domain="http://www.blogger.com/atom/ns#">Script</category><category domain="http://www.blogger.com/atom/ns#">vmware</category><title>POWERCLI: list vMotion, Storage vMotion, and who triggered it</title><description>A few months ago, I started in a new company. After an audit of their VMware infrastructure, I was very surprised to discover that DRS was disabled.
The reason was that they were afraid of too much VMs moving, or doing ping-pong between hosts. Moreover, they never investigated the possibility of DRS rules.
&lt;br /&gt;
&lt;br /&gt;
So in order to improve the inventory, I had to convince them to activate DRS.
&lt;br /&gt;
&lt;br /&gt;
The first thing I suggested was to introduce DRS rules. Indeed, there was clustered VMs, so it is better to split them on different hosts.
Moreover, as we had a double room datacenter, it was even better to have one node in each room.
&lt;br /&gt;
We had also some VMs that must run together.
&lt;br /&gt;
&lt;br /&gt;
Secondly, I had to convince them that VMs will not move so much. So I suggested to monitor all the VMotions, and generate some alerts in the Nagios console:
&lt;br /&gt;
- a warning for more than 10 vmotions in the last 24 hours
&lt;br /&gt;
- a critcal for more than 20 vmotions in the last 24 hours
&lt;br /&gt;
&lt;br /&gt;
I also proposed to keep a trace of all the vMotions in a database, so we could do reporting in our SQLReporting Dashboard.
But I needed a script to collect the vMotions data. I found one on Alan Remouf&#39;s blog: &lt;a href=&quot;http://www.virtu-al.net/2012/09/20/vmotion-and-svmotion-details-with-powercli/&quot;&gt;http://www.virtu-al.net/2012/09/20/vmotion-and-svmotion-details-with-powercli/&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
But it was not perfect for my needs. So I improved its function. The code is here below. Let me know if you have any comment.
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: ps&quot;&gt;
function Get-VMotionDuration {
&lt;#
.SYNOPSIS
 This function returns the list of VMotions and Storage VMotions that occured during a specified period.
.DESCRIPTION
 This function returns the list of VMotions and Storage VMotions that occured during a specified period.
 You can specify if you want DRS triggered VMotions, manual VMotions or both.
.NOTES 
    File Name   : Get-VMotionDuration.ps1 
    Author      : David Vekemans - based on an original script from  Alan Renouf
 Date        : 17/05/2013
 Version     : 1.00
 History     : 1.00 - 17/05/2013 - Initial release
.LINK
 http://geekdav.blogspot.be/2013/05/powercli-list-vmotion-storage-vmotion.html
 http://www.virtu-al.net/2012/09/20/vmotion-and-svmotion-details-with-powercli/
.PARAMETER Start
 This parameter specify the start date and time of the period to analyze.
 It must be a DATETIME type.
.PARAMETER Finish
 This parameter specify the end date and time of the period to analyze.
 It must be a DATETIME type.
.PARAMETER DaysOfHistory
 This is another way to give the start and end time of the period to analyze.
 This parameter specify the number of days from now to define the start time.
 The default value is 1 day.
 It must be a INTEGER type.
.PARAMETER Type
 This parameter specify the types pf VMotion that you want to display.
 Possible values are :
 DRS - for DRS triggered VMotions
 MANUAL - for any user triggered VMotions
 BOTH - for all VMotions
 Default value is BOTH.
.OUTPUTS
 The output is a special PSobject (or a table of PSobjects) with the following properties:
  VMName             : name of the VM that was moved
  StartTime          : start time of the vMotion
  EndTime            : end time of the vMotion
  Duration           : duration of the vMotion
  SourceHost         : original host of the VM
  DestinationHost    : new host of the VM
  Type               : type of move vMotion or svMotion
  Trigger            : trigger of move : DRS or MANUAL
  User               : admin who triggered the move (only in case of MANUAL)
.INPUTS
 See the paramater list.
.EXAMPLE
 Get-VMotionDuration -DaysOfHistory 3 -Type DRS
 Name            : VM1
 StartTime       : 16/05/2013 11:32:38
 EndTime         : 16/05/2013 11:36:02
 Duration        : 00:03:23.9130000
 SourceHost      : host06.local
 DestinationHost : host07.local
 Type            : vMotion
 Trigger         : DRS
 User            :
 
 Name            : VM2
 StartTime       : 16/05/2013 11:32:39
 EndTime         : 16/05/2013 11:35:54
 Duration        : 00:03:15.8170000
 SourceHost      : host08.local
 DestinationHost : host09.local
 Type            : vMotion
 Trigger         : DRS
 User            :
 
 
 This command will list all the VMotions done by DRS during the last 3 days.
.EXAMPLE
 Get-VMotionDuration -Start (get-date).addhours(-4) -Finish (get-date) -Type Manual
 VMName          : VM3
 StartTime       : 17/05/2013 09:35:56
 EndTime         : 17/05/2013 09:36:53
 Duration        : 00:00:56.8360000
 SourceHost      : host08.local
 DestinationHost : host09.local
 Type            : vMotion
 Trigger         : MANUAL
 User            : DOMAIN\admin_user
 
 
 This command will list all the VMotions done by any admin during the last 4 hours.
.EXAMPLE
 Get-VMotionDuration 1
 VMName          : VM4
 StartTime       : 16/05/2013 11:41:02
 EndTime         : 16/05/2013 11:42:10
 Duration        : 00:01:08.1000010
 SourceHost      : host07.local
 DestinationHost : host09.local
 Type            : vMotion
 Trigger         : DRS
 User            :
 
 VMName          : VM5
 StartTime       : 17/05/2013 09:35:56
 EndTime         : 17/05/2013 09:36:53
 Duration        : 00:00:56.8360000
 SourceHost      : host08.local
 DestinationHost : host09.local
 Type            : vMotion
 Trigger         : MANUAL
 User            : DOMAIN\admin_user
 
 VMName          : VM6
 StartTime       : 17/05/2013 11:25:57
 EndTime         : 17/05/2013 11:27:06
 Duration        : 00:01:09.0300010
 SourceHost      : host09.local
 DestinationHost : host09.local
 Type            : svMotion
 Trigger         : MANUAL
 User            : DOMAIN\admin_user
 
 
 This command will list all the VMotions during the last day.
#&gt;
  [CmdletBinding()]
  param
  (
    [Parameter(Mandatory=$True,
    ParameterSetName=&quot;1&quot;,
    Position=0)]
    [datetime]$Start,
 [Parameter(Mandatory=$True,
    ParameterSetName=&quot;1&quot;,
    Position=1)]
    [datetime]$Finish,
 [Parameter(Mandatory=$True,
    ParameterSetName=&quot;2&quot;,
    Position=0)]
    [int]$DaysOfHistory = 1,
 [Parameter(Mandatory=$False)]
 [ValidateSet(&quot;DRS&quot;,&quot;Manual&quot;,&quot;Both&quot;)]
    [String]$Type=&quot;Both&quot;
  )

  begin {
   write-verbose &quot;Starting function&quot;
 $Type = $Type.toupper()
 if ($DaysOfHistory){
  $Now = Get-Date
  $Start = $Now.AddDays(-$DaysOfHistory)
  $Finish = $Now
 }
 else {
  $DaysOfHistory = ($Finish - $Start).Days
 }
 Write-verbose &quot;Number of days of history is : $DaysOfHistory&quot;
 Write-verbose &quot;Start time is  : $Start&quot;
 Write-verbose &quot;Finish time is  : $Finish&quot;
 $Maxsamples = ($DaysOfHistory+1)*50000
 Write-verbose &quot;Max samples  : $Maxsamples&quot;
 Write-Verbose &quot;Type is : $type&quot;
 $ResultDRS = @()
 $ResultManual = @()
  }

  process {
    write-verbose &quot;Beginning process loop&quot;
 $events = get-vievent -start $Start -finish $Finish -maxsamples $Maxsamples
 if (($Type -eq &quot;DRS&quot;) -or ($Type -eq &quot;BOTH&quot;)) {
  $relocates = $events | where {($_.GetType().Name -eq &quot;TaskEvent&quot;) -and ($_.Info.DescriptionId -eq &quot;Drm.ExecuteVMotionLRO&quot;)}
  foreach($task in $relocates){
   $tEvents = $events | where {$_.ChainId -eq $task.ChainId} | Sort-Object -Property CreatedTime
   if($tEvents.Count){
    $obj = New-Object PSObject -Property @{
       VMName = $tEvents[0].Vm.Name
       Type = &amp;amp;{if($tEvents[0].Host.Name -eq $tEvents[-1].Host.Name){&quot;svMotion&quot;}else{&quot;vMotion&quot;}}
       Trigger = &quot;DRS&quot;
       StartTime = $tEvents[0].CreatedTime
       EndTime = $tEvents[-1].CreatedTime
       Duration = New-TimeSpan -Start $tEvents[0].CreatedTime -End $tEvents[-1].CreatedTime
       SourceHost = $tEvents[0].Host.Name
       DestinationHost = $tEvents[-1].Host.Name
       User = $tEvents[0].UserName
       }
    $ResultDRS+=$obj   
   }
  }
 }
 if (($Type -eq &quot;MANUAL&quot;) -or ($Type -eq &quot;BOTH&quot;)) { 
  $relocates = $events | 
    where {($_.GetType().Name -eq &quot;TaskEvent&quot;) -and (($_.Info.DescriptionId -eq &quot;VirtualMachine.migrate&quot;) -or ($_.Info.DescriptionId -eq &quot;VirtualMachine.relocate&quot;))}
  foreach($task in $relocates){
   $tEvents = $events | where {$_.ChainId -eq $task.ChainId} | Sort-Object -Property CreatedTime
   if($tEvents.Count){
    $obj = New-Object PSObject -Property @{
       VMName = $tEvents[0].Vm.Name
       Type = &amp;amp;{if($tEvents[0].Host.Name -eq $tEvents[-1].Host.Name){&quot;svMotion&quot;}else{&quot;vMotion&quot;}}
       Trigger = &quot;MANUAL&quot;
       StartTime = $tEvents[0].CreatedTime
       EndTime = $tEvents[-1].CreatedTime
       Duration = New-TimeSpan -Start $tEvents[0].CreatedTime -End $tEvents[-1].CreatedTime
       SourceHost = $tEvents[0].Host.Name
       DestinationHost = $tEvents[-1].Host.Name
       User = $tEvents[0].UserName
       }
    $ResultMANUAL+=$obj 
   }
  }
 } 
  }
  
  end {
   write-verbose &quot;Ending function&quot;
 if ($Type -eq &quot;DRS&quot;) {$Result = $ResultDRS}
 if ($Type -eq &quot;MANUAL&quot;) {$Result = $ResultMANUAL}
 if ($Type -eq &quot;BOTH&quot;) {$Result = $ResultDRS + $ResultMANUAL}
 $Result | Select-Object VMName,StartTime,EndTime,Duration,SourceHost,DestinationHost,Type,Trigger,User | Sort-Object -Property StartTime
  }
}
&lt;/pre&gt;</description><link>http://geekdav.blogspot.com/2013/05/powercli-list-vmotion-storage-vmotion.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-5194739291293290891</guid><pubDate>Sat, 11 Jun 2011 11:13:00 +0000</pubDate><atom:updated>2011-06-11T14:13:33.507+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Informatique</category><category domain="http://www.blogger.com/atom/ns#">powercli</category><category domain="http://www.blogger.com/atom/ns#">Script</category><category domain="http://www.blogger.com/atom/ns#">vmware</category><title>POWERCLI: move ESX/ESXi NICs to a physical switch using its name</title><description>Hi all,&lt;br /&gt;I decided to publish on this blog some of my powercli scripts. Google and a lot of blogs already saved me using powercli, so let me share also my experience.&lt;br /&gt;&lt;br /&gt;The code of my scripts is not perfect but it is working.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So let&#39;s start with a recent issue we had in our environment.&lt;br /&gt;All our ESX/ESXi servers are blades. Each of them has 4 NICs.&lt;br /&gt;2 NICs for the VM and 2 NICs for the console. Of course each NIC used for one function is connected to a different Cisco Switch Stack. That allows us to have network redundancy.&lt;br /&gt;&lt;br /&gt;Recently, we had an issue with one of these network stack, so we wanted to move all the active NICs to the second stack. Unfortunately, all our blades are not the same model, and thus the VMNIC teamings are different. So the problem was more complex than just moving all the vmnic0 and vmnic2 as active, and the vmnic1 and vmnic3 as standby.&lt;br /&gt;Hopefully for us, ESX/ESXi provide information on which network switch are connected your NICs, usind CDP (Cisco Discovery Protocol).&lt;br /&gt;&lt;br /&gt;So I wrote this little script. The idea is to give as input part of the name of the network switch you want to keep active. This part of the name must be unique of course. The script will then list all the NICs not connected to this switch and move it as standby.&lt;br /&gt;&lt;br /&gt;So here is the code:&lt;br /&gt;&lt;pre class=&quot;brush: ps&quot;&gt;# $hostlist must contain the list of the hosts on which you want to execute the code&lt;br /&gt;# use any get-vmhost command to fill in this list&lt;br /&gt;&lt;br /&gt;# $objSwitchName must contain a part of the name of the network switch you want to failover the NICs&lt;br /&gt;# this part of the name must be unique for each switch&lt;br /&gt;&lt;br /&gt;$objSwitchName=&quot;SwitchName&quot;&lt;br /&gt;&lt;br /&gt;foreach ($objhost in $hostlist) {&lt;br /&gt;&lt;br /&gt;               # Getting the vSwitches of the host (only 2 in all our servers)&lt;br /&gt;               $objVMVswitch = Get-VirtualSwitch -VMhost $objhost&lt;br /&gt;&lt;br /&gt;               # Put both NICs back active for VM vSwitch&lt;br /&gt;               $objVMteaming = Get-NicTeamingPolicy $objVMVswitch[1]&lt;br /&gt;               $objNic = $objVMteaming.StandbyNic&lt;br /&gt;               Set-NicTeamingPolicy $objVMteaming -MakeNicActive $objNic&lt;br /&gt;&lt;br /&gt;               # Put both NICs back active for ESX console vSwitch&lt;br /&gt;               $objVMteaming = Get-NicTeamingPolicy $objVMVswitch[0]&lt;br /&gt;               $objNic = $objVMteaming.StandbyNic&lt;br /&gt;               Set-NicTeamingPolicy $objVMteaming -MakeNicActive $objNic&lt;br /&gt;&lt;br /&gt;               # Generate an array that contains the list of NICs not connected to $objSwitchName&lt;br /&gt;               # This list is generated using CDP information of the ESX&lt;br /&gt;               $objNicInSwitch = New-Object System.Collections.ArrayList&lt;br /&gt;               $objNicInSwitch.Clear()&lt;br /&gt;               Get-VMHost $objHost |&lt;br /&gt;               %{Get-View $_.ID} |&lt;br /&gt;               %{$esxname = $_.Name; Get-View $_.ConfigManager.NetworkSystem} |&lt;br /&gt;               %{ foreach($physnic in $_.NetworkInfo.Pnic){&lt;br /&gt;                               $pnicInfo = $_.QueryNetworkHint($physnic.Device)&lt;br /&gt;                               foreach($hint in $pnicInfo){&lt;br /&gt;                                 if( $hint.ConnectedSwitchPort.DevId -notlike &quot;*$objSwitchName*&quot; ) {&lt;br /&gt;                                               Write-Host $esxname $physnic.Device&lt;br /&gt;                                               $hint.ConnectedSwitchPort.DevId&lt;br /&gt;                                               $objNicInSwitch.add($physnic.Device)&lt;br /&gt;                                 }&lt;br /&gt;                               }&lt;br /&gt;                 }&lt;br /&gt;               }&lt;br /&gt;    &lt;br /&gt;    # Now we will move to standby the NICs listed in previous step&lt;br /&gt;    # This is a loop that collect the NICs in each vSwitch&lt;br /&gt;    # It checks if the NIC is listed in the array $objNicInSwitch&lt;br /&gt;    # If yes, then it move the NIC to standby&lt;br /&gt;               foreach($phynic in $objNicInSwitch)&lt;br /&gt;               {&lt;br /&gt;               $objVMVswitch = Get-VirtualSwitch -VMhost $objhost&lt;br /&gt;               $objVMteaming = Get-NicTeamingPolicy $objVMVswitch[1]&lt;br /&gt;               $objNic = $objVMteaming.ActiveNic&lt;br /&gt;                               foreach ($teamnic in $objNic)&lt;br /&gt;                               {&lt;br /&gt;                                               write-host $phynic&lt;br /&gt;                                               write-host $teamnic&lt;br /&gt;                                               if ($phynic -eq $teamnic)&lt;br /&gt;                                               {&lt;br /&gt;                                                               Set-NicTeamingPolicy $objVMteaming -MakeNicStandBy $phynic&lt;br /&gt;                                               }&lt;br /&gt;                               }&lt;br /&gt;               $objVMteaming = Get-NicTeamingPolicy $objVMVswitch[0]&lt;br /&gt;               $objNic = $objVMteaming.ActiveNic&lt;br /&gt;                               foreach ($teamnic in $objNic)&lt;br /&gt;                               {&lt;br /&gt;                                               write-host $phynic&lt;br /&gt;                                               write-host $teamnic&lt;br /&gt;                                               if ($phynic -eq $teamnic)&lt;br /&gt;                                               {&lt;br /&gt;                                                               Set-NicTeamingPolicy $objVMteaming -MakeNicStandBy $phynic&lt;br /&gt;                                               }&lt;br /&gt;                               }&lt;br /&gt;               }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;If you have any questions about this code, don&#39;t hesitate to comment the article.</description><link>http://geekdav.blogspot.com/2011/06/powercli-move-esxesxi-nics-to-physical.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-8678775227926230700</guid><pubDate>Wed, 03 Feb 2010 19:51:00 +0000</pubDate><atom:updated>2010-02-03T21:20:53.467+01:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Debugging</category><category domain="http://www.blogger.com/atom/ns#">Information générale</category><title>Update Firmware of your Samsung LED TV</title><description>Since a few months, I bought a Samsung LED TV series 7 (UE46B7000).&lt;br /&gt;&lt;br /&gt;After having a quick look at Samsung&#39;s website, I found that we could update the firmware of the TV. As I always want my products being up to date, I tried directly.&lt;br /&gt;&lt;br /&gt;The process is quite simple : you download the update file from the web, you format a USB key to have it completely empty (I used FAT16), then you launch the downloaded file and you specify to execute the extraction on your USB stick.&lt;br /&gt;&lt;br /&gt;After that, you just plug the key into your TV, go to the Update Firmware menu and... the TV was always telling me &quot;cannot find update files&quot;.&lt;br /&gt;&lt;br /&gt;So I started to search on the web, I found forums speaking about the USB key to use, how to format it : FAT32 instead of default FAT16,...&lt;br /&gt;I tried but it was still not OK.&lt;br /&gt;&lt;br /&gt;Finally, I found the solution ! In fact, when I go in the samsung website of my contry, I can download the firmware for my TV UE46B7000. This firmware is T-CHU7DEUC.&lt;br /&gt;But in fact, this is the wrong firmwware !&lt;br /&gt;Indeed, if you look at the rear of the TV, there is a sticker that specify the model as UE46B7000&lt;span style=&quot;font-weight:bold;&quot;&gt;WP&lt;/span&gt;. And morre over, if you go in the menu &quot;Contact Samsung&quot; on the TV, on the page 2 it says firmware version : T-CHUCIPDEUC.&lt;br /&gt;&lt;br /&gt;So what to do ?&lt;br /&gt;&lt;br /&gt;Well go to Samsung Global Download Center : &lt;a href=&quot;http://www.samsung.com/download/index.aspx?agreement=y&quot;&gt;http://www.samsung.com/download/index.aspx?agreement=y&lt;/a&gt;. From the menu below, browse to find the exact model of your TV. In my case : UE46B7000WP.&lt;br /&gt;Then you are able to download the correct firmware for your TV.&lt;br /&gt;&lt;br /&gt;So I downloaded the file, extract it on the USB key, plug on the TV and perform the upgrade. It worked without any problem !&lt;br /&gt;&lt;br /&gt;CQFD</description><link>http://geekdav.blogspot.com/2010/02/update-firmware-of-your-samsung-led-tv.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-1246976603803290781</guid><pubDate>Sat, 18 Oct 2008 12:44:00 +0000</pubDate><atom:updated>2008-10-18T14:49:45.079+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Information générale</category><category domain="http://www.blogger.com/atom/ns#">Informatique</category><category domain="http://www.blogger.com/atom/ns#">Windows 7</category><title>Windows 7 s&#39;appellera Windows 7</title><description>C&#39;est désormais officiel, la nouvelle version de Windows qui est un développement chez Microsoft s&#39;appellera Windows 7. Pendant longtemps, ca n&#39;étais qu&#39;un nom de code, c&#39;est maintenant le nom définitif.&lt;br /&gt;&lt;br /&gt;Certains d&#39;entre vous feront la remarque que ce n&#39;est pas la septième version mais plutôt la neuvième, d&#39;autre que le build number sera 6.1 (6.0 c&#39;est Vista). Vous avez en effet raison, mais visiblement Microsoft ne s&#39;en soucie guerre...&lt;br /&gt;&lt;br /&gt;On en saura plus dans les prochains mois...&lt;br /&gt;&lt;br /&gt;David</description><link>http://geekdav.blogspot.com/2008/10/windows-7-sappellera-windows-7.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-8496523537037451015</guid><pubDate>Mon, 22 Sep 2008 13:36:00 +0000</pubDate><atom:updated>2008-09-22T15:38:56.366+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Debugging</category><category domain="http://www.blogger.com/atom/ns#">Informatique</category><category domain="http://www.blogger.com/atom/ns#">Windows XP</category><title>Corruption de disque : chkdsk est votre sauveur</title><description>Avant toute chose, retenez ce conseil : toujours éteindre votre ordinateur Windows via le menu « Démarrer -&gt; Eteindre ». Cela vous évitera bien des problèmes. Je constate en effet que la plupart des utilisateurs « lambda » de mon cercle de connaissances ne respectent déjà pas cette simple recommandation. Plus d’une fois, j’ai donc dû les sauver d’une corruption de disque dur.&lt;br /&gt;&lt;br /&gt;Le plus souvent, le résultat de la corruption est un écran bleu avec un code d’arrêt STOP 0x000000ED UNMOUNTABLE_BOOT_VOLUME ou bien STOP: 0x0000007B INACCESSIBLE_BOOT_DEVICE.&lt;br /&gt;Dans ce cas, pour récupérer le disque, un check disk s’avère nécessaire : « chkdsk ». Encore faut-il avoir accès au disque…&lt;br /&gt;&lt;br /&gt;Plusieurs possibilités :&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;1) Le boîtier USB&lt;/span&gt;&lt;br /&gt;Dans ce cas, il vaut faut un 2ème ordinateur, ainsi qu’un boîtier USB supportant la technologie du disque défectueux (IDE ou SATA). Il vous suffit donc de démonter le disque de la machine, de la mettre dans votre boîtier et de connecter le tout au 2ème ordinateur. Windows (XP ou Vista) devrait détecter sans peine ce disque et lui assigner une (ou plusieurs) lettre(s). Il suffit donc d’ouvrir une ligne de commande « cmd.exe » et d’exécuter la commande suivante dans cette fenêtre : CHKDSK &lt;span style=&quot;font-style: italic;&quot;&gt;volume&lt;/span&gt; /F /R (où &lt;span style=&quot;font-style: italic;&quot;&gt;volume&lt;/span&gt; est la lettre du disque/partition système – exemple : &lt;span style=&quot;font-weight: bold;&quot;&gt;F:&lt;/span&gt;). Attention, l’opération peut prendre beaucoup de temps, suivant la taille de votre disque/partition.&lt;br /&gt;Quand l’opération est terminée, il suffit de remettre le disque dans la machine et de la redémarrer. Cela devrait fonctionner. Notez cependant que vous pourriez avoir perdu des données dans la manœuvre. Si le PC ne redémarre pas, il ne vous reste plus qu’à le réinstaller ou à restaurer un backup dont vous disposeriez.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;2) La console de recovery Windows&lt;/span&gt;&lt;br /&gt;Cette méthode nécessite d’avoir à portée de la main un CD d’installation de Windows XP ou Vista. (Je vous explique avec un XP car je n’ai jamais fait l’opération sous Vista). Notons également que cette méthode est assez facile si votre disque est IDE, ou si les pilotes du contrôleur SATA sont présents sur le CD de XP (je recommande donc d’avoir la dernière version du CD XP). Dans le cas contraire, il vous faudra une disquette contenant les pilotes SATA. La méthode utilisée pour générer cette disquette dépends très fort des pilotes, je n’entre donc pas en détail sur ce sujet. Google sera votre ami pour vous aider sur le sujet.&lt;br /&gt;Une fois tous les prérequis disponibles, vous devez démarrer votre ordinateur sur le CD. Le setup va se charger, et vous devez choisir de réparer Windows. Durant le setup, vous devrez appuyer sur F6 si vous avez une disquette avec les pilotes, et ce quand le setup l’affiche en bas de l’écran. Une fois après avoir choisi de réparer Windows, vous allez vous retrouver devant une fenêtre de ligne de commande. Il vous faudra exécuter la commande suivante : CHKDSK &lt;span style=&quot;font-style: italic;&quot;&gt;volume&lt;/span&gt; /P /R (où &lt;span style=&quot;font-style: italic;&quot;&gt;volume&lt;/span&gt; est la lettre du disque/partition système – exemple : &lt;span style=&quot;font-weight: bold;&quot;&gt;C:&lt;/span&gt;).&lt;br /&gt;A nouveau, l’opération peut prendre beaucoup de temps.&lt;br /&gt;Quand l’opération est terminée, il suffit de redémarrer la machine sur son disque. Cela devrait fonctionner. Notez cependant que vous pourriez avoir perdu des données dans la manœuvre. Si le PC ne redémarre pas, essayez d’appliquer la méthode 1. J’ai pu constater qu’il arrive que la méthode 2 ne sache pas corriger toutes les erreurs, alors que la méthode 1 y arrive. Si après tout ça, le PC ne redémarre toujours pas, il ne vous reste plus qu’à le réinstaller ou à restaurer un backup dont vous disposeriez.&lt;br /&gt;&lt;br /&gt;Bon courage,&lt;br /&gt;&lt;br /&gt;David</description><link>http://geekdav.blogspot.com/2008/09/corruption-de-disque-chkdsk-est-votre.html</link><author>noreply@blogger.com (Unknown)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-4682110897042588452</guid><pubDate>Wed, 27 Aug 2008 18:00:00 +0000</pubDate><atom:updated>2008-08-27T20:12:07.399+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">GPS</category><category domain="http://www.blogger.com/atom/ns#">Informatique</category><category domain="http://www.blogger.com/atom/ns#">Photographie</category><title>Geotagging de vos photos</title><description>Amateur de photographie numérique, je mets en ligne mes photos sur Flickr (&lt;a href=&quot;http://www.blogger.com/www.flickr.com&quot;&gt;www.flickr.com&lt;/a&gt;) afin de bénéficier d’un backup externe. Je garde cependant une copie des photos sur DVD et une sur mon disque dur configuré en RAID1.&lt;br /&gt;&lt;br /&gt;Il y a quelque temps, je me suis donc mis au tagging de mes photos. Cela consiste à insérer des mots-clés dans le fichier jpg (je le fais avec Adobe Bridge). Cela permet entre autres à Windows (natif en Vista, addon sur XP) d’indexer mes photos. Il est très facile alors de retrouver toutes les photos avec un mot-clé précis. Par chance, Flickr est compatible avec ces mots-clés, et les tag contenus dans le fichier jpg sont convertis en tag Flickr. J’ai même trouvé un excellent petit programme qui permet de réaliser un synchro des tag entre vos photos en local et Flickr : FlickrMetadataSynchr &lt;a href=&quot;http://www.codeplex.com/FlickrMetadataSynchr&quot;&gt;http://www.codeplex.com/FlickrMetadataSynchr&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Quelques temps plus tard, je me suis dit : poussons le vice jusqu’au bout et pourquoi ne pas géotagger mes photos. Dans ce cas on écrit également dans le fichier jpg les coordonnées de longitude et latitude à laquelle la photo a été prise. Cela permet d’afficher de manière très belle les photos sur une carte dans Flickr.&lt;br /&gt;&lt;br /&gt;Cet été, je me suis donc mis à la tâche. Première étape : trouver un programme gratuit qui me permet d’introduire les coordonnées GPS dans les photos. Il existe plus d’un logiciel sur le marché, mais peu sont gratuits. On peut signaler Robogeo (&lt;a href=&quot;http://www.blogger.com/www.robogeo.com&quot;&gt;www.robogeo.com&lt;/a&gt;) payant ; j’ai trouvé par contre Geotag (&lt;a href=&quot;http://geotag.sourceforge.net/&quot;&gt;http://geotag.sourceforge.net/&lt;/a&gt;) qui est lui gratuit. Ce soft est écrit en java et nécessite les java runtime sur votre machine. Pour écrire dans les fichiers jpg, il se base sur Exiftool (&lt;a href=&quot;http://www.sno.phy.queensu.ca/%7Ephil/exiftool&quot;&gt;http://www.sno.phy.queensu.ca/~phil/exiftool&lt;/a&gt;) qu’il vous faudra également télécharger.&lt;br /&gt;&lt;br /&gt;Ce soft vous permet donc d’entrer les coordonnées à laquelle vos photos on été prises, via une carte sur Google Map. Le logiciel vous permet ensuite de déterminer automatiquement l’altitude ainsi que le nom de la localité, de la province/région/département et du pays sur base des coordonnées GPS introduites. Vous pouvez ensuite copier cette info d’une photo à l’autre.&lt;br /&gt;&lt;br /&gt;Tout ca fonctionne à merveille, sauf quand (comme moi) les photos prises couvrent pas mal de trajet. Il est donc très fastidieux d’introduire les coordonnées… Je me suis donc attelé à automatiser tout ça. Seul prérequis : un GPS qui log les coordonnées où vous vous baladez, log que vous pouvez ensuite télécharger sur votre ordinateur. Vu les prix des GPS avec écran qui vous indiquent la route à suivre, ainsi que le manque d’information concernant leur possibilité de sauver les coordonnées dans un fichier, je ne suis pas trop chaud. Quelques recherches sur Internet aidant, je découvre que je dois me tourner vers un « GPS logger ». Un petit tour sur Ebay, et je découvre un vendeur allemand qui propose un I-Blue 747 (&lt;a href=&quot;http://www.transystem.com.tw/products/index_detail.php?mcat_no=2&amp;amp;cat_no=33&amp;amp;pno=6&amp;amp;ver=en&quot;&gt;http://www.transystem.com.tw/products/index_detail.php?mcat_no=2&amp;amp;cat_no=33&amp;amp;pno=6&amp;amp;ver=en&lt;/a&gt;) pour pas trop cher. A nouveau, quelques recherches me permettent de me rendre compte que ledit GPS logger n’est pas trop mauvais et est à priori compatible avec GPSbabel (voir ci-dessous). Je remporte l’enchère, et quelques jours après, le joujou est chez moi.&lt;br /&gt;&lt;br /&gt;Et là, commence la difficulté ! Mais bonne nouvelle, j’ai trouvé la solution !&lt;br /&gt;Après installation des drivers et de l’application fournie sur le CD, je réussis à faire discuter la chose en Bluetooth avec le PC. Ca fonctionne même avec un logiciel de cartographie. Je teste alors la fonction qui log les coordonnées. Côté GPS tout fonctionne. Il faut alors transférer les données vers le PC. J’ai le choix entre trois formats NMA, KML (google earth) ou CSV. Pas de bol pour moi, Geotag n’accepte pas ces formats mais encore un autre : GPX.&lt;br /&gt;En fait, il existe des dizaines de formats pour ces données. Il faut donc les convertir : GPSbabel (&lt;a href=&quot;http://www.gpsbabel.org/&quot;&gt;http://www.gpsbabel.org/&lt;/a&gt;) semble être la référence. Hop, j’essaie, je convertis, je charge l’info dans Geotag, et là… rien. Le logiciel m’indique qu’il ne trouve pas de correspondances entre les infos venant du GPS, et l’heure de la prise de vue des photos…&lt;br /&gt;Grrrrrrr&lt;br /&gt;C’est encore pire avec le format NMA converti en GPX : la conversion ne réussit même pas. Sur ce je teste d’autres logiciels pour géotagger les photos (dont robogeo) et le problème reste identique. Robogeo est quand même plus parlant : il indique clairement que le fichier de coordonnées ne contient pas de « timestamp ». De fait, j’ouvre le fichier GPX avec notepad, et après vérification du format du fichier, il s’avère que la conversion KML vers GPX ne traite pas correctement les informations temporelles… Que faire ?&lt;br /&gt;J’essaie une autre soft de conversion, même problème. Je commence à regretter mon achat…&lt;br /&gt;&lt;br /&gt;Un petit tour sur le site du fabriquant de mon GPS, et le soft de transfert de données existe en une version plus récente. Je télécharge, j’installe et je recommence mes tests. Toujours rien de fonctionnel pour la conversion KML --&gt; GPX. Mais maintenant, la conversion NMA --&gt; GPX ne se termine plus avec une erreur. Allez hop, je charge le fichier et les photos dans Geotag, et là miracle. Ca fonctionne.&lt;br /&gt;&lt;br /&gt;Super content !&lt;br /&gt;&lt;br /&gt;Petit résumé du matériel nécessaire pour géotagger mes photos :&lt;br /&gt;-    Un appareil photo numérique avec l’heure correctement configurée (un Canon Powershot G5 et un Canon Ixus 30 dans mon cas)&lt;br /&gt;-    Un GPS logger : I-Blue 747&lt;br /&gt;-    Le soft du GPS : Datalog version 2.5 build 104&lt;br /&gt;-    Télécharger le log du GPS en format NMA&lt;br /&gt;-    Convertir le fichier en GPX avec Gpsbabel&lt;br /&gt;-    Geotag pour lire le fichier GPX et faire la correspondance avec l’heure de la prise de vue&lt;br /&gt;-    Exiftool (nécessaire à Geotag) pour écrire les infos dans les fichiers jpg.&lt;br /&gt;-    Google Earth (non obligatoire) pour voir votre trajet loggé par le GPS&lt;br /&gt;-    Le plugin firefox FireUploader pour envoyer vos photos sur Flickr.&lt;br /&gt;&lt;br /&gt;Vous trouverez un exemple de tout ça dans mon répertoire Vacances 2008 : &lt;a href=&quot;http://www.flickr.com/photos/sofya/2803812588/map/?view=everyones&quot;&gt;http://www.flickr.com/photos/sofya/2803812588/map/?view=everyones&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Plus d’info sur le géotagging : &lt;a href=&quot;http://en.wikipedia.org/wiki/Geotagging&quot;&gt;http://en.wikipedia.org/wiki/Geotagging&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Bon amusement avec vos photos,&lt;br /&gt;&lt;br /&gt;David</description><link>http://geekdav.blogspot.com/2008/08/geotagging-de-vos-photos.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-1038182325323815186</guid><pubDate>Mon, 25 Aug 2008 11:48:00 +0000</pubDate><atom:updated>2008-09-05T16:07:25.909+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Debugging</category><category domain="http://www.blogger.com/atom/ns#">Informatique</category><category domain="http://www.blogger.com/atom/ns#">Windows XP</category><title>Mon PC redémarre constamment. Windows ne se charge plus.</title><description>&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Voilà l’appel à l’aide que j’ai reçu d’un membre de ma famille, il y a plusieurs mois.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Je l’invite donc à m’apporter sa machine afin de jeter un œil à la bête.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;La machine tourne Windows XP édition familiale (home edition).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;De fait première constatation, le PC démarre. La barre de chargement Windows apparaît et là, hop reboot. Bien entendu, la personne en question n’est pas capable de m’expliquer une cause potentielle qui aurait mis le PC dans cet état. A ce stade des choses, je n’ai pas encore de soupçons (à la fin de l’analyse, vous verrez que j’ai une conclusion, mais je n’aurai jamais de confirmation d’un éventuel fautif…)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Le problème de Windows XP, est qu’il est configuré pour redémarrer automatiquement en cas d’écran bleu (blue screen). Pas moyen d’avoir dans ce cas le code d’erreur. Vous trouverez sur le net plein de site qui vous expliquent comment désactiver ce redémarrage automatique, à condition que Windows démarre… Ce qui n’est pas mon cas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Heureusement pour moi, Microsoft a prévu la chose. En fait, au démarrage du PC, vous entrez dans le menu « Safe Boot » en pressant la touche F8. Et là dans les options de démarrage avancées, il y a la possibilité de désactiver le redémarrage automatique en cas de problème.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Les sites suivants (en anglais) vous expliquent comment :&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;a href=&quot;http://tomstricks.blogspot.com/2008/08/disable-automatic-restart-on-system.html&quot;&gt;http://tomstricks.blogspot.com/2008/08/disable-automatic-restart-on-system.html&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;a href=&quot;http://www.kevinscrate.com/blog/2007/10/12/turn-off-auto-reboot-in-xp/&quot;&gt;http://www.kevinscrate.com/blog/2007/10/12/turn-off-auto-reboot-in-xp/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Je vous recommande en tous cas de désactiver le redémarrage dès maintenant sur votre système. Ca vous aidera (ou ça aidera toujours quelqu’un).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Une fois ce premier point fixé, la machine reboot et enfin avec « joie », j’ai l’écran bleu qui s’affiche. Le code d’erreur est STOP 0x0000007B Inaccessible Boot Device (Disque boot inaccessible). Voir &lt;a href=&quot;http://support.microsoft.com/kb/324103&quot;&gt;http://support.microsoft.com/kb/324103&lt;/a&gt; pour plus d’info.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Problème symptomatique d’un disque corrompu ou du pilote (driver) du contrôleur disque qui n’est pas présent dans Windows. N’ayant pas plus d’info sur le « comment » de l’apparition du problème, j’opte pour la première piste.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;J’ouvre donc la machine, je démonte le disque. Comme c’est un SATA, je n’ai pas la possibilité de mettre le disque dans un boîtier USB externe ; je le monte donc dans mon PC perso afin de réaliser une vérification du disque (commande « chkdsk »).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Et là, par chance, je ne fais pas attention au démarrage de mon PC. Et ce n’est pas mon disque perso IDE qui boot, mais bien le disque SATA… Je laisse donc charger Windows, persuadé d’avoir un écran bleu. Et non, pas de problème.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Je fais un rapide tour du contenu du disque qui a maintenant démarré, histoire de sauver ce qui est nécessaire, et je constate que le Windows XP présent sur ce disque ne contient aucune donnée utilisateur ni aucun logiciel additionnel. A partir de ce moment, je suppose que l’erreur vient bien du pilote du contrôleur SATA. Quelqu’un peu compétent a du vouloir réinstaller la machine, mais pas de bol, l’image utilisée ne convenait pas pour le hardware (mais évidemment, on ne me l’a jamais avoué).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Le problème étant cerné, passons à la résolution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Inconvénient majeur, je ne connais pas le type de contrôleur SATA, donc je ne sais quel driver télécharger. Donc, si ce n’est à part réinstaller Windows proprement, que faire me direz vous ? La manipulation que j’ai faite, quoique longue, s’est avérée complètement fonctionnelle.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Première étape :&lt;/span&gt; copier le disque SATA sur un disque IDE. Je ne me rappelle plus si je l’ai fait sur mon PC perso ou l’autre, mais la méthode est identique.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Le matériel nécessaire est : une disque IDE de capacité suffisante et que l’on peut effacer, ainsi que CD bootable d’un logiciel de backup par image (Norton Ghost,…).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;La solution peut sans doute être également réalisée avec un CD linux bootable (Knoppix,…) mais je ne peux confirmer car ne l’ayant pas testé.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Dans mon cas, j’ai donc démarré un CD bootable de Acronis (&lt;a href=&quot;http://www.acronis.com/homecomputing/products/trueimage/&quot;&gt;http://www.acronis.com/homecomputing/products/trueimage/&lt;/a&gt;), et j’ai copié entièrement le disque SATA sur un IDE.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Deuxième étape :&lt;/span&gt; démarrer la machine problématique avec le disque IDE. Pas de problème.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Troisième étape :&lt;/span&gt; installer les pilotes du contrôleur SATA. Pour ce, je mets le disque IDE et SATA dans la machine problématique, et je démarre sur le disque IDE. Windows XP reconnaît bien un périphérique inconnu. Bonne nouvelle. Mais je ne connais toujours pas le modèle du contrôleur. Avec google, j’essaie les références écrites sur la carte mère, les codes de périphérique donnés par Windows (dans le device manager). Je ne trouve rien.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;C’est finalement avec le message indiqué par le contrôleur pendant le boot de la machine (avant que Windows ne démarre) que je trouve la bonne piste. En moins de deux, une recherche sur le net, une visite sur le site du fabriquant et j’ai les driver.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;J’installe, je redémarre, et miracle le PC problématique voit maintenant le contrôleur et le disque SATA. Mais il démarre toujours sur mon disque IDE !&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;Dernière étape :&lt;/span&gt; copie inverse du disque IDE vers le SATA. Maintenant que Windows a les pilotes du contrôleur, je refais la manipulation de l’étape 1 mais dans l’autre sens. Je copie le disque IDE sur le SATA. Une fois l’opération terminée, je remonte la machine avec juste son disque SATA et je récupère mon IDE. Je redémarre, et Windows se charge sans erreur.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Génial, problème résolu.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;Voilà donc un premier message d’aide. A suivre car avec ce membre de la famille, j’ai déjà plusieurs solutions à mon actif &lt;/span&gt;&lt;span  lang=&quot;FR-BE&quot; style=&quot;font-family:Wingdings;&quot;&gt;&lt;span style=&quot;&quot;&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;David&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;&quot; lang=&quot;FR-BE&quot;&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;</description><link>http://geekdav.blogspot.com/2008/08/mon-pc-redmarre-constamment.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-52571247496292698.post-1225784881374957069</guid><pubDate>Mon, 25 Aug 2008 08:23:00 +0000</pubDate><atom:updated>2008-08-25T14:03:45.866+02:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Information générale</category><title>Introduction</title><description>Je me lance moi aussi dans la blogosphère francophone. Le but de ce blog est de vous faire partager mes expériences en terme de résolution de problèmes informatiques, satellite et photographie. Je vous présenterai également quelques unes de mes réalisations (notamment photographiques).&lt;br /&gt;Je sais qu&#39;il existe déjà de nombreux sites similaires sur le sujet, mais beaucoup sont en anglais. Voici donc une occasion pour vous d&#39;apprendre à résoudre vos problèmes dans la langue de Molière.&lt;br /&gt;Le blog n&#39;est pas entièrement finalisé : il reste encore des liens à ajouter, peut-être mettre de la pub, créer un forum,... On verra au fil du temps ce qui est nécessaire.&lt;br /&gt;&lt;br /&gt;Bonne lecture à tous en tout cas,&lt;br /&gt;David</description><link>http://geekdav.blogspot.com/2008/08/introduction.html</link><author>noreply@blogger.com (David Vekemans)</author><thr:total>0</thr:total></item></channel></rss>