[Kaella] ordre boot démarrage.

Fermé
supermoi71 Messages postés 20 Date d'inscription dimanche 11 mars 2007 Statut Membre Dernière intervention 8 janvier 2008 - 18 mars 2007 à 11:39
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 - 18 mars 2007 à 13:27
Bonjour,

je viens de sauter le pas et d'installer mon live CD de kaella sur mon disque dur.
Tout marche nikel, c'est super.

Cependant, n'étant pas le seul a utiliser l'ordi, les autres personnes ne vont pas si "retrouver" avec Kaella/Linux.
Le système boot directement sur Kaella, je peu bien choisir au début dans un espace de 5 seconde pour réagir si je veu booter sur Kaella ou windows.
Mais comme je l'est déjà dit, d'autres personne utilise l'ordi, donc je voudrais que le système boot direct sur windows sans rien faire pour les autres.
J'ai bien trouvé des articles parlant de la procédure a suivre, mais dans mon fichier, je ne trouve pas les même choses et donc je suis perdu.


Voici le contenu du fichier "menu.lst" :

# 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 change this entry to 'saved' 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 5

# 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=/dev/hda4 ro ramdisk_size=100000 init=/etc/init lang=fr myconf=scan home=scan apm=power-off nomce quiet vga=791

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,3)

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

## 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=

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) 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

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.17 Default
root (hd0,3)
kernel /boot/vmlinuz root=/dev/hda4 ro ramdisk_size=100000 init=/etc/init lang=fr myconf=scan home=scan apm=power-off nomce quiet vga=791
initrd /boot/initrd.img
savedefault
boot

title Debian GNU/Linux, kernel 2.6.17
root (hd0,3)
kernel /boot/vmlinuz-2.6.17 root=/dev/hda4 ro ramdisk_size=100000 init=/etc/init lang=fr myconf=scan home=scan apm=power-off nomce quiet vga=791
initrd /boot/initrd.img-2.6.17
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
title Windows 2K/XP/2003 (hda1)
chainloader (hd0,0)+1
title Windows 95/98/ME (hda2)
root (hd0,1)
makeactive
chainloader +1



Donc je dois modifier quoi la dedans moi pour booter direct sur windows ??
et j'ai juste se fichier à modif et sa marche ??

Merci d'avance pour vos réponses.
A voir également:

8 réponses

jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 897
18 mars 2007 à 13:27
A partir de quel éditeur de texte essaies-tu de faire les modifications ?

Il y a longtemps que je n'ai pas touché une Kaella, donc je ne me souviens plus si comme pour Ubuntu, les droits d'administration s'obtiennent en passant par la commande "sudo" ou si, comme tout bon système GNU/Linux, il y a un superutilisateur "root" !!??

Donc si comme sur Ubuntu, tapes :
sudo $editeur /boot/grub/menu.lst
donne ton mot de passe utilisateur, en remplaçant "$editeur" par le nom de ton éditeur (d'où ma 1ère question).
Sinon, logues-toi en root :
su -
donne ton "password" et édites le fichier avec un éditeur de texte...
1
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 897
18 mars 2007 à 11:43
Salut,

Change juste la valeur de "default 0" par :
default 2
Voir : bootloader dual boot systeme par defaut

;-)
0
supermoi71 Messages postés 20 Date d'inscription dimanche 11 mars 2007 Statut Membre Dernière intervention 8 janvier 2008 3
18 mars 2007 à 12:20
Ba justement, le problème c'est que je trouve pas de ligne avec "défaut=0"

Dans mon fichier ou alors elle m'échappe complètement !!
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 897
18 mars 2007 à 12:24
# 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 change this entry to 'saved' 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 5

# 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=/dev/hda4 ro ramdisk_size=100000 init=/etc/init lang=fr myconf=scan home=scan apm=power-off nomce quiet vga=791

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,3)

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

## 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=

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) 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

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.17 Default
root (hd0,3)
kernel /boot/vmlinuz root=/dev/hda4 ro ramdisk_size=100000 init=/etc/init lang=fr myconf=scan home=scan apm=power-off nomce quiet vga=791
initrd /boot/initrd.img
savedefault
boot

title Debian GNU/Linux, kernel 2.6.17
root (hd0,3)
kernel /boot/vmlinuz-2.6.17 root=/dev/hda4 ro ramdisk_size=100000 init=/etc/init lang=fr myconf=scan home=scan apm=power-off nomce quiet vga=791
initrd /boot/initrd.img-2.6.17
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
title Windows 2K/XP/2003 (hda1)
chainloader (hd0,0)+1
title Windows 95/98/ME (hda2)
root (hd0,1)
makeactive
chainloader +1 
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
supermoi71 Messages postés 20 Date d'inscription dimanche 11 mars 2007 Statut Membre Dernière intervention 8 janvier 2008 3
18 mars 2007 à 12:26
arff quel boulet je suis moi c'est pas possible sa !!

Et si on descend de 4 lignes, "timeout=5" si je le passe a "timeout=10" j'aurais 10 secondes à la place de 5 c'est bien sa ?

En tout cas merci beaucoup pour la rapidité de ta réponse.
0
jipicy Messages postés 40842 Date d'inscription jeudi 28 août 2003 Statut Modérateur Dernière intervention 10 août 2020 4 897
18 mars 2007 à 12:28
Et si on descend de 4 lignes, "timeout=5" si je le passe a "timeout=10" j'aurais 10 secondes à la place de 5 c'est bien sa ?
Oui ;-)
0
supermoi71 Messages postés 20 Date d'inscription dimanche 11 mars 2007 Statut Membre Dernière intervention 8 janvier 2008 3
18 mars 2007 à 12:33
arff ba je peu pas enregister le fichier avec les modifs.

J'ai un message d'erreur me disant:

"Le document , n'a pas pu être enregistré, car il n'a pas été possible d'écrire dans file://boot/grub/menu.lst.

Vérifiez que vous avez les droits d'écriture dans ce fichier ou qu'il y a suffisamment d'espace disque disponible."

Bon pour la place, j'ai de la place sur ma partition ou est le fichier.
Donc mon problèmes est comment avoir les droits d'écriture ? Sa veu dire que je ne suis pas administrateur quand je me connecte a Kaella se message non ?
0
supermoi71 Messages postés 20 Date d'inscription dimanche 11 mars 2007 Statut Membre Dernière intervention 8 janvier 2008 3
18 mars 2007 à 13:17
d'après mes petites recherches, il me semble pourtant que j'ai les droits en écriture.
Et je suis connecter sous root si j'ai bien tout compris ...


Donc pourquoi je peu pas enregistrer les modifs de mon fichier ?
0