issue67:command_conquer
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue67:command_conquer [2012/12/08 17:14] – créée andre_domenech | issue67:command_conquer [2013/01/02 17:58] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | This past month saw me installing Windows 8 on my dual monitor PC setup, in order to test it thoroughly for a client. Naturally, I didn't remove ArchLinux, but there are certain steps required to keep both operating systems happy. As such, I felt this month it may be useful to explain some of the extra steps, in order to save some people headaches when dealing with this. | + | **This past month saw me installing Windows 8 on my dual monitor PC setup, in order to test it thoroughly for a client. Naturally, I didn't remove ArchLinux, but there are certain steps required to keep both operating systems happy. As such, I felt this month it may be useful to explain some of the extra steps, in order to save some people headaches when dealing with this.** |
- | Trick 1: Hard disk order | + | Le mois dernier j'ai procédé à l' |
+ | |||
+ | **Trick 1: Hard disk order | ||
Note: This is important only to people with multiple physical hard disks in their PC. | Note: This is important only to people with multiple physical hard disks in their PC. | ||
- | Windows has a major complaint any time the primary hard disk is not the one Windows is installed in. It works just fine, so long as you don't do anything with the partition layout. In order to run an upgrade, for example, you need to have the main partition (Windows C: drive) set to active. This can be done in the disk management menu, but won't work if you've made the Windows drive secondary. Solving this is as easy as switching the order in your BIOS. | + | Windows has a major complaint any time the primary hard disk is not the one Windows is installed in. It works just fine, so long as you don't do anything with the partition layout. In order to run an upgrade, for example, you need to have the main partition (Windows C: drive) set to active. This can be done in the disk management menu, but won't work if you've made the Windows drive secondary. Solving this is as easy as switching the order in your BIOS.** |
+ | |||
+ | Astuce 1 : ordre des disques durs. | ||
+ | Remarque : ceci n'est utile que si vous avez plusieurs disques durs physiques dans votre PC. | ||
+ | |||
+ | Windows a de gros soucis lorsque le disque dur principal n'est pas celui sur lequel Windows est installé. Cela fonctionne très bien tant que vous ne touchez pas au partitionnement du disque. Pour exécuter une mise à niveau, par exemple, vous devez avoir la partition principale (lecteur Windows C:) définie comme active. On peut faire cela dans le menu de gestion de disque, mais cela ne fonctionnera pas si vous avez rendu secondaire votre lecteur Windows. Pour résoudre ce problème il suffit de modifier l' | ||
- | Trick 2: GRUB is gone | + | **Trick 2: GRUB is gone |
As one would expect, Windows replaces any boot manager with its own. After this happens, you have two options: either create a menu for Linux from the Windows boot manager (this is possible), or re-install GRUB. If, like above, you have two disks, my preference is to simply install GRUB on the Linux drive, and leave the windows boot manager intact on the other. The boot manager used is always the one on the primary drive, so you can effectively switch between both managers by switching the hard disk order. This saves you the trouble. If, however, you don't have two drives, you'll need to re-install GRUB. The easiest way to do this is to boot from a live CD, and, for GRUB2 (which is used on all the newest Ubuntu versions), run: | As one would expect, Windows replaces any boot manager with its own. After this happens, you have two options: either create a menu for Linux from the Windows boot manager (this is possible), or re-install GRUB. If, like above, you have two disks, my preference is to simply install GRUB on the Linux drive, and leave the windows boot manager intact on the other. The boot manager used is always the one on the primary drive, so you can effectively switch between both managers by switching the hard disk order. This saves you the trouble. If, however, you don't have two drives, you'll need to re-install GRUB. The easiest way to do this is to boot from a live CD, and, for GRUB2 (which is used on all the newest Ubuntu versions), run: | ||
Ligne 12: | Ligne 19: | ||
sudo grub-install /dev/sdX | sudo grub-install /dev/sdX | ||
- | in the terminal. Remember to replace sdX with the actual hard disk number (for example, /dev/sda). You can check this with either gparted, fdisk -l or any similar program. If you have internet in the live CD, you can also install a graphical tool called boot-repair. | + | in the terminal. Remember to replace sdX with the actual hard disk number (for example, /dev/sda). You can check this with either gparted, fdisk -l or any similar program. If you have internet in the live CD, you can also install a graphical tool called boot-repair.** |
- | Trick 3: System time is constantly wrong in both Windows and Linux | + | Astuce 2: GRUB a disparu |
+ | |||
+ | Comme on pouvait s'y attendre, Windows remplace tout gestionnaire de démarrage par le sien. Après cela, vous avez deux options : soit créer un menu pour Linux à partir du gestionnaire de démarrage de Windows (c'est possible), soit réinstaller GRUB. Si, comme ci-dessus, vous avez deux disques, ma préférence est tout simplement d' | ||
+ | |||
+ | sudo grub-install /dev/sdX | ||
+ | |||
+ | dans le terminal. N' | ||
+ | |||
+ | **Trick 3: System time is constantly wrong in both Windows and Linux | ||
This is often the case when Ubuntu is set to use UTC time. Coordinated Universal Time (UTC) is a modern successor to GMT, and is the de facto standard for the Network Time Protocol and quite a bit of the internet. The problem? Windows refuses to offer an easy option to enable UTC. You can edit the registry in order to enable it (see UbuntuTime link in Further Reading below). The, probably easier, option is to set Linux to local time. To do so, simply do the following: | This is often the case when Ubuntu is set to use UTC time. Coordinated Universal Time (UTC) is a modern successor to GMT, and is the de facto standard for the Network Time Protocol and quite a bit of the internet. The problem? Windows refuses to offer an easy option to enable UTC. You can edit the registry in order to enable it (see UbuntuTime link in Further Reading below). The, probably easier, option is to set Linux to local time. To do so, simply do the following: | ||
+ | |||
+ | sudo vim / | ||
+ | |||
+ | Astuce 3 : l' | ||
+ | |||
+ | C'est souvent le cas lorsque Ubuntu est configuré pour utiliser l' | ||
sudo vim / | sudo vim / | ||
- | Then edit, or create, the following line: | + | **Then edit, or create, the following line: |
UTC=no | UTC=no | ||
Ligne 27: | Ligne 48: | ||
The “Developer-recommended” solution is to set both Windows and Linux to UTC, and disable Internet synchronization in Windows (it doesn’t seem to work with UTC), instead relying upon NTP in Linux. I’m currently testing this solution, and it seems to be working alright so far. | The “Developer-recommended” solution is to set both Windows and Linux to UTC, and disable Internet synchronization in Windows (it doesn’t seem to work with UTC), instead relying upon NTP in Linux. I’m currently testing this solution, and it seems to be working alright so far. | ||
+ | ** | ||
- | Trick 4: Keeping media organized | + | Ensuite, éditez ou créez la ligne suivante : |
+ | |||
+ | UTC=no | ||
+ | |||
+ | Si vous ne vous sentez pas à l'aise dans l' | ||
+ | |||
+ | La solution « recommandée par les développeurs » consiste à paramétrer à la fois Windows et Linux en UTC et à désactiver la synchronisation internet dans Windows (elle ne semble pas fonctionner avec UTC), en s' | ||
+ | |||
+ | **Trick 4: Keeping media organized | ||
If you want to keep your media (music, videos, pictures, etc.) available to both systems without having to constantly copy and update the files, the easiest solution is to have a media partition. I've split my 1TB hard disk into 200GB for Linux, and 700GB for media. The Linux stuff is just a / and /home (both EXT4), and the 700GB partition is NTFS. The 700GB partition contains all my music, videos, pictures, and backups. Once you've relocated the files onto the media partition, you need to create symbolic links to them in Linux. My preference is to create a sub-folder link, as opposed to replacing the Music, Pictures and Videos folder completely. To create a symbolic link, do the following: | If you want to keep your media (music, videos, pictures, etc.) available to both systems without having to constantly copy and update the files, the easiest solution is to have a media partition. I've split my 1TB hard disk into 200GB for Linux, and 700GB for media. The Linux stuff is just a / and /home (both EXT4), and the 700GB partition is NTFS. The 700GB partition contains all my music, videos, pictures, and backups. Once you've relocated the files onto the media partition, you need to create symbolic links to them in Linux. My preference is to create a sub-folder link, as opposed to replacing the Music, Pictures and Videos folder completely. To create a symbolic link, do the following: | ||
- | ln -s / | + | ln -s / |
- | This would create a link to your Music folder (on the partition called “Media”). The link would be called External, and is located in the Music folder within your home folder. You can, naturally, change the command however you see fit. You can do something similar in Windows 7 or 8 (possibly in Vista), by adding a new folder to your “Libraries” for Music, Pictures, Videos. Instructions can be found in the Further Reading section. | + | Astuce 4 : garder les médias organisés |
- | A quick note: If Ubuntu doesn't automatically connect the Media partition, you'll need to do that manually, and instructions are below in the Further Reading section. | + | Si vous souhaitez conserver vos fichiers multimédia (musique, vidéos, photos, etc.) disponibles pour les deux systèmes, sans avoir constamment à copier et mettre à jour les fichiers, la solution la plus simple est d'avoir une partition |
- | This trick for media files can also be used for any other type of file you would need to share. For example, you can stick your Dropbox folder on it, and avoid having to download any updates twice. | + | ln -s /media/ |
- | I hope at least a few of my readers find this article useful, and for those of you who didn't, odds are I'll have something to interest | + | **This would create |
+ | A quick note: If Ubuntu doesn' | ||
+ | Ceci créerait un lien vers votre dossier Musique (sur la partition appelée « Media »). Le lien s' | ||
+ | Une note rapide : si Ubuntu ne monte pas automatiquement la partition Media, vous devrez le faire manuellement, | ||
+ | **This trick for media files can also be used for any other type of file you would need to share. For example, you can stick your Dropbox folder on it, and avoid having to download any updates twice. | ||
- | Further Reading: | + | I hope at least a few of my readers find this article useful, and for those of you who didn' |
+ | |||
+ | Cette astuce pour les fichiers multimédias peut également être utilisée pour n' | ||
+ | |||
+ | J' | ||
+ | |||
+ | |||
+ | |||
+ | **Further Reading: | ||
http:// | http:// | ||
Ligne 56: | Ligne 98: | ||
https:// | https:// | ||
- | http:// | + | http:// |
+ | |||
+ | Pour aller plus loin : | ||
+ | |||
+ | http:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | http:// |
issue67/command_conquer.1354983267.txt.gz · Dernière modification : 2012/12/08 17:14 de andre_domenech