Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (13e277555c0fbe15b61e691f3ce55288daaa10bc)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Justin Boffemmyer <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (13e277555c0fbe15b61e691f3ce55288daaa10bc)
  • Date: Thu, 7 Feb 2008 13:16:57 -0600

GIT changes to master cauldron by Justin Boffemmyer <flux AT sourcemage.org>:

iso/usr/share/doc/smgl.install/steps/grub | 15 +++++++++------
iso/usr/share/doc/smgl.install/steps/lilo | 14 +++++++++-----
iso/usr/share/doc/smgl.install/steps/user-setup | 17 +++++++++--------
3 files changed, 27 insertions(+), 19 deletions(-)

New commits:
commit 13e277555c0fbe15b61e691f3ce55288daaa10bc
Author: Justin Boffemmyer <flux AT sourcemage.org>
Commit: Justin Boffemmyer <flux AT sourcemage.org>

steps/grub,steps/lilo,steps/user-setup: chroot updates

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 @@
grub instructions:
-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 @@
lilo instructions:
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 @@
user-setup step
-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 next to go to the next step.




Archive powered by MHonArc 2.6.24.

Top of Page