partition labels

Gerard Snitselaar snits at snitselaar.org
Thu Mar 30 15:01:28 MST 2006


man mkswap should have the details for setting changing labels

Eric "Shubes" wrote:
> I installed Fedora5, CentOS4.3, and Ubuntu5.10 on my desktop. Fedora 
> created the (shared) swap with a label "SWAP-hda6". I'm not sure what 
> CentOS did with the label. Ubuntu apparently clobbered the label.
> 
> I changed the entry in Fedora's fstab from LABEL=SWAP-hda6 to /dev/hda6, 
> and now I have my swap back. One problem persists though. When I boot 
> Fedora, I get a message "Unable to access resume device 
> (LABEL=SWAP-hda6)" on the screen, after the "Red Hat nash starting" 
> message and before the "INIT booting" message. There are no apparent 
> messages in DMESG or log/messages.
> 
> I tried deleting and recreating the swap partition with qtparted. It has 
> a place to specify the label, but it didn't take (still blank). I also 
> tried parted and fdisk, but didn't see anywhere that I could update the 
> label.
> 
> Anyone know how I can create/change the label on a swap (or any) partition?
> 
> Alternatively, I've looked for somewhere/something in nash that's 
> specifying this label. I figure if I could change it to /dev/hda6 that 
> it'd be fine, but I can't seem to find where that is. Anyone know what's 
> going on there?
> 
> TIA for any assist.


More information about the PLUG-discuss mailing list