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: GRUB nenajde win xp  (Přečteno 2381 krát)

Konqueror

  • Návštěvník
  • Příspěvků: 18
GRUB nenajde win xp
« kdy: 06 Srpna 2010, 17:10:33 »
Ahoj,

dnes som nainštaloval Ubuntu 10.04. Okrem toho mám ešte win xp, ktorý mi však grub nezobrazil. Skúsil som teda sudo update-grub ale bez výsledku.

Ďakujem za rady.

Konqueror

  • Návštěvník
  • Příspěvků: 18
Re: GRUB nenajde win xp
« Odpověď #1 kdy: 07 Srpna 2010, 10:22:21 »
Skusil som z win xp recovery cd fixboot a fixmbr, teraz sa mi pre istotu nenacita nic. Vypis z boot info script:
Kód: [Vybrat]
                Boot Info Script 0.55    dated February 15th, 2010                   

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

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

sda1: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 10.04.1 LTS
    Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda3: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:  According to the info in the boot sector, sda5 starts
                       at sector 63.
    Operating System: 
    Boot files/dirs:   

sda6: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:  According to the info in the boot sector, sda6 starts
                       at sector 63.
    Operating System:  Windows XP
    Boot files/dirs:   

sda7: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda8: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files/dirs:   

sdb1: _________________________________________________________________________

    File system:       vfat
    Boot sector type:  Fat32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files/dirs:   

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

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *          2,048   198,150,143   198,148,096  83 Linux
/dev/sda3         198,152,190   781,401,599   583,249,410   f W95 Ext d (LBA)
/dev/sda5         393,464,043   598,260,599   204,796,557   7 HPFS/NTFS
/dev/sda6         598,260,663   781,401,599   183,140,937   7 HPFS/NTFS
/dev/sda7         198,152,192   207,915,007     9,762,816  82 Linux swap / Solaris
/dev/sda8         207,917,056   393,463,807   185,546,752  83 Linux


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 4063 MB, 4063232000 bytes
5 heads, 32 sectors/track, 49600 cylinders, total 7936000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot         Start           End          Size  Id System

/dev/sdb1    *          8,064     7,935,999     7,927,936   b W95 FAT32


blkid -c /dev/null: ____________________________________________________________

Device           UUID                                   TYPE       LABEL                         

/dev/loop0                                              squashfs                                 
/dev/sda1        ec424f85-19b5-499f-98ec-3bc5044c0f3c   ext4                                     
/dev/sda3: PTTYPE="dos"
/dev/sda5        22F4D0C8F4D09EFB                       ntfs                                     
/dev/sda6        72243B7E243B43FF                       ntfs                                     
/dev/sda7        76a4168a-ae31-4cc3-a1d7-23882fcd2385   swap                                     
/dev/sda8        b2d83f3d-c282-4fd2-9344-5b9a0967a472   ext4                                     
/dev/sda: PTTYPE="dos"
/dev/sdb1        BCBF-AC69                              vfat       PENDRIVE                     
/dev/sdb: PTTYPE="dos"

============================ "mount | grep ^/dev  output: ===========================

Device           Mount_Point              Type       Options

aufs             /                        aufs       (rw)
/dev/sdb1        /cdrom                   vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0       /rofs                    squashfs   (ro,noatime)


=========================== sda1/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
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
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
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
set locale_dir=($root)/boot/grub/locale
set lang=en
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/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=ec424f85-19b5-499f-98ec-3bc5044c0f3c ro   quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=ec424f85-19b5-499f-98ec-3bc5044c0f3c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=ec424f85-19b5-499f-98ec-3bc5044c0f3c ro   quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=ec424f85-19b5-499f-98ec-3bc5044c0f3c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set ec424f85-19b5-499f-98ec-3bc5044c0f3c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### 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 ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
/dev/sda1       /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda8 during installation
UUID=b2d83f3d-c282-4fd2-9344-5b9a0967a472 /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=76a4168a-ae31-4cc3-a1d7-23882fcd2385 none            swap    sw              0       0

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


  98.9GB: boot/grub/core.img
  90.7GB: boot/grub/grub.cfg
  98.9GB: boot/initrd.img-2.6.32-21-generic
  99.0GB: boot/initrd.img-2.6.32-24-generic
  98.9GB: boot/vmlinuz-2.6.32-21-generic
  98.9GB: boot/vmlinuz-2.6.32-24-generic
  99.0GB: initrd.img
  98.9GB: initrd.img.old
  98.9GB: vmlinuz
  98.9GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda3

00000000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
000001b0  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff 00 fe  |................|
000001c0  ff ff 07 fe ff ff ed 38  a4 0b 8d f2 34 0c 00 fe  |.......8....4...|
000001d0  ff ff 05 fe ff ff 7a 2b  d9 17 88 82 ea 0a 00 00  |......z+........|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB nenajde win xp
« Odpověď #2 kdy: 07 Srpna 2010, 10:57:41 »
Obnov Grub podle tohoto návodu.
Windows ti to nenajde, protože na daném oddíle nevidí žádné bootovací soubory (typu /boot.ini /ntldr /NTDETECT.COM), nevíš proč? Dále: máš XP na sda5 nebo sda6?
http://www.openstreetmap.org - mapy celého světa "wiki style"

Konqueror

  • Návštěvník
  • Příspěvků: 18
Re: GRUB nenajde win xp
« Odpověď #3 kdy: 07 Srpna 2010, 14:03:01 »
Xp je na sda6, len nechapem preco uz nenabootuje ani linux.

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB nenajde win xp
« Odpověď #4 kdy: 07 Srpna 2010, 17:27:12 »
Obnovil jsi Grub, jak jsem psal? Pokud ano, a nefunguje, dej tu znovu výstup z boot_info_script.
http://www.openstreetmap.org - mapy celého světa "wiki style"

Konqueror

  • Návštěvník
  • Příspěvků: 18
Re: GRUB nenajde win xp
« Odpověď #5 kdy: 07 Srpna 2010, 19:33:34 »
Zajtra ked pridem domov napisem.

Konqueror

  • Návštěvník
  • Příspěvků: 18
Re: GRUB nenajde win xp
« Odpověď #6 kdy: 10 Srpna 2010, 20:35:31 »
Fajn Ubuntu uz nabootuje v pohode, takze sa vraciam na zaciatok. Co teda s tym winom? :/

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB nenajde win xp
« Odpověď #7 kdy: 11 Srpna 2010, 00:12:58 »
OK, takže teď v Ubuntu když najedeš na horní liště na Místa → Výměnná média, a klikneš na ten oddíl s Win (sda6?), vidíš tam Win soubory, speciálně /boot.ini, /ntldr, /NTDETECT.COM?
http://www.openstreetmap.org - mapy celého světa "wiki style"

Konqueror

  • Návštěvník
  • Příspěvků: 18
Re: GRUB nenajde win xp
« Odpověď #8 kdy: 13 Srpna 2010, 15:28:56 »
No nie su tam, preto som skusal fixboot...

arrange

  • Závislák
  • ***
  • Příspěvků: 4031
  • "jdu s hlavou vztyčenou..."
Re: GRUB nenajde win xp
« Odpověď #9 kdy: 13 Srpna 2010, 17:40:21 »
Není tam nic, nebo jen ty zmíněné soubory?
Jak ty oddíly vypadaly před tím, než jsi nainstaloval Ubuntu?
http://www.openstreetmap.org - mapy celého světa "wiki style"

Konqueror

  • Návštěvník
  • Příspěvků: 18
Re: GRUB nenajde win xp
« Odpověď #10 kdy: 13 Srpna 2010, 17:45:18 »
No nie su tam tie bootovacie subory, nechapem ako to mohlo predtym v pohode bootovat alebo teda ako sa z nicoho nic zmazali.

jAster_BA

  • Závislák
  • ***
  • Příspěvků: 4165
  • FEI STU stole my soul, don't have time anymore :/
Re: GRUB nenajde win xp
« Odpověď #11 kdy: 15 Srpna 2010, 13:43:37 »
nestacilo by kebyze mu to hodim na rapid a on si to tam prenese?
Mám doma všelijaké staré haraburdy ale najviac ma *censored*tie novšie s grafikou ATI/AMD... registered as user #520570

Linuxové počítadlo Automatická kompilácia jadra

 

Provoz zaštiťuje spolek OpenAlt.