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

Probleme beim Booten von Windows7 über Grub2



Hallo Liste,

ich nutze auf meiner Maschine sowohl Debian squeeze als auch Windows7
Leider bereitet mir das Booten vom m$ Windows7 ausm Grub raus immer Schwierigkeiten - kurz es klappt nicht.
Es erscheint folgende Fehlermeldung:
"No such partition..."
Ich habe mich schon durch einige Foren durchgewühlt allerdings keine passende Antwort gefunden. Deswegen hier die Anfrage an euch...
Hier noch ein paar Daten...
Im System sind 2 S-ATA Platten verbaut.
Eine mit 500 GB für meine 2 Windows Partionen und eine mit 300 GB auf der u.a. das Linux installiert ist, neben einer FAT32 Partition und einer weiteren NTFS die für andere Zwecke benötigt wird.
'parted print all' spuckt folgendes aus:

(parted) print all
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  262GB  262GB  primary  ntfs         boot
 2      262GB   500GB  238GB  primary  ntfs


Model: ATA Maxtor 6L300S0 (scsi)
Disk /dev/sdb: 300GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags 1 17,4kB 134MB 134MB Microsoft reserved partition msftres
 2      135MB   195GB  195GB   ntfs            Basic data partition
 3      195GB   255GB  60,0GB  ext3
 4      255GB   265GB  10,0GB  linux-swap(v1)
5 265GB 280GB 15,0GB fat32 msftres


Auf /dev/sbd3 liegt das Debian, /dev/sdb4 ist die Swap.

Hier auch noch der Inhalt von cat/boot/grub/grub.cfg:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}
insmod ext2
set root=(hd1,3)
search --no-floppy --fs-uuid --set bc1192ba-c412-4150-aeea-556f1c98c7bb
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set locale_dir=/boot/grub/locale
set lang=de
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd1,3)
search --no-floppy --fs-uuid --set bc1192ba-c412-4150-aeea-556f1c98c7bb
insmod png
if background_image /usr/share/images/desktop-base/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686" {
    insmod ext2
    set root=(hd1,3)
    search --no-floppy --fs-uuid --set bc1192ba-c412-4150-aeea-556f1c98c7bb
    echo    Loading Linux 2.6.32-3-686 ...
linux /boot/vmlinuz-2.6.32-3-686 root=UUID=bc1192ba-c412-4150-aeea-556f1c98c7bb ro quiet
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.32-3-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-3-686 (recovery mode)" {
    insmod ext2
    set root=(hd1,3)
    search --no-floppy --fs-uuid --set bc1192ba-c412-4150-aeea-556f1c98c7bb
    echo    Loading Linux 2.6.32-3-686 ...
linux /boot/vmlinuz-2.6.32-3-686 root=UUID=bc1192ba-c412-4150-aeea-556f1c98c7bb ro single
    echo    Loading initial ramdisk ...
    initrd    /boot/initrd.img-2.6.32-3-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root=(hd0,1)
    search --no-floppy --fs-uuid --set d4b6d83cb6d820b2
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

Am grub.cfg hab ich nichts dran geändert, da zumindest augenscheinlich alles zu stimmen scheint.
Diese wurde über den automatischen Installer genieriert....

Und zu Guter letzt noch der print von blkid um die uuid's der Partitions zu checken:

/dev/sda1: UUID="D4B6D83CB6D820B2" TYPE="ntfs"
/dev/sda2: UUID="B42625AB26257012"  TYPE="ntfs"
/dev/sdb2: UUID="44B410DAB410D072" TYPE="ntfs"
/dev/sdb4: UUID="8db06ae7-1bd8-49a3-ba67-a7d3500e2cc4" TYPE="swap"
/dev/sdb5: UUID="6705-AD96" TYPE="vfat"
/dev/sdb3: UUID="bc1192ba-c412-4150-aeea-556f1c98c7bb" TYPE="ext3"

Da ich mich in den Grub2 noch nicht wirklich reingearbeitet habe, da mir einfach die Zeit fehlt, sind meine Kenntnisse was das angeht noch recht beschränkt. Bei dem alten grub-legacy hatte ich keine Probleme mit der Konfiguration Nun die frage an euch, hat irgendwer eine Ahnung wie man das Bootproblem lösen könnte und ich mein Win7 über den Grub starten könnte??

Danke für eure Antworten !

MfG

S. Naprava



Reply to: