Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]



On Sun, 19 Dec 2010 11:44:35 -0500 (EST), Rick Thomas wrote:
On Dec 19, 2010, at 8:09 AM, Stephen Powell wrote:
Caution: reformatting a swap partition with mkswap will change the
uuid unless the existing one is explicitly re-specified during
formatting.

Which raises a question that has been on my mind for a while...

The Debian Installer insists on reformatting any swap partitions it
finds, even though that partition, specified by UUID, is probably in
use in the /etc/fstab for some other instantiation of Linux -- thus
breaking the other Linux, leaving it without a usable swap partition.

Would it be possible to either:

1) have the option (default) of *not* reformatting a swap partition
or
2) if reformatting is necessary or desired, have the option (default)
of preserving the UUID.
or
3) using "LABEL=" instead of "UUID=" in fstab for swap partitions, if
it turns out to be easier to preserve a LABEL than a UUID.

From what I've heard, the Ubuntu installer has the same problem,
and it can ruin a functioning Debian system too. Of course, that's
not something the Debian installer team can do anything about.
That's outside of their jurisdiction. But many Ubuntu people, both
users and developers, are known to monitor Debian's lists. Let's
hope that some of the right people are listening.

--
.''`. Stephen Powell
: :' :
`. `'`
`-


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/545834701.1198861.1292884630008.JavaMail.root@xxxxxxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]
    ... reformatting a swap partition with mkswap will change the ... uuid unless the existing one is explicitly re-specified during ... The Debian Installer insists on reformatting any swap partitions it ... leaving it without a usable swap partition. ...
    (Debian-User)
  • Re: lilo config is busted, need help fixing it
    ... postinst_hook = lilo-update ... mkswap that did not assign a UUID. ... reformat the swap partition, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Request for enhancement [Re: Question about /etc/fstab in Squeeze]
    ... uuid unless the existing one is explicitly re-specified during ... The Debian Installer insists on reformatting any swap partitions it ... leaving it without a usable swap partition. ...
    (Debian-User)
  • Request for enhancement [Re: Question about /etc/fstab in Squeeze]
    ... The Debian Installer insists on reformatting any swap partitions it finds, even though that partition, specified by UUID, is probably in use in the /etc/fstab for some other instantiation of Linux -- thus breaking the other Linux, leaving it without a usable swap partition. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Compiz or Firefox
    ... Still had trouble with the UUID, so I edited fstab to point ... swap partition and started using a little bit. ... it still had a problem recognizing it for some reason. ...
    (Ubuntu)