• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Anfänger braucht Hilfe: GRUB und LILO streiken

cipoint

Newbie
Hallo,

bei der Installation von Linux 10.2 will weder GRUB noch LILO funktionieren. Ich kann zwar vieles Einstellen, aber wenn ich dann die Konfiguration bestätige, erscheinen je nach Bootmanager verschiedene Fehlermeldungen.

LILO sagt einfach, dass ein Pfad nicht gefunden wurde ...
GRUB hat eine wesentlich kompliziertere Fehlermeldung.

Meine Konfiguration:

RAID0
Volume1: WindowsXP
Volume2: Daten
Volume3: Daten
Volume4: Daten

Seagate 40GB
Linux

Ich möchte wenigstens die Seagate HDD alleine bootfähig machen, sodass ich per F8 beim BIOS-Check auswählen kann, von welcher Platte ich starten möchte. Aber nichtmal das geht.

Ins Linux komme ich nur durch die Installations-DVD.
 
Hallo!
Hast Du ein Disketten Laufwerk?
Dann installiere Grub auf die Diskette.
Dialog: BOOTLOADER-INSTALLATION, Option ORT DES BOOTLOADERS.
Gruß
 

panamajo

Guru
cipoint schrieb:
Ich möchte wenigstens die Seagate HDD alleine bootfähig machen, sodass ich per F8 beim BIOS-Check auswählen kann, von welcher Platte ich starten möchte.

Dann muss das System bei der Installation/Konfiguration auch mit der gewünschten BIOS Einstellung gestartet werden.
 
OP
C

cipoint

Newbie
Hier schonmal die detaillierteFehlermeldung:


linux.jpg
 

admine

Ultimate Guru
Deine /etc/grub.conf stimmt nicht ... da sollte nichts mit /dev/hdc oder ähnlich stehen.
Damit kann Grub nichts anfangen.
Richtig wäre für /dev/hdc1 etwas in der Art (hdX,0) ... Wobei du das X entsprechend deiner /boot/grub/device.map anpassen musst.
 
OP
C

cipoint

Newbie
towo schrieb:
Was versprichst Du Dir eigentlich von diesem sinnlosen Fake-Raid?

Etwa 100MB/s, gemessen ...
Außerdem ist da Windows und viele andere Daten drauf. Ich kann das RAID-System also nicht einfach umkonfigurieren.

admine schrieb:
Deine /etc/grub.conf stimmt nicht ... da sollte nichts mit /dev/hdc oder ähnlich stehen.
Damit kann Grub nichts anfangen.
Richtig wäre für /dev/hdc1 etwas in der Art (hdX,0) ... Wobei du das X entsprechend deiner /boot/grub/device.map anpassen musst.

Ähm, ich beschäftige mich erst seit drei Tagen mit Linux. Deshalb mag dein Vorschlag die Lösung sein, aber ich habe leider nichts verstanden.
Muss ich das während der Installation ändern oder im Linux? Und wie mache ich das?

edit: Auf Diskette will der auch nichts packen. Gleiche Fehlermeldung ...
 

admine

Ultimate Guru
cipoint schrieb:
admine schrieb:
Deine /etc/grub.conf stimmt nicht ... da sollte nichts mit /dev/hdc oder ähnlich stehen.
Damit kann Grub nichts anfangen.
Richtig wäre für /dev/hdc1 etwas in der Art (hdX,0) ... Wobei du das X entsprechend deiner /boot/grub/device.map anpassen musst.

Ähm, ich beschäftige mich erst seit drei Tagen mit Linux. Deshalb mag dein Vorschlag die Lösung sein, aber ich habe leider nichts verstanden.
Muss ich das während der Installation ändern oder im Linux? Und wie mache ich das?
Du solltest o.g. Files während der Installation ändern können.
Mich wundert nur, warum das überhaupt passiert ... :roll:

Wie Grub Platten und Partitionen bezeichnet, findest du hier:
http://wiki.linux-club.de/GRUB
 

admine

Ultimate Guru
cipoint schrieb:
Ok, ich habe es ins Linux geschafft. Kann ich nun von hieraus etwas anstellen?
Ähm ... die Probleme mit dem Bootloader bestehen noch?
Dann poste:
Code:
fdisk -l (kleines L),
cat /etc/fstab
cat /boot/grub/menu.lst
cat /boot/grub/device.map
/etc/grub.conf
 
OP
C

cipoint

Newbie
admine schrieb:
cipoint schrieb:
Ok, ich habe es ins Linux geschafft. Kann ich nun von hieraus etwas anstellen?
Ähm ... die Probleme mit dem Bootloader bestehen noch?
Dann poste:
Code:
fdisk -l (kleines L),
cat /etc/fstab
cat /boot/grub/menu.lst
cat /boot/grub/device.map
/etc/grub.conf

wo befindet sich fdisk?

grub.conf
setup --stage2=/boot/grub/stage2 (/dev/hdc,1) (/dev/hdc,1)
setup --stage2=/boot/grub/stage2 (hd0) (/dev/hdc,1)
quit

menu.lst
# Modified by YaST2. Last modification on Di Sep 25 22:05:29 CEST 2007
default 0
timeout 8
gfxmenu (/dev/hdc,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
root (/dev/hdc,1)
kernel /boot/vmlinuz root=/dev/hdc2 vga=0x317 resume=/dev/hdc1 splash=silent showopts
initrd /boot/initrd

device.map
(fd0) /dev/fd0

cat etc/fstab
/dev/hdc2 / ext3 acl,user_xattr 1 1
/dev/hdc3 /home ext3 acl,user_xattr 1 2
/dev/mapper/isw_dchcjbidce_RAID_Volume1_part1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/isw_dchcjbidce_RAID_Volume1_part2 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/isw_dchcjbidce_RAID_Volume1_part3 /windows/E ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/mapper/isw_dchcjbidce_RAID_Volume1_part4 /windows/F ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdc1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
 

admine

Ultimate Guru
cipoint schrieb:
wo befindet sich fdisk?
Das ist ein Befehl/Kommando ... bitte als root eingeben und Ausgabe posten.
cipoint schrieb:
Code:
grub.conf
setup --stage2=/boot/grub/stage2 (/dev/hdc,1) (/dev/hdc,1)
setup --stage2=/boot/grub/stage2 (hd0) (/dev/hdc,1)
quit
Hier wie schon erwähnt, sollte das /dev/hdc1 verschwinden.

cipoint schrieb:
Code:
menu.lst
# Modified by YaST2. Last modification on Di Sep 25 22:05:29 CEST 2007
default 0
timeout 8
gfxmenu (/dev/hdc,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
    root (/dev/hdc,1)
    kernel /boot/vmlinuz root=/dev/hdc2 vga=0x317 resume=/dev/hdc1 splash=silent showopts
    initrd /boot/initrd
Auch hier gibts Stellen, an denen das /dev/hdc1 falsch ist.
cipoint schrieb:
Code:
device.map
(fd0)	/dev/fd0
Und hier fehlt nun /dev/hdc ... das ist auch nicht rchtig bzw. vollständig.

Also deine Bootloader-Installation ist ganz schön "daneben".
 
OP
C

cipoint

Newbie
fdisk -l

Disk /dev/hdc: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 262 2104483+ 82 Linux swap / Solaris
/dev/hdc2 * 263 2126 14972580 83 Linux
/dev/hdc3 2127 4865 22001017+ 83 Linux

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 2 12749 102398310 7 HPFS/NTFS
/dev/sda2 12750 25497 102398310 7 HPFS/NTFS
/dev/sda3 25498 31871 51199155 7 HPFS/NTFS
/dev/sda4 31872 38914 56572897+ 7 HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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

Disk /dev/dm-0: 320.0 GB, 320083329024 bytes
255 heads, 63 sectors/track, 38914 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/dm-0p1 * 2 12749 102398310 7 HPFS/NTFS
/dev/dm-0p2 12750 25497 102398310 7 HPFS/NTFS
/dev/dm-0p3 25498 31871 51199155 7 HPFS/NTFS
/dev/dm-0p4 31872 38914 56572897+ 7 HPFS/NTFS

Disk /dev/dm-1: 104.8 GB, 104855869440 bytes
255 heads, 63 sectors/track, 12748 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/dm-1p1 ? 110102 110577 3815730+ 6b Unknown
Partition 1 does not end on cylinder boundary.
/dev/dm-1p2 ? 113965 200777 697317940+ 75 PC/IX
Partition 2 does not end on cylinder boundary.
/dev/dm-1p3 ? 106997 106998 1286+ 41 PPC PReP Boot
Partition 3 does not end on cylinder boundary.
/dev/dm-1p4 175983 175986 26459 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/dm-2: 104.8 GB, 104855869440 bytes
255 heads, 63 sectors/track, 12748 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/dm-2p1 ? 110102 110577 3815730+ 6b Unknown
Partition 1 does not end on cylinder boundary.
/dev/dm-2p2 ? 113965 200777 697317940+ 75 PC/IX
Partition 2 does not end on cylinder boundary.
/dev/dm-2p3 ? 106997 106998 1286+ 41 PPC PReP Boot
Partition 3 does not end on cylinder boundary.
/dev/dm-2p4 175983 175986 26459 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/dm-3: 52.4 GB, 52427934720 bytes
255 heads, 63 sectors/track, 6374 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/dm-3p1 ? 110102 110577 3815730+ 6b Unknown
Partition 1 does not end on cylinder boundary.
/dev/dm-3p2 ? 113965 200777 697317940+ 75 PC/IX
Partition 2 does not end on cylinder boundary.
/dev/dm-3p3 ? 106997 106998 1286+ 41 PPC PReP Boot
Partition 3 does not end on cylinder boundary.
/dev/dm-3p4 175983 175986 26459 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/dm-4: 57.9 GB, 57930647040 bytes
255 heads, 63 sectors/track, 7043 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/dm-4p1 ? 110102 110577 3815730+ 6b Unknown
Partition 1 does not end on cylinder boundary.
/dev/dm-4p2 ? 113965 200777 697317940+ 75 PC/IX
Partition 2 does not end on cylinder boundary.
/dev/dm-4p3 ? 106997 106998 1286+ 41 PPC PReP Boot
Partition 3 does not end on cylinder boundary.
/dev/dm-4p4 175983 175986 26459 0 Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
 

admine

Ultimate Guru
Teste folgende Änderungen/Ergänzungen (keine Garantie!):

/boot/grub/device.map:
Code:
(hd0)  /dev/hdc
(fd0)   /dev/fd0

/etc/grub.conf:
Code:
setup --stage2=/boot/grub/stage2 (hd0) (hd0,1)
quit

/boot/grub/menu.lst:
Code:
# Modified by YaST2. Last modification on Di Sep 25 22:05:29 CEST 2007
default 0
timeout 8
gfxmenu (hd0,1)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2
    root (hd0,1)
    kernel /boot/vmlinuz root=/dev/hdc2 vga=0x317 resume=/dev/hdc1 splash=silent showopts
    initrd /boot/initrd

Ändern kannst du das entweder als root mit einem Editor deiner Wahl oder aber über YaST - System - Konfiguration des Bootloaders
 
Oben