I got the /dev/sda created under /mnt/custom The error still presists though...
This is what I can find: > If you get an error that says The file /boot/grub/stage1 not read correctly, > it probably means that your fstab/mtab is incorrect for some reason and > needs to be fixed. These files are /etc/mtab and /etc/fstab. Edit them and > make sure they point to the correct partitions, then rerun grub-install. I checked /etc/fstab points correctly :) > If this still doesn't fix the error message and you're using ext2/3 as > filesystem for your boot partition, use "tune2fs -l /dev/sda1" to check for > the Inode size of your root/boot partition. Anything else than 128 will make > grub unable to read the partition. The only solution for this problem is to > recreate your rootfs with the correct options (fix /etc/mke2fs.conf and set > inode_size to 128). The data returned shows inode size is 256, is this a problem? :) I am not sure how recent this documentation is (http://wiki.archlinux.org/index.php/Reinstalling_GRUB) On Thursday 03 July 2008 15:03:22 Noam Rathaus wrote: > Hi, > > Issue is that if I chroot, there is no /dev/sda there.. unless u tell me > how to manually create it :) > > On Thursday 03 July 2008 14:17:46 Shachar Shemesh wrote: > > Noam Rathaus wrote: > > > Hi, > > > > > > I mounted the problematic disk with a rescue disk. > > > > > > Under /mnt/custom > > > > > > Now when I try to run grub-install: > > > grub-install --root-directory=/mnt/custom /dev/sda > > > > > > I get > > > The file /mnt/custom/grub/boot/stage1 not read correctly > > > > Don't use "--root-directory". Chroot into it. Either that, or break your > > teeth on the "setup" and "install" commands available by running grub > > itself. > > > > Shachar -- Noam Rathaus CTO [EMAIL PROTECTED] http://www.beyondsecurity.com "Know that you are safe." Beyond Security Finalist for the "Red Herring 100 Global" Awards 2007 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
