Sorry. I guess the UUID was too long for my eyeballs and I stopped reading.
As for which program to use? Yes, I was rather confused. The man pages for the two programs were less than illuminating. Grub-install says "install Grub to a device" and grub-setup says "set up a device to boot using Grub." This doesn't help much: it's not obvious whether a setup is part of an install or something that happens afterwards. Perhaps you should add a "ALSO SEE" section onto the man page that says "Grub-setup is normally run via grub-install." And, then one for grub-install saying "Grub install ???copies files and runs and grub-setup." Anyhow, thanks for your quick, polite, and helpful answer. On 05/09/10 21:34, Colin Watson wrote: > On Sun, Sep 05, 2010 at 02:59:27PM -0000, gpk wrote: > >> Running grub-setup from the Maverick beta live CD. It says it "cannot >> stat", but >> ls -l works just fine, so stat is available on the files. QED grub-setup >> is wrong. >> >> ~$ sudo grub-setup --dir=/media/6450dc61-f615-4a4e-8872-0189e5e73a81/boot >> /dev/sda >> grub-setup: error: cannot stat >> /media/6450dc61-f615-4a4e-8872-0189e5e73a81/boot/boot.img. >> $ ls -l /media/6450dc61-f615-4a4e-8872-0189e5e73a81/boot >> > "/media/6450dc61-f615-4a4e-8872-0189e5e73a81/boot" is not the same as > "/media/6450dc61-f615-4a4e-8872-0189e5e73a81/boot/boot.img", and the > latter does not exist. grub-setup's error message is accurate. > > This is because your --directory argument needs to have /grub appended > to it. > > (Are you really, really sure that you want to be running grub-setup on > its own, though, rather than grub-install?) > > -- grub falsely(?) says it cannot stat https://bugs.launchpad.net/bugs/630904 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs