Re: more 8.0 docs confusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 14 Oct 2002, Tammy Fox wrote:

> Did you add the swap partition to a second hard drive that was not
> mounted? While writing this chapter, I remember being in runlevel 3
> and trying to add swap to the /dev/hda that was mounted already
> because it contained / partition.  The kernel did not recognize the
> partition. The kernel refuses to recognize a new partition table if
> the hard disk is currently in use.
> 
> You can add a swap partition in runlevel 3 or 5 if the hard drive
> is not in use -- i.e. a second hard drive.
> 
> Tammy
> 
> On Sun, Oct 13, 2002 at 04:33:10PM -0400, Robert P. J. Day wrote:
> > 
> >   official RHL customization guide, "adding swap space", reads
> > in part, to add a swap partition:
> > 
> >   "The hard drive can not be in use (partitions can not be
> > mounted, and swap space can not be enabled).  The easiest
> > way to achieve this it [sic] to boot your system in [sic]
> > rescue mode."
> > 
> >   say what?  i've numerous times added a swap partition to
> > a running system with a combination of fdisk/mkswap/swapon.
> > has this changed?
> > 
> > rday

my mistake, i (partially) misinterpreted what was written.  if 
you create a new partition using fdisk, it's *necessary* to reboot
to have the kernel recognize that partition.

(well, technically, i'm not sure that's completely true, is it?
i've had others tell me that you need to reboot to recognize
any new *extended* partitions, but not new  *primary* partitions.
is there a definitive answer to this?)

so, yes, while you have to reboot, you do *not*, as the guide
says, have to get into rescue mode.  that's a little bit of 
overkill, methinks.

rday





[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux