Sha256: 5458be5be49d44b8040ef459d41baacb7290ac7a205d046545824e88e34afe42

Contents?: true

Size: 581 Bytes

Versions: 3

Compression:

Stored size: 581 Bytes

Contents

#!/bin/bash
source /etc/profile

# install grub
chroot "$chroot" emerge grub

# add installed kernel entry
cat <<DATAEOF > "$chroot/boot/grub/grub.conf"
default 0
timeout 1

title=Gentoo Linux ($kernel_version-gentoo)
root (hd0,0)
kernel /boot/kernel-genkernel-x86-$kernel_version-gentoo root=/dev/ram0 real_root=/dev/sda4
initrd /boot/initramfs-genkernel-x86-$kernel_version-gentoo
DATAEOF

# make the disk bootable
chroot "$chroot" /bin/bash <<DATAEOF
source /etc/profile && \
env-update && \
grep -v rootfs /proc/mounts > /etc/mtab && \
grub-install --no-floppy /dev/sda
DATAEOF

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
veewee-0.3.10 templates/gentoo-latest-i686/grub.sh
veewee-0.3.9 templates/gentoo-latest-i686/grub.sh
veewee-atlassian-0.3.11 templates/gentoo-latest-i686-experimental/grub.sh