Is there a resource on the internet, where I can download a single file I need in my ubuntu server install?
In this case, I need a clean version of /etc/grub.d/00_header
for Ubuntu server 12.04. There are other times I would like to get a clean version of a file, for a specific linux version.
Besides installing ubuntu again somewhere else, and copying the file from there, how would I go about getting the file I need?
I did an apt-get upgrade
in the hopes of a new version of grub replacing the problematic version, and get this error. As I understand it, the updated grub should replace the old one (I chose to use the package maintainers version of /etc/defualt/grub) and so the errors it has after parsing are to do with the new grub version, not my local version. Is that correct?
Replacing config file /etc/default/grub with new version
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-25-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-25-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
error: syntax error.
error: Incorrect command.
error: syntax error.
error: line no: 32
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
done