These informations in addition:

# df | grep custom
/dev/sdb2             24034944   2740660  20073344  13% /mnt/custom

# mount | tail -3
/dev/sdb2 on /mnt/custom type ext4 (rw)
/proc on /mnt/custom/proc type none (rw,bind)
/dev on /mnt/custom/dev type none (rw,bind)

>From my testing:

--- MOUNTS ---
# mount -t ext4 /dev/sdb2 /mnt/custom
# mount --bind /proc /mnt/custom/proc
# mount --bind /dev /mnt/custom/dev

--- CHROOT ---
# chroot /mnt/custom bin/bash
# grub-install /dev/sda
Installation finished. No error reported.
# exit

--- UMOUNTS ---
# umount /mnt/custom/dev
# umount /mnt/custom/proc
# umount /mnt/custom


- Sedat -

On Fri, Jun 18, 2010 at 4:16 PM, Sedat Dilek <sedat.di...@googlemail.com> wrote:
> Hi Dominique,
>
> I tried to reproduce on how to fix the problem: You have a little
> typo, here are the correct steps:
>
> 1. boot systemrescuecd
> 2. mount -t ext3 /dev/sda2 /mnt/custom <--- TYPO
> 3. mount --bind /proc /mnt/custom/proc
> 4. mount --bind /dev/ /mnt/custom/dev
> 5. chroot /mnt/custom bin/bash
> 6. grub-install /dev/sda
>
> Kind Regards,
> - Sedat -
>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to