Grub nie wyświetla się po instalacji Linux Mint

Nie wiem jaka jest wersja w tym Mincie. Chyba 2 ale nie wiem.

Grub2 jest mincie. Tak wygląda mój grub.cfg z minta

#

# 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 /boot/grub/grubenv]; then

  have_grubenv=true

  load_env

fi

set default="0"

if [${prev_saved_entry}]; then

  saved_entry=${prev_saved_entry}

  save_env saved_entry

  prev_saved_entry=

  save_env prev_saved_entry

fi

insmod ext2

set root=(hd0,9)

search --no-floppy --fs-uuid --set d7e7ed99-18ac-46df-8b64-2be555fc15e7

if loadfont /usr/share/grub/unicode.pf2 ; then

set gfxmode=800x600

  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

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/white

### END /etc/grub.d/05_debian_theme ###


### BEGIN /etc/grub.d/06_mint_theme ###

set menu_color_normal=white/black

set menu_color_highlight=white/light-gray

### END /etc/grub.d/06_mint_theme ###


### BEGIN /etc/grub.d/10_linux ###

menuentry "Linux Mint 8 Helena x64, linux 2.6.31-17-generic (/dev/sda9)" {

        recordfail=1

        if [-n ${have_grubenv}]; then save_env recordfail; fi

	set quiet=1

	insmod ext2

	set root=(hd0,9)

	search --no-floppy --fs-uuid --set d7e7ed99-18ac-46df-8b64-2be555fc15e7

	linux	/boot/vmlinuz-2.6.31-17-generic root=UUID=d7e7ed99-18ac-46df-8b64-2be555fc15e7 ro vga=771 quiet splash

	initrd	/boot/initrd.img-2.6.31-17-generic

}

menuentry "Linux Mint 8 Helena x64, linux 2.6.31-17-generic (recovery mode)" {

        recordfail=1

        if [-n ${have_grubenv}]; then save_env recordfail; fi

	insmod ext2

	set root=(hd0,9)

	search --no-floppy --fs-uuid --set d7e7ed99-18ac-46df-8b64-2be555fc15e7

	linux	/boot/vmlinuz-2.6.31-17-generic root=UUID=d7e7ed99-18ac-46df-8b64-2be555fc15e7 ro single vga=771

	initrd	/boot/initrd.img-2.6.31-17-generic

}

### END /etc/grub.d/10_linux ###


### BEGIN /etc/grub.d/20_memtest86+ ###

menuentry "Memory test (memtest86+)" {

	linux16	/boot/memtest86+.bin

}

menuentry "Memory test (memtest86+, serial console 115200)" {

	linux16	/boot/memtest86+.bin console=ttyS0,115200n8

}

### END /etc/grub.d/20_memtest86+ ###


### BEGIN /etc/grub.d/30_os-prober ###

menuentry "Windows Vista (loader) (on /dev/sda1)" {

	insmod fat

	set root=(hd0,1)

	search --no-floppy --fs-uuid --set 800e-1b1c

	chainloader +1

}

menuentry "Windows 7 (loader) (on /dev/sda2)" {

	insmod ntfs

	set root=(hd0,2)

	search --no-floppy --fs-uuid --set f24cfd474cfd06df

	chainloader +1

}

menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (on /dev/sda6)" {

	insmod ext2

	set root=(hd0,6)

	search --no-floppy --fs-uuid --set 843a0f10-5f45-4e3b-832f-83f90dd20fef

	linux /boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=843a0f10-5f45-4e3b-832f-83f90dd20fef ro quiet

	initrd /boot/initrd.img-2.6.32-trunk-amd64

}

menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (recovery mode) (on /dev/sda6)" {

	insmod ext2

	set root=(hd0,6)

	search --no-floppy --fs-uuid --set 843a0f10-5f45-4e3b-832f-83f90dd20fef

	linux /boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=843a0f10-5f45-4e3b-832f-83f90dd20fef ro single

	initrd /boot/initrd.img-2.6.32-trunk-amd64

}

### 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 ###

i wyświetla menu. Szukam rozwiązania dlaczego nie wyświetla.

Już mi wyświetla się GRUB (napisałem). Sprobuję pokombinować z tym plikiem. Dzięki wszystkim (proszę nie zamykać z moim szczęściem nie powiedzie mi się ;( )

EDIT:

Wiedziałem! Nie zadziałało ;(. Wybieram WIndowsa (pojawił się) i piszę mi (nie pamiętam dokładnie) No such disk.

Moj pik 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 /boot/grub/grubenv]; then

  have_grubenv=true

  load_env

fi

set default="0"

if [${prev_saved_entry}]; then

  saved_entry=${prev_saved_entry}

  save_env saved_entry

  prev_saved_entry=

  save_env prev_saved_entry

fi

insmod ext2

set root=(hd0,7)

search --no-floppy --fs-uuid --set d3edc0ce-15b9-4090-8cac-593338b38fb0

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

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/white

### END /etc/grub.d/05_debian_theme ###


### BEGIN /etc/grub.d/06_mint_theme ###

Found Debian background: linuxmint.png

insmod ext2

set root=(hd0,7)

search --no-floppy --fs-uuid --set d3edc0ce-15b9-4090-8cac-593338b38fb0

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.31-14-generic

Found initrd image: /boot/initrd.img-2.6.31-14-generic

menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (/dev/sda7)" {

        recordfail=1

        if [-n ${have_grubenv}]; then save_env recordfail; fi

	set quiet=1

	insmod ext2

	set root=(hd0,7)

	search --no-floppy --fs-uuid --set d3edc0ce-15b9-4090-8cac-593338b38fb0

	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=d3edc0ce-15b9-4090-8cac-593338b38fb0 ro quiet splash

	initrd	/boot/initrd.img-2.6.31-14-generic

}

menuentry "Linux Mint 8 Helena, linux 2.6.31-14-generic (recovery mode)" {

        recordfail=1

        if [-n ${have_grubenv}]; then save_env recordfail; fi

	insmod ext2

	set root=(hd0,7)

	search --no-floppy --fs-uuid --set d3edc0ce-15b9-4090-8cac-593338b38fb0

	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=d3edc0ce-15b9-4090-8cac-593338b38fb0 ro single 

	initrd	/boot/initrd.img-2.6.31-14-generic

}

### END /etc/grub.d/10_linux ###


### BEGIN /etc/grub.d/20_memtest86+ ###

Found memtest86+ image: /boot/memtest86+.bin

menuentry "Memory test (memtest86+)" {

	linux16	/boot/memtest86+.bin

}

menuentry "Memory test (memtest86+, serial console 115200)" {

	linux16	/boot/memtest86+.bin console=ttyS0,115200n8

}

menuentry "Windows 7 (on /dev/sda5)" {

   insmod ntfs

   set root=(hd0,4)

   search --no-floppy --fs-uuid --set f24cfd474cfd06df

   chainloader +1

}


### END /etc/grub.d/20_memtest86+ ###


### BEGIN /etc/grub.d/30_os-prober ###

### 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 ###

Oraz screen z GParteda http://i50.tinypic.com/dg0614.png (Windows jest na sda5)

W grub2 liczy się od 1 w przeciwieństwie do jego poprzednika. Znajdź wpis z windowsem w swoim grubie i wlinijce

set root=(hd0,4)

zmień 4 na 5 bo tak wynika ze screena. Chyba, że partycję systemową masz na /dev/sda6 …

Sprobowałem i nadal to samo ;(

Bo masz wynik UUID dla mojej partycji i to na pewno nie pójdzie.

Daj:

sudo blkid

wynik:

/dev/sda1: UUID="35135228-13b4-4889-b911-ceb78c1a91cf" TYPE="swap" 

/dev/sda5: UUID="8A60D93A60D92E27" TYPE="ntfs" 

/dev/sda6: UUID="34D087BBD08781BA" TYPE="ntfs" 

/dev/sda7: UUID="d3edc0ce-15b9-4090-8cac-593338b38fb0" TYPE="ext4" 

/dev/sda8: UUID="3ed8c548-2ffe-4ac4-933e-9e3eb9c058fe" TYPE="ext4"

Więc wklejam 8A60D93A60D92E27 i reset włączam WIndows 7 nie ma błędu. Lecz miga takie _ i tyle. Probowałem jeszcze z drugą partycją NTFS i to samo.

EDIT: Coś mi się przypomniało. W instalatorze Minta przy partycji ktorą podzieliłem na Lina (był na niej Windows XP) pisało Windows 7 boot (czy coś w tym stylu) ale gdy dałem opcję recznego podzielenia dysku napis ten zniknął.