[Novalug] Re: grub (was CentOS/Ubuntu)
Bonnie Dalzell
bdalzell@qis.net
Thu Jan 3 15:12:40 EST 2008
On Thu, 3 Jan 2008, RogerB wrote:
R >B'tooth:
R >
R >On Thu, 3 Jan 2008 10:06:38 -0800 (PST), Beartooth <karhunhammas@Lserv.com>
R >wrote:
R >> On Thu, 3 Jan 2008, RogerB wrote: [...]
R >[snips here and there]
R >
R >>> In menu.txt, probably in /root/grub, there will be a line for
R >>> SuSE (as well as Windows and Ubuntu. In my case it had a SuSE
R >>> entry that included "2.6.16.20" as part of the text. So, AS
R >>> ROOT (root owns menu.txt), one edits menu.txt to change the
R >>> text from "2.6.16.20" to "2.6.16.2."
R >>
R >> Is that last 2 a typo for 21??
R >
in my experience the grub boot config file is called menu.lst and it
resides in
/boot/grub/menu.lst
depending on the os that installed the grub there will be a lot of stuff
you do not need to worry about
all lines starting with # are comment lines.
there may be a section called "examples" these can be useful
the section that boots your linux distro will look something like this
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,5)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=21005f09-e311-4d0c-8ee5-d39466f391ec $
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault
title is just a label for the title of what you are booting - it has
no effect on what you boot.
root root points to where the boot directory is. in my case it is in
partition 4 on harddisk one.
grub is confusing because it numbers the partitions and disks from 0
(zero) rather than from 1 (one)
kernel refers to the kernel you are going to boot. in this case the kernel
is in the boot subdir of partition 4 on hda (or in grubspeak hd0/5/boot
initrd refers to the ram disk needed for intition and boot. its
compressed image is in the same place as the kernel for the OS
hope some of this helps
R >Yeah: sorry.
R >
R >> Where is it?? Beagle shows me half a dozen hits, of which
R >> the likeliest, /usr/share/doc/grub-0.97/menu.lst, might as well
R >> be in cuneiform Hittite for all I can make of it ...
R >
R >I don't know for your distro . . . that looks like it may be it. Have you
R >LOOKED at menu.lst? It should entries that are a dead give-away: this is
R >what produces the menu you see when you boot. (Oh: sorry: I don't
R >understand cuneiform - you are on your own with that.)
R >
R >>> I found it very instructive to bone-up on grub. It controls
R >>> your system at boot for many distros. I've got some references
R >>> if you want 'em.
R >>
R >> Please! I need all the help I can get with grub. TIA!
R >
R >Take a look at
R > http://www.gnu.org/software/grub/manual/grub.html
R >The SuSE Admin guide, e.g., for 9.3, has a good discussion of Grub too:
R >
R >http://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.3/suselinux-adminguide_en/
R >--
R >Roger Broseus
R > email: RogerB@bronord.com
R > web: www.bronord.com
R >
R >_______________________________________________
R >Novalug mailing list
R >Novalug@calypso.tux.org
R >http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
R >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bonnie Dalzell, MA
mail:5100 Hydes Rd PO Box 60 - Hydes MD USA 21082-----EMAIL:bdalzell@qis.net
freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
Editor Net.Pet Online Animal Magazine - http://www.netpetmagazine.com
HOME http://www.qis.net/~borzoi/ BUSINESS http://www.batw.com
More information about the Novalug
mailing list