Sie sind nicht angemeldet.

1

27.02.2007, 11:33

grub - error 17

hallo zusammen!

der fehler sitzt bestimmt vor dem monitor, aber alleine finde ich das problem nicht.

PLEASE HELP!

startpunkt:
funktionierendes dual boot (xp und gentoo 2006.0 jackass) notebook mit 120 gb hdd

änderung:
neue platte 160gb. eingebaut und xp via cloning sw geclont. gentoo via stage4 (tar) eingepackt und restored. livecd gebootet und mit chroot betreten.

mount /dev/sda3 /mnt/gentoo/boot
mount /dev/first/home /mnt/gentoo/home
mount /dev/first/usr /mnt/gentoo/usr
mount /dev/first/var /mnt/gentoo/var
cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

dann grub neuinstallation:

grep -v rootfs /proc/mounts > /etc/mtab
grub-install /dev/sda --no-floppy --root-directory=/boot

alles umounten und reboot ergibt dann einen grub error 17.

error 17 ist:
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.

hier mein disklayout:

fdisk -l /dev/sda

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 * 1 2623 21069216 7 HPFS/NTFS
/dev/sda2 2624 18027 123732630 7 HPFS/NTFS
/dev/sda3 18028 18034 56227+ 83 Linux
/dev/sda4 18035 19457 11430247+ 5 Extended
/dev/sda5 18035 18157 987966 83 Linux
/dev/sda6 18158 18401 1959898+ 83 Linux
/dev/sda7 18402 19457 8482288+ 83 Linux

in der grub shell mit tab>tab

grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type unknown, partition type 0x7
Partition num: 2, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type unknown, partition type 0x83
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
Partition num: 6, Filesystem type unknown, partition type 0x83


so sieht meine grub.conf aus:

splashimage=(hd0,2)/boot/grub/splash.xpm.gz

# For booting Windows NT or Windows95
title Windooze XP
rootnoverify (hd0,0)
makeactive
chainloader +1

# For booting GNU/Gentoo
title Gentoo Linux 2006.0 wlan
root (hd0,2)
kernel (hd0,2)/boot/linux-2.6.17-gentoo-r8 root=/dev/sda6 video=vesafb:mtrr,ywrap,1024x768-32@60 splash=silent,fadein,theme:livecd-2006.0 CONSOLE=/dev/tty1 softlevel=wlan udev
initrd /boot/fbsplash-livecd-2006.1-1024x768

wo ist mein fehler????

danke und besten gruß!

2

27.02.2007, 11:48

RE: grub - error 17

was sagt ein fdisk?
Meine Rechtschreibfehler sind gewollt und unterliegen dem Copyright des Verfassers, es sei denn, sie sind explizit unter die GPL gestellt .....

Außerdem sind sie ein Ausdruck der Persönlichkeit des Schreibers!

3

27.02.2007, 11:56

RE: grub - error 17

hi!

fdisk?

hier der output von fdisk -l (siehe oben)

fdisk -l /dev/sda

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 * 1 2623 21069216 7 HPFS/NTFS
/dev/sda2 2624 18027 123732630 7 HPFS/NTFS
/dev/sda3 18028 18034 56227+ 83 Linux
/dev/sda4 18035 19457 11430247+ 5 Extended
/dev/sda5 18035 18157 987966 83 Linux
/dev/sda6 18158 18401 1959898+ 83 Linux
/dev/sda7 18402 19457 8482288+ 83 Linux

andere option von fdisk nötig?

lg

4

27.02.2007, 12:33

RE: grub - error 17

Sorry, überlesen.

Hast Du mal das Filesystem geprüft?
e2fsck

Hast Du die Partitionierung geändert oder beibehalten?

P.S. Blöde Frage: Du hast vor
mount /dev/sda3 /mnt/gentoo/boot
ein
mount /dev/sda6 /mnt/gentoo
Meine Rechtschreibfehler sind gewollt und unterliegen dem Copyright des Verfassers, es sei denn, sie sind explizit unter die GPL gestellt .....

Außerdem sind sie ein Ausdruck der Persönlichkeit des Schreibers!

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Wernieman« (27.02.2007, 12:33)


5

27.02.2007, 14:15

RE: grub - error 17

hi!

ja, auch die partitionierung habe ich geändert. bin auf lvm2 umgestiegen.
e2fsck ist clean.
der mount /mnt/gentoo ist auch drin. war die erste zeile die ich beim c+p vergessen habe.
vermute aber so einen trivialen fehler!

der fehler ist wahrscheinlich so doof, dass ich ihn nicht mehr sehe.

danke!

6

27.02.2007, 15:23

RE: grub - error 17

Hast Du mal probiert von einbem anderen System heraus dein System zu booten?
z.B. von der SuSE InstallCD? Die hat da einen menüpunkt "installiertes System booten"

lvm2? Muß da nicht noch was eingestellt werden?

P.S: Könntest Du mir bitte Deine fstab geben? Möchte mir ein Bild von dem System machen ...
Meine Rechtschreibfehler sind gewollt und unterliegen dem Copyright des Verfassers, es sei denn, sie sind explizit unter die GPL gestellt .....

Außerdem sind sie ein Ausdruck der Persönlichkeit des Schreibers!

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Wernieman« (27.02.2007, 15:24)