GRUB nie widzi Ubuntu

Wyłącznie system! Wątpliwości dotyczące aplikacji proszę umieszczać niżej, w odpowiednich forach.
qampana
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 03 cze 2011, 13:44
Wersja Ubuntu: 11.04
Architektura: x86

GRUB nie widzi Ubuntu

Post autor: qampana »

Witam.
Mam taki problem. Dokonałem aktualizacji Ubuntu do wersji 11.04.
Po restarcie komputera GRUB widzi tylko Windowsa XP a nie widzi Ubuntu.
Proszę o pomoc jak rozwiązać ten problem.
WinXp mam na dysku C, a Ubuntu na innym dysku D.
Awatar użytkownika
igotit4free
Przyjaciel
Przyjaciel
Posty: 6453
Rejestracja: 29 paź 2008, 22:51
Płeć: Mężczyzna
Architektura: x86_64
Lokalizacja: KRK

Re: GRUB nie widzi Ubuntu

Post autor: igotit4free »

Uruchom komputer z LiveCD lub LiveUSB i wykonaj w terminalu:

Kod: Zaznacz cały

sudo fdisk -l
wklej tu wynik.
Ściągnij skrypt, o którym mowa w tym temacie i sprawdź, gdzie masz Ubuntu i GRUBa oraz jak je połączyć w funkcjonalną całość.
Windows 10 @ GA-P67A-D3-B3, i3-2100 3.10GHz, 8GB RAM, Gigabyte HD6850 1GB RAM
Android 7.0 @ Motorola Moto G4+
qampana
Piegowaty Guziec
Piegowaty Guziec
Posty: 2
Rejestracja: 03 cze 2011, 13:44
Wersja Ubuntu: 11.04
Architektura: x86

Re: GRUB nie widzi Ubuntu

Post autor: qampana »

Kod: Zaznacz cały

                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and uses an 
    embedded config file:
    
    ---------------------------------------------------------------------------
    search.fs_uuid 2058ee97-7e93-47ef-b3a3-1b2a86844d43 root 
    set 
    prefix=($root)/boot/grub---------------------------------------------------
    -----------------------------.
 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 6 for (,msdos6)/boot/grub.

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

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   According to the info in the boot sector, sdb5 starts 
                       at sector 0.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Dysk /dev/sda: 41.1 GB, bajtów: 41110142976
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 4998, w sumie sektorów: 80293248
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63    80,276,804    80,276,742   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Dysk /dev/sdb: 320.1 GB, bajtów: 320072933376
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 38913, w sumie sektorów: 625142448
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *             63   309,267,314   309,267,252   7 NTFS / exFAT / HPFS
/dev/sdb2         309,267,381   625,141,759   315,874,379   f W95 Extended (LBA)
/dev/sdb5         309,267,383   527,143,938   217,876,556   7 NTFS / exFAT / HPFS
/dev/sdb6         527,144,960   624,955,391    97,810,432  83 Linux
/dev/sdb7         624,957,440   625,141,759       184,320  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        ACC0628EC0625F18                       ntfs       
/dev/sdb1        7B7E12164B2F3DDE                       ntfs       
/dev/sdb5        4E4091BB40DBE0DE                       ntfs       
/dev/sdb6        2058ee97-7e93-47ef-b3a3-1b2a86844d43   ext4       
/dev/sdb7        bf6105e0-c618-47b3-b45d-279e219bad85   swap       

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb5        /media/4E4091BB40DBE0DE  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sdb6        /media/2058ee97-7e93-47ef-b3a3-1b2a86844d43 ext4       (rw,nosuid,nodev,uhelper=udisks)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


================================ 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 Home Edition" /noexecute=optin /fastdetect

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

=========================== sdb6/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
  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 video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos6)'
search --no-floppy --fs-uuid --set=root 2058ee97-7e93-47ef-b3a3-1b2a86844d43
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos6)'
search --no-floppy --fs-uuid --set=root 2058ee97-7e93-47ef-b3a3-1b2a86844d43
set locale_dir=($root)/boot/grub/locale
set lang=pl_PL
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
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_os-prober_proxy ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
	insmod part_msdos
	insmod ntfs
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root ACC0628EC0625F18
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/10_os-prober_proxy ###

### BEGIN /etc/grub.d/20_linux_proxy ###
### END /etc/grub.d/20_linux_proxy ###
--------------------------------------------------------------------------------

=============================== sdb6/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
# / was on /dev/sdb6 during installation
UUID=2058ee97-7e93-47ef-b3a3-1b2a86844d43 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb7 during installation
UUID=bf6105e0-c618-47b3-b45d-279e219bad85 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 275.494731903 = 295.810215936  boot/grub/core.img                             1
 283.813064575 = 304.741957632  boot/grub/grub.cfg                             1
 252.567646027 = 271.192444928  boot/initrd.img-2.6.35-28-generic              1
 271.622573853 = 291.652517888  boot/initrd.img-2.6.38-8-generic               2
 275.499679565 = 295.815528448  boot/vmlinuz-2.6.35-28-generic                 1
 270.108703613 = 290.027012096  boot/vmlinuz-2.6.38-8-generic                  1
 271.622573853 = 291.652517888  initrd.img                                     2
 252.567646027 = 271.192444928  initrd.img.old                                 1
 270.108703613 = 290.027012096  vmlinuz                                        1
 275.499679565 = 295.815528448  vmlinuz.old                                    1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sdb2

00000000  b9 5c 95 90 c2 ee 9a c5  71 b3 fd f0 02 c5 0e 14  |.\......q.......|
00000010  b3 cd 19 ea 08 ca 09 01  89 7e d3 3a c7 fe c4 fa  |.........~.:....|
00000020  8b 9f 50 9f 90 b8 27 4c  19 c6 d6 1b ff 4f 49 89  |..P...'L.....OI.|
00000030  ea 1b 28 7b fe 7d 5a ff  dd e6 6e 9a b5 34 92 ee  |..({.}Z...n..4..|
00000040  54 bd e5 7f 63 f1 c9 1e  07 51 01 64 b4 96 1b b0  |T...c....Q.d....|
00000050  a8 da f8 bf c1 cb 76 a1  91 ce cf c2 5e 22 49 b1  |......v.....^"I.|
00000060  22 0c ae 53 c9 f8 55 54  8f ef 3e 7a d2 2e f0 8d  |"..S..UT..>z....|
00000070  17 ef f8 c9 bb b8 10 67  14 40 93 70 f1 ca 78 4c  |.......g.@.p..xL|
00000080  28 5c c6 5b 71 4a 09 c6  5c a1 e6 38 28 04 3f 13  |(\.[qJ..\..8(.?.|
00000090  6a e2 d2 4a 4e a9 da 2d  69 26 05 2b 39 b7 57 a0  |j..JN..-i&.+9.W.|
000000a0  da 3f 55 7c 72 9d fb ac  5c f9 79 34 df c7 f1 0b  |.?U|r...\.y4....|
000000b0  a4 50 f0 9a 78 d9 3a 89  86 ff d5 86 7a 97 ae da  |.P..x.:.....z...|
000000c0  b2 ac f9 31 33 af 6e 9a  67 86 92 f9 f9 a3 5b dd  |...13.n.g.....[.|
000000d0  5c 37 48 22 b5 78 87 6f  c5 26 0f d1 b8 9f 8d 38  |\7H".x.o.&.....8|
000000e0  f2 e9 ce 1c ea 0d 9a b4  39 0b ef 71 0f 2c 91 e3  |........9..q.,..|
000000f0  0f 3b 34 5b f2 2b 49 90  e6 3a 6b 59 e0 6d 04 c8  |.;4[.+I..:kY.m..|
00000100  f1 da d1 56 67 0b e1 22  70 45 c3 31 5b c7 78 ce  |...Vg.."pE.1[.x.|
00000110  c2 63 79 d3 45 04 81 2c  94 a3 a8 d0 e1 61 9a e7  |.cy.E..,.....a..|
00000120  81 de e9 97 87 d5 fd 34  71 88 c2 7b 68 fa 16 a0  |.......4q..{h...|
00000130  d7 f5 3a 95 20 05 14 43  7e 06 62 6b de f2 ba a8  |..:. ..C~.bk....|
00000140  11 77 bb 51 ca da 22 42  72 f2 ca 51 87 19 a0 37  |.w.Q.."Br..Q...7|
00000150  a9 88 26 02 d0 42 24 de  f4 2e 67 15 25 d0 49 f2  |..&..B$...g.%.I.|
00000160  91 41 ee b7 4e 86 74 f3  fb ef de f8 72 0b c6 fe  |.A..N.t.....r...|
00000170  59 ca 89 12 87 ce 6b 3d  3c 9e ca 20 10 26 2f dd  |Y.....k=<.. .&/.|
00000180  17 76 dd fd 64 bc ee 31  6d b5 18 ed 18 92 b2 78  |.v..d..1m......x|
00000190  14 84 94 22 31 9a f4 33  72 37 d4 76 96 ec 0c 4e  |..."1..3r7.v...N|
000001a0  24 53 c9 61 f5 a5 1f ec  52 b6 63 4a 17 e5 dc 25  |$S.a....R.cJ...%|
000001b0  67 75 10 80 6b 58 04 51  9c 6a 5c 5c 16 90 00 81  |gu..kX.Q.j\\....|
000001c0  c6 33 07 fe ff ff 02 00  00 00 4c 88 fc 0c 00 fe  |.3........L.....|
000001d0  ff ff 05 fe ff ff 4e 88  fc 0c fd 7b d4 05 00 00  |......N....{....|
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


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

unlzma: Decoder error




Taki mam text po ściągnięciu tego skryptu. Ale co dalej??
xaoc
Piegowaty Guziec
Piegowaty Guziec
Posty: 28
Rejestracja: 06 maja 2010, 15:54
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: Unity
Architektura: x86
Kontakt:

Re: GRUB nie widzi Ubuntu

Post autor: xaoc »

Najlepsze i najszybsze rozwiazanie z live cd: http://debian.linux.pl/threads/24705-Na ... post144063

Powodzenia.
ODPOWIEDZ

Wróć do „Instalacja, aktualizacja i konfiguracja Ubuntu”

Kto jest online

Użytkownicy przeglądający to forum: Google [Bot] i 32 gości