Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #209962
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} |
| Date | 2019-06-16 18:10 +0200 |
| Message-ID | <y9FTb-4Gd-5@gated-at.bofh.it> (permalink) |
| References | <y8Sps-8vL-9@gated-at.bofh.it> <y9gL7-6j0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat 15 Jun 2019 at 08:15:24 (-0500), Richard Owlett wrote:
> On 06/14/2019 06:10 AM, Richard Owlett wrote:
> > I can't remember the name of the file which identifies the
> > association between a directory (i.e. \home) and which physical
> > partition it is on. The file I'm looking for also identifies which
> > partition is used for swap.
>
> The filename I had forgotten was /etc/fstab .
>
> Background:
> I have one laptop explicitly set aside for experimenting with Debian
> in order to determine *MY* ideal system. To this end I may have a half
> dozen copies of Debian to chose from at boot.
>
> For my purposes, the Debian installer has two annoyances:
> 1. swap area designation.
> Everything is fine on the 1st installation.
> On following installations, when the existing swap partition is
> is to be used its UUID is changed. This causes grief for the
> other installations by making swap area appear missing. My
> personally preferred solution is to activate swap only of the
> initial installation. For subsequent installs actually requiring
> a swap partition, I edit its /etc/fstab .
It's rather easy to work around this problem in one of two ways (at least):
With a reasonable amount of memory (not a problam nowadays), just tell
the d-i to leave the existing swap file alone and do without one. Then
manually add the old UUID into the new installation's /etc/fstab and
/etc/initramfs-tools/conf.d/resume when it's up and running.
(If you're only installing as an experiment in installation, I suspect
you won't even need to bother, because you'll be overwriting it shortly.
Does top show much use of swap anyway?)
or, even easier,
Use a LABEL to indicate the swap partition in all your own
/etc/fstab files, eg:
LABEL=swan10 none swap sw
and in /etc/initramfs-tools/conf.d/resume.
The d-i will of course overwrite the swap partition UUID/LABEL
as usual, but it's trivial to reset your LABEL at the end.
When the d-i reaches the UTC question at the end, switch to VC2
and type (with the appropriate values):
# /target/sbin/swaplabel -L LLLLLL /dev/sdXN
before answering the UTC question. The newly installed system
will boot via its fresh UUID, but all your old systems will
carry on using your LABEL as usual. (I assume that if you're
going to keep the new system for any length of time, you will
be editing its /etc/fstab anyway, and can set your usual LABEL
there, as in the example above.)
> 2. Grub configuration.
> The installer is egotistical enough to think that what is being
> installed will always be the preferred version. NOT!
You've been flogging this dead horse for at least seven years now.
Common sense dictates that anyone installing a new system wants it
to boot up by default. Anything else would be like sending the final
copy of your magnum opus to the publisher only for them to distribute
an old draft. OSes aren't like marmalade, where you have to use up
the old jar before opening a new one.
> My solution is install Grub only on the initial install and NO
> boot loader on subsequent install. After completing one (or more)
> additional installs, I boot the first install and run update-grub.
>
> VM's had been suggested ;}
What for; to avoid having to type <down><down><down><return> when booting?
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Forgot name of Debian "configuration" {wrong word?} file Richard Owlett <rowlett@cloud85.net> - 2019-06-14 13:20 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file john doe <johndoe65534@mail.com> - 2019-06-14 13:30 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Richard Owlett <rowlett@cloud85.net> - 2019-06-14 13:50 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Erwan David <erwan@rail.eu.org> - 2019-06-14 13:30 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Erik Christiansen <dvalin@internode.on.net> - 2019-06-14 13:30 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Richard Owlett <rowlett@cloud85.net> - 2019-06-14 14:00 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-14 19:50 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Jonas Smedegaard <jonas@jones.dk> - 2019-06-14 13:30 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file songbird <songbird@anthive.com> - 2019-06-14 14:40 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Elimar Riesebieter <riesebie@lxtec.de> - 2019-06-14 18:10 +0200
Re: Forgot name of Debian "configuration" {wrong word?} file Felix Miata <mrmazda@earthlink.net> - 2019-06-14 20:20 +0200
Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Richard Owlett <rowlett@cloud85.net> - 2019-06-15 15:20 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-15 16:30 +0200
Re: Intended question Felix Miata <mrmazda@earthlink.net> - 2019-06-15 21:20 +0200
Re: Intended question Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-15 21:30 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Richard Owlett <rowlett@cloud85.net> - 2019-06-15 21:30 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} David Wright <deblis@lionunicorn.co.uk> - 2019-06-16 18:10 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Richard Owlett <rowlett@cloud85.net> - 2019-06-16 21:20 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} john doe <johndoe65534@mail.com> - 2019-06-16 21:40 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-17 00:30 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} David Wright <deblis@lionunicorn.co.uk> - 2019-06-17 04:10 +0200
The use of VMs in experimentation schenarios (Was: Re: Intended question - was...) Linux-Fan <Ma_Sys.ma@web.de> - 2019-06-17 23:00 +0200
Re: The use of VMs in experimentation schenarios (Was: Re: Intended question - was...) Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-17 23:10 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-06-17 23:50 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Felix Miata <mrmazda@earthlink.net> - 2019-06-17 05:00 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-17 20:40 +0200
Re: Intended question - was {Re: Forgot name of Debian "configuration" {wrong word?} file} David Wright <deblis@lionunicorn.co.uk> - 2019-06-18 18:20 +0200
Re: Intended question Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-06-20 20:10 +0200
Re: Intended question David Wright <deblis@lionunicorn.co.uk> - 2019-06-21 04:40 +0200
Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong word?} file] Richard Owlett <rowlett@cloud85.net> - 2019-06-15 15:40 +0200
Re: Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong word?} file] songbird <songbird@anthive.com> - 2019-06-15 22:50 +0200
Re: Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong word?} file] Richard Owlett <rowlett@cloud85.net> - 2019-06-16 11:50 +0200
Re: Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong word?} file] Jonas Smedegaard <jonas@jones.dk> - 2019-06-16 13:30 +0200
Re: Bonus answers - was [Re: Forgot name of Debian "configuration" {wrong word?} file] Dan Ritter <dsr@randomstring.org> - 2019-06-17 15:20 +0200
csiph-web