[ale] HD failed- grub2-install; fails.. half-solved

Horkan Smith ale at horkan.net
Tue Oct 28 12:13:01 EDT 2014


Have you re-run grub2-install while booted from the correct drive/partition?  Or only run it when you booted from the old drive?

later!
   horkan

On Tue, Oct 28, 2014 at 11:58:48AM -0400, Paul Cartwright wrote:
> On 10/28/2014 11:23 AM, Horkan Smith wrote:
> > Most likely, it's looking at a different grub.c* file.
> >
> > Is there a /boot/grub/grub.conf, /boot/grub/grub.cfg or /boot/grub2/grub.cfg?
> >
> > On my Debian and Arch systems, it's /boot/grub/grub.cfg, but not sure on your setup.
> >
> > Also, when you ran the grub-install, did you run it with the same disks mounted as what you actually want to run from?  I.e., was there a /boot/grub* visible in the filesystem when you ran grub-install, and is it the same /boot/grub* that you used for the grub-mkconfig step?  Or, did you pass grub-install a --boot-directory option?  If this paragraph doesn't make any sense, let me know... 8-)
> >
> > later!
> >    horkan
> it makes perfect sense, but I made no extra options. I ran
> grub2-mkconfig -o /boot/grub2/grub.conf
> 
> then you run
> grub2-install --force /dev/sda
> 
> reboot, and, the 3.17 isn't there..
> 
> grub2-mkconfig -o /boot/grub2/grub.conf
> Generating grub configuration file ...
> Found linux image: /boot/vmlinuz-3.17.1-304.fc21.x86_64
> Found initrd image: /boot/initramfs-3.17.1-304.fc21.x86_64.img
> Found linux image: /boot/vmlinuz-3.16.1-301.fc21.x86_64
> Found initrd image: /boot/initramfs-3.16.1-301.fc21.x86_64.img
> 
> -- 
> Paul Cartwright
> Registered Linux User #367800 and new counter #561587
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

-- 
Horkan Smith
678-777-3263 cell, ale at horkan.net


More information about the Ale mailing list