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

Re: label swap partition



2009/2/18  <marcslists@gmail.com>:
> Adrian Levi <adrian.levi@gmail.com> writes:
>
>> 2009/2/18  <marcslists@gmail.com>:
>> > I'm trying to prepare my etch system for upgrade, and am converting to
>> > labels in fstab.
>> >
>> > I tried to label my swap partition (which is swap type in part table) by doing
>> > mkswap -L rootswap /dev/hda1  (the current dev name of my swap partition)
>> >
>> > but swapon -L rootswap says it can't find the label.
>> >
>> > i notice, possibly irrelevant, that cfdisk is seeing the new labels on
>> > my ext3 partitions, but not the label of the swap partition.
>> >
>> > any hints about what I might be doing wrong?
>>
>> You did a swapoff /dev/hda1 first?
>>
>> Adrian
>>
>
> After the first attempt and reboot, there was no active swap.  I then
> redid the mkswap, so the simple answer is yes, it was offline.

can you provide the output of:

fdisk -l /dev/hda
and
blkid

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
<erno> hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


Reply to: