Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2019 07:34:13 -0600
From:      "Dean E. Weimer" <dweimer@dweimer.net>
To:        Jov <amutu@amutu.com>
Cc:        FreeBSD questions <questions@freebsd.org>, owner-freebsd-questions@freebsd.org
Subject:   Re: how can I mount 12-R .iso file?
Message-ID:  <eebb626527f10c868647266d30e47f40@dweimer.net>
In-Reply-To: <CADyrUxNx2Hq7gR-=weZX%2BA%2Bo71n2=8vZTsqoQRHKzKFfF0Q_fA@mail.gmail.com>
References:  <CADyrUxNx2Hq7gR-=weZX%2BA%2Bo71n2=8vZTsqoQRHKzKFfF0Q_fA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-01-21 5:56 am, Jov wrote:
> the iso file has report a corrupt GPT table and I can not mount the
> iso file as usual as cd9660:
> 
> #:mdconfig ./FreeBSD-12.0-RELEASE-amd64-disc1.iso
> md1
> # gpart show md1
> =>      3  1743095  md1  GPT  (851M) [CORRUPT]
>         3       29    2  freebsd-boot  (15K)
>        32       48       - free -  (24K)
>        80     1600    1  efi  (800K)
>      1680  1741418       - free -  (850M)
> 
> It seems the 850M contain the cd contain,but how can I get the content?
> 
> the checksum matches.


Try this:

mdconfig -a -t vnode -f ./FreeBSD-12.0-RELEASE-amd64-disc1.iso

Then:

mount -t cd9660 /dev/md#

# will be 0 if its the only md device you have created.


-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eebb626527f10c868647266d30e47f40>