Michel Leunen a écrit :
>
> Michel Andreu a écrit :
>
>> Comme quoi, quant on est novice, on oublie l'essentiel.
>
> Oups, non. Ca fait un bail que je suis sous linux et pourtant, je suis 
> obligé de tout documenter vu ma mémoire défaillante pour ce genre de 
> chose.
>
>> Voici ce que donne la commande
>> "mount |grep sda" :
>> /dev/sda1 on /media/disk-1 type ext2 (rw,nosuid,nodev,uhelper=hal)
>> Est-ce que c'est plus clair ?
>
> Et maintenant que ton disque est monté, tu as accès à ton menu.lst?
>
/oui, bien sûr. Et voilà ce que ça donne :/

default 0
timeout 10
color cyan/blue white/blue

#Debian chain
title debian
root(hd1,1)
chainloader
chainloader +1
boot

### 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=adec6ff5-58fc-4c7d-98c3-604a39b0fd21 ro

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

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

## 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-9-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.27-9-generic 
root=UUID=adec6ff5-58fc-4c7d-98c3-604a39b0fd21 ro quiet splash vga=775
initrd /boot/initrd.img-2.6.27-9-generic

title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.27-9-generic 
root=UUID=adec6ff5-58fc-4c7d-98c3-604a39b0fd21 ro  single
initrd /boot/initrd.img-2.6.27-9-generic

title Ubuntu 8.10, kernel 2.6.24-22-generic
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-22-generic 
root=UUID=adec6ff5-58fc-4c7d-98c3-604a39b0fd21 ro quiet splash vga=775
initrd /boot/initrd.img-2.6.24-22-generic

title Ubuntu 8.10, kernel 2.6.24-22-generic (recovery mode)
root (hd1,1)
kernel /boot/vmlinuz-2.6.24-22-generic 
root=UUID=adec6ff5-58fc-4c7d-98c3-604a39b0fd21 ro  single
initrd /boot/initrd.img-2.6.24-22-generic

title Ubuntu 8.10, memtest86+
root (hd1,1)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

title Other operating systems:
root

title Mandriva GNU/Linux, kernel 2.6.18-6-686
root (hd2,0)
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.18-6-686
savedefault

title Mandriva GNU/Linux, kernel 2.6.18-6-686 (single-user mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.18-6-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-6-686
root (hd2,0)
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.18-6-686
savedefault

title Debian GNU/Linux, kernel 2.6.18-6-686 (single-user mode)
root (hd2,0)
kernel /boot/vmlinuz-2.6.18-6-686 root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.18-6-686
savedefault

title 2.6.27-desktop586rc8-2mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27-desktop586-0.rc8.2mnb 
BOOT_IMAGE=2.6.27-desktop586rc8-2mnb 
root=UUID=024aec87-dde1-46fe-acdc-ce091a6c5863 
resume=UUID=aaf76338-0da5-4a8d-8650-98b83fa51d9c splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27-desktop586-0.rc8.2mnb.img

title desktop586 2.6.27.5-2mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27.5-desktop586-2mnb 
BOOT_IMAGE=desktop586_2.6.27.5-2mnb 
root=UUID=024aec87-dde1-46fe-acdc-ce091a6c5863 
resume=UUID=aaf76338-0da5-4a8d-8650-98b83fa51d9c splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27.5-desktop586-2mnb.img

title desktop586 2.6.27.7-1mnb
kernel (hd0,0)/boot/vmlinuz-2.6.27.7-desktop586-1mnb 
BOOT_IMAGE=desktop586_2.6.27.7-1mnb 
root=UUID=024aec87-dde1-46fe-acdc-ce091a6c5863 
resume=UUID=aaf76338-0da5-4a8d-8650-98b83fa51d9c splash=silent vga=788
initrd (hd0,0)/boot/initrd-2.6.27.7-desktop586-1mnb.img

/C'est certainement très fouillis, mais j'ai bidouillé pas mal en 
fonction des infos recueillies à droite et à gauche, sans que cela 
apporte une solution.

Rappel :
/

/configuration : Ubuntu 8.10 sur sdb.
>>> 3 disques internes (sda, sdb, sdc).
>>> Je souhaite choisir entre Ubuntu, Debian (sur sda) et Kubuntu (sur sdc).
>>> Pour l'instant je n'accède qu'à Ubuntu et Kubuntu.
>>> Le grub qui permet le choix se trouve sur sda./

*Précision* : À l'apparition du grub, j'ai le choix que de Kubuntu (en 
premier) et de Ubuntu. Alors que sont installées aussi les distributions 
Mandriva et Debian.


-- 
ubuntu-fr mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-fr

Répondre à