Browse Source

Various: LiveCD can be used if /mnt/gentoo is created before mounting

master
jcmdln 3 years ago
parent
commit
171d81caa4
2 changed files with 6 additions and 4 deletions
  1. 3
    2
      Readme.md
  2. 3
    2
      gein.sh

+ 3
- 2
Readme.md View File

@@ -35,7 +35,7 @@ Run `eselect opengl set nvidia` as root.

You may use this script as-is by performing the following steps:

1. Download the latest Gentoo install cd for your architecture. Only
1. Download the Gentoo install cd (or any Live distribution) for your architecture. Only
amd64 is currently defined. Create an issue with the output of
`uname -a` for it to be added to the script.

@@ -46,7 +46,8 @@ amd64 is currently defined. Create an issue with the output of

3. Partition and mount your disks. Note that this example assumes that
you will be using a single partition and later installing GRUB to the
MBR.
MBR. Note that if you aren't using the Gentoo installation CD, you will
need to `mkdir /mnt/gentoo` before proceeding.

$ fdisk /dev/sdX
$ mount /dev/sdX1 /mnt/gentoo

+ 3
- 2
gein.sh View File

@@ -214,9 +214,10 @@ BOOTSTRAP() {
exit
fi

echo "gein: Ensuring /mnt/gentoo exists..."
if [ ! -e /mnt/gentoo ]; then
mkdir -p /mnt/gentoo
echo "gein: You didn't create /mnt/gentoo before proceeding!"
echo "gein: The mount point may be incorrect. Exiting..."
exit
fi

echo "gein: Ensuring we are in /mnt/gentoo..."

Loading…
Cancel
Save