From owner-freebsd-doc@freebsd.org Mon Nov 18 10:26:43 2019 Return-Path: Delivered-To: freebsd-doc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD13C1BB8E3 for ; Mon, 18 Nov 2019 10:26:43 +0000 (UTC) (envelope-from paul.guerin@dxc.com) Received: from mail1.bemta24.messagelabs.com (mail1.bemta24.messagelabs.com [67.219.250.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail1.bemta24.messagelabs.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47GlVp0b9Xz4B3b for ; Mon, 18 Nov 2019 10:26:41 +0000 (UTC) (envelope-from paul.guerin@dxc.com) Received: from [67.219.250.193] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-5.bemta.az-b.us-west-2.aws.symcld.net id FB/F7-03876-DD172DD5; Mon, 18 Nov 2019 10:26:37 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHJsWRWlGSWpSXmKPExsUiMuXIWt27hZd iDWZ18lucOtPF6sDoMePTfJYAxijWzLyk/IoE1oz7P0oLzgVWdK8/ztjA2OXRxcjJwSZgILFy 02rmLkYuDiGB24wSzau+MYI4jAJLmSXufVvPDuEcY5GYfOMUE4SznFFi8c0jLCD9QgLtTBJTF kRB9F9llPj5+zkzSEJEwFxi9uW/rCC2sECAxPcNm9kg4qESR998grKNJL5d+Q5WwyKgKvHk7w ywXl6BSImmQxeZIBZESjTOmsAOYnMKREn8X/4DrJdRQFbi94XbYPXMAuISm5r6GUFsCQEBiSV 7zjND2KISLx//Y4WoD5U43n2BHSIuL/G07zOULStxaX43VK+vxKwJbawQtpbE9hlHmSDsDInO C+vYIGw1iRtvOqDmy0gs2n4BHEQSAqvYJObM6Qdq4AA6Ol6ibUkdRI2cxKrehyww9Q9ubGeDq H/CLDFxwg+WCYzas5D8AGHnSfR8n8s+CxwWghInZz5hgYgbSLw/N58ZwtaWWLbwNZStL7Hxy1 lGZPEFjOyrGM2TijLTM0pyEzNzdA0NDHQNDY10DY1NdU3N9BKrdJP0Sot1y1OLS3SN9BLLi/W KK3OTc1L08lJLNjECk1RKQbvFDsaeD2/1DjFKcjApifLK21+MFeJLyk+pzEgszogvKs1JLT7E KMPBoSTBW1JwKVZIsCg1PbUiLTMHmDBh0hIcPEoivH0gad7igsTc4sx0iNQpRleOCS/nLmLm2 Hl0HpD8uGoJkPwOJm++B5JCLHn5ealS4rwmwHQtJADSnFGaBzcaluwvMcpKCfMyMjAwCPEUpB blZpagyr9iFOdgVBLmfQJyAk9mXgncBa+AjmMCOk57xzmQ40oSEVJSDUw3zFfOMql5x11ptjJ iQvp8wdb/m3OZ3mmaS+44kLj3vOxMe1cO90tXb8z61OHY1GyZfCNqit6BO8cUTzEXiC93lbr+ 49iXvoaCyN8JprqPLF3Czs7gVwps27NcbVpcyNor7mbnljwTbJ7QWGZ7/Vr2vH8hMg9n28x/P dHDuqN11szGr4Yiqr6hmVcN21hfrDqceGF7kSBj6n9l9o1Cc309bH6u9k5tMDI7GGx96u468y kv2IMK/0Z6Pv9t41p9UfQY+9StZZv77LewmEz3zNz/Vuh1U02d4veDh9KVHqw6+K5axXDt18n brzZtEn4rXj/ZJtxozozo0LiTO3+kB06cpHm73aDi9+tnE+ftjDBQYinOSDTUYi4qTgQAhEHy 2HEEAAA= X-Env-Sender: paul.guerin@dxc.com X-Msg-Ref: server-15.tower-341.messagelabs.com!1574072796!849114!1 X-Originating-IP: [20.148.196.173] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.44.22; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8811 invoked from network); 18 Nov 2019 10:26:36 -0000 Received: from amer-mta206e.csc.com (HELO Amer-MTA206e.csc.com) (20.148.196.173) by server-15.tower-341.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 18 Nov 2019 10:26:36 -0000 From: "Guerin, Paul James" Received: from mail-dm3nam03lp2050.outbound.protection.outlook.com (HELO NAM03-DM3-obe.outbound.protection.outlook.com) ([104.47.41.50]) by Amer-MTA206i.csc.com with ESMTP/TLS/AES256-SHA256; 18 Nov 2019 05:26:35 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DfyO5fDBLy6XO2eIHK1thBO2xWuZHt7A4uA1OwW6m/sxuDye4o9w5M1lq0APlpFnRYNQjulGe1dHELLKvPWJWAbtigQKiAZPm8Hs4NI2oemewhhOhINUsUEBD0Jx/1bb6gZOGjoMFdIlqr851eL+Pn2A02kUOYhiEcFMjTZ5nL8iTXtW2do9gw/UmVBoAEeTWBOdYNQYR7EfZMMoKwGPpQoPiNFV+P2poTLI9PAZci6yCsC6C7FCgU2n10q8fT/PLYPaiOhMDOZ0CEy9DCogc4rwrQ/ZQxuafZayx6Oa+exp6C++7/isgAxbts0BSULJ/ZDNE5ikGDtACVOhoPuJsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Jkc4m4pckbzEyund692gSZd4icj7SoEJ1ywEYTeDUdM=; b=ETZ3r6MVnnYMDORyV/gCaXrpIJPuOqqhVsp9tAVzdeH2z6BzijEyjgUV/QLYLn4bUZOBBNyxl3lcJRB9h4lKNY/X1qg9Fbl7trJuVvCqz0sOT13ThispbaTSGCQzaeNcuhOVgtV3QPkZc6unFwdYP53OkOyYpXRh72JekSsk9fa8gJ72rjg/kz3QYhjsyiGUw679CM3uPXZcMl1NzWyj0khxQoso3lFov1B9mVnBfxlWVmtSZnh0fJiui+7NNECzCYt3GUvMKPnXvWnbqR/PAY4+sge0JXVICuoENMBz5ydS5B5wrtSAVWVBZu3FBAu4ufGvgs1qBmeyn1ACERQRRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dxc.com; dmarc=pass action=none header.from=dxc.com; dkim=pass header.d=dxc.com; arc=none Received: from BN7PR01MB3731.prod.exchangelabs.com (52.132.218.140) by BN7PR01MB3636.prod.exchangelabs.com (52.132.6.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.30; Mon, 18 Nov 2019 10:26:34 +0000 Received: from BN7PR01MB3731.prod.exchangelabs.com ([fe80::c127:d8e1:f371:497]) by BN7PR01MB3731.prod.exchangelabs.com ([fe80::c127:d8e1:f371:497%4]) with mapi id 15.20.2451.029; Mon, 18 Nov 2019 10:26:34 +0000 To: "freebsd-doc@freebsd.org" Subject: post-installation tasks after creating a virtual machine from an image Thread-Topic: post-installation tasks after creating a virtual machine from an image Thread-Index: AQHVnejpfgmwTQ4W+02RfSz7g54VNqeQuTyI Date: Mon, 18 Nov 2019 10:26:34 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-AU, en-US Content-Language: en-AU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.46.82.7] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3b87588a-bd05-4d0a-0f89-08d76c11c9a1 x-ms-traffictypediagnostic: BN7PR01MB3636: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0225B0D5BC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(136003)(376002)(396003)(366004)(189003)(199004)(76116006)(91956017)(66066001)(81156014)(81166006)(76176011)(7696005)(2501003)(316002)(236005)(9686003)(54896002)(6306002)(5640700003)(99286004)(19627405001)(6436002)(2351001)(5660300002)(606006)(66446008)(2940100002)(7736002)(66946007)(66476007)(64756008)(71190400001)(71200400001)(86362001)(3846002)(6116002)(21615005)(2906002)(5024004)(256004)(66556008)(74316002)(14444005)(6916009)(25786009)(966005)(14454004)(478600001)(52536014)(55016002)(8936002)(186003)(476003)(33656002)(6506007)(26005)(486006)(105004)(102836004)(11346002)(8676002)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR01MB3636; H:BN7PR01MB3731.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: dxc.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6NT96m7ALXL31p67NLTcOcexifqXE105lIWLVaF49hjN7WFWkVyVFEDtwiDMzu2uIemkaAie3M3s/i5a2X1p+xgRvumI93+O8NdcVSSm6KgnSQX77bcorL6vrwUotlHgmNvwnTPqgODlcjTay0mizgCQAgKBkO0uatJmsLoJffMkpzhZ8vnxkQ++ObjemlyRpN/l9YtN7phRaxwK/OfehavJOPJZJ60kNg4v2q6j1fpNhMkAlmYkY4fq7l8WqluYWkBU2bY/dt4ApK3XoekgGJHeTm2+VIYClFUWNtdp9S7W5X7787PLEDtv6Yt2vav5A9CzIZsQarLp4NMWv5HVo6Y0qKBZFxrPdXTB6r6w1dbLmAbgSAPJISAYG9gxyp6ekC2xQ6yDqmYoWkiVnm3Gc65otd1g6UJnZ3y/1hYN7YsqYB3sWFNM1NWnNxT1Alrw x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: dxc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b87588a-bd05-4d0a-0f89-08d76c11c9a1 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2019 10:26:34.8694 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 93f33571-550f-43cf-b09f-cd331338d086 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GUizoct0uSTVVt/X0y/zMrprKRCZ9hmRn6Eieo3Adb1tYqtmzWwi9yclBT0gAZYHk/evrz7LWO74YfhuGqss6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR01MB3636 X-Rspamd-Queue-Id: 47GlVp0b9Xz4B3b X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=dxc.com; spf=pass (mx1.freebsd.org: domain of paul.guerin@dxc.com designates 67.219.250.116 as permitted sender) smtp.mailfrom=paul.guerin@dxc.com X-Spamd-Result: default: False [-0.51 / 15.00]; IP_SCORE(1.08)[ip: (3.44), ipnet: 67.219.250.0/23(1.18), asn: 26282(0.83), country: US(-0.05)]; RCVD_COUNT_FIVE(0.00)[6]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:67.219.240.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; NEURAL_SPAM_MEDIUM(0.20)[0.205,0]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; DMARC_POLICY_ALLOW(-0.50)[dxc.com,none]; RCVD_IN_DNSWL_NONE(0.00)[116.250.219.67.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:26282, ipnet:67.219.250.0/23, country:US]; RCVD_TLS_LAST(0.00)[]; ARC_ALLOW(-1.00)[i=1] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Nov 2019 10:26:44 -0000 Hi , In reference to the following document on virtualization: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/virtualization.h= tml The problem is that there is no information regarding the post-installation= tasks after creating a virtual machine using an image file. For example, I have downloaded the following image file for virtualbox: Fre= eBSD-12.1-RELEASE-amd64.vhd That file is a virtual machine image to download and import on a virtual en= vironment of choice. There are images for KVM (=93qcow2=94), VMWare (=93vmd= k=94), Hyper-V (=93vhd=94), and raw device images that are universally supp= orted. These are not installation images, but rather the preconfigured (=93= already installed=94) instances, ready to run and perform post-installation= tasks. After I create the virtual machine with the vhd image file, the root is alr= eady installed. However this file has no free space, so the root mount-poin= t is already 100% utilized. As the root is 100% utilized, I'm unable to download any packages or do any= thing else to the root. However I can manually create other vhd files, and partitions, and mount th= em to the virtual machine. I have tried to extend the root using the current documentation. The docume= ntation does have an example, where the swap partition is dropped to free s= pace, then the root is extended. I tried to do the same in virtualbox, but = I think the problem is that the space freed by the drop of the swap file is= before the root mount point, not after. So the instructions in the documen= tation did not solve the problem. There just needs to be some post-installation tasks defined in the document= ation, so that the virtual machine is usable after creating a virtual machi= ne using an image. cheers, Paul DXC Technology (Philippines) Inc - Registered Office: 5th Floor, Three Worl= d Square, 28 Upper McKinley Road, McKinley Town Center, Fort Bonifacio, Tag= uig City, Manila 1630, Philippines. Registered in Philippines No: CS2013087= 51. DXC Technology Company -- This message is transmitted to you by or on behal= f of DXC Technology Company or one of its affiliates. It is intended exclus= ively for the addressee. The substance of this message, along with any atta= chments, may contain proprietary, confidential or privileged information or= information that is otherwise legally exempt from disclosure. Any unauthor= ized review, use, disclosure or distribution is prohibited. If you are not = the intended recipient of this message, you are not authorized to read, pri= nt, retain, copy or disseminate any part of this message. If you have recei= ved this message in error, please destroy and delete all copies and notify = the sender by return e-mail. Regardless of content, this e-mail shall not o= perate to bind DXC Technology Company or any of its affiliates to any order= or other contract unless pursuant to explicit written agreement or governm= ent initiative expressly permitting the use of e-mail for such purpose. --.