Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Well now it seems #OpenBSD has me beat when trying to wipe and setup a new USB memory stick

Uncategorized
1 1 10
  • Well now it seems has me beat when trying to wipe and setup a new USB memory stick.
    I have never had issues under FreeBSD or Linux before but this is either me being extremely thick or ??

    justine@openbsd-desktop ~  $ doas fdisk -iy sd2
    Writing MBR at offset 0.
    justine@openbsd-desktop ~ $ doas disklabel -E sd2
    Label editor (enter '?' for help at any prompt)
    sd2> p
    OpenBSD area: 64-15728640; size: 15728576; free: 15728576
    # size offset fstype [fsize bsize cpg]
    c: 15728640 0 unused
    sd2> a
    partition to add: [a]
    offset: [64]
    size: [15728576]
    FS type: [4.2BSD] ext2fs
    sd2*> q
    Write new label?: [y] y
    justine@openbsd-desktop ~ $ ^Cas disklabel -E sd2
    justine@openbsd-desktop ~ $ doas disklabel sd2
    # /dev/rsd2c:
    type: SCSI
    disk: SCSI disk
    label: Flash Disk
    duid: 507add78df02fecc
    flags:
    bytes/sector: 512
    sectors/track: 63
    tracks/cylinder: 255
    sectors/cylinder: 16065
    cylinders: 979
    total sectors: 15728640
    boundstart: 64
    boundend: 15728640

    16 partitions:
    # size offset fstype [fsize bsize cpg]
    a: 15728576 64 ext2fs
    c: 15728640 0 unused
    justine@openbsd-desktop ~ $ doas newfs_ext2fs /dev/rsd2a
    /dev/rsd2a: 7679.9MB (15728576 sectors) block size 4096, fragment size 4096
    using 60 block groups of 128.0MB, 32768 blks, 16384 inodes.
    ^C
    justine@openbsd-desktop ~ $
    justine@openbsd-desktop ~ $ doas newfs_ext2fs /dev/sd2a
    newfs_ext2fs: /dev/sd2a: block device
    justine@openbsd-desktop ~ $ doas newfs_ext2fs sd2a
    /dev/rsd2a: 7679.9MB (15728576 sectors) block size 4096, fragment size 4096
    using 60 block groups of 128.0MB, 32768 blks, 16384 inodes.
    ^C
    justine@openbsd-desktop ~ $
    justine@openbsd-desktop ~ $ doas newfs_ext2fs -I sd2a
    /dev/rsd2a: 7679.9MB (15728576 sectors) block size 4096, fragment size 4096
    using 60 block groups of 128.0MB, 32768 blks, 16384 inodes.
    I used dd to wipe the USB then checked it was wiped. Then did the above and it all seems ok as per folk on the web and OpenBSD docs but newfs_extfs just sits there doing nothing.

    Anyone help or have a simple idiot sheet of what to do from wiping the USB memory stick to setting up an ext2 partition and formatting it. Mounting it will be the easy part.
  • stefano@mastodon.bsd.cafeundefined stefano@mastodon.bsd.cafe shared this topic on

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • 0 Votes
    6 Posts
    22 Views
    @stefano @christopher I am not sure if I'd say #Linux is becoming like #Windows. I do recall similar statements made on the Debian-User mailing list on a previous release when xorg introduced autoconfiguration. A lot of people were pissed that it was making choices for you instead of manually configuring the xorg.conf file.Honestly, that was a good thing. Painful doesn't begin to describe it but users were unaware they could still hand-configure the file.There has been, however, more stuff added to Linux over the last several years. Call it bloat, call it whatever you want. OSes change. But it has been gradually moving away from simplicity.I miss the simplicity.However, to reply to your original post, coming from COTS solutions, sometimes the vast amount of choice can be overwhelming. For instance, when it comes to #FreeBSD #jails it used to just be jails. Now, it's thin, thick, classic, networking. I understand they have their places but it would be helpful to provide more detailed explanations, tutorials, or best practices for each. The FreeBSD Handbook is good but just scratches the surface but often leaves more questions. It would help with learning and in part...marketing.On a side note: The FreeBSD Handbook is a great resource but there are opportunities to improve it, like tailoring it to new users (better empathy), best practices, architectural examples, and links to additional resources and info.
  • 0 Votes
    1 Posts
    9 Views
    Are you working on something involving a BSD system that you would like to share with others?The Call for Papers period is open for AsiaBSDCon until November 30th, 2025 and for BSDCan until January 17, 2026.Check out the websites linked in the article, and get that submission in!What is BSD? Come to a conference to find out! https://nxdomain.no/~peter/what_is_bsd_come_to_a_conference_to_find_out.html or https://bsdly.blogspot.com/2025/11/what-is-bsd-come-to-conference-to-find.html #asiabsdcon #bsdcan #bsd #dragonflyBSD #freebsd #openbsd #netbsd #conference
  • 0 Votes
    1 Posts
    11 Views
    Has anyone successfully built ASM6809 on an #OpenBSD system ?If so could you please share how ?https://www.6809.org.uk/asm6809/
  • 0 Votes
    11 Posts
    61 Views
    @stefano is this about Zextras? https://it-notes.dragas.net/2025/10/08/the-email-they-shouldnt-have-read/