Tech Tips

 in
Not all tips have to be complex or obscure to be useful.

to this:

title	Second Linux Distro
root	(hd1,0)

Copy the original grub (with the modified menu.lst that adds the new distribution) back to the grub directory:

cd /mnt/boot
cp -a grub.original/* ./grub

This copies not only the updated menu.lst file, but it also restores the original GRUB binary files. The next time you reboot, you should see a menu entry for the original distribution plus the one you added.

To add more distributions, create new partitions, rinse, repeat.

You occasionally may find that you need to reset GRUB after you install a new distribution. Given our sample partitions above, simply do this as root:

grub
> root (hd0,0)
> setup (hd0)

One last tip: don't forget that when you upgrade a distribution such that it installs a new kernel, you'll have to view the new /boot/grub/menu.lst file for that distribution and use it as the guide to modify /mnt/boot/grub/menu.lst to use the updated kernel.

—Nicholas Petreley

______________________

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

hi

news's picture

i am very interested in linux now.

hi

miami 's picture

hi i am starting to learn linux base platform. hope i can understand it

Free Dummies Books
Continuous Engineering

Learn:

  • What continuous engineering is
  • How to continuously improve complex product designs
  • How to anticipate and respond to markets and clients
  • How to get the most out of your engineering resources

Get your free book now

Sponsored by IBM

Free Dummies Books
Service Virtualization

Learn to:

  • Define service virtualization
  • Select the most beneficial services to virtualize
  • Improve your traditional approach to testing
  • Deliver higher-quality software faster

Get your free book now

Sponsored by IBM