NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Write an install image to a flash drive?



jmitchel%bigjar.com@localhost (Jason Mitchell) writes:

>Also, is there an easy way to remove the first 2048 sectors from the image so the FFS part could be mounted using a vnd device? Or would this work without making changes?

The image includes an MBR and NetBSD will create a default disklabel for it.
E.g.:

8 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   2865152      2048     4.2BSD   1024  8192    16  # (Cyl.      1 -   1399)
 c:   2865152      2048     unused      0     0        # (Cyl.      1 -   1399)
 d:   2867200         0     unused      0     0        # (Cyl.      0 -   1399)

You can then use /dev/vnd0a to mount the filesystem.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index