Fedora2 - problem sa geometrijom diska

Nakon instalacije Fedore i problema koji se desi na geometriji disk(a/ova) potrebno je boot-at preko rescue cd-a system.

Kada ste ušli u shell kucate sljedeću naredbu:

 sfdisk -d /dev/hdX # X je oznaka za hard disk, u mom slučaju je hda
i dobit ćete output:

 [root@delirium negative]# sfdisk -d /dev/hda
 Warning: extended partition does not start at a cylinder boundary.
 DOS and Linux will interpret the contents differently.
 '# partition table of /dev/hda
 unit: sectors
 /dev/hda1 : start= 63, size= 6184962, Id= b, bootable
 /dev/hda2 : start= 6185025, size= 53849880, Id= f
 /dev/hda3 : start= 0, size= 0, Id= 0
 /dev/hda4 : start= 0, size= 0, Id= 0
 /dev/hda5 : start= 6185088, size= 20482812, Id= 7
 /dev/hda6 : start= 26667963, size= 10233342, Id= b
 /dev/hda7 : start= 36901368, size= 305172, Id=83
 /dev/hda8 : start= 37206603, size= 4192902, Id=83
 /dev/hda9 : start= 41399568, size= 4096512, Id=83
 /dev/hda10: start= 45496143, size= 2249037, Id=83
 /dev/hda11: start= 47745243, size= 12289662, Id=83
Potrebno je snimiti ovo u datoteku (nazvat ćemo je pt.txt):
 sfdisk -d /dev/hda > pt.txt
Kada ste to upisali trebate editovati datoteku (u fedora rescue mode dostupan je PICO editor) i ukloniti sljedeće linije:
 Warning: extended partition does not start at a cylinder boundary.
 DOS and Linux will interpret the contents differently.
Nakon što ste snimili, datotekabi trebala ovako izgledati:
 [root@delirium negative]# cat pt.txt
 '# partition table of /dev/hda
 unit: sectors
 /dev/hda1 : start= 63, size= 6184962, Id= b, bootable
 /dev/hda2 : start= 6185025, size= 53849880, Id= f
 /dev/hda3 : start= 0, size= 0, Id= 0
 /dev/hda4 : start= 0, size= 0, Id= 0
 /dev/hda5 : start= 6185088, size= 20482812, Id= 7
 /dev/hda6 : start= 26667963, size= 10233342, Id= b
 /dev/hda7 : start= 36901368, size= 305172, Id=83
 /dev/hda8 : start= 37206603, size= 4192902, Id=83
 /dev/hda9 : start= 41399568, size= 4096512, Id=83
 /dev/hda10: start= 45496143, size= 2249037, Id=83
 /dev/hda11: start= 47745243, size= 12289662, Id=83
Sljedeći korak je da izvršite naredbu:
 cat pt.txt | sfdisk --no-reread -H255 /dev/hda
Ukoliko se ne izvrši pojavit će se greška tipa "I don't like changing disk geometry" ili slično trebate ukucati sljedeću komandu:
 cat pt.txt | sfdisk --no-reread -H255 /dev/hda --force
i problem je riješen bez ikakvog gubitka podataka.

Da biste ovaj problem zaobišli tokom instalacije, trebate boot-ati sa rescue CD-a (bez support za networking ili mountanje particija) i ukucat sljedeću naredbu:

 fdisk -l /dev/hda
dobit ćete sličan output:
 Disk /dev/hda: 30.7 GB, 30750031872 bytes
 255 heads, 63 sectors/track, 3738 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Device Boot Start End Blocks Id System
 /dev/hda1 * 1 385 3092481 b W95 FAT32
 /dev/hda2 386 3737 26924940 f W95 Ext'd (LBA)
 /dev/hda5 386 1660 10241406 7 HPFS/NTFS
 /dev/hda6 1661 2297 5116671 b W95 FAT32
 /dev/hda7 2298 2316 152586 83 Linux
 /dev/hda8 2317 2577 2096451 83 Linux
 /dev/hda9 2578 2832 2  048256 83 Linux
 /dev/hda10 2833 2972 1124518+ 83 Linux
 /dev/hda11 2973 3737 6144831 83 Linux
Zapišite na papir koliko ima glava (head), sektora (sector) i cilindara (cylinder).
Resetujte računar i stavite instalacioni cd Fedore (cd1).
Kad vam se učita cd izdate sljedeću naredbu za boot-anje:
 linux hda=3738,255,63
(dakle linux hda=cylinder,head,sector što ste zapisali na papir)

 


Najnoviju verziju dokumentacije potrazite na sajtu start.linux.org.ba