[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Grub installieren



Peter Funk, Mittwoch, 22. Februar 2012: 

> Zum Beispiel so:
>     for PLATTE in /dev/hda /dev/hdb /dev/hdc ; do
>         echo $PLATTE :
> 	sudo dd if=$PLATTE count=1 | xxd | grep GRUB
>     done
> 
> Dabei sollte dann so etwas zu sehen sein:
>     0000180: 7de8 2e00 cd18 ebfe 4752 5542 2000 4765  }.......GRUB .Ge

Aha, das sieht schon mal schlecht aus:

# cat check-grub 
for PLATTE in /dev/hda /dev/hdb /dev/hdc ; do
  echo $PLATTE :
  dd if=$PLATTE count=1 | xxd | egrep "(LILO|GRUB)"
done

# ./check-grub 
/dev/hda :
1+0 records in
1+0 records out
512 bytes (512 B) copied, 6.4306e-05 s, 8.0 MB/s
0000000: faeb 2101 b401 4c49 4c4f 1608 3641 084e  ..!...LILO..6A.N
/dev/hdb :
1+0 records in
1+0 records out
512 bytes (512 B) copied, 5.9653e-05 s, 8.6 MB/s
0000000: faeb 2101 b501 4c49 4c4f 1606 6ce0 8e49  ..!...LILO..l..I
/dev/hdc :
1+0 records in
1+0 records out
512 bytes (512 B) copied, 4.9406e-05 s, 10.4 MB/s
0000000: faeb 2101 b401 4c49 4c4f 1608 3641 084e  ..!...LILO..6A.N

Also ist LILO noch aktiv. 

Tja, wie kann ich bloß den LILO loswerden...?

-- 
Andre Tann


Reply to: