Re: GRUB-Installation mit chroot
ms@pluto:~$ sudo mount /dev/hdb5 /mnt
ms@pluto:~$ sudo mount /dev/hdb1 /mnt/boot
ms@pluto:~$ sudo mount /dev/hdb2 /mnt/usr
ms@pluto:~$ sudo mount -o bind /dev /mnt/dev
ms@pluto:~$ sudo mount -o bind -t proc /proc /mnt/proc
ms@pluto:~$ sudo chroot /mnt
root@pluto:/# cp /proc/mounts /etc/mtab
root@pluto:/# grub-install /dev/hdb
The file /boot/grub/stage2 not read correctly.
Geht das nicht einfach mit der root-directory-Option?
Eine andere, etwas umständlichere Variante: Grub auf eine Floppy
installieren (unter info grub beschrieben), die Floppy booten, dann über
die grub-shell Dein neues System booten, von dort grub-install /dev/soundso.
GRUB-INSTALL(8) FSF
GRUB-INSTALL(8)
NAME
grub-install - install GRUB on your drive
SYNOPSIS
grub-install [OPTION] install_device
DESCRIPTION
Install GRUB on your drive.
-h, --help
print this message and exit
-v, --version
print the version information and exit
--root-directory=DIR
install GRUB images under the directory DIR instead of
the root
directory
Reply to: