View previous topic :: View next topic |
Author |
Message |
Piaga n00b
Joined: 22 Aug 2004 Posts: 31
|
Posted: Mon Jan 31, 2005 7:55 pm Post subject: fdisk ide serius problem |
|
|
Hi all,
I've got a big problem with my ultra5 disk partitioning
I've got 2 different disks but the problem is the same (maybe me...)
on fdsik I can use only 7Gb of 40gb disk and don't know why!
I've tried with these disks:
IBM IC35L040AVVN07
Maxtor 6E040L07
at the boot I Can read the right message (hda 41100Mb)
this is my fdisk Sun label
Command (m for help): s
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Drive type
? auto configure
0 custom (with hardware detected defaults)
a Quantum ProDrive 80S
b Quantum ProDrive 105S
c CDC Wren IV 94171-344
d IBM DPES-31080
e IBM DORS-32160
f IBM DNES-318350
g SEAGATE ST34371
h SUN0104
i SUN0207
j SUN0327
k SUN0340
l SUN0424
m SUN0535
n SUN0669
o SUN1.0G
p SUN1.05
q SUN1.3G
r SUN2.1G
s IOMEGA Jaz
Select type (? for auto, 0 for custom): 0
Heads (1-1024, default 16): 16
Sectors/track (1-1024, default 63): 63
Cylinders (1-65535, default 14242): 16383
Alternate cylinders (0-65535, default 2):
Using default value 2
Physical cylinders (0-65535, default 16385):
Using default value 16385
Rotation speed (rpm) (1-100000, default 5400): 7200
Interleave factor (1-32, default 1):
Using default value 1
Extra sectors per cylinder (0-32, default 0):
Using default value 0
I red many kind of posts and did many actions but the problem still remain..
is 40Gb an unlucky size?
Please help me
Really thanx |
|
Back to top |
|
|
yaneurabeya Veteran
Joined: 13 May 2004 Posts: 1754 Location: Seattle
|
Posted: Mon Jan 31, 2005 9:37 pm Post subject: |
|
|
Does the drive show up in your BIOS as being 40 Gb or 7 Gb? How old is your machine and what architecture is it? |
|
Back to top |
|
|
toyz n00b
Joined: 02 Mar 2003 Posts: 31 Location: Idaho USA
|
Posted: Tue Feb 01, 2005 6:00 am Post subject: |
|
|
I just got my Ultra5 up and going last weekend. I guessed things right.. but here is some help. After fdisk do the "o" command to do just an empty DOS partition table:
Code: | Command (m for help): o
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 9156.
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., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/hda: 75.3 GB, 75329372160 bytes
255 heads, 63 sectors/track, 9156 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help):
|
Now I have some good numbers for my drive.... now go to "s" and do the custom "0" as you did before. Try the numbers that you just got from "o" mode. |
|
Back to top |
|
|
Piaga n00b
Joined: 22 Aug 2004 Posts: 31
|
Posted: Tue Feb 01, 2005 9:22 am Post subject: |
|
|
Hi all, thanx so much for the answer.
These are my results:
use sun4u ultra5 with openboot 3.31
fdisk /dev/hda
Command (m for help): o
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 9156.
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., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/hda: 41.1 GB, 41174138880 bytes
16 heads, 63 sectors/track, 14242 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
Command (m for help): s
Building a new sun disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Drive type
? auto configure
0 custom (with hardware detected defaults)
a Quantum ProDrive 80S
b Quantum ProDrive 105S
c CDC Wren IV 94171-344
d IBM DPES-31080
e IBM DORS-32160
f IBM DNES-318350
g SEAGATE ST34371
h SUN0104
i SUN0207
j SUN0327
k SUN0340
l SUN0424
m SUN0535
n SUN0669
o SUN1.0G
p SUN1.05
q SUN1.3G
r SUN2.1G
s IOMEGA Jaz
Select type (? for auto, 0 for custom): 0
Heads (1-1024, default 16): 16
Sectors/track (1-1024, default 63): 63
Cylinders (1-65535, default 14242): 16383
Alternate cylinders (0-65535, default 2):
Using default value 2
Physical cylinders (0-65535, default 16385):
Using default value 16385
Rotation speed (rpm) (1-100000, default 5400): 7200
Interleave factor (1-32, default 1):
Using default value 1
Extra sectors per cylinder (0-32, default 0):
Using default value 0
Command (m for help): p
Disk /dev/hdd (Sun disk label): 16 heads, 63 sectors, 16383 cylinders
Units = cylinders of 1008 * 512 bytes
Device Flag Start End Blocks Id System
/dev/hda1 0 16282 8206128 83 Linux native
/dev/hda3 u 0 16383 50904 82 Linux swap
/dev/hda2 0 16383 8257032 5 Whole disk
Command (m for help): w
mke2fs -j /dev/hda1
....
mount /dev/hda1 /mnt/gentoo
df -H
/dev/hda1 7.8G 33M 7.4G 1% /mnt/gentoo
This will happen with both the 40Gb disks
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|