Slightly OT: How "long" is MBR
From: Baard Ove Kopperud (baard.kopperud_at_bigfoot.com)
Date: 02/28/04
- Next message: tom61: "Re: Card reader doesn't work in newer distros..."
- Previous message: Krishna Tyner: "Sun Storage Passes The Toughest Test: The Real World"
- Next in thread: pk: "Re: Slightly OT: How "long" is MBR"
- Reply: pk: "Re: Slightly OT: How "long" is MBR"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Feb 2004 15:40:56 -0800
I hate to ask such an obvious question, but I guess better
safe than sorry... and I *don't* want to trash everything
I've installed.
I'm about to re-install FreeBSD on a computer with both a
couple of physical Windows partitions and and extended
partition with several logical partitions with linux.
Unfortunately, FreeBSD refuses to deal with a disk with
logical-partitions. The obvious solution would have been
to install FreeBSD first (before creating logical partitions),
but that ship has sailed as they're there -- and in use.
I was therefor thinking about doing the following...
-copy MBR to somewhere else
-use fdisk to "delete" the extended-partition
(but without re-using the space)
-install FreeBSD
-copy the original MBR back, thus restoring the
actual peartition-limits
I think it'll work, and I'm going to take the chance,
but...
How long is the MBR, partition-table and stuff?
I intend to use 'dd' like this, but what should
"count=" be set to? Should "bs" be 512 instead?
dd if=/dev/hda of=/foo/bar/mbr.img bs=1024 count=?!?
TIA,
-Koppe
- Next message: tom61: "Re: Card reader doesn't work in newer distros..."
- Previous message: Krishna Tyner: "Sun Storage Passes The Toughest Test: The Real World"
- Next in thread: pk: "Re: Slightly OT: How "long" is MBR"
- Reply: pk: "Re: Slightly OT: How "long" is MBR"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|