Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Problém s grubem2 - zřejmě jsem jej nainstaloval do bootovacího sektoru :( [vyřešeno]  (Přečteno 821 krát)

clovek1

  • Návštěvník
  • Příspěvků: 2
Zdravím lidi,

vím že už se to tu několikrát řešilo, ale vážně si stím nevím rady a nerad bych to řešil přeinstalcí systémů (winXP a LinuxMint). Prosím o pomoc přikládám výpis z boot_info_skryptu:

Kód: [Vybrat]
#                  Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => Windows is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /boot.ini /ntldr /NTDETECT.COM /boot/grub/core.img

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:   Grub2 (v1.99) is installed in the boot sector of sda2
                       and looks at sector 201351160 of the same hard drive
                       for core.img. core.img is at this location and looks
                       for  on this drive.
    Operating System:  Linux Mint Xfce Edition
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 119.9 GB, 119897805824 bytes
255 heads, 63 sectors/track, 14576 cylinders, total 234175402 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   192,490,829   192,490,767   7 NTFS / exFAT / HPFS
/dev/sda2         192,493,568   234,174,463    41,680,896  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        10FCB834FCB815C6                       ntfs       
/dev/sda2        412a641d-048e-4fcd-a9ea-eacef6e3597b   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda2        /                        ext4       (rw,errors=remount-ro,commit=0)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect

--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/core.img                             1

=========================== sda2/boot/grub/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
  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 load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(/dev/sda,msdos2)'
  search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
  set locale_dir=($root)/boot/grub/locale
  set lang=cs_CZ
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
insmod png
if background_image /boot/grub/linuxmint.png; then
  true
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/06_mint_theme ###
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
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 ###
menuentry 'LinuxMint GNU/Linux, with Linux 3.0.0-1-486' --class linuxmint --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
echo 'Loading Linux 3.0.0-1-486 ...'
linux /boot/vmlinuz-3.0.0-1-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro  quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-1-486
}
menuentry 'LinuxMint GNU/Linux, with Linux 3.0.0-1-486 (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
echo 'Loading Linux 3.0.0-1-486 ...'
linux /boot/vmlinuz-3.0.0-1-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-1-486
}
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.39-2-486' --class linuxmint --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
echo 'Loading Linux 2.6.39-2-486 ...'
linux /boot/vmlinuz-2.6.39-2-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro  quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.39-2-486
}
menuentry 'LinuxMint GNU/Linux, with Linux 2.6.39-2-486 (recovery mode)' --class linuxmint --class gnu-linux --class gnu --class os {
insmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos2)'
search --no-floppy --fs-uuid --set=root 412a641d-048e-4fcd-a9ea-eacef6e3597b
echo 'Loading Linux 2.6.39-2-486 ...'
linux /boot/vmlinuz-2.6.39-2-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.39-2-486
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "LinuxMint GNU/Linux, with Linux 3.0.0-1-486 (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 10FCB834FCB815C6
linux /boot/vmlinuz-3.0.0-1-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro quiet
initrd /boot/initrd.img-3.0.0-1-486
}
menuentry "LinuxMint GNU/Linux, with Linux 3.0.0-1-486 (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 10FCB834FCB815C6
linux /boot/vmlinuz-3.0.0-1-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro single
initrd /boot/initrd.img-3.0.0-1-486
}
menuentry "LinuxMint GNU/Linux, with Linux 2.6.39-2-486 (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 10FCB834FCB815C6
linux /boot/vmlinuz-2.6.39-2-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro quiet
initrd /boot/initrd.img-2.6.39-2-486
}
menuentry "LinuxMint GNU/Linux, with Linux 2.6.39-2-486 (recovery mode) (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 10FCB834FCB815C6
linux /boot/vmlinuz-2.6.39-2-486 root=UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b ro single
initrd /boot/initrd.img-2.6.39-2-486
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=412a641d-048e-4fcd-a9ea-eacef6e3597b / ext4 rw,errors=remount-ro 0 1
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  96.011741638 = 103.091822592  boot/grub/core.img                             1
  96.011768341 = 103.091851264  boot/grub/grub.cfg                             1
  92.455715179 = 99.273568256   boot/initrd.img-2.6.39-2-486                   2
 104.280273438 = 111.970091008  boot/initrd.img-3.0.0-1-486                    2
  95.916809082 = 102.989889536  boot/vmlinuz-2.6.39-2-486                      1
 102.903621674 = 110.491922432  boot/vmlinuz-3.0.0-1-486                       1
 104.280273438 = 111.970091008  initrd.img                                     2
  92.455715179 = 99.273568256   initrd.img.old                                 2
 102.903621674 = 110.491922432  vmlinuz                                        1
  95.916809082 = 102.989889536  vmlinuz.old                                    1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb

=============================== StdErr Messages: ===============================

unlzma: Decoder error

Děkuji za pomoc
« Poslední změna: 18 Prosince 2011, 16:07:17 od daysleeper »

phplus

  • Stálý člen
  • **
  • Příspěvků: 1426
  • MSI ATI Radeon 7860, NVIDIA GeForce GTX 650
Mohl bys to dát alespoň do závorek.

daysleeper

  • Stálý člen
  • **
  • Příspěvků: 1206
Přeinstaluj Grub - nemáš ho v MBR, takže se automaticky nespustí, viz tento návod na obnovu Grubu.

clovek1

  • Návštěvník
  • Příspěvků: 2
Přeinstaluj Grub - nemáš ho v MBR, takže se automaticky nespustí, viz tento návod na obnovu Grubu.

Děkuji za odpovědi, postupoval jsem dle návodu v odkazu, první pokus selhal na druhý se to povedlo, děkuji :D

 

Provoz zaštiťuje spolek OpenAlt.