| Autor | 
    Nachricht | 
   
  
    | 
      
     | 
    
      
        
					
            Titel: festplatte abgehängt: grub-problem 
             Verfasst am: 19.09.2006, 23:51 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
             
  
            Anmeldung: 10. Nov 2004 
            Beiträge: 519 
            Wohnort: Berlin 
            
            
           | 
         
       
     | 
    
      
        
          hi kanoten=)
 
dieses problem hatte ich schon vor ein paar jahren schon mal - nachdem dann allerdings irgendwann alles lief, ließ ich es auf sich beruhen. nun ist es wieder da..
 
 
folgendes szenario:
 
 
3 festplatten - hda (maxtor; IDE), hdb (ibm; IDE), sda (wdc; SATA)
 
kanotix auf sda3, grub auf hda5 (+ testsystem), win auf sda1, restliche partitionen sind archiv-partitionen mit fat-fs oder swap.
 
 
ok, hdb gibt langsam seinen geist auf. nachdem ich diese platte vom pc abgehängt habe, lädt sich grub zwar, wenn ich jedoch wie gewohnt "kanotix" (also sda3) auswähle, kommt "(hd2,2): error 21". nach wahl von hda5 (testsystem) kommt "(hdo,4): error 15", xp auf sda1 meldet ebenfalls "(sda1): error 21".
 
 
nun habe ich im bios die möglichkeit, festplattenprioritäten festzulegen. bisher standen diese auf 1.maxtor (also die hda mit grub), 2.wdc (sata). vertausche ich nun beide prioritäten, so bleibt alles beim alten, mit der ausnahme, daß xp lädt.
 
 
kennt jemand dieses problem? die alte ibm-platte muß jetzt wirklich raus, denn immer öfter friert mein system für knapp eine minute ein weil sie nicht richtig gelesen werden kann...
 
 
achja, "fdisk -l" :
 
Platte /dev/hda: 81.9 GByte, 81964302336 Byte
 
255 Köpfe, 63 Sektoren/Spuren, 9964 Zylinder
 
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
 
 
    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
 
/dev/hda1               1        6374    51199123+   c  W95 FAT32 (LBA)
 
/dev/hda2            6375        9964    28836675    f  W95 Erw. (LBA)
 
/dev/hda5   *        6375        9817    27655866   83  Linux
 
/dev/hda6            9818        9964     1180746   82  Linux Swap / Solaris
 
 
Platte /dev/hdb: 41.1 GByte, 41174138880 Byte
 
16 Köpfe, 63 Sektoren/Spuren, 79780 Zylinder
 
Einheiten = Zylinder von 1008 × 512 = 516096 Bytes
 
 
    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
 
/dev/hdb1               1        1938      976720+  82  Linux Swap / Solaris
 
/dev/hdb2   *        1939       21314     9765504   83  Linux
 
/dev/hdb3           21315       79780    29466864    c  W95 FAT32 (LBA)
 
 
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       12748   102398278+   7  HPFS/NTFS
 
/dev/sda2           12749       26577   111081442+   f  W95 Erw. (LBA)
 
/dev/sda3           26578       30274    29696152+  83  Linux
 
/dev/sda4           30275       30401     1020127+  82  Linux Swap / Solaris
 
/dev/sda5           12749       26577   111081411    b  W95 FAT32 | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
    | 
      
     | 
    
      
        
					
            Titel: festplatte abgehängt: grub-problem 
             Verfasst am: 19.09.2006, 23:57 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mar 2005 
            Beiträge: 2133 
             
            
            
           | 
         
       
     | 
    
      
        
          | grub arbeitet mit drei Platten hd0 (hda), hd1(hdb) und hd2 (sda). Du hast hd1aus dem System genommen, wodurch vermutlich hd2 zu hd1 geworden ist. Bitte poste mal den Inhalt von /boot/grub/device.map und menu.lst | 
         
        
          
          
            
          
             _________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
    | 
      
     | 
    
      
        
					
            Titel: RE: festplatte abgehängt: grub-problem 
             Verfasst am: 20.09.2006, 00:07 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
             
  
            Anmeldung: 10. Nov 2004 
            Beiträge: 519 
            Wohnort: Berlin 
            
            
           | 
         
       
     | 
    
      
        
          hey ockham   
 
 
device.map
 
(hd0)	/dev/hda
 
(hd1)	/dev/hdb
 
(hd2)	/dev/sda
 
 
 
menu.1st
 
title		K-2006-01-RC1, kernel 2.6.17.13 (sda3)
 
root		(hd2,2)
 
kernel		/boot/vmlinuz-2.6.17.13-kanotix-2 root=/dev/sda3 ro ramdisk_size=100000 lang=de apm=power-off nomce vga=791 splash=silent 
 
initrd		/boot/initrd.img-2.6.17.13-kanotix-2
 
boot
 
 
title		Testsystem: K-2006-01-RC1, kernel 2.6.17.13 (hda5)
 
root		(hd0,4)
 
kernel		/boot/vmlinuz root=/dev/hda5 ro ramdisk_size=100000 lang=de apm=power-off nomce vga=791 
 
initrd		/boot/initrd.img
 
boot
 
 
title Windows 2K/XP/2003 (sda1)
 
map (hd0) (hd2)
 
map (hd2) (hd0)
 
chainloader (hd2,0)+1
 
 
ok, wenn nun wie in der device.map hd2 (sda mit kanotix) zu hd1 geworden ist, müßte dann hda5 nicht trotzdem booten?
 
danke mal für deine antwort!
 
ps: das mapping für xp, ist das dann dafür da, daß xp an erster stelle steht (das brauch das doch, oder?)?
 
 
EDIT:
 
daß ich bei der install vom kanotix auf sda3 dessen grub in root gelegt hab tut nix zur sache, oder..? | 
         
        
          | 
          
            
          
            
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
    | 
      
     | 
    
      
        
					
            Titel: RE: festplatte abgehängt: grub-problem 
             Verfasst am: 20.09.2006, 10:34 Uhr
           | 
				 
       
     | 
   
  
    
      
        
          
             
             
  
            Anmeldung: 25. Mar 2005 
            Beiträge: 2133 
             
            
            
           | 
         
       
     | 
    
      
        
          | 
 Zitat: 
ok, wenn nun wie in der device.map hd2 (sda mit kanotix) zu hd1 geworden ist, müßte dann hda5 nicht trotzdem booten?
 
Scharf beobachtet. Mögliche Erklärung: Primäres Bootlaufwerk ist nicht hda, sondern sda (=hd0). In diesem Fall bräuchtest du den Map-Befehl für Windows auch nicht mehr. | 
         
        
          
          
            
          
             _________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
            
           | 
         
         
	        |     | 
	       
       
     | 
   
  
    | 
      
      
     | 
   
  
      | 
   
  
  
    | 
      
     | 
   
 
					 | 
				 
			 
		 | 
	 
 
  |  
  |