Topic: Help with grub

So i wrote this little guide
http://crunchbanglinux.org/wiki/howto/b … fsarchiver
and at the time it worked!
Now, if i'm trying to install grub on a hdd using the same method, it fails. Where's the mistake ?
I mount the root
sudo grub-install --root-directory=/mnt /dev/sda - works!
but after i chroot, and try to update-grub i get

bash: update-grub: command not found

why o why ?

Re: Help with grub

Try sudo update-grub

Re: Help with grub

bash: sudo: command not found; no sudo either while chrooted, why ?

Edit: oh right, im dumb, those were the commands for recovering grub2; whereas now i was trying to recover grub1 with crunchbang live cd that has grub2 installed

so if you're trying to recover a grub1 distro you need to install grub-legacy from synaptic first DUH !!!
well.. i got it working now big_smile

Edit2: in fact, you dont even need to install grub1 to your host, just dont do a grub2 install over your grub1 one like i did, skip that part, chroot and reinstall grub1 from there

Last edited by Vikerness (2011-01-13 15:15:44)