Bug#590231: improperly nested partition?
gi1242+debianbugs at gmail.com
gi1242+debianbugs at gmail.com
Sat Oct 23 19:43:53 UTC 2010
On Mon, Oct 04, 2010 at 11:59:44AM +0800, Michael Deegan wrote:
> Perhaps grub-probe thinks that my /dev/sdb1 is an Extended partition,
> rather than swap?
I got the same set of warnings, and had the same issue (i.e. a partition
table residing in the mbr of my swap). I just recreated my swap and all
was fine:
swapoff -a
mkswap -f /dev/sda2 # WARNING: Make sure the device name is correct.
# -f means "force". Wrong name = lost data.
You have to use the "-f" flag, otherwise your old boot sector won't be
erased. On successful completion, you should get no warning message, and
mkswap should have printed a UUID. Edit your /etc/fstab and replace the
UUID of the old swap partition with the new one. Then run
swapon -a
and you're good to go.
GI
--
'Microsecond' -- The time it takes for your state-of-the-art computer to
become obsolete.
More information about the Pkg-grub-devel
mailing list