Updated all of the steps that require chroots to instruct the user to
use the new smgl-chroot script to set up the chroot environment.
diff --git a/iso/usr/share/doc/smgl.install/steps/grub
b/iso/usr/share/doc/smgl.install/steps/grub
index 81c7c1c..c620c21 100644
--- a/iso/usr/share/doc/smgl.install/steps/grub
+++ b/iso/usr/share/doc/smgl.install/steps/grub
@@ -1,11 +1,14 @@
[1mgrub instructions[m:
-First, chroot into the target platform:
-mount --bind /dev /mnt/root/dev
-mount --bind /dev/pts /mnt/root/dev/pts
-mount --bind /proc /mnt/root/proc
-chroot /mnt/root /bin/bash
+First, chroot into the target platform. We provide a wrapper command that
+will help set up the chroot for you. It outputs messages about what it is
+doing by default. If you don't want to see these messages, pass the -q
+option (for quiet)
-cp /usr/lib/grub/i386-pc /boot/grub
+Example:
+/usr/bin/smgl-chroot
+/usr/bin/smgl-chroot -q
+
+Then run grub so you can update the boot record:
/sbin/grub
> root (hd0,0)
> setup (hd0)
diff --git a/iso/usr/share/doc/smgl.install/steps/lilo
b/iso/usr/share/doc/smgl.install/steps/lilo
index 2014b27..0a591c1 100644
--- a/iso/usr/share/doc/smgl.install/steps/lilo
+++ b/iso/usr/share/doc/smgl.install/steps/lilo
@@ -1,12 +1,16 @@
[1mlilo instructions[m:
Edit /mnt/root/etc/lilo.conf
-Chroot into the target platform:
-mount --bind /dev /mnt/root/dev
-mount --bind /dev/pts /mnt/root/dev/pts
-mount --bind /proc /mnt/root/proc
-chroot /mnt/root /bin/bash
+Chroot into the target platform. We provide a wrapper command that
+will help set up the chroot for you. It outputs messages about what it is
+doing by default. If you don't want to see these messages, pass the -q
+option (for quiet)
+Example:
+/usr/bin/smgl-chroot
+/usr/bin/smgl-chroot -q
+
+Then run lilo so it updates the boot record:
/sbin/lilo
Exit the chroot:
diff --git a/iso/usr/share/doc/smgl.install/steps/user-setup
b/iso/usr/share/doc/smgl.install/steps/user-setup
index a9aa0c5..c07834b 100644
--- a/iso/usr/share/doc/smgl.install/steps/user-setup
+++ b/iso/usr/share/doc/smgl.install/steps/user-setup
@@ -1,22 +1,23 @@
[1muser-setup step[m
-Set up a password for the root user:
+First, chroot into the target platform. We provide a wrapper command that
+will help set up the chroot for you. It outputs messages about what it is
+doing by default. If you don't want to see these messages, pass the -q
+option (for quiet)
+
+Example:
+/usr/bin/smgl-chroot
+/usr/bin/smgl-chroot -q
-mount --bind /dev /mnt/root/dev
-mount --bind /dev/pts /mnt/root/dev/pts
-mount --bind /proc /mnt/root/proc
-chroot /mnt/root /bin/bash
+Set up a password for the root user:
passwd root
If you would like to add additional users at this time, you may feel free
to do so by typing the following:
-
useradd -m USERNAME
Replace USERNAME with the username you want to add. After you are done,
make sure you exit the chroot:
-
exit
Make sure it is a reasonably secure password, but not one you will forget.
-
Type [1mnext[m to go to the next step.
[SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (13e277555c0fbe15b61e691f3ce55288daaa10bc),
Justin Boffemmyer, 02/07/2008