Umount SMB DVD after installation

I installed SLES 12 by SMB source and would like to umount the source after my installation.
I found that when reboot the machine, the DVD is not mounted at very first time, but after 5-10 seconds, it shows mounted DVD on my desktop as attached screenshot.
I tried to add post script in the xml file of YaST, but when the post script be executed, the DVD is not mounted yet, so it doesn’t work.

How can I umount the SMB source after the installation automatically?

Thank you.

I would probably start by removing it as an install source. Go (by
memory) into Yast: Software: Software Repositories and then disable the
repository for the DVD and see if that helps.

Alternatively, do you have anything in /etc/fstab that points to the DVD?
In theory these may move into systemd, but /etc/fstab is still referenced
for legacy purposes, I believe.


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

On 14/09/17 11:34, jimmylin212 wrote:
[color=blue]

I installed SLES 12 by SMB source and would like to umount the source
after my installation.
I found that when reboot the machine, the DVD is not mounted at very
first time, but after 5-10 seconds, it shows mounted DVD on my desktop
as attached screenshot.
I tried to add post script in the xml file of YaST, but when the post
script be executed, the DVD is not mounted yet, so it doesn’t work.

How can I umount the SMB source after the installation automatically?

[image: https://i.stack.imgur.com/xhyMp.png][/color]

Without being able to see all the Terminal window it’s a bit hard to see
what’s mounted from where but it looks like you’re mounting the
hpsum_share2 from 15.146.50.188 (presumably this is your SMB share) to
/var/adm/mout and then the two DVD ISOs are being mounted from
/var/adm/mount/.

Can you post the output from “cat /etc/fstab”?

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.