zcat boot.img.gz toegepast op verkeerde schijf

Pagina: 1
Acties:

  • Xe0n
  • Registratie: April 2003
  • Laatst online: 09-01 13:54
Ik ben bezig met het maken van een instalatie usb stick waarmee ik debian op een computer kan instaleren. Ik volg hiervoor deze howto http://www.debian.org/releases/sarge/i386/ch04s04.html

Zoals je bij 4.4.1 kan zien moet je het commando "zcat boot.img.gz > /dev/sda" uitvoeren. Dit deed ik dus zonder op te letten. Nu heeft hij die image op mijn 1e schijf van mijn raid array geschreven. Dit was dus niet de bedoeling aangezien mijn usb stick /dev/sdd is.

Mijn raid 5 array lijkt nog te werken, maar hoe kan ik dit nou ongedaan maken zonder mijn data te verliezen.

Dit is de uitkomst van fdisk -l:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   ?      188019      188051      253319   e4  SpeedStor
Partition 1 does not end on cylinder boundary.
/dev/sda2   ?       62656      186401   993984023   98  Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3   ?      105611      225119   959953209   7d  Unknown
Partition 3 does not end on cylinder boundary.
/dev/sda4   ?        2142        2660     4161536    0  Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/sdb: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       24792   199141708+  fd  Linux raid autodetect

Disk /dev/sdc: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       24792   199141708+  fd  Linux raid autodetect

Disk /dev/hda: 10.2 GB, 10245537792 bytes
255 heads, 63 sectors/track, 1245 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1190     9558643+  83  Linux
/dev/hda2            1191        1245      441787+   5  Extended
/dev/hda5            1191        1245      441756   82  Linux swap / Solaris

Disk /dev/md0: 407.8 GB, 407842062336 bytes
2 heads, 4 sectors/track, 99570816 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md0 doesn't contain a valid partition table

[ Voor 69% gewijzigd door Xe0n op 12-05-2006 21:33 ]

...


  • Xe0n
  • Registratie: April 2003
  • Laatst online: 09-01 13:54
Ik ben voorzichtig aan de slag gegaan met fdisk en heb het volgens mij opgelost

Ik heb alle partities verwijdert en opnieuw aangemaakt

...