On Tuesday, 26 August 2003, at 19:45PM, Meph Istopheles wrote:


Morning Stroller,

  Now, I've been using DiskDruid for partitioning when I set
up, & have used fdisk countless times on different drives for
partitioning, but never during setup...

Drive partitioning & mounting is something that Gentoo doesn't believe in doing automagically for you.

Sounds good. I wonder though, does Stage 3 install offer a screen for editing fstab?

Erm... when I last installed one used a text editor, `nano -w /etc/fstab`. I believe vi is also now included on the install CDs.


Code listing 7.2 shows how to mount a typical simple partition
layout from _within_ the InstallCD chroot.

Ah, chroot. I've only used this during rescue operations with RH. It'll be odd having to do this as a part of install, but that's cool.

Let's edit this for your system (for the df -h above, not your
proposed changes, because it's too early in the morning for me
to absorb those right now):
# mount /dev/hda2 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
# mkdir /mnt/gentoo/home
# mount /dev/hdb1 /mnt/gentoo/home
# mkdir /mnt/gentoo/backup
# mount /dev/hdb2 /mnt/gentoo/backup
# mkdir /mnt/gentoo/backup2
# mount /dev/hdd1 /mnt/gentoo/backup2

This is something which caught my eye when I was skimming the docs: /mnt/gentoo. Is this a system thing, or is there a time one will actually be editing docs & have to remember that /mnt/gentoo... is required as opposed to /, which is all I've done with RH, slack & FreeBSD?

I think someone else already answered this, but I can't find it, so excuse me if I'm reiterating:


These directories are created _inside the InstallCD environment_ which is a Unix filesystem on a CD-ROM. /mnt/gentoo is relative only to _this_ filesystem, and not to your root hard-disk.

Once you chroot into /mnt/gentoo /dev/hda2 becomes /, /mnt/gentoo/boot becomes /boot and so on. This is just as it is when you boot up the system for the first time. Gentoo is hence just like BSD & the other Linux distros you are familiar with.

Stroller.


-- [EMAIL PROTECTED] mailing list



Reply via email to