Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187386

Re: An answer to "Gave up waiting for suspend/resume device"

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: An answer to "Gave up waiting for suspend/resume device"
Date 2017-09-28 21:10 +0200
Message-ID <uuMm5-4sA-5@gated-at.bofh.it> (permalink)
References (3 earlier) <utUlH-2Sr-5@gated-at.bofh.it> <uug2S-8no-17@gated-at.bofh.it> <uugYW-xV-7@gated-at.bofh.it> <uuBK2-68e-11@gated-at.bofh.it> <uuCmK-6C9-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 28 Sep 2017 at 10:29:27 (+0200), Pascal Hambourg wrote:
> Le 28/09/2017 à 09:39, Jimmy Johnson a écrit :
> >On 09/27/2017 02:38 AM, Pascal Hambourg wrote:
> >>Le 27/09/2017 à 10:37, Jimmy Johnson a écrit :
> >
> >>>  But if everything is correct and you are using lets say sda1
> >>>as root in your fstab your system will use sda1 as the LABEL,
> >>>I've seen this over and over.
> >>
> >>Nonsense. sda1 is the block device name and does not have
> >>anything to do with the LABEL which is a filesystem metadata
> >>field.
> >>
> >>>But all this is advanced setup for people running more than
> >>>one Linux system and having to edit UUID on all systems
> >>>because you install a new system is undesirable.
> >>
> >>No it does not have anything to do with multiple Linux systems.
> >
> >In fstab a label is used as a device name, a uuid is used as a
> >device name and /dev/sda1 is a device name, you are just trying to
> >make nonsense out of nothing.
> 
> A label or a UUID are not really used as device names, they are used
> *instead* of a device name.
> 
> Anyway, this is not the same as what you wrote earlier and is pure
> nonsense :
> 
> "your system will use sda1 as the LABEL"
> 
> Unless you meant "define 'sda1' as the filesystem/swap label and use
> LABEL='sda1' in /etc/fstab", which is a really bad use of labels
> leading to confusion between labels and device names. Labels are
> meant to be explicit about the contents, not the container.
> 
> >And editing multiple fstab config files because I've installed a
> >new system is, like I said undesirable and why I use device names
> >in both my fstab and grub boot menu.  As you know when a new
> >system is installed swap is formatted and it's uuid gets changed
> >every time it's formatted.
> 
> The Debian installer does this, but I am not sure that all other
> distro installers do the same. Moreover, the Debian installer will
> format an existing swap only if that swap is marked for use (the
> trick is that all existing swaps are automatically marked for use by
> default, so you have to pay attention and unmark them if you do not
> want them to be formatted). IMO this is a real bug in the installer.
> 
> So my general policy when installing Debian is to mark any existing
> swap as "not used", and if I want to share an existing swap, I add
> the line manually in /etc/fstab in the new system after the
> installation.

In the past I have used the VC2 shell to swapon immediately the
partitioner has formatted the partitions (but not swap), ie just
before "Install the base system". This has never caused a problem
for me, but the Installation Guide says:

"In particular, you should always use [sic] let the installer activate
your swap partition and not do this yourself from a shell." (§6.3.8.2)

Any idea why?

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

An answer to "Gave up waiting for suspend/resume device" Mark Luxton <truthseeker9@yahoo.ca> - 2017-09-23 06:50 +0200
  Re: An answer to "Gave up waiting for suspend/resume device" Jimmy Johnson <field.engineer@gmail.com> - 2017-09-26 04:00 +0200
    Re: An answer to "Gave up waiting for suspend/resume device" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-26 11:30 +0200
      Re: An answer to "Gave up waiting for suspend/resume device" Jimmy Johnson <field.engineer@gmail.com> - 2017-09-27 10:40 +0200
        Re: An answer to "Gave up waiting for suspend/resume device" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-27 11:40 +0200
          Re: An answer to "Gave up waiting for suspend/resume device" Jimmy Johnson <field.engineer@gmail.com> - 2017-09-28 09:50 +0200
            Re: An answer to "Gave up waiting for suspend/resume device" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-28 10:30 +0200
              Re: An answer to "Gave up waiting for suspend/resume device" David Wright <deblis@lionunicorn.co.uk> - 2017-09-28 21:10 +0200
  Re: An answer to "Gave up waiting for suspend/resume device" Larry Dighera <LDighera@att.net> - 2017-09-29 18:40 +0200
    Re: An answer to "Gave up waiting for suspend/resume device" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-29 19:50 +0200

csiph-web