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

[Fwd: Debian specific Partition problme]



Please respond directly to Nagarjuna

Thanks.

S.

-------- Original Message --------
Subject: Debian specific Partition problme
Date: Tue, 16 Nov 1999 10:18:06 +0530 (IST)
From: "Nagarjuna G." <nagarjun@hbcse.tifr.res.in>
To: srivasta@debian.org
CC: Sudhakar Chandrasekharan <thaths@netscape.com>


Dear Manoj/Sudhakar
I have posted this query earlier on the linux-india list, I found no
replies.
I am very curious to know the reason for this behaviour of fdisk program.
Could you find out this from your friends at debian.org about it?
the problme is:

I have encountered a peculiar problem on a debian (2.1). The system
has a 9.1 UltraWide SCSI disk (seagate make).  When I do `fdisk' it
shows the following:

studio:/two# fdisk /dev/sdb

The number of cylinders for this disk is set to 8683.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/sdb: 64 heads, 32 sectors, 8683 cylinders
Units = cylinders of 2048 * 512 bytes

   Device Boot   Start      End   Blocks   Id  System
/dev/sdb1            8     8676  8875912+   f  Win95 Extended (LBA)
Partition 1 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 63, 32)
/dev/sdb5            8      965   979933+  83  Linux native
/dev/sdb6          965     1083   120456   82  Linux swap
/dev/sdb7         1083     4903  3911796   83  Linux native
/dev/sdb8         4903     8676  3863601   83  Linux native


As you notice the number of cylinders are shown to be 8693, too large to
make lilo work.  Obviously I failed to make the machine boot linux, except
through a boot floppy. Otherwise there are no problems during running.

However, what surprised me was when I tried (on the same harddisk) using
SuSe 6.2, and Redhat 6.0, the out put of fdisk shows entirely different.
They show only 1106 cylinders.  This time lilo also works fine.

I thought the fdisk program is same across different distros.  
Why does this happen?  Any clues?

Nagarjuna




------------------------------------------------------------------------------
Nagarjuna G.
Homi Bhabha Centre for Science Education, TIFR, Mumbai. INDIA
Phones: Office: 556 7711, 555 4712, 555 5242    Residence: 2155604
Fax: 091 - 22 - 556 6803
email: nagarjun@hbcse.tifr.res.in
------------------------------------------------------------------------------


Reply to: