Date: Tue, 3 Jul 2018 21:23:43 -0700 (PDT) From: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: gpart trouble Message-ID: <201807040423.w644NirT041295@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <20180704041559.GA63030@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > I want to add some swap partitions to the June 28th RPI3 snapshot image on microSD. > Growfs was suppressed, so the card has 12 GB of free space: > > Enter full pathname of shell or RETURN for /bin/sh: > Cannot read termcap database; > using dumb terminal settings. > # mount -o rw / > # gpart show mmcsd0 > => 63 31116225 mmcsd0 MBR (15G) ^^^^^ > 63 2016 - free - (1.0M) > 2079 102312 1 fat32lba [active] (50M) > 104391 5138469 2 freebsd (2.5G) > 5242860 25873428 - free - (12G) > > # gpart add -t freebsd-swap -s 1G mmcsd0 > gpart: Invalid argument > # gpart add -t freebsd-swap -s 1G /dev/mmcsd0 > gpart: Invalid argument > # gpart add -t freebsd-swap -s 1GB -l swap mmcsd0 > gpart: Invalid argument > # I do not believe MBR supports "freebsd-swp" as a partition type, we only have 0x165 as a FreeBSD type. I think you want to create a freebsd type at slice 3, and inside that you want to create a freebsd-swp. I am no good with gpart, but fdisk and bsdlabel can do this. > > It seems to me this worked with an earlier snapshot, has something changed? > > Thanks for reading! > > bob prohaska > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > -- Rod Grimes rgrimes@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807040423.w644NirT041295>