James Bannan05 June 2008, 1:59 PM
How to dual-boot Windows XP and Linux. (Now updated for XP SP 3 and Ubuntu 8.04.)
Page 2 - Back up the GRUB boot menu
Regardless of which bootloader you end up using, it's a very good move to first back up the GRUB bootloader. It's easy to lose it and unless you know how to re-write it from scratch then you're generally facing a full reinstallation of Ubuntu.
Firstly, boot into Ubuntu and go to Applications --> Accessories --> Terminal. Then, type in sudo gedit /boot/grub/menu.lst.
This text file contains all the information GRUB uses to configure various boot options. Scroll down and the entries between "## ## End Default Options ##" and "### END DEBIAN AUTOMATIC KERNELS LIST" are the Linux boot options.
Make a backup of the file by going to File, Save As and selecting a different location. Or take a full copy of the contents and place it into a new text file. If you can, create the backup on a removable disk or networked location.