GRUB2 XP wird nicht gelistet

ThYpHoOn

Cadet 4th Year
Registriert
Feb. 2007
Beiträge
96
Moin,

hab auf einem Acer Aspire 3620 eine Windows XP installation um Linux Mint erweitert. Nun wird im GRUB2 Menu allerdings nur /dev/sda1 als Windows erkannt was allerdings diese Rescue-Partition von Acer ist. Die Windows Partition ist under Linux Mint als /dev/sda5 gemounted. Die Mint installation ist unter /dev/sda3. Wie kann ich nun bei Grub die Windows Partition hinzufügen? Gibt bei Grub2 keine /boot/grub/menu.lst mehr, hab da irgendwas mal wieder nich mitbekommen :S

sudo fdisk -l /dev/sda
Code:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34fe34fd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         408     3277228+  12  Compaq diagnostics
/dev/sda2   *         409        3772    27020821+   f  W95 Ext'd (LBA)
/dev/sda3            3773        7295    28298497+  83  Linux
/dev/sda5             409        3182    22274314    7  HPFS/NTFS
/dev/sda6            3182        3740     4483072   83  Linux
/dev/sda7            3740        3772      262144   82  Linux swap / Solaris

sudo grub-mkconfig:
Code:
Generating grub.cfg ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
  set have_grubenv=true
  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
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
set locale_dir=($root)/boot/grub/locale
set lang=de
insmod gettext
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
Found Debian background: linuxmint.png
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
insmod png
if background_image /boot/grub/linuxmint.png ; then
  set color_normal=white/black
  set color_highlight=white/light-gray
else
  set menu_color_normal=white/black
  set menu_color_highlight=white/light-gray
fi
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sda3)' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=4851be97-0045-44cc-8adf-04294fdfcd05 ro   quiet splash
	initrd	/boot/initrd.img-2.6.35-22-generic
}
menuentry 'Linux Mint 10, 2.6.35-22-generic (/dev/sda3) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
	echo	'Loading Linux 2.6.35-22-generic ...'
	linux	/boot/vmlinuz-2.6.35-22-generic root=UUID=4851be97-0045-44cc-8adf-04294fdfcd05 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
Found memtest86+ image: /boot/memtest86+.bin
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos3)'
	search --no-floppy --fs-uuid --set 4851be97-0045-44cc-8adf-04294fdfcd05
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
Found Windows NT/2000/XP on /dev/sda1
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
	insmod part_msdos
	insmod fat
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set 0e4e-05ce
	drivemap -s (hd0) ${root}
	chainloader +1
}
Found Linux Mint 10 Julia (10) on /dev/sda6
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
done

Greetz, ThYpHoOn
 
Zuletzt bearbeitet:
schau dir mal die Datei "/boot/grub/grub.cfg" an diese hat die menu.lst ersetzt
 
Fonce schrieb:
schau dir mal die Datei "/boot/grub/grub.cfg" an diese hat die menu.lst ersetzt

:daumen:
Code:
cat /boot/grub/grub.cfg
Code:
#
# 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
#

...

@ThYpHoOn:
 
Naja, bei mir hats bis jetzt nie Probleme gegeben wenn ich da was geändert hab.Einzig wenn es ein Kernelupdate gibt, dann muss man den Eintrag noch mal ändern.
 
Zurück
Oben