sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #42233
Ødelagt partitionstabel
Jeg har en Western Digital 8,4 GB IDE33 disk.
Den er dvs. var opdelt i tre (brugbare) partitioner:
En primær FAT32 partition.
En udvidet partition (lavet med DOS fdisk) indeholdende en logisk linux
ext2 partition og endnu en (logisk) FAT32 partition.
Den anden dag ville jeg så benytte PartitionMagic 7 (som kan bruges med
ext2 partitioner) til at flytte 1 GB fri plads fra min primære FAT32
partition (C) til min logiske FAT32 partition (D).
Nu skal det nævnes at min Windows 98 SE aldrig har virket - det kan ikke
køre i mere end en time uden at gå ned :-) Men jeg startede godtroende
PartitionMagic som, under opstart, fortalte at min udvidede
(extended) partition ikke var markeret som en ExtendedX partition hvilket
var en fejl så jeg sagde ja til at den skulle fikse problemet. Herefter
kom et andet problem frem som jeg ikke kan huske, men jeg svarede også ja
til at den skulle fikse det.
Herefter arbejdede PartitionMagic i et stykke tid hvorefter ... det frøs
sammen med resten af Windows (åh nej - inkonsistent harddisk indhold :-) -
så jeg genstartede maskinen (ÅH NEJ! :-)
Nu er problemet det at hvis jeg forsøger at starte DOS/Windows 98 enten
fra en bootdisk, en Win98 CD-ROM, eller fra min primære partition
vha. LILO så står harddisken og kører i i hvertfald 3 timer med sort skærm
og en blinkende cursor i øverste, venstre hjørne.
Min primære partition kan jeg stadig se fra linux af, men den logiske er
væk :-(
Min linux dist. er Redhat 7.1. Som det ses af nedenstående boot.log melder
mount om fejl på superblocken på hda5 - som jeg jo godt kan mounte og se
indholdet af. Desuden ser partitionstabellen jo fuldstændig vanvittig ud.
Eftersom jeg ikke kan starte DOS ville jeg prøve at bruge linux fdisk til
at skrive en ny partitionstabel - man kan jo gætte den manglende
partitions cylindernumre ud fra fdisk -l's oplysninger, men jeg ved ikke
hvordan man gør. Og jeg ved heller ikke om det kan klare superblock og
start problemet.
fdisk -l:
---------
Disk /dev/hda: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 383 3076416 b Win95 FAT32
/dev/hda2 384 1027 5172930 f Win95 Ext'd (LBA)
/dev/hda5 384 765 3068383+ 83 Linux
/dev/hda6 384 765 3068383+ 83 Linux
/dev/hda7 384 765 3068383+ 83 Linux
/dev/hda8 384 765 3068383+ 83 Linux
/dev/hda9 384 765 3068383+ 83 Linux
/dev/hda10 384 765 3068383+ 83 Linux
/dev/hda11 384 765 3068383+ 83 Linux
/dev/hda12 384 765 3068383+ 83 Linux
/dev/hda13 384 765 3068383+ 83 Linux
/dev/hda14 384 765 3068383+ 83 Linux
/dev/hda15 384 765 3068383+ 83 Linux
/dev/hda16 384 765 3068383+ 83 Linux
/dev/hda17 384 765 3068383+ 83 Linux
/dev/hda18 384 765 3068383+ 83 Linux
/dev/hda19 384 765 3068383+ 83 Linux
/dev/hda20 384 765 3068383+ 83 Linux
/dev/hda21 384 765 3068383+ 83 Linux
/dev/hda22 384 765 3068383+ 83 Linux
/dev/hda23 384 765 3068383+ 83 Linux
/dev/hda24 384 765 3068383+ 83 Linux
/dev/hda25 384 765 3068383+ 83 Linux
/dev/hda26 384 765 3068383+ 83 Linux
/dev/hda27 384 765 3068383+ 83 Linux
/dev/hda28 384 765 3068383+ 83 Linux
/dev/hda29 384 765 3068383+ 83 Linux
/dev/hda30 384 765 3068383+ 83 Linux
/dev/hda31 384 765 3068383+ 83 Linux
/dev/hda32 384 765 3068383+ 83 Linux
/dev/hda33 384 765 3068383+ 83 Linux
/dev/hda34 384 765 3068383+ 83 Linux
/dev/hda35 384 765 3068383+ 83 Linux
/dev/hda36 384 765 3068383+ 83 Linux
/dev/hda37 384 765 3068383+ 83 Linux
/dev/hda38 384 765 3068383+ 83 Linux
/dev/hda39 384 765 3068383+ 83 Linux
/dev/hda40 384 765 3068383+ 83 Linux
/dev/hda41 384 765 3068383+ 83 Linux
/dev/hda42 384 765 3068383+ 83 Linux
/dev/hda43 384 765 3068383+ 83 Linux
/dev/hda44 384 765 3068383+ 83 Linux
/dev/hda45 384 765 3068383+ 83 Linux
/dev/hda46 384 765 3068383+ 83 Linux
/dev/hda47 384 765 3068383+ 83 Linux
/dev/hda48 384 765 3068383+ 83 Linux
/dev/hda49 384 765 3068383+ 83 Linux
/dev/hda50 384 765 3068383+ 83 Linux
/dev/hda51 384 765 3068383+ 83 Linux
/dev/hda52 384 765 3068383+ 83 Linux
/dev/hda53 384 765 3068383+ 83 Linux
/dev/hda54 384 765 3068383+ 83 Linux
/dev/hda55 384 765 3068383+ 83 Linux
/dev/hda56 384 765 3068383+ 83 Linux
/dev/hda57 384 765 3068383+ 83 Linux
/dev/hda58 384 765 3068383+ 83 Linux
/dev/hda59 384 765 3068383+ 83 Linux
/dev/hda60 384 765 3068383+ 83 Linux
df:
---
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda5 3020140 2393652 473072 84% /
/dev/sdb1 1035660 240484 742568 25% /home
/dev/hda1 3070400 445628 2624772 15% /win-c
/var/log/boot.log:
------------------
Sep 24 18:34:22 jesper rc.sysinit: Remounting root filesystem in
read-write mode: succeeded
Sep 24 18:34:24 jesper rc.sysinit: Finding module dependencies: succeeded
Sep 24 18:34:24 jesper fsck: /dev/sdb1: clean, 3160/131616 files,
62535/263056 blocks
Sep 24 18:34:24 jesper rc.sysinit: Checking filesystems succeeded
Sep 24 18:34:25 jesper mount: mount: wrong fs type, bad option, bad
superblock on /dev/hda5,
Sep 24 18:34:25 jesper mount: or too many mounted file systems
Sep 24 18:34:25 jesper rc.sysinit: Mounting local filesystems: failed
Sep 24 18:34:25 jesper rc.sysinit: Enabling local filesystem
quotas: succeeded
Sep 24 18:34:26 jesper rc.sysinit: Enabling swap space: succeeded
Mvh.
Jesper
Follow ups