Date: Sun, 12 Jan 2003 17:37:36 -0600 From: Sean Kelly <smkelly@zombie.org> To: phk@freebsd.org Cc: "Andrey A. Chernov" <ache@nagual.pp.ru>, current@freebsd.org Subject: Re: GEOM prevents bootblocks writing Message-ID: <20030112233736.GA63033@edgemaster.zombie.org> In-Reply-To: <5336.1042372186@critter.freebsd.dk> References: <20030112113303.GA1056@edgemaster.zombie.org> <5336.1042372186@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 12, 2003 at 12:49:46PM +0100, phk@freebsd.org wrote: > In message <20030112113303.GA1056@edgemaster.zombie.org>, Sean Kelly writ= es: >=20 > >Since I haven't seen any response to this, I'll "me too" it in hopes that > >it will get some attention drawn to it. >=20 > boot0cfg and fdisk should work as advertised. edgemaster# boot0cfg -B ad1 boot0cfg: /dev/ad1: ioctl DIOCSMBR: Operation not permitted edgemaster# fdisk -B ad1 =2E.. fdisk: can't write fdisk partition table: Operation not permitted edgemaster# disklabel -B ad1s1 partition c: partition extends past end of unit Warning, partition c doesn't start at 0! Warning, An incorrect partition c may cause problems for standard system ut= ilities partition f: partition extends past end of unit I've tried doing fdisk and boot0cfg even in singleuser with / mounted readonly. Is this really the way it is supposed to work? I do not remember it behaving like this pre-GEOM. > There is an erratum on "disklabel -B" for 5.0-RELEASE. So how the hell do I make it so I can boot my system again? I don't know what I/it did to make it no longer boot, but I can't. Boot0 shows me a list "F1 FreeBSD, F5 Disk 1". If i choose F1, it just beeps at me. I don't even know why it is beeping at me, because that same FreeBSD partition/slice mounts and works if booted via other methods. --=20 Sean Kelly | PGP KeyID: D2E5E296 smkelly@zombie.org | http://www.zombie.org --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Ifw/Pm7A9NLl4pYRAlZbAKDB1ivZQ/h6A29meKsflWwhjyI39QCfXVPR 7Ss8R6tJf5v0tihMQrSpKxQ= =Z9nK -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030112233736.GA63033>