Date: Thu, 21 Aug 2014 21:28:22 -0400 From: "A.J. Kehoe IV (Nanoman)" <nanoman@nanoman.ca> To: "Martin G. McCormick" <martin@server1.shellworld.net> Cc: freebsd-questions@freebsd.org Subject: Re: Mounting One of the memstick Image Files Message-ID: <20140822012822.GE51206@nanocomputer.nanoman.ca> In-Reply-To: <20140822003749.ACA4C229A7@server1.shellworld.net> References: <20140822003749.ACA4C229A7@server1.shellworld.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--gDGSpKKIBgtShtf+ Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Martin G. McCormick wrote: > Sometimes, one runs in to an amazing amount of trouble >trying to do the simplest things. I need to modify >FreeBSD-9.1-RELEASE-amd64-memstick.img to enable a serial >console. It involves adding only one more line to >/boot/loader.conf. Dirt simple, right? Well, maybe. I have a >Debian system with USB ports and a virtual FreeBSD system hosted >by a Mac. The USB ports on the Mac are not passed through to the >FreeBSD VM and technical difficulties are likely to prevent me >from modifying the VirtualBox VM to set this up. No, you don't >want to hear that story. > > So, if I could mount FreeBSD-9.1-RELEASE-amd64-memstick.img, read/write, >make the change, write back to the image and then copy the image >back to the Debian system, I could still accomplish what needs >to be done. > I am sure the mount process is similar to mounting an >ISO image, but what type description goes in the -t flag? > In all of this, I also discovered that you can't mount >the ufs file system in Debian although it almost happens. The >mount appears to work but one gets a spew of I/O errors any time >one does anything in what should be the UFS tree. > I think I also read that if you recompile the Debian >kernel, you can mount ufs read-only which doesn't help anyway. > This is definitely in the "For want of a nail, a shoe >was lost" department. > Many thanks. > >Martin McCormick The memstick images are UFS, so on FreeBSD, you'd use "mount -t ufs". And = if you don't want your installation media to be mounted read-write automati= cally, note that there's an unresolved bug affecting the memstick images: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D187161 --=20 A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign Nanoman's Company | \ / - No HTML/RTF in E-mail E-mail: nanoman@nanoman.ca | X - No proprietary attachments WWW: http://www.nanoman.ca/ | / \ - Respect for open standards --gDGSpKKIBgtShtf+ Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIPUAYJKoZIhvcNAQcCoIIPQTCCDz0CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC DLwwggV3MIIDX6ADAgECAgMPas0wDQYJKoZIhvcNAQENBQAweTEQMA4GA1UEChMHUm9vdCBD QTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNp Z25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcwHhcN MTQwODE4MTU0ODUwWhcNMTUwMjE0MTU0ODUwWjA9MRgwFgYDVQQDEw9DQWNlcnQgV29UIFVz ZXIxITAfBgkqhkiG9w0BCQEWEm5hbm9tYW5AbmFub21hbi5jYTCCASIwDQYJKoZIhvcNAQEB BQADggEPADCCAQoCggEBAK9WRGqRDUDjWwNIfZTBp4FL5bI0kY3ZqvM6tEO+Sqp5YxATre8F a+BYbeNp/8MKfuPrRgE2jRzlePAx7kpvZUhRTGAZpncmHC7Z3FDl8Ugid4193ReCfPypb9Gs 3ZgPfzJyNuDeCM3amz/cDXC/makJLpmLzu95D91hD+V30iActE5j1tNewMq9qJRoEdr5Tqus bUjjDm8kiK5sz9JzQjFoufuaWIR57w2Sm1gDVZ0MH46fxZ/SwLDDzt4VC2u+1oS4KSmVUm6X Wv1/Fmdf2sOOu9Ro2xVjJHW+j16lsFPPj+lkDv5tb0G7I2vBoKEQg/s+h8J4F+l/xPL3O5xB c68CAwEAAaOCAUIwggE+MAwGA1UdEwEB/wQCMAAwVgYJYIZIAYb4QgENBEkWR1RvIGdldCB5 b3VyIG93biBjZXJ0aWZpY2F0ZSBmb3IgRlJFRSBoZWFkIG92ZXIgdG8gaHR0cDovL3d3dy5D QWNlcnQ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0bTJyclKb83TkiyE1Jaxk632j8WCsjuvRsgtJfo8fh5C280 --gDGSpKKIBgtShtf+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140822012822.GE51206>