cumorris | Does 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 |
---|---|---|
cumorris | I have tried: d-i partman/filter_mounted boolean false | 15:28 |
cumorris | d-i partman/unmount_active boolean false | 15:28 |
cumorris | d-i preseed/early_command string umount /dev/sda1 || /bin/true | 15:29 |
cumorris | any ideas? Thanks | 15:29 |
cumorris | Note: This is 15.04 Ubuntu and I am doing this in VirtualBox | 15:29 |
CarlFK | cumorris: what are you trying to do? which will help answer "where in the process?" | 15:33 |
cumorris | CarlFK: 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 |
cumorris | CarlFK: Here is the preseed file I have been playing with: | 15:37 |
cumorris | http://pastebin.com/JTVXFWjG | 15:37 |
cumorris | Note: I probably have several unneeded lines in the preseed. I have been commenting them out when I make the .iso to test with | 15:38 |
cumorris | Here is a screenshot of the log file: http://www.zimagez.com/zimage/screenshot-05262015-114115am.php | 15:42 |
cumorris | Here is a screenshot of the installer error: http://www.zimagez.com/zimage/screenshot-05262015-114239am.php | 15:43 |
infinity | A screenshot of a tiny chunk of a log is a lot less helpful than the whole of syslog. | 15:48 |
cumorris | Agreed. I will see what I can do | 15:51 |
CarlFK | cumorris: 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.sh | 15:54 |
cumorris | CarlFK: Thank you, I will take a look at that | 15:55 |
CarlFK | cumorris: why are you doing this: d-i preseed/early_command string umount /dev/sda2 || /bin/true | 15:55 |
CarlFK | I doubt it is mounted | 15:56 |
cumorris | CarlFK: Someone else had recommended that I try it. I don't believe it is either but I figured I would try it | 15:57 |
CarlFK | if all you want is "fully automated install" you should start with my files, cuz they work :p | 15:58 |
CarlFK | although for pxe net booting. but but I would think they would port to anything. | 15:59 |
cumorris | haha :p I am looking through them now, thanks! | 16:00 |
cumorris | Trying to find your preseed file on your github | 16:01 |
CarlFK | https://github.com/CarlFK/veyepar/tree/master/setup/nodes/pxe/shaz/var/www/d-i/trusty | 16:02 |
cumorris | Awesome, thank you, I will test it out and see if I can get it working. Many thanks ! | 16:03 |
CarlFK | sure thing - feel free to bug me about it. | 16:05 |
cumorris | CarlFK: 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 f | 16:24 |
cumorris | alse , 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.php | 16:24 |
cumorris | ideas? | 16:24 |
cumorris | Thanks | 16:24 |
CarlFK | cumorris: ah.. I bet sda is your install media | 16:31 |
CarlFK | you know you can Alt-f2 to get to a terminal? | 16:31 |
cumorris | CarlFK: 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 install | 16:32 |
CarlFK | where is sda or sda1 mounted? | 16:34 |
CarlFK | like mount point dir | 16:35 |
cumorris | ahh I think I see what you mean. It is mounted at /media | 16:35 |
CarlFK | derp. | 16:35 |
CarlFK | I don't really know, but I am guessing that is "install media" | 16:36 |
CarlFK | and the drive you want to install to is sdb | 16:36 |
cumorris | I have a feeling that you are right, thanks | 16:37 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!