Miklos Aubert a écrit : > Le 23/05/07, *jojonux les fayots* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> a écrit : > > > > As-tu une partition /boot commune à toutes tes distributions, ou bien > > une par disque dur ? > non, j'ai un /boot par dd, sur chacun il y a un linux complet. > Mais il y a des partitions supplèmentaires de sauvegardes de documents > que j'essaie de conserver depuis des années et nourries de temps en > temps, mais imprimables ou utilisables suivant mes besoins. > > Sur le 1er dd hdb, il y a une petite part windows en cas de > màj de > pilotes ou de bios. (je suis passé en 64bits l'année dernière). > > > Je commute les dd à booter par le bios. > > Mais grub dois me permettre de booter sun l'un des 3 linux à volonté. > > Pour le moment grub me permet de booter sur hdb et hdc, les 2 1ères > instalations . > > Et sur le /boot hdd ne sont mentionnés que de quoi booter sur hdb ou > hdc, mais jamais (!) sur hdd. > > Des noyaux pointent sur hdd5, mais le boot de hdd donne accès à grub > qui lui, est incapable de monter (hdd5? et démarrer réellement le boot > noyau sur hdd). du moins c'est ce que dit grub. > . > > Peut-être que quelqu'un pourrait avoir une idée, si tu nous postais le > > contenu des fichiers suivants de ton installation de Kubuntu : > > > Sur hdd j'ai instalé kubuntu edgy 32b, et voila les réponses > > /boot/grub/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 10 > > ## 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=903fb43b-d392-4a27-8f38-b3e9e6e834fc ro > # kopt_2_6=root=/dev/hdd5 ro > > ## default grub root device > ## e.g. groot=(hd0,0) > # groot=(hd2,6) > > ## 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 locale=fr_FR > > ## should update-grub lock old automagic boot options > ## e.g. lockold=false > ## lockold=true > # lockold=false > > ## 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 > > ## ## End Default Options ## > > title Ubuntu, kernel 2.6.20-15-generic > root (hd2,6) > kernel /vmlinuz-2.6.20-15-generic root=/dev/hdd5 ro quiet > splash > locale=fr_FR > initrd /initrd.img-2.6.20-15-generic > quiet > savedefault > boot > > title Ubuntu, kernel 2.6.20-15-generic (recovery mode) > root (hd2,6) > kernel /vmlinuz- 2.6.20-15-generic root=/dev/hdd5 ro single > initrd /initrd.img-2.6.20-15-generic > boot > > title Ubuntu, kernel 2.6.17-10-generic > root (hd2,6) > kernel /vmlinuz-2.6.17-10-generic root=/dev/hdd5 ro quiet > splash > locale=fr_FR > initrd /initrd.img-2.6.17-10-generic > quiet > savedefault > boot > > title Ubuntu, kernel 2.6.17-10-generic (recovery mode) > root (hd2,6) > kernel /vmlinuz-2.6.17-10-generic root=/dev/hdd5 ro single > initrd /initrd.img-2.6.17-10-generic > boot > > title Ubuntu, memtest86+ > root (hd2,6) > kernel /memtest86+.bin > quiet > boot > > ### END DEBIAN AUTOMAGIC KERNELS LIST > > # This is a divider, added to separate the menu items below from the > Debian > # ones. > title Other operating systems: > root > > > # This entry automatically added by the Debian installer for a > non-linux OS > # on /dev/hdb1 > title Microsoft Windows XP Professionnel > root (hd0,0) > savedefault > makeactive > chainloader +1 > > > # This entry automatically added by the Debian installer for an > existing > # linux installation on /dev/hdb5. > title Ubuntu, kernel 2.6.17-11-server (on /dev/hdb5) > root (hd0,5) > kernel /vmlinuz-2.6.17-11-server root=/dev/hdb5 ro quiet splash > locale=fr_FR > initrd /initrd.img-2.6.17-11-server > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdb5. > title Ubuntu, kernel 2.6.17-11-server (recovery mode) (on > /dev/hdb5) > root (hd0,5) > kernel /vmlinuz-2.6.17-11-server root=/dev/hdb5 ro single > initrd /initrd.img-2.6.17-11-server > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdb5. > title Ubuntu, kernel 2.6.17-11-generic (on /dev/hdb5) > root (hd0,5) > kernel /vmlinuz- 2.6.17-11-generic root=/dev/hdb5 ro quiet > splash > locale=fr_FR > initrd /initrd.img-2.6.17-11-generic > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdb5. > title Ubuntu, kernel 2.6.17-11-generic (recovery mode) (on > /dev/hdb5) > root (hd0,5) > kernel /vmlinuz-2.6.17-11-generic root=/dev/hdb5 ro single > initrd /initrd.img- 2.6.17-11-generic > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdb5. > title Ubuntu, kernel 2.6.17-10-generic (on /dev/hdb5) > root (hd0,5) > kernel /vmlinuz-2.6.17-10-generic root=/dev/hdb5 ro quiet > splash > locale=fr_FR > initrd /initrd.img-2.6.17-10-generic > savedefault > boot > > > # This entry automatically added by the Debian installer for an > existing > # linux installation on /dev/hdb5. > title Ubuntu, kernel 2.6.17-10-generic (recovery mode) (on > /dev/hdb5) > root (hd0,5) > kernel /vmlinuz-2.6.17-10-generic root=/dev/hdb5 ro single > initrd /initrd.img-2.6.17-10-generic > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdb5. > title Ubuntu, memtest86+ (on /dev/hdb5) > root (hd0,5) > kernel /memtest86+.bin > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdc1. > title linux (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz root=/dev/hdc1 splash=silent mem=2096M vga=788 > initrd (hd0,5)/initrd.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an > existing > # linux installation on /dev/hdc1. > title linux-nonfb (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz root=/dev/hdc1 mem=2096M > initrd (hd0,5)/initrd.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdc1. > title failsafe (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz root=/dev/hdc1 failsafe mem=2096M > initrd (hd0,5)/initrd.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdc1. > title 2617-5 (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz-2.6.17-5mdv root=/dev/hdc1 mem=2096M > initrd (hd0,5)/initrd.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an > existing > # linux installation on /dev/hdc1. > title linux-enterprise (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz-enterprise root=/dev/hdc1 mem=2096M > initrd (hd0,5)/initrd-enterprise.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdc1. > title enterprise_2.6.17-5 (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz-2.6.17-5mdventerprise root=/dev/hdc1 mem=2096M > initrd (hd0,5)/initrd-2.6.17-5mdventerprise.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an > existing > # linux installation on /dev/hdc1. > title alt_linux-enterprise (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz-2.6.17-5mdventerprise root=/dev/hdc1 mem=2096M > initrd (hd0,5)/initrd- 2.6.17-5mdventerprise.img > savedefault > boot > > > # This entry automatically added by the Debian installer for an existing > # linux installation on /dev/hdc1. > title enterprise_2.6.17-13 (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz-2.6.17-13mdventerprise root=/dev/hdc1 mem=2096M > initrd (hd0,5)/initrd-2.6.17-13mdventerprise.img > savedefault > boot > > > > /boot/grub/device.map > (hd0) /dev/hdb > (hd1) /dev/hdc > (hd2) /dev/hdd > > > > /etc/fstab > > /dev/hdc1 / ext3 defaults 1 1 > /dev/hdc6 /boot ext3 defaults 1 2 > /dev/hdc5 /home ext3 defaults 1 2 > /dev/hdb4 /mnt/160img1 vfat defaults 0 0 > /dev/hdb3 /mnt/160src1 vfat defaults 0 0 > /dev/hdd3 /mnt/300img3 ext3 defaults 1 2 > /dev/hdd2 /mnt/300src3 ext3 defaults 1 2 > /dev/hdd4 /mnt/300video3 ext3 defaults 1 2 > /dev/hdb6 /mnt/bootedgy ext3 defaults 1 2 > /dev/hdd7 /mnt/bootedgy32 ext3 defaults 1 2 > /dev/hda /mnt/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0 > /dev/hdb5 /mnt/edgy ext3 defaults 1 2 > /dev/hdd5 /mnt/edgy32 ext3 defaults 1 2 > none /mnt/floppy supermount > dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=utf8,sync 0 0 > /dev/hdb8 /mnt/homeedgy ext3 defaults 1 2 > /dev/hdd6 /mnt/homeedgy32 ext3 defaults 1 2 > /dev/hdc3 /mnt/mdv2 ext3 defaults 1 2 > /dev/hdb1 /mnt/vioxp vfat defaults 0 0 > none /proc proc defaults 0 0 > none /tmp tmpfs defaults 0 0 > /dev/hdc7 swap swap defaults 0 0 > > > > Deux choses m'étonnent : > > Dans ton menu.lst, les entrées correspondant à un système sur /dev/hdc > référencent systématiquement un initrd sur /dev/hdb... Par exemple : > > title linux (on /dev/hdc1) > root (hd1,5) > kernel /vmlinuz root=/dev/hdc1 splash=silent mem=2096M vga=788 > initrd (hd0,5)/initrd.img > savedefault > boot > > Deuxième chose, ton /etc/fstab est bien celui sur la partition racine de > ton installation Kubuntu sur /dev/hdd ? Parce que la racine y est > définie comme étant sur hdc : > > /dev/hdc1 / ext3 defaults 1 1 C'est peut etre parce que j'ai fait des grub-install /dev/hdd depuis hdb et aussi hdc? : il est possible qu'une .img hdb serve ainsi à booter hdc. De toutes façon mon pb est uniquement de booter hdd.
Qa marche bien pour hdb et hdc! Je te remercie encore de m'aider! > > > Je n'ai pas plus d'idées pour l'instant, juste ces deux points qui > m'interpellent... > > > ------------------------------------------------------------------------ > > _________________________________ > Linux mailing list > [email protected] > http://lists.parinux.org/mailman/listinfo/linux _________________________________ Linux mailing list [email protected] http://lists.parinux.org/mailman/listinfo/linux
