linux user group brescia

immagine del castello

Archivio della mailing list

Distribuzioni Linux : viva l'avventura!

andrea gelmini andrea.gelmini a lugbs.linux.it
Sab 7 Set 2002 13:26:44 UTC
On sab, set 07, 2002 at 03:05:23 +0200, Enrico Colombini wrote:
> Si', grazie. Sulla doc in formato info (formato che odio per vari motivi)
eretico! oddio, la navigazione e` fottutamente scomoda per chi non usa
emacs... percio` consiglio sempre pinfo.

comunque, ad eventuale beneficio d'altri, ecco il README.Debian di grub:

*********************************************************************

grub for Debian
---------------

GRUB is a GPLed bootloader intended to unify bootloading across x86
operating systems.  In addition to loading Linux and FreeBSD, it
implements the Multiboot standard, which allows for flexible loading
of multiple boot images (needed for modular kernels such as the GNU
Hurd).

One unique feature of GRUB is that it can understand filesystems at
boot time, rather than just simple blocklists.  Hence, you can load
any kernel in the file system from the boot prompt without having to
edit configuration files or rerun a special installation program.

GRUB also automatically detects BIOS lba block addressing.  To force
lba mode see the GRUB `setup` command.  Lilo's install and map 
directives are fulfilled by GRUB's `root` and `setup` commands.  To
reinstall GRUB, the installation location is either determined at 
runtime by the `grub-install` script or given as an option to the 
`setup` command.

more documentation
------------------
the full grub documentation is available in the grub-doc package.

quick setup
-----------

after installing the package:

1) grub-install /dev/hda
   or if /boot is a separate partition
   grub-install --root-directory=/boot /dev/hda

   using in place of /dev/hda the device that you boot from

2) update-grub which will create a menu.lst for you if one does not exist
   or manually create one, and skip to step 4

3) edit /boot/grub/menu.lst
   or if /boot is a separate partition
   edit /boot/boot/menu.lst

   and change groot, and kopt to whatever settings you need.
   modify anything else in the menu.lst you want,

   re-run update-grub to update the lines for each kernel to those
   that you specified with groot and kopt

4) thats it, making sure you have a rescue disk or some other way to boot
   your machine attempt to reboot using grub!

   to create a grub boot floppy:

   cat /boot/grub/stage1 /boot/grub/stage2 > /dev/fd0
   
   using in place of /dev/fd0 the device that is for your floppy drive.

   note: that you need to run grub-install each time a new grub package
         is installed, this script updates the grub images in /boot/grub
	 or /boot/boot/grub and installs grub into the boot sector.

for more detailed information see the info documentation or manpages

update-grub
-----------
This script is a debian specific addon used to generate a menu.lst for you
either intially, and/or automatically everytime you install a new kernel.

To setup automatic updates add these lines to your /etc/kernel-img.conf:

postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
do_bootloader = no

For further information see the manpage kernel-img.conf(5) or update-grub(8)

Unlike Lilo, it is not necessary to re-run or re-install the boot loader 
after every change to /boot/grub/menu.lst.  menu.lst is automatically 
found on GRUB's root disk and read during GRUB's boot process.

initrd
------
Be warned if your initrd image is larger than 4MB it is bigger than the
default ramdisk size and you will need to use a kernel command line
option like the following:

ramdisk_size=16384

splashimage support
-------------------
Other Distributions use of graphics is an unofficial extension to Grub that has
not yet been included by the developers in the official software. The patch
was first proposed on the bug-grub mail list late in 2001. This feature will
not be supported by upstream until after the 1.0 version of Grub is released.

For more information, see bugs at http://bugs.debian.org/grub

netbsd/freebsd/*bsd
-------------------
>From http://www.gnu.org/software/grub/#bsd :

"We really need help by BSD hackers. Currently, almost nobody works for
BSD-based operating systems, such as FreeBSD, NetBSD, and OpenBSD. So we have
critical problems in booting later versions of NetBSD and OpenBSD.  FreeBSD is
not a big problem, because GRUB can boot it via /boot/loader for now.

If you're willing to give help to us, please contact us."

*********************************************************************



Maggiori informazioni sulla lista Lug