Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/04/2009, à 13:29

Toinon75

Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Salut,

J'ai besoin d'un coup de main, je tente de me mettre à Ubuntu via Parallels Desktop (PD) mais j'ai un problème lors de l'installation de Parallels Tools (PT):
1. J'ai réussi à installer Ubuntu 8.10 sur PD 4
2. Je monte PT sur Ubuntu sans problème
3. Je l'installe via le terminal :
      3.1. cd /media/cdrom
      3.2. sudo ./install
      3.3. Reboot

Jusque là pas de problème mais en voulant changer la résolution afin d'être en 2009, pas en 1999 et là impossible, aucun changement. Je me suis donc dis que l'installation ne s'était pas bien passé, j'ai fait lea seconde manipulation une seconde fois, nada.

En regardant sur l'aide de PD je suis tombé sur une opération complémentaire:
4. uname -r pour vérifier la version de noyau, dans mon cas : 2.6.27.11 generic
5. /boot/grub/grub.conf file or /boot/grub/menu.lst afin de modifier le fichier trouvé
      5.1. J'ai tenté la ligne de commande /boot/grub/menu.lst => Permission non accordée
      5.2. J'ai tenté d'ajouter la commande sudo en amont, saisit mon mot de passe "command not found"
      5.3. Je suis allé directement éditer le fichier sans passer par le terminal, là je ne sais pas quoi modifier et lorsque je teste je ne peux enrgistrer mes modifications, problème de droit.

Une idée ? Merci

Edit 1:
Le lien sur PD:
http://download.parallels.com/desk [...] /22570.htm

Edit 2:
Le dit fichier :
ubuntu.tif
w1024.png

Dernière modification par Toinon75 (Le 15/04/2009, à 14:09)

Hors ligne

#2 Le 15/04/2009, à 19:57

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Personne n'a tenté le coup ?

Hors ligne

#3 Le 15/04/2009, à 20:45

testt

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Essaye en tapant cette commande :

sudo gedit /boot/grub/menu.lst

Ou alors tape Alt+F2 et entre cette ligne :

gksudo nautilus

Comme sa tu pourra modifier ton fichier en root.

Hors ligne

#4 Le 15/04/2009, à 21:42

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

testt a écrit :

Essaye en tapant cette commande :

sudo gedit /boot/grub/menu.lst

Ou alors tape Alt+F2 et entre cette ligne :

gksudo nautilus

Comme sa tu pourra modifier ton fichier en root.

Merci, je vais tester de suite smile

Par contre je ne suis pas sur de ce qu'il faut faire, la documentation de PD dis
"   1. Start a terminal and determine your version of kernel by entering

      uname -r

      2.6.18-8.el5

      2.6.18-8.el5 is the version of your kernel.
   2. Open the /boot/grub/grub.conf file or /boot/grub/menu.lst (depends on the version of your Linux operating system) and find the entry that corresponds to your version of kernel.

      title Red Hat Enterprise Linux Server (2.6.18-8.el5)

      root (hd0,0)

      kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

      initrd /initrd-2.6.18-8.el5.img
   3. Type the following text at the end of the entry:

      selinux=0

      and the whole entry will be:

      kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet selinux=0
   4. Save the file and restart the virtual machine.

After the restart, mount the Parallels Tools disc image and try to install Parallels Tools."

Or je n'ai pas tout à fait la même chose.

Hors ligne

#5 Le 15/04/2009, à 22:39

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Ta commande marche nickel big_smile, reste à savoir où placer "selinux=0". j'ai tenté la modification suivante :

ubuntu.tif
w1024.png

Nada sad

Dernière modification par Toinon75 (Le 15/04/2009, à 22:57)

Hors ligne

#6 Le 15/04/2009, à 22:48

Compte anonymisé

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Salut

Il faudrait ajouter l'option en fin de ligne débutant par :
kernel  /boot/vmlinuz.....

Si c'est ok et pour ne plus avoir de modifs à faire pr la suite tu ajoutes aussi selinux=0 en fin de ligne :
# defoptions=quiet splash
qui deviendra donc :
# defoptions=quiet splash selinux=0

Tu sauves le tout et tu valides par la commande :
sudo  update-grub  en acceptant les modifs. Tu pourras ensuite vérifier dans ton fichier menu.lst que toutes les instances kernel ....  ont été mises à jour.

@+

#7 Le 15/04/2009, à 22:48

testt

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Bah c'est simple, "selinux=0" tu le place à la fin de la ligne qu'on te demande de chercher avant de sorte à ce que sa fasse :

kernel /vmlinuz-XX.XX.XX ro root=/dev/VolGroup00/LogVol00 rhgb quiet selinux=0

Edit : Arf tu m'as devancé Jean ^^'

Dernière modification par testt (Le 15/04/2009, à 22:49)

Hors ligne

#8 Le 15/04/2009, à 23:10

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Merci pour vos réponses, mais moi je suis sous mac, c'est du chinois les lignes de commandes, j'ai bien compris qu'il faut que j'ajoute "selinux=0" après une ligne mais laquelle ?

Sur l'extrait que j'ai mis en copie d'écran il y a "quatre pavés", dont deux avec le numéro de mon noyau : 2.6.27.11.

Désolé, j'essaye mais c'est pas encore ça hmm smile

Je me suis envoyé par mail un C/C du fichier :
"# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default        0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title        Windows 95/98/NT/2000
# root        (hd0,0)
# makeactive
# chainloader    +1
#
# title        Linux
# root        (hd0,1)
# kernel    /vmlinuz root=/dev/hda2 ro selinux=0
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=5854c8e4-d193-4490-bf32-47610b521fce

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash selinux=0

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        Ubuntu 8.10, kernel 2.6.27-11-generic
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro quiet splash
initrd        /boot/initrd.img-2.6.27-11-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro  single
initrd        /boot/initrd.img-2.6.27-11-generic

title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro quiet splash
initrd        /boot/initrd.img-2.6.27-7-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro  single
initrd        /boot/initrd.img-2.6.27-7-generic

title        Ubuntu 8.10, memtest86+
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST"

Dernière modification par Toinon75 (Le 15/04/2009, à 23:55)

Hors ligne

#9 Le 15/04/2009, à 23:37

testt

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Cherche cette ligne :

# kernel    /vmlinuz root=/dev/hda2 ro

Met à la fin "selinux=0" de sorte à ce que sa fasse :

# kernel    /vmlinuz root=/dev/hda2 ro selinux=0

Hors ligne

#10 Le 15/04/2009, à 23:58

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Ok, maintenant j'ai donc, en gras dans le fichier ;
# kernel    /vmlinuz root=/dev/hda2 ro selinux=0
# defoptions=quiet splash selinux=0

J'ai rebooté la machine virtuelle, rien de plus niveau résolution.

Edit:
Ah oui, j'ai ouvert à nouveau, enregistré et tapé "sudo  update-grub" mais cela ne fonctionne pas, j'ai la liste des options.

Dernière modification par Toinon75 (Le 16/04/2009, à 00:01)

Hors ligne

#11 Le 16/04/2009, à 07:03

Compte anonymisé

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Tu as ajouté l'option sur un exemple de la ligne kernel, je te mets en  gras où j'ai fait des modifs détaillées en fin de post et ajouté l'option selinux où il faut :

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default        0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout        3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
# hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title        Windows 95/98/NT/2000
# root        (hd0,0)
# makeactive
# chainloader    +1
#
# title        Linux
# root        (hd0,1)
# kernel    /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=5854c8e4-d193-4490-bf32-47610b521fce

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash selinux=0

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=2

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        Ubuntu 8.10, kernel 2.6.27-11-generic
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro quiet splash selinux=0
initrd        /boot/initrd.img-2.6.27-11-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro  single selinux=0
initrd        /boot/initrd.img-2.6.27-11-generic

title        Ubuntu 8.10, kernel 2.6.27-7-generic
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro quiet splash selinux=0
initrd        /boot/initrd.img-2.6.27-7-generic
quiet

title        Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/vmlinuz-2.6.27-7-generic root=UUID=5854c8e4-d193-4490-bf32-47610b521fce ro  single selinux=0
initrd        /boot/initrd.img-2.6.27-7-generic

title        Ubuntu 8.10, memtest86+
uuid        5854c8e4-d193-4490-bf32-47610b521fce
kernel        /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST"

J'ai aussi modifié :
# hiddenmenu  afin que le menu ubuntu apparaisse lors du boot et
# howmany=2 afin que seuls les 2 dernières versions du kernel apparaissent dans ce menu.
Si ça ne te convient pas tu "décommentes" la ligne hiddenmenu

Enfin quand tu tapes la commande :
sudo  update-grub  il faut accepter les modifications.

@+


PS je ne suis pas sûr que cette modif fasse grand chose. A ma connaissance selinux est un système de protection de sécurité et je ne suis pas sûr que sur ubuntu cela soit validé.

Dernière modification par Compte anonymisé (Le 16/04/2009, à 07:14)

#12 Le 16/04/2009, à 11:07

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

La commande "hiddenmenu" semble fonctionner, par contre elle affiche tous les Kernels.

Comme précisé dans l'aide de PD, j'ai bien relancé l'installation de PT après avoir modifié menu.lst (Commande du terminal et un save dans l'éditeur) mais nada, pas de changement, toujours une résolution préhistorique.

Tu sembles avoir raison à propos de selinux, cependant l'aide précise la chose suivante :
"How to check if Parallels Tools are installed

Troubleshooting

Parallels Tools installer can be blocked by SELinux. To solve this problem:

   1. Start a terminal and determine your version of kernel by entering
      uname -r
      2.6.18-8.el5
      2.6.18-8.el5 is the version of your kernel.
   2. Open the /boot/grub/grub.conf file or /boot/grub/menu.lst (depends on the version of your Linux operating system) and find the entry that corresponds to your version of kernel.
      title Red Hat Enterprise Linux Server (2.6.18-8.el5)
      root (hd0,0)
      kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
      initrd /initrd-2.6.18-8.el5.img
   3. Type the following text at the end of the entry:
      selinux=0
      and the whole entry will be:
      kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet selinux=0
   4. Save the file and restart the virtual machine.
After the restart, mount the Parallels Tools disc image and try to install Parallels Tools."

Voilà ce que donne la résolution:ubuntu.tif
w1024.png

Dernière modification par Toinon75 (Le 16/04/2009, à 13:01)

Hors ligne

#13 Le 16/04/2009, à 22:14

Toinon75

Re : Ubuntu / virtualisation / parallels Desktop: problème Parallels tools

Personne n'a d'idée ?

Hors ligne