Mam starą płytę główną z biosem obsługującym dyski do 32GB. Podłączyłem do niej dysk 80GB ze zworką ograniczającą pojemność do 32. Dysk jest widziany poprawnie przez wszystko, co udało mi się uruchomić na tym komputerze z wyjątkiem debiana.
I tak fdisk i cfdisk nic nie wiedzą o moim dysku natomiast sfdisk sypie błędami.
Kod: Zaznacz cały
debian:~# sfdisk -x /dev/hdd
Checking that no-one is using this disk right now ...
OK
Disk /dev/hdd: 158816 cylinders, 16 heads, 63 sectors/track
read: BÅÄ
d wejÅia/wyjÅia
sfdisk: ^[[?6c^[[?6cread error on /dev/hdd - cannot read sector 0
/dev/hdd: unrecognized partition table type
Old situation:
No partitions found
Input in the following format; absent fields get a default value.
<start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
Usually you only need to specify <start> and <size> (and perhaps <type>).
/dev/hdd1 :
trailing junk after number
/dev/hdd1 :
/dev/hdd1 0+ 158815 158816- 80043263+ 83 Linux
/dev/hdd2 :
/dev/hdd2 0 - 0 0 0 Empty
/dev/hdd3 :
/dev/hdd3 0 - 0 0 0 Empty
/dev/hdd4 :
/dev/hdd4 0 - 0 0 0 Empty
New situation:
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hdd1 0+ 158815 158816- 80043263+ 83 Linux
/dev/hdd2 0 - 0 0 0 Empty
/dev/hdd3 0 - 0 0 0 Empty
/dev/hdd4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Do you want to write this to disk? [ynq] y
read: BÅÄ
d wejÅia/wyjÅia
sfdisk: read error on /dev/hdd - cannot read sector 0
Re-reading the partition table ...
^[[?6c^[[?6c
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
Dodam jeszcze, że debian jest w wersji stabilnej i jest to 4, a ja nie mam zielonego pojęcia o linuksie.