Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > Mandriva
Mandriva Vos questions sur la distribution Mandriva (Mandrake)
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 17/09/2009, 22h44   #1
Membre chevronné
 
Avatar de randriano
 
Homme Rija Randriano
Inscription : janvier 2007
Messages : 960
Détails du profil
Informations personnelles :
Nom : Homme Rija Randriano
Localisation : Madagascar

Informations forums :
Inscription : janvier 2007
Messages : 960
Points : 712
Points : 712
Par défaut Comment faire de Windows la tête de liste d'amorçage de LILO ou GRUB

Bonjour,

Je dois démarrer 20 ordinateurs par jour équipés de Windows et Linux à la fois. Ils doivent fonctionner avec Windows par défaut mais LILO met toujours Linux en tête de la liste d'amorçage
Donc je dois toujours attendre une/deux minutes voire plus sur chaque machine pour sélectionner Windows lors de l'arrivée à LILO!

C'est un peu chiant à la fin!

Peut-on configurer LILO (ou GRUB) pour que le choix se place toujours sur Windows par défaut?
__________________
randriano.dvp.com
randriano est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/09/2009, 08h13   #2
Rédacteur/Modérateur
 
Avatar de troumad
 
Homme Bernard SIAUD
Enseignant
Inscription : novembre 2003
Messages : 4 251
Détails du profil
Informations personnelles :
Nom : Homme Bernard SIAUD
Âge : 43
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Enseignant
Secteur : Enseignement

Informations forums :
Inscription : novembre 2003
Messages : 4 251
Points : 4 739
Points : 4 739
Bonjour

La réponse est oui
Soit à la main, soit en passant par le centre de contrôle Mandriva (mcc pour les intimes).

Tu parle de lilo ! Tu as une vielle Mandriva ? Les dernières mettent grub par défaut et elles ont bien raison !
Pour ma part, j'ai un peu oublié lilo car je suis passé à grub bien avant que mandriva le fasse par défaut : c'est plus pratique pour gérer le multiboot !
Tu vas dans le fichier /boot/grub/menu.lst et tu adaptes le paramètre defaut à l'entrée que tu souhaites. À moins de mettre l'entrée Windows en tête de liste. Par contre, je ne peux pas te dire à quoi ressemble l'entrée windows : je n'ai pas de ça sur mes PC
__________________
Modérateur Mandriva Linux
Amicalement VOOotre
Troumad Alias Bernard SIAUD à découvrir sur http://troumad.org
Mes tutoriels
troumad est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/09/2009, 08h30   #3
Membre Expert
 
Avatar de jeanbi
 
Inscription : avril 2003
Messages : 1 620
Détails du profil
Informations forums :
Inscription : avril 2003
Messages : 1 620
Points : 1 797
Points : 1 797
bonjour, lilo c'est pas mal non plus , debian propose l'un ou l'autre , perso j'ai pas eu le choix grub pas voulu s'installer !!
donc pour lilo, au fait passe pas par le ccm ça fout la m....
en root
nano /etc/lilo.conf


Citation:
cat /etc/lilo.conf
# Automatically added by lilo postinst script
large-memory

# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.

# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt' (if you have created it), or |
# | install a new kernel. The computer will most likely fail to |
# | boot if a kernel-image post-install script or you don't |
# | remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+

# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda5

# This option may be needed for some software RAID installs.
#
# raid-extra-boot=mbr-only

# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller. Using `compact' is especially recommended when
# booting from a floppy disk. It is disabled here by default
# because it doesn't always work.
#
# compact

# Installs the specified file as the new boot sector
# You have the choice between: text, bmp, and menu
# Look in lilo.conf(5) manpage for details
#
#install=menu

# Specifies the location of the map file
#
map=/boot/map

# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration. If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well. Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000

# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
#delay=150

# You can put a customized boot message up if you like. If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress. `single-key' goes with the `alias' lines in the
# `image' configurations below. eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
prompt
delay=100
timeout=100

# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
#
# vga=ask
# vga=9
#
vga=788

bitmap=/boot/squeeze.bmp # Image à afficher
bmp-colors=1,,0,2,,0
bmp-table=120p,173p,1,15,17
bmp-timer=254p,432p,1,0,0
install=bmp
Verbose=0

# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWTO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""

# If you used a serial console to install Debian, this option should be
# enabled by default.
# serial=

#
# Boot up Linux by default.
#
default=Linux -----> c'est ici que l'on modifie celui qui est par defaut

image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1
append="quiet"
initrd=/initrd.img

image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2
append="splash=silent "
initrd=/initrd.img.old


# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label=Windows
# restricted
# alias=2
a+
jeanbi est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 19/09/2009, 14h29   #4
Membre chevronné
 
Avatar de randriano
 
Homme Rija Randriano
Inscription : janvier 2007
Messages : 960
Détails du profil
Informations personnelles :
Nom : Homme Rija Randriano
Localisation : Madagascar

Informations forums :
Inscription : janvier 2007
Messages : 960
Points : 712
Points : 712
Wow, Mandriva c'est génial, facile comme Windows, en fait je ne fais que l'essayé et je suis sous le

charme

Il y a le Mandriva Control Center (mcc)!!

Merci aussi pour ces configs, cela me sera utile pour d'autres distributions autres que Mandriva

donc!
__________________
randriano.dvp.com
randriano est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 00h47.


 
 
 
 
Partenaires

Hébergement Web