[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re[2]: can't install debian after freebsd?



Hello Carel,

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       382   3068383+   b  Win95 FAT32
/dev/hda3           702      1020   2562367+  a5  BSD/386
/dev/hda4          1021      4437  27447052+   5  Extended
/dev/hda5          1021      1275   2048256    6  FAT16
/dev/hda6          1276      1785   4096543+   b  Win95 FAT32
/dev/hda7          1786      2231   3582463+   b  Win95 FAT32
/dev/hda8          2232      2613   3068383+   b  Win95 FAT32
/dev/hda9          2614      2630    136521   82  Linux swap
/dev/hda10         2631      2995   2931831   83  Linux
/dev/hda11         2996      3314   2562336   83  Linux
/dev/hda12         3315      3557   1951866   83  Linux
/dev/hda13         3558      3876   2562336   83  Linux
/dev/hda14         3877      4194   2554303+  83  Linux
/dev/hda15         4195      4437   1951866   83  Linux

I mean debian *installing* program mistake my partiotion table.
When I install debian from scratch,debian installing program will
mistake /dev/hda9 for /dev/hda14(maybe /dev/hda15,i dont remember
clearly)
mistake /dev/hda10 for /dev/hda15
        /dev/hda11 for /dev/hda16
        .........
If I delete freebsd partition,/dev/hda3,this mistake disappear.
freebsd has it's partition,/dev/hda3=wd0s2,it's a primary partiotion
absolutly.
In /dev/hda3,or wd0s2,
      wd0s2a /root
      wd0s2b /swap
      wd0s2e  /usr
      wd0s2f  /var
I suspect debian's installing program mistake wd0s2a,wd0s2b...as
extended partion.
In fact they are all freebsd's own partition.
Sunday, May 06, 2001, 2:16:22 AM, you wrote:

CF> I'm no partition guru, but...

CF> On Tue, May 08, 2001 at 09:16:59PM +0800, fg007@mail1.sjtu.edu.cn wrote:
>> hi,
>>    I cannot reinstall debian because debian cann't recognize my
>> partitions correctly.

CF> I doubt this, it recognizes them allright, but differently from what
CF> you expected:)

>>    I have installed freebsd in /dev/hda2
>> (including its own partition wd0s1a,dawd0s1b,wd0s1e,wd0s1f).

CF> What do you mean `incl its *own* part.'? bsd-partitions are partitions
CF> too:)  I guess that hda2 is an extended partition, that is a partition
CF> containing sub partitions. If so I would expect linux to count those
CF> partitions as well. Or is hda2 a bsd specific extended partition that
CF> linux doesn't how to interpreted, like the linux-extended partition
CF> fully hides its content to Microsoft products?  I guess not.

CF> To frase it differently: there are 4 primary partitions, each of which
CF> can be an extended partition and each extended partition can hold at
CF> most one real partition and one extended partition. The primary
CF> partitions are always numbered 1 to 4. The real partitions found in
CF> those extended partitions are numbered from 5 up as long as the OS
CF> knows how to deal with those extended partitions.  One very often
CF> talks about logical partitions when refering to the real partitions
CF> in extended partitions.


CF> So in your case:
CF> /dev/hda2: extended partition, can't hold a file system
CF> /dev/hda5: same as wd0s1a (I guess, as I don't know bsd's part. naming scheme)
CF> /dev/hda6: same as wd0s1b
CF> /dev/hda7: same as wd0s1e (where are c and d?)
CF> /dev/hda8: same as wd0s1f

CF> which would put your next linux partition at:
CF> /dev/hda3: second extended primary partition.
CF>            I guess you've used more then one extended (primary) partition
CF>            which holds the next real partiton...
CF> /dev/hda9: ...your linux partition

>>    If I plan to install debain in /dev/hda5,the installing program
>> will mistake /dev/hda5 for /dev/hda8

CF> strange, I would expect /dev/hda9.

CF> For better help, post your partition table, i.e. the output of:

CF>   # fdisk -l /dev/hda
CF>   # cfdisk -Pt /dev/hda




-- 
Best regards,
 fg                            mailto:fg007@mail1.sjtu.edu.cn




Reply to: