Dec 24, 2025 - 04:04 AMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
PitTux
15 Post subject: mbr reparieren  PostPosted: Aug 23, 2007 - 01:45 PM



Joined: Aug 26, 2004
Posts: 1214
Location: Hessen/Kassel-Fuldatal
hi HD-Spezialisten,

da gparted mir den Bootsector überschrieben hat. Wie kann ich Grub wieder bzw. die Partitionstabelle neu installieren?

Ich habe jetzt eine neue Festplatte eingebaut somit zwei Festplatten im PC. Auf der ersten (neuen) Platte sda mit 7 Partitionen ist Kanotix RC5 neu installiert, und auf der zweiten (alten) Platte sdb mit falscher Partitionstabelle und 6 Partitionen ist Windows und altes Kanotix installiert.

Wenn ich boote mit der Live-CD.
Öffne eine Terminal/Shell/Konsole, umd mit $ sudo root zu werden.
Die Partition, in der KANOTIX installiert wurde, mounten (in meinem Beispiel hda5)
# mount /media/hda5
Dannach wird GRUB nochmals in den MBR der ersten Platte geschrieben mit:

# grub-install --recheck --no-floppy --root-directory=/media/hda5 /dev/hda

Würde dann meine alte Platte eventuell wieder korrekt eingebunden?
Mit gparted werden die Partionen immer noch korrekt angezeigt, ich kann halt nur nicht darauf zugreifen.
gruss peter

_________________
ich habe zwar keine Lösung, bewundere aber das Problem
Quad Intel Core i3-4350T /Quad Intel Pentium N3540 - Linux 5.0.0-5-generic x86_64 [ Kanotix buster KDE KANOTIX-Build 20190202-15:53; KaOS


Last edited by PitTux on Sep 10, 2007 - 09:29 PM; edited 2 times in total
 
 View user's profile Send private message Send e-mail MSN Messenger  
Reply with quote Back to top
towo2099
Post subject: mbr reparieren  PostPosted: Aug 23, 2007 - 01:59 PM



Joined: Sep 23, 2004
Posts: 618

Also Grub != Partitionstabelle!
Was sagt denn fdisk -l zu deinen Platten?

_________________
Ich bin nicht die Signatur, ich Putz' hier nur Winken
Nach Diktat spazieren gegangen Auf den Arm nehmen
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
PitTux
Post subject: mbr reparieren  PostPosted: Aug 23, 2007 - 04:57 PM



Joined: Aug 26, 2004
Posts: 1214
Location: Hessen/Kassel-Fuldatal
Platte /dev/sda: 250.0 GByte, 250059350016 Byte
255 Köpfe, 63 Sektoren/Spuren, 30401 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 4295 34499556 7 HPFS/NTFS
/dev/sda2 4296 30401 209696445 f W95 Erw. (LBA)
/dev/sda5 4296 10823 52436128+ b W95 FAT32
/dev/sda6 10824 12129 10490413+ 83 Linux
/dev/sda7 12130 19962 62918541 83 Linux
/dev/sda8 19963 21268 10490413+ 83 Linux
/dev/sda9 21269 27796 52436128+ 7 HPFS/NTFS
/dev/sda10 27797 30401 20924631 b W95 FAT32

Platte /dev/sdb: 160.0 GByte, 160041885696 Byte
255 Köpfe, 63 Sektoren/Spuren, 19457 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 5099 40957686 c W95 FAT32 (LBA)
/dev/sdb2 5100 19456 115322602+ f W95 Erw. (LBA)
/dev/sdb5 5100 10198 40957686 7 HPFS/NTFS
/dev/sdb6 10199 11452 10072723+ 83 Linux
/dev/sdb7 11453 14081 21117411 83 Linux
/dev/sdb8 14082 15297 9767488+ 83 Linux
/dev/sdb9 15298 19456 33407136 7 HPFS/NTFS

_________________
ich habe zwar keine Lösung, bewundere aber das Problem
Quad Intel Core i3-4350T /Quad Intel Pentium N3540 - Linux 5.0.0-5-generic x86_64 [ Kanotix buster KDE KANOTIX-Build 20190202-15:53; KaOS
 
 View user's profile Send private message Send e-mail MSN Messenger  
Reply with quote Back to top
towo2099
Post subject: mbr reparieren  PostPosted: Aug 23, 2007 - 05:13 PM



Joined: Sep 23, 2004
Posts: 618

Und was stimmt an der Partitionstabelle von sdb nicht?

_________________
Ich bin nicht die Signatur, ich Putz' hier nur Winken
Nach Diktat spazieren gegangen Auf den Arm nehmen
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
PitTux
Post subject: mbr reparieren  PostPosted: Aug 23, 2007 - 05:39 PM



Joined: Aug 26, 2004
Posts: 1214
Location: Hessen/Kassel-Fuldatal
Platte lässt sich nicht mehr booten, nachdem ich versucht habe zur Datensicherung mit gparted eine Partition zu kopieren.

_________________
ich habe zwar keine Lösung, bewundere aber das Problem
Quad Intel Core i3-4350T /Quad Intel Pentium N3540 - Linux 5.0.0-5-generic x86_64 [ Kanotix buster KDE KANOTIX-Build 20190202-15:53; KaOS
 
 View user's profile Send private message Send e-mail MSN Messenger  
Reply with quote Back to top
PitTux
Post subject: mbr reparieren  PostPosted: Aug 23, 2007 - 09:35 PM



Joined: Aug 26, 2004
Posts: 1214
Location: Hessen/Kassel-Fuldatal
kano hats gerichtet Smilie
da muss jetzt nur noch das hardware satasteckerproblem gelöst werden

_________________
ich habe zwar keine Lösung, bewundere aber das Problem
Quad Intel Core i3-4350T /Quad Intel Pentium N3540 - Linux 5.0.0-5-generic x86_64 [ Kanotix buster KDE KANOTIX-Build 20190202-15:53; KaOS
 
 View user's profile Send private message Send e-mail MSN Messenger  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.