Configuring grub to dual boot Red Hat 6.2 / WindowsXP Dennis G. Allard January 26, 2002 http://oceanpark.com/notes/grub-install-020126.txt Prior to installing grub, I had acquired an HP Pavilion 5425 laptop and installed Red Hat 6.2, since I need the older Red Hat 6.2 for a work project involving Oracle and Tomcat servers that seem unstable on the Red Hat 7.2 kernel, as of January 2002. I repartitionned the HP WinXP 20GB partition using Paragon Partition Manager (an excellent program which resized the NTFS parition in a few minutes). I then acquired an ISO image of Red Hat 6.2 from a Red Hat mirror site, burned it using Nero running under WinXP and installed Red Hat 6.2. Grub does not come with the old Red Hat 6.2 installation, so I used the little square Red Hat System Administration Survival CD to boot to Red Hat 7.2 and experiment with grub. I also relied on the Web for various resources to locate grub tutorials and installation files. Of particular usefulness was: http://www.linuxjournal.com/article.php?sid=4622 Mirrored at: http://oceanpark.com/notes/grub.html What follows is the contents of my emacs *shell* buffer that recorded my entire session installing grub on the Red hat 6.2 box. System paramters: HP Pavilion 5425 notebook Red Hat 6.2 installation from Red Hat archives kernel 2.2.14-5.0 (not updated yet since initial install) File System: Red Hat 7.2 Red Hat 6.2 Sysadmin CD post boot linux name grub name mount point mount point size Reality ---------- --------- ----------- ----------- ------ ---------------------------------- /dev/hda1 (hd0,0) 24066 IBM Hibernation paritition /dev/hda2 (hd0,1) /mnt/dos0 ~9.9 GB NTFS5 partition (WinXP C: drive) /dev/hda3 (hd0,2) /mnt/mount0 /boot ~125 MB Linux /boot /dev/hda4 (hd0,3) -- Extended Partition /dev/hda5 (hd0,4) ~256 MB Linux swap /dev/hda6 (hd0,5) /mnt/mount1 / ~8.5 GB Linux root [root@puffer /root]# [root@puffer /root]# Installing grub on puffer (Red Hat 6.2) [root@puffer /root]# [root@puffer /root]# date Sun Jan 27 02:47:49 PST 2002 [root@puffer /root]# [root@puffer /root]# mkdir /temp [root@puffer /root]# [root@puffer /root]# #dga- I had already downloaded the grub source installation... [root@puffer /root]# [root@puffer /root]# cp -a /home/mirror/grub-0.5.96.1.tar.gz /temp [root@puffer /root]# cd /temp [root@puffer /temp]# tar xzf grub-0.5.96.1.tar.gz [root@puffer /temp]# ll total 700 drwxrwxr-x 10 1000 1000 4096 Oct 19 2000 grub-0.5.96.1 -rw-r--r-- 1 root root 707366 Jan 27 02:42 grub-0.5.96.1.tar.gz [root@puffer /temp]# [root@puffer /temp]# mv grub-0.5.96.1 /usr/local [root@puffer /temp]# cd .. [root@puffer /]# rm -fr /temp [root@puffer /]# cd /usr/local [root@puffer local]# ll total 44 drwxr-xr-x 2 root root 4096 Jan 27 02:44 bin drwxr-xr-x 2 root root 4096 Feb 6 1996 doc drwxr-xr-x 2 root root 4096 Feb 6 1996 etc drwxr-xr-x 2 root root 4096 Feb 6 1996 games drwxrwxr-x 10 1000 1000 4096 Oct 19 2000 grub-0.5.96.1 drwxr-xr-x 2 root root 4096 Jan 27 02:44 info drwxr-xr-x 2 root root 4096 Feb 6 1996 lib drwxr-xr-x 12 root root 4096 Jan 25 04:02 man drwxr-xr-x 2 root root 4096 Jan 27 02:44 sbin drwxr-xr-x 3 root root 4096 Jan 27 02:44 share drwxr-xr-x 2 root root 4096 Feb 6 1996 src [root@puffer local]# [root@puffer local]# cd grub-0.5.96.1/ [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# ll total 780 -rw-rw-r-- 1 1000 1000 1416 Sep 29 2000 AUTHORS -rw-rw-r-- 1 1000 1000 1540 May 12 2000 BUGS -rw-rw-r-- 1 1000 1000 17989 Mar 1 1999 COPYING -rw-rw-r-- 1 1000 1000 225658 Oct 19 2000 ChangeLog -rw-rw-r-- 1 1000 1000 8668 Sep 26 2000 INSTALL -rw-rw-r-- 1 1000 1000 228 Oct 18 1999 Makefile.am -rw-rw-r-- 1 1000 1000 12957 Oct 16 2000 Makefile.in -rw-rw-r-- 1 1000 1000 19257 Oct 19 2000 NEWS -rw-rw-r-- 1 1000 1000 3236 Jul 1 2000 README -rw-rw-r-- 1 1000 1000 2160 Oct 16 2000 THANKS -rw-rw-r-- 1 1000 1000 3239 Oct 16 2000 TODO -rw-rw-r-- 1 1000 1000 775 May 30 2000 acconfig.h -rw-rw-r-- 1 1000 1000 9187 May 30 2000 acinclude.m4 -rw-rw-r-- 1 1000 1000 14400 Oct 16 2000 aclocal.m4 -rwxrwxr-x 1 1000 1000 1868 Jun 16 2000 compile -rwxrwxr-x 1 1000 1000 24549 Mar 1 1999 config.guess -rw-rw-r-- 1 1000 1000 1779 Oct 16 2000 config.h.in -rwxrwxr-x 1 1000 1000 19762 Mar 1 1999 config.sub -rwxrwxr-x 1 1000 1000 105048 Oct 19 2000 configure -rw-rw-r-- 1 1000 1000 15714 Oct 16 2000 configure.in drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 debian -rwxrwxr-x 1 1000 1000 7773 Mar 26 2000 depcomp drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 docs drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 grub -rwxrwxr-x 1 1000 1000 5584 Mar 1 1999 install-sh drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 lib -rwxrwxr-x 1 1000 1000 2679 Jun 19 2000 mdate-sh -rwxrwxr-x 1 1000 1000 7619 Mar 26 2000 missing -rwxrwxr-x 1 1000 1000 727 Mar 1 1999 mkinstalldirs drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 netboot drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 stage1 drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 stage2 -rw-rw-r-- 1 1000 1000 10 Oct 16 2000 stamp-h.in -rw-rw-r-- 1 1000 1000 183111 Jun 19 2000 texinfo.tex drwxrwxr-x 2 1000 1000 4096 Oct 19 2000 util [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... mawk checking whether make sets ${MAKE}... yes checking host system type... i686-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking for gcc... gcc checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking dependency style of gcc... gcc checking for ranlib... ranlib checking whether optimization for size works... yes checking whether -Wundef works... yes checking for objcopy... objcopy checking if C symbols get an underscore after compilation... no checking whether objcopy works for absolute addresses... yes checking whether addr32 must be in the same line as the instruction... yes checking for .code16 addr32 assembler support... yes checking whether an absolute indirect call/jump must not be prefixed with an asterisk... yes checking if start is defined by the compiler... no checking if _start is defined by the compiler... yes checking if __bss_start is defined by the compiler... yes checking if _edata is defined by the compiler... yes checking if edata is defined by the compiler... yes checking if end is defined by the compiler... yes checking if _end is defined by the compiler... yes checking for opendisk in -lutil... no checking for wgetch in -lncurses... no checking for wgetch in -lcurses... no checking for string.h... yes checking for strings.h... yes checking for ncurses/curses.h... no checking for ncurses.h... no checking for curses.h... no updating cache ./config.cache creating ./config.status creating Makefile creating stage1/Makefile creating stage2/Makefile creating docs/Makefile creating debian/Makefile creating lib/Makefile creating util/Makefile creating grub/Makefile creating netboot/Makefile creating util/grub-image creating util/grub-install creating config.h [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# make make all-recursive make[1]: Entering directory `/usr/local/grub-0.5.96.1' Making all in netboot make[2]: Entering directory `/usr/local/grub-0.5.96.1/netboot' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/netboot' Making all in stage2 make[2]: Entering directory `/usr/local/grub-0.5.96.1/stage2' source='boot.c' object='libgrub_a-boot.o' libtool=no \ depfile='.deps/libgrub_a-boot.Po' tmpdepfile='.deps/libgrub_a-boot.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-boot.o `test -f boot.c || echo './'`boot.c source='builtins.c' object='libgrub_a-builtins.o' libtool=no \ depfile='.deps/libgrub_a-builtins.Po' tmpdepfile='.deps/libgrub_a-builtins.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-builtins.o `test -f builtins.c || echo './'`builtins.c source='common.c' object='libgrub_a-common.o' libtool=no \ depfile='.deps/libgrub_a-common.Po' tmpdepfile='.deps/libgrub_a-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='libgrub_a-char_io.o' libtool=no \ depfile='.deps/libgrub_a-char_io.Po' tmpdepfile='.deps/libgrub_a-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-char_io.o `test -f char_io.c || echo './'`char_io.c source='cmdline.c' object='libgrub_a-cmdline.o' libtool=no \ depfile='.deps/libgrub_a-cmdline.Po' tmpdepfile='.deps/libgrub_a-cmdline.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-cmdline.o `test -f cmdline.c || echo './'`cmdline.c source='disk_io.c' object='libgrub_a-disk_io.o' libtool=no \ depfile='.deps/libgrub_a-disk_io.Po' tmpdepfile='.deps/libgrub_a-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='gunzip.c' object='libgrub_a-gunzip.o' libtool=no \ depfile='.deps/libgrub_a-gunzip.Po' tmpdepfile='.deps/libgrub_a-gunzip.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-gunzip.o `test -f gunzip.c || echo './'`gunzip.c source='fsys_ffs.c' object='libgrub_a-fsys_ffs.o' libtool=no \ depfile='.deps/libgrub_a-fsys_ffs.Po' tmpdepfile='.deps/libgrub_a-fsys_ffs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-fsys_ffs.o `test -f fsys_ffs.c || echo './'`fsys_ffs.c source='fsys_ext2fs.c' object='libgrub_a-fsys_ext2fs.o' libtool=no \ depfile='.deps/libgrub_a-fsys_ext2fs.Po' tmpdepfile='.deps/libgrub_a-fsys_ext2fs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-fsys_ext2fs.o `test -f fsys_ext2fs.c || echo './'`fsys_ext2fs.c source='fsys_fat.c' object='libgrub_a-fsys_fat.o' libtool=no \ depfile='.deps/libgrub_a-fsys_fat.Po' tmpdepfile='.deps/libgrub_a-fsys_fat.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-fsys_fat.o `test -f fsys_fat.c || echo './'`fsys_fat.c source='fsys_minix.c' object='libgrub_a-fsys_minix.o' libtool=no \ depfile='.deps/libgrub_a-fsys_minix.Po' tmpdepfile='.deps/libgrub_a-fsys_minix.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-fsys_minix.o `test -f fsys_minix.c || echo './'`fsys_minix.c source='fsys_reiserfs.c' object='libgrub_a-fsys_reiserfs.o' libtool=no \ depfile='.deps/libgrub_a-fsys_reiserfs.Po' tmpdepfile='.deps/libgrub_a-fsys_reiserfs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-fsys_reiserfs.o `test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.c source='stage2.c' object='libgrub_a-stage2.o' libtool=no \ depfile='.deps/libgrub_a-stage2.Po' tmpdepfile='.deps/libgrub_a-stage2.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../lib -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DSUPPORT_SERIAL -fwritable-strings -g -c -o libgrub_a-stage2.o `test -f stage2.c || echo './'`stage2.c rm -f libgrub.a ar cru libgrub.a libgrub_a-boot.o libgrub_a-builtins.o libgrub_a-common.o libgrub_a-char_io.o libgrub_a-cmdline.o libgrub_a-disk_io.o libgrub_a-gunzip.o libgrub_a-fsys_ffs.o libgrub_a-fsys_ext2fs.o libgrub_a-fsys_fat.o libgrub_a-fsys_minix.o libgrub_a-fsys_reiserfs.o libgrub_a-stage2.o ranlib libgrub.a gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-asm.o `test -f asm.S || echo './'`asm.S source='bios.c' object='pre_stage2_exec-bios.o' libtool=no \ depfile='.deps/pre_stage2_exec-bios.Po' tmpdepfile='.deps/pre_stage2_exec-bios.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-bios.o `test -f bios.c || echo './'`bios.c source='boot.c' object='pre_stage2_exec-boot.o' libtool=no \ depfile='.deps/pre_stage2_exec-boot.Po' tmpdepfile='.deps/pre_stage2_exec-boot.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-boot.o `test -f boot.c || echo './'`boot.c source='builtins.c' object='pre_stage2_exec-builtins.o' libtool=no \ depfile='.deps/pre_stage2_exec-builtins.Po' tmpdepfile='.deps/pre_stage2_exec-builtins.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-builtins.o `test -f builtins.c || echo './'`builtins.c source='common.c' object='pre_stage2_exec-common.o' libtool=no \ depfile='.deps/pre_stage2_exec-common.Po' tmpdepfile='.deps/pre_stage2_exec-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='pre_stage2_exec-char_io.o' libtool=no \ depfile='.deps/pre_stage2_exec-char_io.Po' tmpdepfile='.deps/pre_stage2_exec-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-char_io.o `test -f char_io.c || echo './'`char_io.c source='cmdline.c' object='pre_stage2_exec-cmdline.o' libtool=no \ depfile='.deps/pre_stage2_exec-cmdline.Po' tmpdepfile='.deps/pre_stage2_exec-cmdline.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-cmdline.o `test -f cmdline.c || echo './'`cmdline.c source='disk_io.c' object='pre_stage2_exec-disk_io.o' libtool=no \ depfile='.deps/pre_stage2_exec-disk_io.Po' tmpdepfile='.deps/pre_stage2_exec-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='gunzip.c' object='pre_stage2_exec-gunzip.o' libtool=no \ depfile='.deps/pre_stage2_exec-gunzip.Po' tmpdepfile='.deps/pre_stage2_exec-gunzip.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-gunzip.o `test -f gunzip.c || echo './'`gunzip.c source='fsys_ext2fs.c' object='pre_stage2_exec-fsys_ext2fs.o' libtool=no \ depfile='.deps/pre_stage2_exec-fsys_ext2fs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_ext2fs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-fsys_ext2fs.o `test -f fsys_ext2fs.c || echo './'`fsys_ext2fs.c source='fsys_fat.c' object='pre_stage2_exec-fsys_fat.o' libtool=no \ depfile='.deps/pre_stage2_exec-fsys_fat.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_fat.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-fsys_fat.o `test -f fsys_fat.c || echo './'`fsys_fat.c source='fsys_ffs.c' object='pre_stage2_exec-fsys_ffs.o' libtool=no \ depfile='.deps/pre_stage2_exec-fsys_ffs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_ffs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-fsys_ffs.o `test -f fsys_ffs.c || echo './'`fsys_ffs.c source='fsys_minix.c' object='pre_stage2_exec-fsys_minix.o' libtool=no \ depfile='.deps/pre_stage2_exec-fsys_minix.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_minix.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-fsys_minix.o `test -f fsys_minix.c || echo './'`fsys_minix.c source='fsys_reiserfs.c' object='pre_stage2_exec-fsys_reiserfs.o' libtool=no \ depfile='.deps/pre_stage2_exec-fsys_reiserfs.Po' tmpdepfile='.deps/pre_stage2_exec-fsys_reiserfs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-fsys_reiserfs.o `test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.c source='serial.c' object='pre_stage2_exec-serial.o' libtool=no \ depfile='.deps/pre_stage2_exec-serial.Po' tmpdepfile='.deps/pre_stage2_exec-serial.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-serial.o `test -f serial.c || echo './'`serial.c source='smp-imps.c' object='pre_stage2_exec-smp-imps.o' libtool=no \ depfile='.deps/pre_stage2_exec-smp-imps.Po' tmpdepfile='.deps/pre_stage2_exec-smp-imps.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-smp-imps.o `test -f smp-imps.c || echo './'`smp-imps.c source='stage2.c' object='pre_stage2_exec-stage2.o' libtool=no \ depfile='.deps/pre_stage2_exec-stage2.Po' tmpdepfile='.deps/pre_stage2_exec-stage2.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -g -c -o pre_stage2_exec-stage2.o `test -f stage2.c || echo './'`stage2.c gcc -g -o pre_stage2.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8200 pre_stage2_exec-asm.o pre_stage2_exec-bios.o pre_stage2_exec-boot.o pre_stage2_exec-builtins.o pre_stage2_exec-common.o pre_stage2_exec-char_io.o pre_stage2_exec-cmdline.o pre_stage2_exec-disk_io.o pre_stage2_exec-gunzip.o pre_stage2_exec-fsys_ext2fs.o pre_stage2_exec-fsys_fat.o pre_stage2_exec-fsys_ffs.o pre_stage2_exec-fsys_minix.o pre_stage2_exec-fsys_reiserfs.o pre_stage2_exec-serial.o pre_stage2_exec-smp-imps.o pre_stage2_exec-stage2.o objcopy -O binary pre_stage2.exec pre_stage2 rm -f stage2_size.h set dummy `ls -l pre_stage2`; \ echo "#define STAGE2_SIZE $6" > stage2_size.h gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -g -c -o start_exec-start.o `test -f start.S || echo './'`start.S gcc -g -o start.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 start_exec-start.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-start.o `test -f start.S || echo './'`start.S gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-asm.o `test -f asm.S || echo './'`asm.S source='common.c' object='e2fs_stage1_5_exec-common.o' libtool=no \ depfile='.deps/e2fs_stage1_5_exec-common.Po' tmpdepfile='.deps/e2fs_stage1_5_exec-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='e2fs_stage1_5_exec-char_io.o' libtool=no \ depfile='.deps/e2fs_stage1_5_exec-char_io.Po' tmpdepfile='.deps/e2fs_stage1_5_exec-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-char_io.o `test -f char_io.c || echo './'`char_io.c source='disk_io.c' object='e2fs_stage1_5_exec-disk_io.o' libtool=no \ depfile='.deps/e2fs_stage1_5_exec-disk_io.Po' tmpdepfile='.deps/e2fs_stage1_5_exec-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='stage1_5.c' object='e2fs_stage1_5_exec-stage1_5.o' libtool=no \ depfile='.deps/e2fs_stage1_5_exec-stage1_5.Po' tmpdepfile='.deps/e2fs_stage1_5_exec-stage1_5.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-stage1_5.o `test -f stage1_5.c || echo './'`stage1_5.c source='fsys_ext2fs.c' object='e2fs_stage1_5_exec-fsys_ext2fs.o' libtool=no \ depfile='.deps/e2fs_stage1_5_exec-fsys_ext2fs.Po' tmpdepfile='.deps/e2fs_stage1_5_exec-fsys_ext2fs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-fsys_ext2fs.o `test -f fsys_ext2fs.c || echo './'`fsys_ext2fs.c source='bios.c' object='e2fs_stage1_5_exec-bios.o' libtool=no \ depfile='.deps/e2fs_stage1_5_exec-bios.Po' tmpdepfile='.deps/e2fs_stage1_5_exec-bios.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_EXT2FS=1 -DNO_BLOCK_FILES=1 -g -c -o e2fs_stage1_5_exec-bios.o `test -f bios.c || echo './'`bios.c gcc -g -o e2fs_stage1_5.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 e2fs_stage1_5_exec-start.o e2fs_stage1_5_exec-asm.o e2fs_stage1_5_exec-common.o e2fs_stage1_5_exec-char_io.o e2fs_stage1_5_exec-disk_io.o e2fs_stage1_5_exec-stage1_5.o e2fs_stage1_5_exec-fsys_ext2fs.o e2fs_stage1_5_exec-bios.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-start.o `test -f start.S || echo './'`start.S gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-asm.o `test -f asm.S || echo './'`asm.S source='common.c' object='fat_stage1_5_exec-common.o' libtool=no \ depfile='.deps/fat_stage1_5_exec-common.Po' tmpdepfile='.deps/fat_stage1_5_exec-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='fat_stage1_5_exec-char_io.o' libtool=no \ depfile='.deps/fat_stage1_5_exec-char_io.Po' tmpdepfile='.deps/fat_stage1_5_exec-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-char_io.o `test -f char_io.c || echo './'`char_io.c source='disk_io.c' object='fat_stage1_5_exec-disk_io.o' libtool=no \ depfile='.deps/fat_stage1_5_exec-disk_io.Po' tmpdepfile='.deps/fat_stage1_5_exec-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='stage1_5.c' object='fat_stage1_5_exec-stage1_5.o' libtool=no \ depfile='.deps/fat_stage1_5_exec-stage1_5.Po' tmpdepfile='.deps/fat_stage1_5_exec-stage1_5.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-stage1_5.o `test -f stage1_5.c || echo './'`stage1_5.c source='fsys_fat.c' object='fat_stage1_5_exec-fsys_fat.o' libtool=no \ depfile='.deps/fat_stage1_5_exec-fsys_fat.Po' tmpdepfile='.deps/fat_stage1_5_exec-fsys_fat.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-fsys_fat.o `test -f fsys_fat.c || echo './'`fsys_fat.c source='bios.c' object='fat_stage1_5_exec-bios.o' libtool=no \ depfile='.deps/fat_stage1_5_exec-bios.Po' tmpdepfile='.deps/fat_stage1_5_exec-bios.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FAT=1 -DNO_BLOCK_FILES=1 -g -c -o fat_stage1_5_exec-bios.o `test -f bios.c || echo './'`bios.c gcc -g -o fat_stage1_5.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 fat_stage1_5_exec-start.o fat_stage1_5_exec-asm.o fat_stage1_5_exec-common.o fat_stage1_5_exec-char_io.o fat_stage1_5_exec-disk_io.o fat_stage1_5_exec-stage1_5.o fat_stage1_5_exec-fsys_fat.o fat_stage1_5_exec-bios.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-start.o `test -f start.S || echo './'`start.S gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-asm.o `test -f asm.S || echo './'`asm.S source='common.c' object='ffs_stage1_5_exec-common.o' libtool=no \ depfile='.deps/ffs_stage1_5_exec-common.Po' tmpdepfile='.deps/ffs_stage1_5_exec-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='ffs_stage1_5_exec-char_io.o' libtool=no \ depfile='.deps/ffs_stage1_5_exec-char_io.Po' tmpdepfile='.deps/ffs_stage1_5_exec-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-char_io.o `test -f char_io.c || echo './'`char_io.c source='disk_io.c' object='ffs_stage1_5_exec-disk_io.o' libtool=no \ depfile='.deps/ffs_stage1_5_exec-disk_io.Po' tmpdepfile='.deps/ffs_stage1_5_exec-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='stage1_5.c' object='ffs_stage1_5_exec-stage1_5.o' libtool=no \ depfile='.deps/ffs_stage1_5_exec-stage1_5.Po' tmpdepfile='.deps/ffs_stage1_5_exec-stage1_5.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-stage1_5.o `test -f stage1_5.c || echo './'`stage1_5.c source='fsys_ffs.c' object='ffs_stage1_5_exec-fsys_ffs.o' libtool=no \ depfile='.deps/ffs_stage1_5_exec-fsys_ffs.Po' tmpdepfile='.deps/ffs_stage1_5_exec-fsys_ffs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-fsys_ffs.o `test -f fsys_ffs.c || echo './'`fsys_ffs.c source='bios.c' object='ffs_stage1_5_exec-bios.o' libtool=no \ depfile='.deps/ffs_stage1_5_exec-bios.Po' tmpdepfile='.deps/ffs_stage1_5_exec-bios.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_FFS=1 -DNO_BLOCK_FILES=1 -g -c -o ffs_stage1_5_exec-bios.o `test -f bios.c || echo './'`bios.c gcc -g -o ffs_stage1_5.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 ffs_stage1_5_exec-start.o ffs_stage1_5_exec-asm.o ffs_stage1_5_exec-common.o ffs_stage1_5_exec-char_io.o ffs_stage1_5_exec-disk_io.o ffs_stage1_5_exec-stage1_5.o ffs_stage1_5_exec-fsys_ffs.o ffs_stage1_5_exec-bios.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-start.o `test -f start.S || echo './'`start.S gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-asm.o `test -f asm.S || echo './'`asm.S source='common.c' object='minix_stage1_5_exec-common.o' libtool=no \ depfile='.deps/minix_stage1_5_exec-common.Po' tmpdepfile='.deps/minix_stage1_5_exec-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='minix_stage1_5_exec-char_io.o' libtool=no \ depfile='.deps/minix_stage1_5_exec-char_io.Po' tmpdepfile='.deps/minix_stage1_5_exec-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-char_io.o `test -f char_io.c || echo './'`char_io.c source='disk_io.c' object='minix_stage1_5_exec-disk_io.o' libtool=no \ depfile='.deps/minix_stage1_5_exec-disk_io.Po' tmpdepfile='.deps/minix_stage1_5_exec-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='stage1_5.c' object='minix_stage1_5_exec-stage1_5.o' libtool=no \ depfile='.deps/minix_stage1_5_exec-stage1_5.Po' tmpdepfile='.deps/minix_stage1_5_exec-stage1_5.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-stage1_5.o `test -f stage1_5.c || echo './'`stage1_5.c source='fsys_minix.c' object='minix_stage1_5_exec-fsys_minix.o' libtool=no \ depfile='.deps/minix_stage1_5_exec-fsys_minix.Po' tmpdepfile='.deps/minix_stage1_5_exec-fsys_minix.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-fsys_minix.o `test -f fsys_minix.c || echo './'`fsys_minix.c source='bios.c' object='minix_stage1_5_exec-bios.o' libtool=no \ depfile='.deps/minix_stage1_5_exec-bios.Po' tmpdepfile='.deps/minix_stage1_5_exec-bios.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_MINIX=1 -DNO_BLOCK_FILES=1 -g -c -o minix_stage1_5_exec-bios.o `test -f bios.c || echo './'`bios.c gcc -g -o minix_stage1_5.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 minix_stage1_5_exec-start.o minix_stage1_5_exec-asm.o minix_stage1_5_exec-common.o minix_stage1_5_exec-char_io.o minix_stage1_5_exec-disk_io.o minix_stage1_5_exec-stage1_5.o minix_stage1_5_exec-fsys_minix.o minix_stage1_5_exec-bios.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-start.o `test -f start.S || echo './'`start.S gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-asm.o `test -f asm.S || echo './'`asm.S source='common.c' object='reiserfs_stage1_5_exec-common.o' libtool=no \ depfile='.deps/reiserfs_stage1_5_exec-common.Po' tmpdepfile='.deps/reiserfs_stage1_5_exec-common.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-common.o `test -f common.c || echo './'`common.c source='char_io.c' object='reiserfs_stage1_5_exec-char_io.o' libtool=no \ depfile='.deps/reiserfs_stage1_5_exec-char_io.Po' tmpdepfile='.deps/reiserfs_stage1_5_exec-char_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-char_io.o `test -f char_io.c || echo './'`char_io.c source='disk_io.c' object='reiserfs_stage1_5_exec-disk_io.o' libtool=no \ depfile='.deps/reiserfs_stage1_5_exec-disk_io.Po' tmpdepfile='.deps/reiserfs_stage1_5_exec-disk_io.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-disk_io.o `test -f disk_io.c || echo './'`disk_io.c source='stage1_5.c' object='reiserfs_stage1_5_exec-stage1_5.o' libtool=no \ depfile='.deps/reiserfs_stage1_5_exec-stage1_5.Po' tmpdepfile='.deps/reiserfs_stage1_5_exec-stage1_5.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-stage1_5.o `test -f stage1_5.c || echo './'`stage1_5.c source='fsys_reiserfs.c' object='reiserfs_stage1_5_exec-fsys_reiserfs.o' libtool=no \ depfile='.deps/reiserfs_stage1_5_exec-fsys_reiserfs.Po' tmpdepfile='.deps/reiserfs_stage1_5_exec-fsys_reiserfs.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-fsys_reiserfs.o `test -f fsys_reiserfs.c || echo './'`fsys_reiserfs.c source='bios.c' object='reiserfs_stage1_5_exec-bios.o' libtool=no \ depfile='.deps/reiserfs_stage1_5_exec-bios.Po' tmpdepfile='.deps/reiserfs_stage1_5_exec-bios.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -Os -fno-builtin -nostdinc -DSUPPORT_SERIAL=1 -DNO_DECOMPRESSION=1 -DSTAGE1_5=1 -DFSYS_REISERFS=1 -DNO_BLOCK_FILES=1 -g -c -o reiserfs_stage1_5_exec-bios.o `test -f bios.c || echo './'`bios.c gcc -g -o reiserfs_stage1_5.exec -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 reiserfs_stage1_5_exec-start.o reiserfs_stage1_5_exec-asm.o reiserfs_stage1_5_exec-common.o reiserfs_stage1_5_exec-char_io.o reiserfs_stage1_5_exec-disk_io.o reiserfs_stage1_5_exec-stage1_5.o reiserfs_stage1_5_exec-fsys_reiserfs.o reiserfs_stage1_5_exec-bios.o objcopy -O binary start.exec start rm -f stage2 cat start pre_stage2 > stage2 objcopy -O binary e2fs_stage1_5.exec e2fs_stage1_5 objcopy -O binary fat_stage1_5.exec fat_stage1_5 objcopy -O binary ffs_stage1_5.exec ffs_stage1_5 objcopy -O binary minix_stage1_5.exec minix_stage1_5 objcopy -O binary reiserfs_stage1_5.exec reiserfs_stage1_5 make[2]: Leaving directory `/usr/local/grub-0.5.96.1/stage2' Making all in stage1 make[2]: Entering directory `/usr/local/grub-0.5.96.1/stage1' gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -fno-builtin -nostdinc -g -c stage1.S gcc -O2 -fno-builtin -nostdinc -g -nostdlib -Wl,-N,-Ttext,7C00 -o stage1.exec stage1.o objcopy -O binary stage1.exec stage1 make[2]: Leaving directory `/usr/local/grub-0.5.96.1/stage1' Making all in lib make[2]: Entering directory `/usr/local/grub-0.5.96.1/lib' source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../stage2 -I../stage1 -g -c -o getopt.o `test -f getopt.c || echo './'`getopt.c source='getopt1.c' object='getopt1.o' libtool=no \ depfile='.deps/getopt1.Po' tmpdepfile='.deps/getopt1.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../stage2 -I../stage1 -g -c -o getopt1.o `test -f getopt1.c || echo './'`getopt1.c source='device.c' object='device.o' libtool=no \ depfile='.deps/device.Po' tmpdepfile='.deps/device.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -I../stage2 -I../stage1 -g -c -o device.o `test -f device.c || echo './'`device.c rm -f libcommon.a ar cru libcommon.a getopt.o getopt1.o device.o ranlib libcommon.a make[2]: Leaving directory `/usr/local/grub-0.5.96.1/lib' Making all in grub make[2]: Entering directory `/usr/local/grub-0.5.96.1/grub' source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DSUPPORT_SERIAL=1 -fwritable-strings -I../stage2 -I../stage1 -I../lib -g -c -o main.o `test -f main.c || echo './'`main.c source='asmstub.c' object='asmstub.o' libtool=no \ depfile='.deps/asmstub.Po' tmpdepfile='.deps/asmstub.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -O2 -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DSUPPORT_SERIAL=1 -fwritable-strings -I../stage2 -I../stage1 -I../lib -g -c -o asmstub.o `test -f asmstub.c || echo './'`asmstub.c gcc -O2 -DGRUB_UTIL=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_MINIX=1 -DSUPPORT_SERIAL=1 -fwritable-strings -I../stage2 -I../stage1 -I../lib -g -o grub main.o asmstub.o ../stage2/libgrub.a ../lib/libcommon.a make[2]: Leaving directory `/usr/local/grub-0.5.96.1/grub' Making all in util make[2]: Entering directory `/usr/local/grub-0.5.96.1/util' source='mbchk.c' object='mbchk.o' libtool=no \ depfile='.deps/mbchk.Po' tmpdepfile='.deps/mbchk.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef -I../lib -I../docs -g -c -o mbchk.o `test -f mbchk.c || echo './'`mbchk.c gcc -I../lib -I../docs -g -o mbchk mbchk.o ../lib/libcommon.a make[2]: Leaving directory `/usr/local/grub-0.5.96.1/util' Making all in docs make[2]: Entering directory `/usr/local/grub-0.5.96.1/docs' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/docs' Making all in debian make[2]: Entering directory `/usr/local/grub-0.5.96.1/debian' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/debian' make[2]: Entering directory `/usr/local/grub-0.5.96.1' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1' make[1]: Leaving directory `/usr/local/grub-0.5.96.1' [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# make install Making install in netboot make[1]: Entering directory `/usr/local/grub-0.5.96.1/netboot' make[2]: Entering directory `/usr/local/grub-0.5.96.1/netboot' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/netboot' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/netboot' Making install in stage2 make[1]: Entering directory `/usr/local/grub-0.5.96.1/stage2' make[2]: Entering directory `/usr/local/grub-0.5.96.1/stage2' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /usr/local/share/grub/i386-pc /usr/bin/install -c -m 644 stage2 /usr/local/share/grub/i386-pc/stage2 /usr/bin/install -c -m 644 e2fs_stage1_5 /usr/local/share/grub/i386-pc/e2fs_stage1_5 /usr/bin/install -c -m 644 fat_stage1_5 /usr/local/share/grub/i386-pc/fat_stage1_5 /usr/bin/install -c -m 644 ffs_stage1_5 /usr/local/share/grub/i386-pc/ffs_stage1_5 /usr/bin/install -c -m 644 minix_stage1_5 /usr/local/share/grub/i386-pc/minix_stage1_5 /usr/bin/install -c -m 644 reiserfs_stage1_5 /usr/local/share/grub/i386-pc/reiserfs_stage1_5 make[2]: Leaving directory `/usr/local/grub-0.5.96.1/stage2' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/stage2' Making install in stage1 make[1]: Entering directory `/usr/local/grub-0.5.96.1/stage1' make[2]: Entering directory `/usr/local/grub-0.5.96.1/stage1' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /usr/local/share/grub/i386-pc /usr/bin/install -c -m 644 stage1 /usr/local/share/grub/i386-pc/stage1 make[2]: Leaving directory `/usr/local/grub-0.5.96.1/stage1' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/stage1' Making install in lib make[1]: Entering directory `/usr/local/grub-0.5.96.1/lib' make[2]: Entering directory `/usr/local/grub-0.5.96.1/lib' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/lib' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/lib' Making install in grub make[1]: Entering directory `/usr/local/grub-0.5.96.1/grub' make[2]: Entering directory `/usr/local/grub-0.5.96.1/grub' /bin/sh ../mkinstalldirs /usr/local/sbin /usr/bin/install -c grub /usr/local/sbin/grub make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/grub' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/grub' Making install in util make[1]: Entering directory `/usr/local/grub-0.5.96.1/util' make[2]: Entering directory `/usr/local/grub-0.5.96.1/util' /bin/sh ../mkinstalldirs /usr/local/bin /usr/bin/install -c mbchk /usr/local/bin/mbchk /bin/sh ../mkinstalldirs /usr/local/sbin /usr/bin/install -c grub-install /usr/local/sbin/grub-install make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/util' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/util' Making install in docs make[1]: Entering directory `/usr/local/grub-0.5.96.1/docs' make[2]: Entering directory `/usr/local/grub-0.5.96.1/docs' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ../mkinstalldirs /usr/local/info /usr/bin/install -c -m 644 ./grub.info /usr/local/info/grub.info /usr/bin/install -c -m 644 ./grub.info-1 /usr/local/info/grub.info-1 /usr/bin/install -c -m 644 ./grub.info-2 /usr/local/info/grub.info-2 /usr/bin/install -c -m 644 ./grub.info-3 /usr/local/info/grub.info-3 /usr/bin/install -c -m 644 ./grub.info-4 /usr/local/info/grub.info-4 /usr/bin/install -c -m 644 ./multiboot.info /usr/local/info/multiboot.info install-info --info-dir=/usr/local/info /usr/local/info/grub.info install-info --info-dir=/usr/local/info /usr/local/info/multiboot.info make install-man1 install-man8 make[3]: Entering directory `/usr/local/grub-0.5.96.1/docs' /bin/sh ../mkinstalldirs /usr/local/man/man1 /usr/bin/install -c -m 644 ./mbchk.1 /usr/local/man/man1/mbchk.1 /bin/sh ../mkinstalldirs /usr/local/man/man8 /usr/bin/install -c -m 644 ./grub.8 /usr/local/man/man8/grub.8 /usr/bin/install -c -m 644 ./grub-install.8 /usr/local/man/man8/grub-install.8 make[3]: Leaving directory `/usr/local/grub-0.5.96.1/docs' make[2]: Leaving directory `/usr/local/grub-0.5.96.1/docs' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/docs' Making install in debian make[1]: Entering directory `/usr/local/grub-0.5.96.1/debian' make[2]: Entering directory `/usr/local/grub-0.5.96.1/debian' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1/debian' make[1]: Leaving directory `/usr/local/grub-0.5.96.1/debian' make[1]: Entering directory `/usr/local/grub-0.5.96.1' make[2]: Entering directory `/usr/local/grub-0.5.96.1' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/local/grub-0.5.96.1' make[1]: Leaving directory `/usr/local/grub-0.5.96.1' [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# mkdir /boot/grub [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# ll /usr/local/share/grub/i386-pc/ total 128 -rw-r--r-- 1 root root 7676 Jan 27 02:51 e2fs_stage1_5 -rw-r--r-- 1 root root 7084 Jan 27 02:51 fat_stage1_5 -rw-r--r-- 1 root root 6524 Jan 27 02:51 ffs_stage1_5 -rw-r--r-- 1 root root 6652 Jan 27 02:51 minix_stage1_5 -rw-r--r-- 1 root root 9052 Jan 27 02:51 reiserfs_stage1_5 -rw-r--r-- 1 root root 512 Jan 27 02:51 stage1 -rw-r--r-- 1 root root 77632 Jan 27 02:51 stage2 [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# cp -a /usr/local/share/grub/i386-pc/* /boot/grub [root@puffer grub-0.5.96.1]# [root@puffer grub-0.5.96.1]# cd /boot/grub [root@puffer grub]# [root@puffer grub]# ll total 116 -rw-r--r-- 1 root root 7676 Jan 27 02:51 e2fs_stage1_5 -rw-r--r-- 1 root root 7084 Jan 27 02:51 fat_stage1_5 -rw-r--r-- 1 root root 6524 Jan 27 02:51 ffs_stage1_5 -rw-r--r-- 1 root root 6652 Jan 27 02:51 minix_stage1_5 -rw-r--r-- 1 root root 9052 Jan 27 02:51 reiserfs_stage1_5 -rw-r--r-- 1 root root 512 Jan 27 02:51 stage1 -rw-r--r-- 1 root root 77632 Jan 27 02:51 stage2 [root@puffer grub]# [root@puffer grub]# grub bash: grub: command not found [root@puffer grub]# [root@puffer grub]# find / -name "grub*" /boot/grub find: /proc/6/fd: Permission denied /var/catman/local/cat8/grub.8.gz /usr/local/info/grub.info /usr/local/info/grub.info-1 /usr/local/info/grub.info-2 /usr/local/info/grub.info-3 /usr/local/info/grub.info-4 /usr/local/man/man8/grub.8 /usr/local/man/man8/grub-install.8 /usr/local/sbin/grub /usr/local/sbin/grub-install /usr/local/grub-0.5.96.1 /usr/local/grub-0.5.96.1/grub /usr/local/grub-0.5.96.1/grub/grub /usr/local/grub-0.5.96.1/util/grub-image.in /usr/local/grub-0.5.96.1/util/grub-install.in /usr/local/grub-0.5.96.1/util/grub-image /usr/local/grub-0.5.96.1/util/grub-install /usr/local/grub-0.5.96.1/docs/grub.texi /usr/local/grub-0.5.96.1/docs/grub.8 /usr/local/grub-0.5.96.1/docs/grub-install.8 /usr/local/grub-0.5.96.1/docs/grub.info /usr/local/grub-0.5.96.1/docs/grub.info-1 /usr/local/grub-0.5.96.1/docs/grub.info-2 /usr/local/grub-0.5.96.1/docs/grub.info-3 /usr/local/grub-0.5.96.1/docs/grub.info-4 /usr/local/share/grub /home/mirror/grub-0.5.96.1.tar.gz /grub [root@puffer grub]# [root@puffer grub]# #dga- I created a grub config file in a previous try at all this [root@puffer grub]# #dga- and named it menu.lst. Copied to /boot/grub... [root@puffer grub]# [root@puffer grub]# ll total 117 -rw-r--r-- 1 root root 7676 Jan 27 02:51 e2fs_stage1_5 -rw-r--r-- 1 root root 7084 Jan 27 02:51 fat_stage1_5 -rw-r--r-- 1 root root 6524 Jan 27 02:51 ffs_stage1_5 -rwxr-xr-x 1 root root 211 Jan 26 18:03 menu.lst -rw-r--r-- 1 root root 6652 Jan 27 02:51 minix_stage1_5 -rw-r--r-- 1 root root 9052 Jan 27 02:51 reiserfs_stage1_5 -rw-r--r-- 1 root root 512 Jan 27 02:51 stage1 -rw-r--r-- 1 root root 77632 Jan 27 02:51 stage2 [root@puffer grub]# [root@puffer grub]# [root@puffer grub]# #dga- I wish to have a dual boot WinXP, Red Hat 6.2 system. [root@puffer grub]# [root@puffer grub]# cat /boot/grub/menu.lst timeout 60 color black/cyan yellow/cyan default 0 title Red Hat 6.2 Linux root (hd0,2) kernel /vmlinuz root=/dev/hda6 x86_serial_nr=1 append=hdb=ide-scsi vga=791 boot title WindowsXP Borg rootnoverify (hd0,1) makeactive chainloader +1 boot [root@puffer grub]# [root@puffer grub]# #dga- Also, based on a prior failed attempt to install grub, for some unknown [root@puffer grub]# #dga- reason grub needs /boot/boot/grub/ to exist, otherwise grub fails to bring [root@puffer grub]# #dga- up the boot menu and just boots to the grub command prompt. So... [root@puffer grub]# [root@puffer grub]# cd /boot [root@puffer grub]# [root@puffer /boot]# [root@puffer /boot]# ll total 2442 lrwxrwxrwx 1 root root 21 Jan 27 12:53 System.map -> System.map-2.2.14-5.0 -rw-r--r-- 1 root root 203645 Mar 7 2000 System.map-2.2.14-5.0 -rw-r--r-- 1 root root 512 Jan 23 14:11 boot.0303 -rw-r--r-- 1 root root 4568 Feb 2 2000 boot.b -rw-r--r-- 1 root root 612 Feb 2 2000 chain.b drwxr-xr-x 2 root root 1024 Jan 27 12:56 grub -rw-r--r-- 1 root root 237 Jan 24 14:29 kernel.h drwxr-xr-x 2 root root 12288 Jan 23 14:02 lost+found -rw------- 1 root root 10240 Jan 23 14:11 map lrwxrwxrwx 1 root root 22 Jan 23 14:08 module-info -> module-info-2.2.14-5.0 -rw-r--r-- 1 root root 11773 Mar 7 2000 module-info-2.2.14-5.0 -rw-r--r-- 1 root root 620 Feb 2 2000 os2_d.b -rwxr-xr-x 1 root root 1615706 Mar 7 2000 vmlinux-2.2.14-5.0 lrwxrwxrwx 1 root root 18 Jan 23 14:08 vmlinuz -> vmlinuz-2.2.14-5.0 -rw-r--r-- 1 root root 622249 Mar 7 2000 vmlinuz-2.2.14-5.0 [root@puffer /boot]# [root@puffer /boot]# ln -s . boot [root@puffer /boot]# [root@puffer /boot]# [root@puffer /boot]# ll total 2442 lrwxrwxrwx 1 root root 21 Jan 27 12:53 System.map -> System.map-2.2.14-5.0 -rw-r--r-- 1 root root 203645 Mar 7 2000 System.map-2.2.14-5.0 lrwxrwxrwx 1 root root 1 Jan 27 12:59 boot -> . -rw-r--r-- 1 root root 512 Jan 23 14:11 boot.0303 -rw-r--r-- 1 root root 4568 Feb 2 2000 boot.b -rw-r--r-- 1 root root 612 Feb 2 2000 chain.b drwxr-xr-x 2 root root 1024 Jan 27 12:56 grub -rw-r--r-- 1 root root 237 Jan 24 14:29 kernel.h drwxr-xr-x 2 root root 12288 Jan 23 14:02 lost+found -rw------- 1 root root 10240 Jan 23 14:11 map lrwxrwxrwx 1 root root 22 Jan 23 14:08 module-info -> module-info-2.2.14-5.0 -rw-r--r-- 1 root root 11773 Mar 7 2000 module-info-2.2.14-5.0 -rw-r--r-- 1 root root 620 Feb 2 2000 os2_d.b -rwxr-xr-x 1 root root 1615706 Mar 7 2000 vmlinux-2.2.14-5.0 lrwxrwxrwx 1 root root 18 Jan 23 14:08 vmlinuz -> vmlinuz-2.2.14-5.0 -rw-r--r-- 1 root root 622249 Mar 7 2000 vmlinuz-2.2.14-5.0 [root@puffer /boot]# [root@puffer /boot]# [root@puffer /boot]# cd grub [root@puffer grub]# [root@puffer grub]# [root@puffer grub]# #dga- Ready to install grub boot loader into the MBR [root@puffer grub]# [root@puffer grub]# whereis grub grub: /usr/local/sbin/grub [root@puffer grub]# [root@puffer grub]# /usr/local/sbin/grub Probing devices to guess BIOS drives. This may take a long time. GRUB version 0.5.96.1 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0,2) root (hd0,2) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded. succeeded Running "install /boot/grub/stage1 d (hd0) (hd0)1+15 p (hd0,2)/boot/grub/stage 2"... succeeded Done. grub> quit quit [root@puffer grub]# [root@puffer grub]# [root@puffer grub]# [root@puffer grub]# #dga- Now we will try to reboot... [root@puffer grub]# [root@puffer grub]# exit exit Process shell finished [root@puffer /root]# date Sun Jan 27 03:05:44 PST 2002 [root@puffer /root]# [root@puffer /root]# [root@puffer /root]# [root@puffer /root]# #dga- It worked! [root@puffer /root]# [root@puffer /root]# [root@puffer /root]# exit exit Process shell finished