Skip to Content.
Sympa Menu

baslinux - Re: [BL] Fail message during installing in HD.

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: qwms-avib AT dea.spamcon.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] Fail message during installing in HD.
  • Date: Fri, 8 Aug 2003 07:18:53 +1200

James Miller wrote:
>
> once you've created the swap partition and noted its location,
> you can then format it. Let's say your swap partition is an
> easy one - /dev/hda2. You issue the command
> -----------------
> mke2fs /dev/hda2
> ----------------

That line is unnecessary. It formats the partition for an
ext2 filesystem (which swap does not use).

> Then, you issue the command
> -------------------
> mkswap /dev/hda2
> ------------------

That's the one you need. It formats the partition for swap.

> In order for the swap partition to get recognized and used
> each time you boot the system, you need to create an entry
> for it in /etc/fstab. So issue the command
> ----------------
> edit /etc/fstab
> ----------------
> If your swap partition is /dev/hda2, then you would add a
> line that looks something like this to /etc/fstab:
> -------------------------------------
> /dev/hda2 swap swap defaults 0 0
> -------------------------------------

That is the usual way of doing it. It would also be possible
to put a swapon line in a startup script.

Cheers,
Steven




Archive powered by MHonArc 2.6.24.

Top of Page