Portál AbcLinuxu, 11. května 2024 04:17


Dotaz: partition UNKNOWN, grub, lilo

10.8.2002 18:13 walter2
partition UNKNOWN, grub, lilo
Přečteno: 167×
Odpovědět | Admin
mam velky problem po machinacich s lilem a grubem, mi boot manazer ted lilo, nenabehne windowsy, kdyz nabootuju w98 z diskety a spustim fdisk, tak partisna na ktere jsou windowsy ukazuje souborovy system UNKNOWN, linuxovej fdisk ukazuje WIN95 FAT32, na tom disku s windowsama mam ZIVOTNE DULEZITA DATA, potrebuju nejaky program ktery opravi zacatek windowsove partition, tak aby se dal bootovat, windowsy jsou na /dev/hda1, data nejsou poskozena je zacatek disku se nejak pokurvil, mam linux RH7.3, , PROSIM PORADTE NESMIM PRIJIT O DATA
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

11.8.2002 11:26 Šobáň
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
Odpovědět | | Sbalit | Link | Blokovat | Admin
Asi jste tam udělal skrytý oddíl s těmi win. Spustte fdisk z linuxu a potom příkaz p ve sloupci BOOT musí být hvezdička pouze u jednoho oddílu (u vás asi u win) a ID oddílu musí být b nebo c tj win95 fat32, zapsat na disk, skontrolovat zápis v /etc/lilo.conf a provést lilo.
11.8.2002 12:35 walter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
tady problem nebude, linux fdisk ukazuje v podstate vse v poradku, akorat kdyz dam v verify tak to ukaze 248 unallocated sectors, za to fdisk z boot w98 ukazuje u disku kde jsou windows v polozce SYSTEM -> UNKNOWN a to by tam urcite nemelo byt, v mem pripade ZNICENI DAT JE SEBEVRAZDA, PROSIM PORADTE
11.8.2002 12:43 walter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
vsimnul jsem si asi dost dulezite veci:

\/

[root@localhost root]# fdisk /dev/hda

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

Command (m for help): v 248 unallocated sectors

Command (m for help):

poradte prosim, jestli ztratim data muzu se jit zastrelit

11.8.2002 14:41 jbohac | skóre: 19 | Praha 5
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
a co takhle data zachranit pod linuxem, kde by mela byt bez problemu pristupna, (treba projistotu i zazalohovat na jinej disk/CD-R,...,) a pak zkusit partition znovu udelat a widowsim formatem zformatovat? Pak tam nakopirovat vsechna puvodni data?

Je to srabacke reseni, ale takhle nadalku asi jedine co muzu doporucit a pri cem se na 100% neprijde o data...

Urcite to pujde vyresit i nejak elegantneji, ale riziko je tam imho vzdycky.

11.8.2002 14:42 walter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
tu partition s windows, muzu prohlizet z linuxu, kdyz nabootuju z bootovacky w98, a dam C: -> enter a potom dir -> enter, tak to napise: chybny typ media, prerusit, znovu, chyba....
11.8.2002 17:01 walter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
tu metodu se zalohovanim dat v linuxu, bych pouzil kdybych mohl, ale v cem je vlastne chyba????? tady je jeste vypis fdisk /dev/hda1
Command (m for help): v
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(372, 117, 51) logical=(116371, 175, 61)
Partition 1 has different physical/logical endings:
     phys=(367, 32, 52) logical=(126869, 236, 45)
Partition 1 does not end on cylinder boundary:
     phys=(367, 32, 52) should be (367, 254, 63)
Partition 1: previous sectors 2038165397 disagrees with total 5908892
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(357, 32, 43) logical=(82800, 34, 51)
Partition 2 has different physical/logical endings:
     phys=(0, 13, 10) logical=(116349, 218, 61)
Partition 2 does not end on cylinder boundary:
     phys=(0, 13, 10) should be (0, 254, 63)
Partition 2: previous sectors 1869160479 disagrees with total 2308
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(345, 32, 19) logical=(33550, 137, 11)
Partition 3 has different physical/logical endings:
     phys=(324, 77, 19) logical=(120594, 153, 54)
Partition 3 does not end on cylinder boundary:
     phys=(324, 77, 19) should be (324, 254, 63)
Partition 3: previous sectors 1937352302 disagrees with total 5209727
Warning: partition 1 overlaps partition 3.
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(87, 1, 0) logical=(86811, 142, 3)
Partition 4 has different physical/logical endings:
     phys=(335, 78, 2) logical=(86812, 225, 45)
Partition 4 does not end on cylinder boundary:
     phys=(335, 78, 2) should be (335, 254, 63)
Partition 4: previous sectors 1394648999 disagrees with total 5382108
Warning: partition 2 overlaps partition 4.
Warning: partition 3 overlaps partition 4.
Total allocated sectors 2038130962 greater than the maximum 10474380

a tady jeste celkovy pohled

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       653   5245191    c  Win95 FAT32 (LBA)
/dev/hda2           654      1048   3172837+   f  Win95 Ext'd (LBA)
/dev/hda5           654       662     72261   83  Linux
/dev/hda6           663      1005   2755116   83  Linux
/dev/hda7          1006      1048    345366   82  Linux swap
nejdulezitejsi data uz jsem zalohoval, ale zbytek by se musel znicit, pri formatovani, tak pokud nekdo mate lepsi reseni i trochu riskanti napiste, prosim
11.8.2002 17:09 walter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
tu metodu s se zalohovanim dat muzu pouzit je castecne, kde je vlastne chyba????? tady je par vypisu:
[root@localhost root]# fdisk /dev/hda1

Command (m for help): v
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(372, 117, 51) logical=(116371, 175, 61)
Partition 1 has different physical/logical endings:
     phys=(367, 32, 52) logical=(126869, 236, 45)
Partition 1 does not end on cylinder boundary:
     phys=(367, 32, 52) should be (367, 254, 63)
Partition 1: previous sectors 2038165397 disagrees with total 5908892
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(357, 32, 43) logical=(82800, 34, 51)
Partition 2 has different physical/logical endings:
     phys=(0, 13, 10) logical=(116349, 218, 61)
Partition 2 does not end on cylinder boundary:
     phys=(0, 13, 10) should be (0, 254, 63)
Partition 2: previous sectors 1869160479 disagrees with total 2308
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(345, 32, 19) logical=(33550, 137, 11)
Partition 3 has different physical/logical endings:
     phys=(324, 77, 19) logical=(120594, 153, 54)
Partition 3 does not end on cylinder boundary:
     phys=(324, 77, 19) should be (324, 254, 63)
Partition 3: previous sectors 1937352302 disagrees with total 5209727
Warning: partition 1 overlaps partition 3.
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(87, 1, 0) logical=(86811, 142, 3)
Partition 4 has different physical/logical endings:
     phys=(335, 78, 2) logical=(86812, 225, 45)
Partition 4 does not end on cylinder boundary:
     phys=(335, 78, 2) should be (335, 254, 63)
Partition 4: previous sectors 1394648999 disagrees with total 5382108
Warning: partition 2 overlaps partition 4.
Warning: partition 3 overlaps partition 4.
Total allocated sectors 2038130962 greater than the maximum 10474380

Command (m for help):
[root@localhost root]# fdisk /dev/hda

The number of cylinders for this disk is set to 1048.
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)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 1048 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       653   5245191    c  Win95 FAT32 (LBA)
/dev/hda2           654      1048   3172837+   f  Win95 Ext'd (LBA)
/dev/hda5           654       662     72261   83  Linux
/dev/hda6           663      1005   2755116   83  Linux
/dev/hda7          1006      1048    345366   82  Linux swap

Command (m for help):
ty nejdulezitejsi data uz jsem zalohoval, ale zbytek bych pri formatovani prisel, tak jestli znate nejakou lepsi metodu tak prosim napiste....
11.8.2002 17:09 walter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
tu metodu s se zalohovanim dat muzu pouzit je castecne, kde je vlastne chyba????? tady je par vypisu:
[root@localhost root]# fdisk /dev/hda1

Command (m for help): v
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(372, 117, 51) logical=(116371, 175, 61)
Partition 1 has different physical/logical endings:
     phys=(367, 32, 52) logical=(126869, 236, 45)
Partition 1 does not end on cylinder boundary:
     phys=(367, 32, 52) should be (367, 254, 63)
Partition 1: previous sectors 2038165397 disagrees with total 5908892
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(357, 32, 43) logical=(82800, 34, 51)
Partition 2 has different physical/logical endings:
     phys=(0, 13, 10) logical=(116349, 218, 61)
Partition 2 does not end on cylinder boundary:
     phys=(0, 13, 10) should be (0, 254, 63)
Partition 2: previous sectors 1869160479 disagrees with total 2308
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(345, 32, 19) logical=(33550, 137, 11)
Partition 3 has different physical/logical endings:
     phys=(324, 77, 19) logical=(120594, 153, 54)
Partition 3 does not end on cylinder boundary:
     phys=(324, 77, 19) should be (324, 254, 63)
Partition 3: previous sectors 1937352302 disagrees with total 5209727
Warning: partition 1 overlaps partition 3.
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(87, 1, 0) logical=(86811, 142, 3)
Partition 4 has different physical/logical endings:
     phys=(335, 78, 2) logical=(86812, 225, 45)
Partition 4 does not end on cylinder boundary:
     phys=(335, 78, 2) should be (335, 254, 63)
Partition 4: previous sectors 1394648999 disagrees with total 5382108
Warning: partition 2 overlaps partition 4.
Warning: partition 3 overlaps partition 4.
Total allocated sectors 2038130962 greater than the maximum 10474380

Command (m for help):
[root@localhost root]# fdisk /dev/hda

The number of cylinders for this disk is set to 1048.
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)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 1048 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       653   5245191    c  Win95 FAT32 (LBA)
/dev/hda2           654      1048   3172837+   f  Win95 Ext'd (LBA)
/dev/hda5           654       662     72261   83  Linux
/dev/hda6           663      1005   2755116   83  Linux
/dev/hda7          1006      1048    345366   82  Linux swap

Command (m for help):
ty nejdulezitejsi data uz jsem zalohoval, ale zbytek bych pri formatovani prisel, tak jestli znate nejakou lepsi metodu tak prosim napiste....
11.8.2002 22:06 waltter2
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
trochu sem to rozmnozil, pripojuju se pres winmodem a pada to po peti minutach
11.8.2002 23:09 iRAY | skóre: 21 | blog: /.cz
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
Udelej ten výpis v fdisku podrobnější. Až budeš v něm zadej příkaz pro změnu jednotek (nemúžu si vzpomenout jakej to je), ale v nápovědě to určitě bude a pak to sem hoď. Z toho výpisu co tu už je ti moc nepomůžu...
14.1.2004 20:02 Beda
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
u - jako units
17.8.2002 20:31 Šobáň
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
Problém bude v ID oddílu. U /dev/hda2 máte ID f tj WIN extended a nemáte tam rozšířený oddíl s windows, pouze s linuxem. Změňte ID oddílu /dev/hda2 na ID 5 tj pouze extended co to udělá. Viz čísla ID po výpisu l.
14.12.2002 11:14 Michal Košata
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
mam velky problem po machinacich s lilem a grubem, mi boot manazer ted lilo, nenabehne windowsy, kdyz nabootuju w98 z diskety a spustim fdisk, tak partisna na ktere js........ Ahoj , mam uplne stejnej prusvih achci se zeptat jestli se ti ho podarilo vyresit. Diky Michal Kosata
15.12.2002 12:37 Michal Košata
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
Ahoj, muj problem jsem uz vyresil, takze jestli to nekomu pomuze, tak se rad podelim. Potiz je v tom, ze pri instalaci lilo doslo prepsani zacatku partition s win98. Po nabootovani z diskety prikaz dir vypsal vsechny soubory, ale partition nesla presto namountovat do linuxu a samotne win take nenabehly. Nakonec stacilo pouzit v DOS prikaz SYS a: c: pro obnoveni souboru IO.SYS na zacatku partition s WIN98 a vse bezi perfektne. Mozna je to neco jineho nez puvodni problem v tomto threadru, ale snad to nekomu pomuze. Michal Kosata
14.1.2004 15:15 linuxgo
Rozbalit Rozbalit vše Mam asi lek
Odpovědět | | Sbalit | Link | Blokovat | Admin
Ahoj. Mel jsem ted neco podobneho a jdu se vlastne take zeptat na tu samou vec. Bude to v novem prispevku. Je to docela jednoduche jak to dat nazpate. U me to bylo tim, ze jsem mel vice jak tri partitions. Dalo mi to asi dva dny nez jsem na to prisel. Proste v linuxu najed z CD pak dej novou instalaci a vytvor jen tri partitions. Dej to zapsat to MBR. Pak by wokna mela zase najet. Ja jakmele jsem udelal ctyri partitions, tak nechtela najet okna a partition byla unknown. Tak to vyzkousej. Zatim
14.1.2004 20:20 Beda
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
Odpovědět | | Sbalit | Link | Blokovat | Admin
ad: Partition 1: previous sectors 2038165397 disagrees with total 5908892 takze partition magic? ranish? nebo jiny partition manager? mozna jsou jen blbe id hda1(b) a hda2(5) no a mozna jsou fuc i data, ktera jsou za novou hranici techdle partition... nastavovani v biosu? auto/lba/large/normal u daneho disku? vratit do puvodniho stavu i za cenu, ze nebude fungovat linux a nabootovat widle s disketou zachranit data a pak zmenit na nastaveni, ktere dovoli adresovat celou kapacitu disku. boot manager od vyrobce disku? od toho davam ruce pryc. jestli je to vazne vase prace s lilem, tak teda gratuluji, protoze jsem nevidel, ze by neco takoveho kdokoli dokazal vyrobit.
14.1.2004 20:24 Beda
Rozbalit Rozbalit vše partition UNKNOWN, grub, lilo
ehm. mno a nebo ze by prece jen? vsim jsem si rh7.3 to je distro z doby, kdy se v novinach teprve zacaly objevovat zpravy o 10GB discich... pak by to prece jen mohlo byt tim pradedeckem lila nebo grubu nebo ceho vlastne...
14.8.2004 10:37 tarzan
Rozbalit Rozbalit vše Re: partition UNKNOWN, grub, lilo
mam dost podobnej problem s fedorou core2 a grubem,akorat ze widle nejedou ani po naformatovani disku.v klidu se nainstalujou ,ale po restartu nic.linux mi normalne bezi.fdisk ukazuje nealokovaných sektorů: 124

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.