ich würde den grub2 gerne installieren, jedoch lässt er sich das niht ..
ich würde geren diese quelle in meine etc/apt/sources.list eintragen ... jedoch habe iches ncht geschafft .. bzw .. er hat mir den grub 2 nicht gefunden:
Code: Alles auswählen
deb http://ftp.debian.org/debian/pool/main/g/grub2/ etch main
^^irgendwas mit dem etch und main wird wohl nciht stimmen ... but anyway .. dann habe ich folgendes gemacht ..
Code: Alles auswählen
Server:/# cd /tmp/
Server:/tmp# wget http://ftp.debian.org/debian/pool/main/g/grub2/grub2_1.95-5_i386.deb
--17:29:40-- http://ftp.debian.org/debian/pool/main/g/grub2/grub2_1.95-5_i386.deb
=> `grub2_1.95-5_i386.deb'
Auflösen des Hostnamen »ftp.debian.org«.... 128.101.240.212
Verbindungsaufbau zu ftp.debian.org|128.101.240.212|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 356.894 (349K) [application/x-debian-package]
100%[=================================================================================================================>] 356.894 129.13K/s
17:29:43 (128.79 KB/s) - »grub2_1.95-5_i386.deb« gespeichert [356894/356894]
Server:/tmp# dpkg -i
grub2_1.95-5_i386.deb .ICE-unix/ .X11-unix/
Server:/tmp# dpkg -i grub2_1.95-5_i386.deb
Wähle vormals abgewähltes Paket grub2.
(Lese Datenbank ... 20185 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke grub2 (aus grub2_1.95-5_i386.deb) ...
Richte grub2 ein (1.95-5) ...
Server:/tmp#
soweit sogut ..
so nun zur Konfiguration:
Code: Alles auswählen
Server:/tmp# fdisk -l
Disk /dev/hdc: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 24321 195358401 fd Linux raid autodetect
Disk /dev/hdd: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 24321 195358401 fd Linux raid autodetect
Disk /dev/md0: 200.0 GB, 200046936064 bytes
255 heads, 63 sectors/track, 24320 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/md0p1 1 24320 195350368+ 8e Linux LVM
Disk /dev/dm-0: 104 MB, 104857600 bytes
255 heads, 63 sectors/track, 12 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-0p1 1 12 96358+ 83 Linux
Disk /dev/dm-1: 524 MB, 524288000 bytes
255 heads, 63 sectors/track, 63 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-1p1 1 63 506016 82 Linux swap / Solaris
Disk /dev/dm-2: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-2p1 1 2610 20964793+ 83 Linux
Disk /dev/dm-3: 177.9 GB, 177939152896 bytes
255 heads, 63 sectors/track, 21633 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-3p1 1 21633 173767041 83 Linux
Server:/tmp#
das sindmeine Partitionen^^ auf dev/mapper/Data-boot befindet sich meine Bootpartition und auf Data-root logischerweiße meine Root Partition. Also habe ich zur grubkonfiguration folgendeseingegeben:
Code: Alles auswählen
Server:/tmp# grub-install /dev/md0
cannot find a GRUB drive for /dev/dm-0.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
Server:/tmp#
so und jetzt ? ;-) sch*** ;-) ich bin wohl zu blöd ;-) ich habe auch noch mitder --module option herumgespielt .. bin damit aber nicht weiter gekommen ...
bin um jeden hilfreichen Tipp dankbar!!!
Leander