Gentoo Archives: gentoo-dev

From: Viken A Djerdjian <vik@×××××××.edu>
To: "Thomas M. Beaudry" <k8la@×××××××××.com>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] documentation for Gentoo 1.4 installation (typo?)
Date: Tue, 01 Oct 2002 07:33:33
Message-Id: 5.1.0.14.2.20021001072855.00b31838@vik.mail.iastate.edu
In Reply to: Re: [gentoo-dev] documentation for Gentoo 1.4 installation (typo?) by "Thomas M. Beaudry"
1 At 03:07 AM 10/1/2002 -0400, you wrote:
2 >>>I was wondering if the following was a typo:
3 >>>from: http://www.gentoo.org/doc/build.html (the installation
4 >>>instructions for gentoo 1.4 for x86)
5 >>>
6 >>>In Code listing 49,
7 >>>You have the following 2 lines:
8 >>># cp /usr/share/grub/i386-pc/stage1 /mnt/floppy/boot/grub
9 >>># cp /usr/share/grub/i386-pc/stage2 /mnt/floppy/boot/grub
10 >>>
11 >>>Doesn't the second line overwrite what the first line created? The file
12 >>>/mnt/floppy/grub gets replaced with starge2?
13 >>Don't think so, Viken. stage1 and stage 2 are files. grub is a
14 >>directory.
15 >>So the two files are copied into the same directory.
16 >
17 >Actually he is correct though what you say is the obvious intention.
18 >If you look at the full code listing, the grub subdirectory hasn't
19 >been created yet when you get to these two copy statements. So,
20 >/mnt/floppy/boot/grub actually does specify a file. To correct the
21 >code, the preceeding statement creating the directory structure on
22 >the floppy should be "mkdir -p /mnt/floppy/boot/grub".
23
24 Thanks, I realized a minute after I sent the email that [...]/floppy/grub
25 was meant to be a directory.
26 Sorry and Thanks.
27 Vik Djerdjian