Re: [Cooker] Re: [CHRPM] NAME: grub VER: 0.5.93.1 REL: 2mdk
David Walluck wrote: [EMAIL PROTECTED] wrote: 2) add a script to build a generic grub boot floppy, or better add this boot image in the rpm. Here is such a script (version 0.0.1 :-) I'd also like it to install to my hard drive for me, as well. I mean, with lilo all I type is "lilo" and it works like magic. grub has some serious usability concerns if you ask me, well.. so does all GNU software in one way or another, for that matter. If GNU software was easy to use there would be no reason for Mandrake, so I guess I'm happy that it is :) -- Sincerely, David Walluck [EMAIL PROTECTED] I just started working on it. btw, according to grub's doc, the safe way to install grub on a hd is first to build a boot floppy including the correct "install" command, boot with this floppy and run the included "install". So you won't escape the floppy ! I'm now writing a script that build a custom "menu.lst" so the floppy generated will be adapted to your system so the grub's installation proc will be : 1) install the grub rpm 2) create the boot floppy including the custom menu.lst 3) boot from this floppy, check that every boot option works, then run the "install" menu item. That's all. This proc is valuable for a LILO-GRUB conversion. I believe it will be easier when it'll be included in the standard install process.
[Cooker] Re: [CHRPM] NAME: grub VER: 0.5.93.1 REL: 2mdk
I had a look at your grub.spec file. I woud suggest the following improvements : 1) add the doc in the rpm via ./configure ... make cd docs make dvi in the build section and %doc docs/grub.dvi %dos docs/multiboot.dvi in the file section. 2) add a script to build a generic grub boot floppy, or better add this boot image in the rpm. Here is such a script (version 0.0.1 :-) ## creates a boot.img file in the current directory ## this file contains a generic grub boot floppy ## just create the floppy with dd if=./boot.img of=/dev/fd0 ## B. Bodin january 2000 grubdir=/usr/share/grub/i386-pc mount_point=/tmp/floppy image=boot.img rm -rf $image dd if=/dev/zero of=$image bs=1k count=1440 /sbin/mke2fs -F $image /dev/null mkdir -p $mount_point mount -o loop -t ext2 $image $mount_point mkdir -p $mount_point/boot/grub cp $grubdir/stage1 $mount_point/boot/grub cp $grubdir/stage2 $mount_point/boot/grub cp /usr/doc/grub-0.5.93.1/menu.lst $mount_point/boot/grub umount $mount_point /usr/sbin/grub --batch EOF /dev/null device (fd0) ./$image install (fd0)/boot/grub/stage1 (fd0) (fd0)/boot/grub/stage2 p quit EOF Bruno -Message d'origine- Sujet: [CHRPM] NAME: grub VER: 0.5.93.1 REL: 2mdk A: [EMAIL PROTECTED] De: Obiwan Kenobi [EMAIL PROTECTED] Date: Mon, 3 Jan 2000 16:40 -0600 --=-=-= Name: grubDistribution: Linux-Mandrake Version : 0.5.93.1 Vendor: MandrakeSoft Release : 2mdk Build Date: Mon Jan 03 14:39:49 2000 Install date: (not installed) Build Host: kenobi.mandrakesoft.com Group : System Environment/Base Source RPM: (none) Size: 435176 Packager: Chmouel Boudjnah [EMAIL PROTECTED] Summary : GRand Unified Bootloader Description : GRUB is a GPLed bootloader intended to unify bootloading across x86 operating systems. In addition to loading the Linux and *BSD kernels, it implements the Multiboot standard, which allows for flexible loading of multiple boot images (needed for modular kernels such as the GNU Hurd). --=-=-= Last Changelog: * Mon Jan 03 2000 Chmouel Boudjnah [EMAIL PROTECTED] grub-0.5.93.1-2mdk - Add Chmouel Boudjnah [EMAIL PROTECTED] (thnks rpmlint). - Remove CFLAGS.
Re: [Cooker] Re: [CHRPM] NAME: grub VER: 0.5.93.1 REL: 2mdk
[EMAIL PROTECTED] wrote: 2) add a script to build a generic grub boot floppy, or better add this boot image in the rpm. Here is such a script (version 0.0.1 :-) I'd also like it to install to my hard drive for me, as well. I mean, with lilo all I type is "lilo" and it works like magic. grub has some serious usability concerns if you ask me, well.. so does all GNU software in one way or another, for that matter. If GNU software was easy to use there would be no reason for Mandrake, so I guess I'm happy that it is :) -- Sincerely, David Walluck [EMAIL PROTECTED]