Skip to Content.
Sympa Menu

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

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 (4cdb8c002aad57a765fe8086dc7d8056e085374a)
  • Date: Sun, 13 Jan 2008 23:44:04 -0600

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

iso/usr/share/doc/smgl.install/steps/boot-loader | 37
+++++++++++++++++++++++
iso/usr/share/doc/smgl.install/steps/disk-format | 25 +++++++++++++++
iso/usr/share/doc/smgl.install/steps/disk-mount | 30 ++++++++----------
iso/usr/share/doc/smgl.install/steps/edit-confs | 5 +--
iso/usr/share/doc/smgl.install/steps/user-setup | 22 +++++++++++++
5 files changed, 101 insertions(+), 18 deletions(-)

New commits:
commit 4cdb8c002aad57a765fe8086dc7d8056e085374a
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>

Added step to set up (minimally) the root account

This step gives instructions to chroot into the target system and set the
root password. It also gives instructions for creating additional user
accounts, if the user chooses to do so at this time.

commit d09aec0486d06864ed28609139cb574303bb746c
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>

New step for formatting filesystems

Added a separate step for formatting filesystems. Instructions are
provided for all filesystem types supported on the iso.

commit dbeb30b16c98774ce7d33e3c27574bd90e31a9c0
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>

New boot-loader step

This is a new step for instructions on configuring/installing a
boot-loader. This takes over where the old edit-confs left off, and
gives concrete instructions on setting up the boot-loader of choice
(either grub or lilo).

commit b4fe0d0ee316eb518c7bda50398cb5031ccae9ba
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>

Removed disk-format instr.s; clarified mounts

Removed all instructions pertaining to disk formatting (e.g. mkfs.ext2
/). This is now in a separate step (disk-format).

Clarified the instructions for mounting the file-systems so that the
user not only mounts the root filesystem, but also any and all other
filesystems on top of root (e.g. home, var, usr, whatever)

commit 9413a31e3182fb2d69595c70a48e473f2340ce19
Author: Justin Boffemmyer <flux AT shaolin.homelinux.org>
Commit: Justin Boffemmyer <flux AT shaolin.homelinux.org>

Separated from boot-loader step; added next instr

Removed instructions pertaining to boot-loaders, as those are now in a
separate step of their own (boot-loader).

Added instructions at the end to type "next" to go to the next step.

diff --git a/iso/usr/share/doc/smgl.install/steps/boot-loader
b/iso/usr/share/doc/smgl.install/steps/boot-loader
new file mode 100644
index 0000000..73c4025
--- /dev/null
+++ b/iso/usr/share/doc/smgl.install/steps/boot-loader
@@ -0,0 +1,37 @@
+boot-loader step
+Now it is time to select a boot-loader. Since this is the x86 ISO, you can
+choose either grub or lilo. Both are included in the basesystem you copied
+over to /mnt/root in the copy-base step.
+
+Once you have decided which boot loader to use, you need to configure the
+boot loader. For lilo, this is done by editing /mnt/root/etc/lilo.conf. For
+grub, follow the instructions below. The grub instructions are for
+installing grub to the MBR of the first hdd (e.g. /dev/hda). Change this
+according to your setup/needs.
+
+After you finish configuring your boot loader, you need to "install" it.
+This simply involves running the boot loader, which will install itself to
+the location you specified in the config file.
+
+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
+
+For lilo:
+/sbin/lilo
+
+For grub:
+cp /usr/lib/grub/i386-pc /boot/grub
+/sbin/grub
+> root (hd0,0)
+> setup (hd0)
+> quit
+
+Exit the chroot:
+exit
+
+Unless you got an error message when you were installing the boot loader,
+you should be done with this step. Type next to go to the next
+step.
diff --git a/iso/usr/share/doc/smgl.install/steps/disk-format
b/iso/usr/share/doc/smgl.install/steps/disk-format
new file mode 100644
index 0000000..f59bbad
--- /dev/null
+++ b/iso/usr/share/doc/smgl.install/steps/disk-format
@@ -0,0 +1,25 @@
+disk-format step
+Now, we need to create filesystems on the partitions you just created.
+Preferences for filesystems differ, and we're not here to tell you which you
+should use (should we?), so here's just a list of commands to create the
+different filesystems I know about:
+
+mke2fs /dev/hda1
+# This one is the same as mke2fs -j /dev/hda1
+mkfs.ext3 /dev/hda1
+# big TODO: seems we don't actually ship this yet 8)
+# We do now :-D
+mkreiserfs /dev/hda1
+# same for xfs and jfs
+mkfs.jfs /dev/hda1
+mkfs.xfs /dev/hda1
+
+We do provide support for reiser4 on the ISO. However, the ISO kernel does
+not yet support reiser4, so although you can create reiser4 filesystems and
+check ones already created, you cannot yet mount them. Only make a reiser4
+filesystem if you really know what you are doing.
+
+mkfs.reiser4
+
+# swap:
+mkswap /dev/hda2
diff --git a/iso/usr/share/doc/smgl.install/steps/disk-mount
b/iso/usr/share/doc/smgl.install/steps/disk-mount
index ded3bf2..fd7d425 100644
--- a/iso/usr/share/doc/smgl.install/steps/disk-mount
+++ b/iso/usr/share/doc/smgl.install/steps/disk-mount
@@ -1,22 +1,20 @@
-Now, we need to create filesystems on the partitions you just created.
-Preferences for filesystems differ, and we're not here to tell you which you
-should use (should we?), so here's just a list of commands to create the
-different filesystems I know about:
+disk-mount step
+Now you need to mount the filesystems. We'll be installing to /mnt/root,
+so mount the filesystem that will be / onto /mnt/root.

-mke2fs /dev/hda1
-# This one is the same as mke2fs -j /dev/hda1
-mkfs.ext3 /dev/hda1
-# big TODO: seems we don't actually ship this yet 8)
-mkfs.reiserfs /dev/hda1
-# same for xfs and jfs
+Examples:
+mount -t ext2 /dev/hda1 /mnt/root
+mount -t ext3 /dev/hda1 /mnt/root
+mount -t reiserfs /dev/hda1 /mnt/root
+mount -t jfs /dev/hda1 /mnt/root
+mount -t xfs /dev/hda1 /mnt/root

-# swap:
-mkswap /dev/hda2
+Then mount any other partitions you made at the proper subdirectories.

-Now, you need to mount the filesystems. We'll be installing to /mnt/root,
-so mount the filesystem that will be / as
-mount -t ext2 /dev/hda1 /mnt/root
-Then mount the others.
+For example, if you created /dev/hda2 for /home:
+mount -t ext2 /dev/hda1 /mnt/root/home
+
+Don't forget to mount all the (system) partitions you plan to use.

Don't forget to turn on swap via
swapon /dev/hda2
diff --git a/iso/usr/share/doc/smgl.install/steps/edit-confs
b/iso/usr/share/doc/smgl.install/steps/edit-confs
index f4ba75d..21bb64e 100644
--- a/iso/usr/share/doc/smgl.install/steps/edit-confs
+++ b/iso/usr/share/doc/smgl.install/steps/edit-confs
@@ -1,7 +1,8 @@
Hmm. This is a bit fun to document. Big TODO.

You need to edit /mnt/root/etc/fstab so the system knows your partitions on
-bootup. Also, pick either lilo or grub, edit its conf, and install it.
-We'll need better-documented conf file templates for this.
+bootup. We'll need better-documented conf file templates for this.

And more doc monkeys.
+
+Type next to go to the boot-loader selection step.
diff --git a/iso/usr/share/doc/smgl.install/steps/user-setup
b/iso/usr/share/doc/smgl.install/steps/user-setup
new file mode 100644
index 0000000..a9aa0c5
--- /dev/null
+++ b/iso/usr/share/doc/smgl.install/steps/user-setup
@@ -0,0 +1,22 @@
+user-setup step
+Set up a password for the root user:
+
+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
+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.



  • [SM-Commit] GIT changes to master cauldron by Justin Boffemmyer (4cdb8c002aad57a765fe8086dc7d8056e085374a), Justin Boffemmyer, 01/14/2008

Archive powered by MHonArc 2.6.24.

Top of Page