2016-09-01 14:02 GMT+02:00 Richard Owlett <rowl...@cloud85.net>: > On 8/31/2016 11:25 AM, Richard Owlett wrote: > >> On 8/31/2016 10:44 AM, Felix Miata wrote: >> >>> Richard Owlett composed on 2016-08-31 09:58 (UTC-0500): >>> ... >>> >>>> Aug 31 09:13:32 deb8-2ndtry systemd[1]: Job >>>> dev-disk-by\x2duuid-0a344714\x2dae06\x2d43ed\x2daf89\x2d33ba51934630.de >>>> >>>> >>>> Aug 31 09:13:32 deb8-2ndtry systemd[1]: Timed out waiting for >>>> device dev-disk-by\x2duuid-0a344714\x2dae06\x2d43ed\x >>>> Aug 31 09:13:32 deb8-2ndtry systemd[1]: Dependency failed for >>>> /dev/disk/by-uuid/0a344714-ae06-43ed-af89-33ba5193463 >>>> Aug 31 09:13:32 deb8-2ndtry systemd[1]: Dependency failed for >>>> Swap. >>>> >>> >>> Which was installed last, Squeeze, or Jessie? You can expect this >>> message trying to boot the earlier installed installation after >>> having done the later install. Unless you take affirmative action >>> to deny it, an existing swap partition used by the earlier >>> installation will be reformatted by the later installation. >>> Reformatting creates a new UUID, thus making the UUID referring >>> to it in the earlier installation's fstab invalid. The earlier >>> needs to have its fstab edited to use the correct swap partition >>> UUID, or volume label, or device name, if swap is actually >>> desired or needed. >>> >> >> There may be some subtle problems still lurking somewhere which >> show up only for people like me doing many installs of *nearly* >> identical systems. >> >> Commenting out the line in /etc/fstab DID allow it to boot >> without warning messages. >> >> However,taking into account Darac's comments, does this now mean >> that the machines are now operating without a swap partition? >> >> IIRC the current instance of Jessie on the laptop was the >> chronologically the last OS installed so by the comments in this >> thread should not have had the problem. The laptop is my >> designated "Guinea pig" so I'll do a fresh install to see if >> problem persists. >> > > My procedure was: > 1. Using the Live edition of Gparted, remove all partitions on hard disk. > 2. Using install DVD 1 of Debian 8.0.0 > a. install Debian to /dev/sda1 > b. create swap on /dev/sda2 > 3. Verify Debian boots without problems > 4. Using the same DVD > a. install Debian to /dev/sda5 > b. re-create swap on /dev/sda2 > 5. Attempt to boot both instances > a. Booting the install on /dev/sda1 generates the warning message and > use > of free shows swap does not exist. > b. Booting the install on /dev/sda5 generates no warning message and use > of free shows swap does exist. > > I believe this justifies a bug report against the installer. >
It is not a bug. If you want to use the same swap partition with multiple install, then you should not reformat the swap partition. How can the installer guess that you want to use the same swap partition for multiple OS. (reinstalling the same system is a common task -- but i always wonder why ...) Maybe you want to add warning message before formatting like "Care, a swap partition already exist at /dev/sdaXX, would you like to reformat it ?" IMO, you should know what you're doing. It's not the installer job to "think" for you ! The installer just does what you ask him to do ! > My expected behavior would be to check to see if a swap area already > exists before "creating" a swap partition. Especially since replacing a > swap partition can break a previously functioning install in a multi-boot > situation. > By the way you can have a look at debootstrap if you want multiple debian install, (only one booted OS, but multiple Debian OS accessible with chroot) If you want more powerfull way of doing this you can check lxc, and docker. Today multiboot seem really deprecated (unless you have windows) > > Comments? > > Regards,