Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39445 - sys-boot/grub-0.93.20030118 -> Unrecognized option `--just-copy'
Summary: sys-boot/grub-0.93.20030118 -> Unrecognized option `--just-copy'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 39478 39504 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-26 05:59 UTC by Lesley van Zijl
Modified: 2004-05-03 13:15 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lesley van Zijl 2004-01-26 05:59:45 UTC
When I try to emerge the latest grub it succeeds but the Unrecognized option bothers me.

>>> /sbin/grub
>>> /sbin/grub-install
>>> /sbin/grub-md5-crypt
>>> /sbin/grub-terminfo
--- /bin/
>>> /bin/mbchk
--- /boot/
--- /boot/grub/
>>> /boot/grub/splash.xpm.gz
>>> /boot/grub/grub.conf.sample
Unrecognized option `--just-copy'
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.

  -h, --help              print this message and exit
  -v, --version           print the version information and exit
  --root-directory=DIR    install GRUB images under the directory DIR
                          instead of the root directory
  --grub-shell=FILE       use FILE as the grub shell
  --no-floppy             do not probe any floppy drive
  --force-lba             force GRUB to use LBA mode even for a buggy
                          BIOS
  --recheck               probe a device map even if it already exists

INSTALL_DEVICE can be a GRUB device name or a system device filename.

Report bugs to <bug-grub@gnu.org>.
cp: omitting directory `/usr/lib/grub/grub'
>>> Regenerating /etc/ld.so.cache...


Reproducible: Always
Steps to Reproduce:
1. emerge grub
2. scroll up to the last steps of the ebuild
3. think 'is it a smart move to reboot' :)

Actual Results:  
syntax error in ebuild or use of deprecated option or use of unknown option
causes an error but doesnt stop the ebuild

Expected Results:  
no problems 

nemo root # emerge info
Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-mm5)
=================================================================
System uname: 2.6.1-mm5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc fixpackages sandbox"
GENTOO_MIRRORS="ftp://sunsite.dk/mirrors/gentoo/ http://gentoo.linux.no/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa avi crypt dga dvd encode faad gif gtk
gtk2 imlib ipv6 java jpeg kde lcms mad mikmod mmx motif mpeg ncurses nptl
oggvorbis opengl pam pdflib perl pic png python qt qtmt quicktime readline sdl
spell sse ssl svga tcltk tcpd tiff truetype wmf x86 xinerama xml xml2 xmms xv xvid"
Comment 1 ferret 2004-01-26 09:18:45 UTC
I ignored the error when I saw it, but then I was curious to see what would
happen if I removed grub, emptied /boot/grub and tried to install this version.

Then, not everything was put in /boot/grub... whereas before I had:

e2fs_stage1_5 fat_stage1_5 ffs_stage1_5 grub.conf grub.conf.sample jfs_stage1_5
menu.lst minix_stage1_5 nbgrub pxegrub reiserfs_stage1_5 splash.xpm.gz stage1
stage2 stage2.netboot vstafs_stage1_5 xfs_stage1_5

Now I had:

grub.conf grub.conf.sample menu.lst nbgrub pxegrub splash.xpm.gz stage2 stage2.netboot

I couldn't run grub then (cannot find stage1 after doing "setup (hd0)"), and I
doubt I would have been able to boot my system.

So I did "cp /usr/lib/grub/grub/i386-pc/* /boot/grub/" and everything was nice
again.

Perhaps the ebuild needs to be altered to do this, now that grub-install seems
to have changed.
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2004-01-26 12:56:44 UTC
*** Bug 39478 has been marked as a duplicate of this bug. ***
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-01-26 14:55:11 UTC
*** Bug 39504 has been marked as a duplicate of this bug. ***
Comment 4 Moshe Kamensky 2004-01-27 01:32:24 UTC
The same happens with grub-0.93.20031222
Comment 5 SpanKY gentoo-dev 2004-05-03 12:30:11 UTC
still an issue with grub 0.94 ?
Comment 6 Lesley van Zijl 2004-05-03 13:11:03 UTC
nope solved
Comment 7 SpanKY gentoo-dev 2004-05-03 13:15:19 UTC
cool :)