Mounting One of the memstick Image Files
Elliot Robinson
elliot.robinson at argiopetech.com
Fri Aug 22 02:04:23 UTC 2014
On Thu, Aug 21, 2014 at 9:48 PM, Martin G. McCormick <
martin at server1.shellworld.net> wrote:
> Elliot Robinson writes:
> > I know your pain. On Linux, `mount -t ufs -o ufstype=44bsd` is what
> you're
> > looking for. This requires that your system knows how to write UFS,
> which
> > might be a problem.
> >
> > A possibly easier way to do this would be to boot off the memstick,
> > remount
> > root as rw, and make the change from the live memstick. I've seen some
> > problems reading any new/modified files created by doing this from
> > Linux (complains about bad inodes), but it seems to work from the BSD
> > perspective...
>
> Thank you to both posters on this topic. If I could
> mount the image file on the FreeBSD system, I would do all the
> editing there and then copy the modified image back to the
> Debian system to dd in to the thumb drive. I actually got the
> image that way to start with.
> When one uses the Linux fdisk program on the drive
> afterward, it reports that there is both a BSD and DOS magic
> number and advises the caller to run fdisk with the -b bsd flag.
> I suspect there is a boot manager of some type that will catch
> Windows systems in case somebody wants to boot off the memstick
> on a Windows system.
> In this case, all I want to do is mount the image in a
> native FreeBSD environment to actually do the work on adding the
> comconsole line. All Linux has to do in this exercise is to feed
> the new modified image back in to the memstick with dd.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
Ah, apologies. I seem to have misunderstood the initial question.
Perhaps this section from the handbook will be of help?
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html
---
Elliot Robinson
PGP Key: 9FEDE59A
More information about the freebsd-questions
mailing list