How to set label on swap partition (SOLVED)

Pasha R e97665728 at 013.net
Fri Mar 11 20:02:05 UTC 2005


On Fri, 2005-03-11 at 12:06 -0500, Jeff Kinz wrote:
> On Fri, Mar 11, 2005 at 07:03:25PM +0200, Pasha R wrote:
> > Hi,
> > 
> > It looks like running Ubuntu LiveCD removed a label from my swap
> > partition, so it is no longer recognized by Fedora as a swap. e2label
> > doesn't want to set label since it is not a ext2/ext3 partition. What is
> > the right way to set label on swap partition?
> 
> I've used the Linux fdisk command that comes w/Fedora successfully in the past.
> If it doesn't work there may be more wrong with the setup of the HD then
> it first appears.

It appears that mkswap does have a -L option, though undocumented in man
page. Using it fixed my problem.

BTW, how do you set label in fdisk? I tried that, but could not find an
appropriate option.




More information about the fedora-list mailing list