[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

2017-07-10 Thread dragon788
I was running into the same issue and finally by luck happened upon a
set of slides that allowed me to automate this and there was an
accompanying code repository with the full preseed file.
https://github.com/uweplonus/adia-
install/blob/master/initrd/preseed.cfg#L3

Many people suggest using `preseed/early_command umount /media/*` but
this hasn't worked for quite some time due to the timing of when the
preseed portion runs compared to the partitioning.

The correct way to do this is to add the following anywhere in your
preseed file that is referenced by the boot command.

```d-i partman/early_command string \
USBDEV=$(list-devices usb-partition | sed "s/\(.*\)./\1/");\
BOOTDEV=$(list-devices disk | grep -v "$USBDEV" | head -1);\
debconf-set partman-auto/disk $BOOTDEV;\
debconf-set grub-installer/bootdev $BOOTDEV; \
umount /media;
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628659

Title:
  "d-i partman/unmount_active boolean true" not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1628659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

2017-06-29 Thread Eric Trezel
Hello,

Same issue.

I noticed error messages about /dev/sda appear during install procedure
(near from the beginning), but it disappears too fast to be able to read
it, and I didn't find trace of this message in syslog or whatever file I
found (in /tmp and /var/log).

I found a temporary solution : add an early-command line in my preseed file :

d-i preseed/early_command string [ "$(mount | grep /media)" ] && umount /media 
|| echo "no mounted partition found" > /tmp/early.log


It works well for me (I tried with "grep /dev/sda1" at first times, then
I realised whatever the name of the partition is (it can be different,
of course, regarding to your disk, partition type...), it's always
mounted in /media).

Another info : My PCs are formatted with 3 partitions : sda1 (/), sda2
(swap), and sda3 (/localsettings). I never had this issue before I put
files in sda3. It's weird, because sda3 is not mounted, and unmount sda1
is sufficient to fix the problem, but maybe it could help the one who
will have to fix that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628659

Title:
  "d-i partman/unmount_active boolean true" not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1628659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

2017-06-19 Thread Carl Karsten
I get the same message, and I have:

d-i partman/unmount_active boolean false

My case: 
I have a 2nd usb stick with ubuntu-16.04.2-server-amd64.iso
the installer mounts it under /cdrom, and then asks me if I want to unmount it 
so it can step on it.  
perhaps this should be a special case?

Anyway, I wonder what the relation is between unmount_active and
 "Do you want the installer to try to unmount...?"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628659

Title:
  "d-i partman/unmount_active boolean true" not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1628659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

2017-06-19 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: preseed (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628659

Title:
  "d-i partman/unmount_active boolean true" not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1628659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

2016-09-28 Thread Julen Larrucea
Selected the pressed package

** Package changed: ubuntu => preseed (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628659

Title:
  "d-i partman/unmount_active boolean true" not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1628659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628659] Re: "d-i partman/unmount_active boolean true" not working

2016-09-28 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1628659/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628659

Title:
  "d-i partman/unmount_active boolean true" not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1628659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs