Le 13/01/2011 10:59, Dale a écrit : > Jacques Montier wrote: >> >> What i did this morning : >> - boot from a sysrescuecd cdrom. >> >> I have 4 partitions for boot, /, usr and home, so : >> - mount /dev/sda6 /mnt/gentoo >> - mount /dev/sda3 /mnt/gentoo/boot >> - mount /dev/sda7 /mnt/gentoo/usr >> - mount /dev/sda8 /mnt/gentoo/home >> - mount -t proc proc /mnt/gentoo/proc >> - mount -o bind /dev /mnt/gentoo/dev >> - cd /mnt/gentoo >> - chroot /mnt/gentoo /bin/bash >> - emerge grub >> >> So grub-0.97-r10 is installed, but grub can't create grub directory >> beause of read-only boot partition... >> >> >> I tried >> >> - export DONT_MOUNT_BOOT >> - emerge grub >> >> But no success... >> >> -- >> Jacques >> >> > > Try typing in mount with no options and see what it says. Does it say > it is mounted (rw) or (ro)? Does the file system match what you > formatted it with? > > Dale > > :-) :-) > It's strange. When i mount the boot partition /dev/sda3, this one is (rw) ; i make test directory with success. As soon as i run emerge grub, the boot partition become (ro) and can't create directory ; i can't make test directory anymore. So i tried something very dirty ... I unmounted the boot partition, so the boot directory in / is empty. I emerge grub with success and get the grub directory i could backup. I mount the boot partition et copy the grub directory into /boot. I edit the grub.conf and it works ; Gentoo's booting... It works but i don't like the process at all... It's the first time i encount such a problem about grub.
-- Jacques

