Subject: Re: Linux extended-extended partitions
To: Laine Stump <lainestump@rcn.com>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: port-i386
Date: 02/16/2003 10:42:13
-----BEGIN PGP SIGNED MESSAGE-----
>>>>> "Laine" == Laine Stump <lainestump@rcn.com> writes:
Laine> At 07:56 PM 2/14/2003 +0200, Alan Barrett wrote:
>> On Fri, 14 Feb 2003, Michael Richardson wrote: > I have a disk that I
>> have moved from a Linux box to a NetBSD box. > It has about 16
>> partitions on it. There is one, that I wouldn't > mind retrieving data
>> from before I wipe the disk. It is not > among the first partitions,
>> so "disklabel wd1" does not see it.
>>
>> Try mbrlabel(8) with the "-w" flag (to update the in-core label) but
>> without the "-r" flag (to not update the on-disk label).
Laine> One caveat - in my experience, if the disk just has a "fake"
Laine> disklabel (not on the disk, but only in memory, as is usually the
Laine> case when there is no NetBSD partition on the disk) you need to
Laine> have at least one partition from the disk already mounted before
Ah! A very astute suggestion. Thank you!
Laine> running mbrlabel in order for its work to "stick". I usually first
Laine> mount the "primary" DOS partition (which is always properly
Laine> visible in the fake disklabel), then run mbrlabel as instructed
Laine> above, then mount the extended partitions that I need.
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBPk+xU4qHRg3pndX9AQFCnAP+Ihd5WN84MK2Mxi6xDq38peCj0Ed94vXF
rusetm7co4zGdRbZ+QgsAeWu1b7/ZVuaIFABbkfNZ20lZXRkqflR2HRrDZCU/e4d
zz2ztiDSSiuajLjudNaW/OrazxGb2W0XvM5bnOECZ77trts8GxtAYRoAqtqYlT7w
K70A5JiXm5Q=
=/fNM
-----END PGP SIGNATURE-----