Oui, c’est vrai mais je pense monter une nouvelle distribution (Mandriva) en ext4 (sdb7 et sdb11).
Gparted me donne ça :
c’est le noyau que gere tes systemes de fichiers apres le boot, a partir du moment ou ton systeme boot il peut monter ce que tu veux comme partitions a condition qu’il sache les reconnaitre.
21:38 michael@pc-de-michael ~% df -Ta
Sys. de fich. Type Tail. Occ. Disp. %Occ. Monté sur
/dev/sda5 ext3 20G 7,2G 12G 40% /
tmpfs tmpfs 2,0G 4,0K 2,0G 1% /lib/init/rw
proc proc 0 0 0 - /proc
sysfs sysfs 0 0 0 - /sys
udev tmpfs 10M 236K 9,8M 3% /dev
tmpfs tmpfs 2,0G 88K 2,0G 1% /dev/shm
devpts devpts 0 0 0 - /dev/pts
/dev/sda10 ext3 138G 49G 83G 38% /home
fusectl fusectl 0 0 0 - /sys/fs/fuse/connections
/dev/sda1 fuseblk 56G 30G 27G 54% /media/26DADFEFDADFB96F
/dev/sda2 ext3 487M 42M 420M 9% /media/Fedora_boot
/dev/sda3 ext2 20G 44M 19G 1% /media/ec2f66af-ab80-4a9d-bcde-1f0cf5bde70a
/dev/sda6 ext3 20G 3,9G 15G 21% /media/openSuse_64
/dev/sda7 ext4 20G 3,2G 16G 17% /media/Fedora-12
/dev/sda9 ext4 20G 2,6G 16G 15% /media/ubuntu
regarde il y a toute sorte de systeme de fichier et pourtant je suis parti d’une lenny que j’ai migrer vers une sid
allez rien que pour toi je suis revenu en grub-legacy
Supression de grub2
21:41 root@pc-de-michael /home/michael# apt-get remove grub2
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
quilt libboost-python1.39.0
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets suivants seront ENLEVÉS :
grub2
0 mis à jour, 0 nouvellement installés, 1 à enlever et 1 non mis à jour.
Après cette opération, 279ko d'espace disque seront libérés.
Souhaitez-vous continuer [O/n] ? O
(Lecture de la base de données... 190776 fichiers et répertoires déjà installés.)
Suppression de grub2 ...
controle de mon menu.lst
[code]21:43 root@pc-de-michael /home/michael# cat /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-legacy-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=UUID=1fb45faf-a1bc-4221-bf77-1097ed20c0e1 ro
default grub root device
e.g. groot=(hd0,0)
groot=(hd0,4)
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
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=(single-user) single
altoptions=(single-user 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 Debian GNU/Linux, kernel 2.6.31-1-amd64
root (hd0,4)
kernel /boot/vmlinuz-2.6.31-1-amd64 root=UUID=1fb45faf-a1bc-4221-bf77-1097ed20c0e1 ro quiet
initrd /boot/initrd.img-2.6.31-1-amd64
title Debian GNU/Linux, kernel 2.6.31-1-amd64 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.31-1-amd64 root=UUID=1fb45faf-a1bc-4221-bf77-1097ed20c0e1 ro single
initrd /boot/initrd.img-2.6.31-1-amd64
title Debian GNU/Linux, kernel 2.6.26-2-amd64
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=1fb45faf-a1bc-4221-bf77-1097ed20c0e1 ro quiet
initrd /boot/initrd.img-2.6.26-2-amd64
title Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=UUID=1fb45faf-a1bc-4221-bf77-1097ed20c0e1 ro single
initrd /boot/initrd.img-2.6.26-2-amd64
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/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
[/code]
Installation de grub-legacy
[code]21:44 root@pc-de-michael /home/michael# apt-get install grub-legacy
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
quilt libboost-python1.39.0
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Paquets suggérés :
grub-legacy-doc multiboot-doc mdadm
Les paquets suivants seront ENLEVÉS :
grub grub-pc
Les NOUVEAUX paquets suivants seront installés :
grub-legacy
0 mis à jour, 1 nouvellement installés, 2 à enlever et 1 non mis à jour.
Il est nécessaire de prendre 929ko dans les archives.
Après cette opération, 127ko d’espace disque seront libérés.
Souhaitez-vous continuer [O/n] ? O
Réception de : 1 http://ftp.fr.debian.org squeeze/main grub-legacy 0.97-59 [929kB]
929ko réceptionnés en 1s (871ko/s)
(Lecture de la base de données… 190763 fichiers et répertoires déjà installés.)
Suppression de grub …
dpkg : grub-pc : problème de dépendance, mais suppression comme demandé :
startupmanager dépend de grub | grub-pc ; cependant :
Le paquet grub n’est pas installé.
Le paquet grub-pc doit être supprimé.
Suppression de grub-pc …
Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm
Running update-grub Legacy to remove our core.img in it
Searching for GRUB installation directory … found: /boot/grub
Searching for default file … found: /boot/grub/default
Testing for an existing GRUB menu.lst file … found: /boot/grub/menu.lst
Searching for splash image … none found, skipping …
Found kernel: /boot/vmlinuz-2.6.31-1-amd64
Found kernel: /boot/vmlinuz-2.6.26-2-amd64
Updating /boot/grub/menu.lst … done
Traitement des actions différées (« triggers ») pour « man-db »…
Sélection du paquet grub-legacy précédemment désélectionné.
(Lecture de la base de données… 190575 fichiers et répertoires déjà installés.)
Dépaquetage de grub-legacy (à partir de …/grub-legacy_0.97-59_amd64.deb) …
Traitement des actions différées (« triggers ») pour « man-db »…
Paramétrage de grub-legacy (0.97-59) …
[/code]
Installation sur le PBR
[code]21:45 root@pc-de-michael /home/michael# grub-install /dev/sda5
Searching for GRUB installation directory … found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install’.
(hd0) /dev/sda
(hd1) /dev/sdb[/code]
je reboot, je suis bien en grub-legacy et mes fichiers en ext4 sont bien monté
21:48 root@pc-de-michael /home/michael# df -Ta
Sys. de fich. Type Tail. Occ. Disp. %Occ. Monté sur
/dev/sda5 ext3 20G 7,2G 12G 40% /
tmpfs tmpfs 2,0G 4,0K 2,0G 1% /lib/init/rw
proc proc 0 0 0 - /proc
sysfs sysfs 0 0 0 - /sys
udev tmpfs 10M 236K 9,8M 3% /dev
tmpfs tmpfs 2,0G 88K 2,0G 1% /dev/shm
devpts devpts 0 0 0 - /dev/pts
/dev/sda10 ext3 138G 49G 83G 38% /home
fusectl fusectl 0 0 0 - /sys/fs/fuse/connections
/dev/sda1 fuseblk 56G 30G 27G 54% /media/26DADFEFDADFB96F
/dev/sda2 ext3 487M 42M 420M 9% /media/Fedora_boot
/dev/sda3 ext2 20G 44M 19G 1% /media/ec2f66af-ab80-4a9d-bcde-1f0cf5bde70a
/dev/sda6 ext3 20G 3,9G 15G 21% /media/openSuse_64
/dev/sda9 ext4 20G 2,6G 16G 15% /media/ubuntu
/dev/sda7 ext4 20G 3,2G 16G 17% /media/Fedora-12
ca te va
petite precision j’install pas sur le mbr mais ca mon trucs, je ne ssais pas ou tu install grub donc ce n’est peut etre pas pour toi sda5
OK. Super sympa.
J’essaierai ce WE. Plus trop de temps d’ici-là.
Merci encore.
Et si quelqu’un a une idée sur le /home qui disparaît lorsque je déconnecte le premier DD (sur lequel je n’ai rien d’autre que VIsta !!!), je suis preneur.
Bonjour,
En fait, j’ai fait une manip’ à ma sauce.
J’ai réinstallé Ubuntu 9.04 qui dispose du Grub 1. J’ai upgradé en 9.10, qui m’a conservé le Grub 1 et là, tout marche nickel et sans aucun délai d’attente.
Pas très cool comme méthode mais, bon, ça fonctionne.
Mickfr, la manip’ que tu m’avais conseillée n’a pas fonctionné correctement. J’ai dû mal configurer le lieu où mettre mon grub.
Merci pour tout quand même.