[26269] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Linux-Athena installer improperly created partitions

daemon@ATHENA.MIT.EDU (Kevin Chen)
Fri Dec 31 03:12:04 2004

Message-ID: <41D509AA.1040805@mit.edu>
Date: Fri, 31 Dec 2004 03:11:22 -0500
From: Kevin Chen <kchen@mit.edu>
MIME-Version: 1.0
To: "andrew m. boardman" <amb@mit.edu>
In-Reply-To: <200412221551.iBMFpfIa024554@pothole.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: bugs@mit.edu
Errors-To: bugs-bounces@mit.edu

andrew m. boardman wrote:
> That's really poor.  Do you have any idea what the partition number and
> numerical partition type was before the install, and can you tell me what
> you recreated it as?  (In an ideal easily-debuggable world, the output of
> "sfdisk -d -uS /dev/hda" (or whatever disk applies) and the contents of
> /proc/partitions and /tmp/partitioning.old would be handy in figuring out
> what went wrong.)

This is my best guess, but I believe that in the original state, there 
was only a single partition (/dev/hda1) of partition type 7 (NTFS). 
This is what the partition was recreated as.

Here's the output of the sfdisk command as the drive is right now:

# partition table of /dev/hda
unit: sectors

/dev/hda1 : start=       63, size=122881122, Id= 7, bootable
/dev/hda2 : start=122881185, size= 33415200, Id= 5
/dev/hda3 : start=        0, size=        0, Id= 0
/dev/hda4 : start=        0, size=        0, Id= 0
/dev/hda5 : start=122881248, size=    80262, Id=83
/dev/hda6 : start=122961573, size=  2104452, Id=83
/dev/hda7 : start=125066088, size=  2104452, Id=83
/dev/hda8 : start=127170603, size= 29125782, Id=83

I would presume that during the install, /dev/hda1 waas the same, and 
the other lines didn't exist.

Here's the output of /proc/partitions as the drive is right now:

major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect 
wuse running use aveq

    3     0   78150744 hda 4015 30045 141770 15630 772 1004 14174 186660 
4294967293 92590 42873252
    3     1   61440561 hda1 0 0 0 0 0 0 0 0 0 0 0
    3     2          1 hda2 0 0 0 0 0 0 0 0 0 0 0
    3     5      40131 hda5 17 110 254 120 16 6 44 60 0 150 180
    3     6    1052226 hda6 581 20987 43154 2150 3 3 18 10 0 1420 2160
    3     7    1052226 hda7 1 0 8 20 0 0 0 0 0 20 20
    3     8   14562891 hda8 3401 8871 98170 13210 753 995 14112 186590 0 
13190 199930

-- 
Kevin Chen
http://www.sneswhiz.com/

home help back first fref pref prev next nref lref last post