On Thu, Jul 08, 2004 at 12:28:21PM +0200, Finn-Arne Johansen wrote: > On Thu, Jul 08, 2004 at 12:29:20PM +0300, Pasi Kärkkäinen wrote: > > On Wed, Jul 07, 2004 at 06:17:38PM +0200, Finn-Arne Johansen wrote: > > > On Wed, Jul 07, 2004 at 11:07:24AM -0400, Joey Hess wrote: > > > > Pasi Kärkkäinen wrote: > > > > > "Unable to install GRUB in (hd0) > > > > > Executing 'grub-install (hd0)' failed. > > > > > This is a fatal error" > > > > > > > > > > and in the console 3: > > > > > > > > > > "Probing devices to guess BIOS drives. This may take a long time. > > > > > /dev/ida/c0d0p2 does not have any corresponding BIOS drive." > > > > > > > > > > that c0d0p2 looks weird.. there's no such device in /dev/ida/. > > > > > > > > grub-install is running in the /target chroot, and you should indeed > > > > have a /target/dev/ida/c0d0p2; that's the standard name for this device. > > > > > > When grub install fails the first time, do a > > > echo "(hd0) /dev/ida/c0d0" >> /target/boot/grub/device.map > > > > > > Then retry the grub install, and see if it solves your problem. > > > > > > > Yep, that helped. After echoing that to device.map, I chrooted myself to > > /target, and ran grub-install hd0. After this grub loads fine when I boot up > > the system. > > > > > > > I also tried booting with a grub floppy, and then manually booting using the > > > > > installed kernel from the second partition of the disk.. kernel panics > > > > > because it cannot mount root (because the cpqarray driver is not loaded..). > > > > I'd suggest you file a bug on initrd-tools about this. It should > > > > presumably include such drivers in the initrd. > > > > > > > Hmm.. any ideas how to manually add the cpqarray driver to initrd? I still > > cannot boot up the system, because the driver is not loaded during boot and > > because of that the root-fs cannot be mounted.. > > Add the a line to /etc/mkinitrd/modules conatining > cpqarray >
That did the trick. I booted using the netinst CD, mounted the installed partitions from the hd, chrooted inside them, edited the /etc/mkinitrd/modules, recreated the mkinitrd image, reinstalled grub, and now the system boots up fine from the hd. Thanks. Now, it would be nice if this was done automatically :) -- Pasi Kärkkäinen ^ . . Linux / - \ Choice.of.the .Next.Generation. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]