/srv/irclogs.ubuntu.com/2015/05/26/#ubuntu-installer.txt

cumorrisDoes anyone know of a way I can unmount /dev/sda1 in a preseed file? I have tried several commands to unmount it but it keeps telling me that /dev/sda1 is mounted so it cannot make a filesystem here.15:28
cumorrisI have tried: d-i partman/filter_mounted boolean false15:28
cumorrisd-i partman/unmount_active boolean false15:28
cumorrisd-i preseed/early_command string umount /dev/sda1 || /bin/true15:29
cumorrisany ideas? Thanks15:29
cumorrisNote: This is 15.04 Ubuntu and I am doing this in VirtualBox15:29
CarlFKcumorris: what are you trying to do?    which will help answer "where in the process?"15:33
cumorrisCarlFK: I am trying to make a fully automated install of Ubuntu 15.04 in Virtualbox using a preseed file. I have all parts of the installer preseeded except for a few parts of the partitioning process. When I run the installer it stops about 3/4 of the way through and says that it cannot create a filesystem here. I checked the logs and it told me that /dev/sda1 was mounted therefore it could not continue.15:36
cumorrisCarlFK: Here is the preseed file I have been playing with:15:37
cumorrishttp://pastebin.com/JTVXFWjG15:37
cumorrisNote: I probably have several unneeded lines in the preseed. I have been commenting them out when I make the .iso to test with15:38
cumorrisHere is a screenshot of the log file: http://www.zimagez.com/zimage/screenshot-05262015-114115am.php15:42
cumorrisHere is a screenshot of the installer error: http://www.zimagez.com/zimage/screenshot-05262015-114239am.php15:43
infinityA screenshot of a tiny chunk of a log is a lot less helpful than the whole of syslog.15:48
cumorrisAgreed. I will see what I can do15:51
CarlFKcumorris: you can install sshd into the installer so you can ssh into the box from your host os  https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/ec/ssh/isshd.sh15:54
cumorrisCarlFK: Thank you, I will take a look at that15:55
CarlFKcumorris: why are you doing this: d-i preseed/early_command string umount /dev/sda2 || /bin/true15:55
CarlFKI doubt it is mounted15:56
cumorrisCarlFK: Someone else had recommended that I try it. I don't believe it is either but I figured I would try it15:57
CarlFKif all you want is "fully automated install"  you should start with my files, cuz they work :p15:58
CarlFKalthough for pxe net booting.  but but I would think they would port to anything.15:59
cumorrishaha :p  I am looking through them now, thanks!16:00
cumorrisTrying to find your preseed file on your github16:01
CarlFKhttps://github.com/CarlFK/veyepar/tree/master/setup/nodes/pxe/shaz/var/www/d-i/trusty16:02
cumorrisAwesome, thank you, I will test it out and see if I can get it working. Many thanks !16:03
CarlFKsure thing - feel free to bug me about it.16:05
cumorrisCarlFK: I took the lines from your preseed_disk.cfg file (https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/d-i/trusty/preseed_disk.cfg) and added them to my preseed file. When I ran the install I received the following error: http://www.zimagez.com/zimage/screenshot-05262015-122051pm.php . I added  the following lines to the preseed file: d-i partman/filter_mounted boolean false ,d-i partman/unmount_active boolean f16:24
cumorrisalse , d-i preseed/preseed/early_command string unmount /dev/sda || /bin/true and I tried again. It failed and gave me this error:     http://www.zimagez.com/zimage/screenshot-05262015-114239am.php16:24
cumorrisideas?16:24
cumorrisThanks16:24
CarlFKcumorris: ah.. I bet sda is your install media16:31
CarlFKyou know you can Alt-f2 to get to a terminal?16:31
cumorrisCarlFK: Yeah I just learned that earlier.. I am using Virtualbox and mounting my .iso as a cdrom and booting to the cdrom to do the install16:32
CarlFKwhere is sda or sda1 mounted?16:34
CarlFKlike mount point dir16:35
cumorrisahh I think I see what you mean. It is mounted at /media16:35
CarlFKderp.16:35
CarlFKI don't really know, but I am guessing that is "install media"16:36
CarlFKand the drive you want to install to is sdb16:36
cumorrisI have a feeling that you are right, thanks16:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!