login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2010
»
May
»
20
Re: [patch] Re: fdisk and bootable flag
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Jason McIntyre
Subject:
Re: [patch] Re: fdisk and bootable flag
Date: Thursday, May 20, 2010 - 6:30 am
On Wed, May 12, 2010 at 03:17:07PM +0200, Thomas Pfaff wrote:
quoted text
> On Tue, 11 May 2010 22:14:26 +0200 > Thomas Pfaff <tpfaff@tp76.info> wrote: > > > On Tue, 11 May 2010 12:34:28 -0700 (PDT) > > stupidmail4me <stupidmail4me@yahoo.com> wrote: > > > > > > Anyone know how to edit the default MBR record so fdisk -iy creates > > > one partition with no bootable flag, or how to unset the bootable flag? > > > > I think the following should do it: > > > > fdisk: 1> flag <partition> 0 > > > > I suppose the man page should mention that this operation can take on > > a second operand. > > > > diff if this should be mentioned. It was in fact mentioned in the man > page but the text was commented out. Not sure why. > > Index: fdisk.8 > =================================================================== > RCS file: /cvs/src/sbin/fdisk/fdisk.8,v > retrieving revision 1.69 > diff -u -p -r1.69 fdisk.8 > --- fdisk.8 27 Mar 2010 13:56:49 -0000 1.69 > +++ fdisk.8 12 May 2010 13:15:04 -0000 > @@ -303,14 +303,14 @@ may be appended to indicate bytes, kilob > The special size value > .Sq * > will cause the partition to be sized to use the remainder of the disk. > -.It Cm flag Ar # > +.It Cm flag Ar # Op Ar value > Make the given MBR partition table entry bootable. > Only one entry can be marked bootable. > .\" If you wish to boot from an extended > .\" MBR partition, you will need to mark the MBR partition table entry for the > .\" extended MBR partition as bootable. > -.\" If an optional value is given, the MBR partition is marked with the given > -.\" value, and other MBR partitions are not touched. > +If an optional value is given, the MBR partition is marked with the given > +value, and other MBR partitions are not touched. > .It Cm update > Update the machine MBR bootcode and 0xAA55 signature in the memory copy > of the currently selected boot block.
a slightly different version of this diff now committed. jmc
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
fdisk and bootable flag
, stupidmail4me
, (Tue May 11, 12:34 pm)
Re: fdisk and bootable flag
, Joachim Schipper
, (Tue May 11, 1:12 pm)
Re: fdisk and bootable flag
, Thomas Pfaff
, (Tue May 11, 1:14 pm)
[patch] Re: fdisk and bootable flag
, Thomas Pfaff
, (Wed May 12, 6:17 am)
Re: [patch] Re: fdisk and bootable flag
, Jason McIntyre
, (Thu May 20, 6:30 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Thomas Gleixner
[ANNOUNCE] 2.6.31-rc6-rt2
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
git
:
Blaisorblade
git-unpack-objects < pack file in repository doesn't work!
Matthieu Moy
Re: Cloning empty repositories, was Re: What is the idea for bare repositories?
Linus Torvalds
Re: Untracked working tree files
Peter Karlsson
Re: CRLF problems with Git on Win32
Johannes Schindelin
Re: [PATCH 4/4] git-rebase -i: New option to support rebase with merges
linux-netdev
:
Alan Menegotto
Re: Linux networking implementation and packet capture
Andrew Morton
Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: [PATCH]: Fix queueing return values...
David Miller
Re: [PATCH 1/2] netdev: bfin_mac: enable bfin_mac net dev driver for BF51x
git-commits-head
:
Linux Kernel Mailing List
Blackfin: don't give CPU its own line in traps output
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
powerpc: gamecube/wii: usbgecko bootwrapper console support
openbsd-misc
:
Aaron Mason
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Christiano Farina Haesbaert
Re: Defending OpenBSD Performance
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate