makeactive when dual-booting with windows 7
Typical setup file
here is /vmlinuz-linux, but usually should be /boot/vmlinuz-linux
Yes, how about a raid section with the "find" command to install to a raid1? --PeGa! 16:20, 6 December 2009 (EST)
The following block was in a past version of the page, are we sure we want to omit it? The inode tip in particular seems to me worth preserving:
- If you get an error that says The file /boot/grub/stage1 not read correctly, it probably means that your
/etc/mtabis incorrect for some reason and needs to be fixed. Edit these files and make sure they point to the correct partitions, then rerun the grub shell or grub-install.
- If this still does not fix the error message and you are using ext2 or ext3 as a filesystem for your boot partition, use
tune2fs -l /dev/sda1to check for the inode size of your root/boot partition. Anything other than 128 will make grub unable to read the partition. The only solution for this problem is to recreate your root filesystem with the correct options (fix /etc/mke2fs.conf and set inode_size to 128).
- If you get an error that says sed: can not read /boot/grub/device.map: No such file or directory, it means that you need to use the --recheck option with grub-install:
grub-install --recheck /dev/sda