Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 22:04:00 -0400
From:      Elliot Robinson <elliot.robinson@argiopetech.com>
To:        "Martin G. McCormick" <martin@server1.shellworld.net>
Cc:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   Re: Mounting One of the memstick Image Files
Message-ID:  <CAG7kECMt%2B1evfqZhrSgdGdHo8-%2BMwHBjnVqX_9Of8s%2B3TVGfPA@mail.gmail.com>
In-Reply-To: <20140822014853.0D2F1229A7@server1.shellworld.net>
References:  <20140822014853.0D2F1229A7@server1.shellworld.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 21, 2014 at 9:48 PM, Martin G. McCormick <
martin@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG7kECMt%2B1evfqZhrSgdGdHo8-%2BMwHBjnVqX_9Of8s%2B3TVGfPA>