Instalacja UBUNTU 11.04 Niebiańska Nimfa

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
Franz_G
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 08 lis 2011, 15:38
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Instalacja UBUNTU 11.04 Niebiańska Nimfa

Post autor: Franz_G »

Witam
Zainstalowałem Ubuntu 11.04 i cieszę się szczęśliwym jej posiadaczem ;]
Jednakże po pierwszym uruchomieniu system zapytał się o aktualizacje do wesji 11.10 co tez uczyniłem...
Ściąganie i instalacja trwała coś koło 2 godzin.
Po restarcie pojawiło mi się czarne okno - takie jak do DOSu - (nie wiem jak to się fachowo nazywa) nie potrafiłem uruchomić zaktualizowanej wersji.
No dooobra....
Jako że na 2 dysku miałem Winde XP - uruchamiam XP ;]
Więc przy uruchamianiu XP pojawił się komunikat o braku pliku boot.ini
(Chciałbym zaznaczyć że przed aktualizacją XP działał)
Moje pytanie brzmi:
1. Co się stało?
2. Jak odzyskać XPka.( mam nadzieje że niebędzie mi potrzebny ale zawsze warto mieć coś w rezerwie)
Awatar użytkownika
hufca
Sędziwy Jeż
Sędziwy Jeż
Posty: 63
Rejestracja: 17 sie 2010, 20:32
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86

Re: Instalacja UBUNTU 11.04 Niebiańska Nimfa

Post autor: hufca »

Spróbuj włożyć płytę windowsa i zbootować z niej komputer. Później będziesz miał do wyboru instalacje, albo naprawianie systemu. Wciśnij 'R' (repair) i zaloguj się do konsoli. Później wpisz

Kod: Zaznacz cały

fixmbr
. a później

Kod: Zaznacz cały

fixboot
. lub coś podobnego (sprawdź poleceniem help). Po restarcie xp powinno działać.
namok
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1703
Rejestracja: 01 mar 2008, 12:21
Płeć: Mężczyzna
Wersja Ubuntu: 16.04
Środowisko graficzne: Unity
Architektura: x86_64
Kontakt:

Re: Instalacja UBUNTU 11.04 Niebiańska Nimfa

Post autor: namok »

@hufca spróbuj nie psuć systemu innym. Przetestuj to u siebie.
@Franz_G podaj wynik boot_info_script.
Franz_G
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 08 lis 2011, 15:38
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Instalacja UBUNTU 11.04 Niebiańska Nimfa

Post autor: Franz_G »

hm... Jeśli robie to dobrze wyskakuje komunikat :
bash: /adres/boot_info_script.sh: Niema takiego pliku ani katalogu
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Instalacja UBUNTU 11.04 Niebiańska Nimfa

Post autor: marcin1982 »

Pobierz paczkę boot_info_script na Pulpit. Prawy przycisk myszy => Rozpakuj tutaj. Otwórz konsolę, przejdź na Pulpit:

Kod: Zaznacz cały

cd Pulpit
Nadaj prawo do wykonywania plikowi boot_info_script.sh:

Kod: Zaznacz cały

sudo chmod a+x boot_info_script.sh
Uruchom skrypt:

Kod: Zaznacz cały

sudo bash boot_info_script.sh
Wynik zapisany w pliku RESULTS.TXT powstały na Pulpicie wstaw tutaj w tagach Code.
Franz_G
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 08 lis 2011, 15:38
Wersja Ubuntu: 10.10
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Instalacja UBUNTU 11.04 Niebiańska Nimfa

Post autor: Franz_G »

oto rezultat:

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 looks 
    for (,msdos1)/boot/grub on this drive.
 => Windows is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    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

sda2: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows XP
    Boot files:        /bootmgr /Boot/BCD /ntdetect.com

sdb2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    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 63. According to the info in the boot 
                       sector, sdb5 has 61436064 sectors, but according to 
                       the info from fdisk, it has 62910539 sectors.
    Operating System:  
    Boot files:        

sdb6: __________________________________________________________________________

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

sdb7: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:   According to the info in the boot sector, sdb7 starts 
                       at sector 63. According to the info in the boot 
                       sector, sdb7 has 85219792 sectors, but according to 
                       the info from fdisk, it has 87265079 sectors.
    Operating System:  
    Boot files:        

sdb8: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Dysk /dev/sda: 160.0 GB, bajtów: 160040803840
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 19457, w sumie sektorów: 312579695
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    *          2,048   292,149,247   292,147,200  83 Linux
/dev/sda2         292,151,294   312,576,704    20,425,411   5 Extended
/dev/sda5         300,528,018   312,576,704    12,048,687  82 Linux swap / Solaris
/dev/sda6         296,339,456   300,527,615     4,188,160  82 Linux swap / Solaris
/dev/sda7         292,151,296   296,337,407     4,186,112  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Dysk /dev/sdb: 160.0 GB, bajtów: 160040803840
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 19457, w sumie sektorów: 312579695
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   102,398,309   102,398,247   7 NTFS / exFAT / HPFS
/dev/sdb2         102,398,310   312,560,639   210,162,330   f W95 Extended (LBA)
/dev/sdb5         102,398,373   165,308,912    62,910,540   7 NTFS / exFAT / HPFS
/dev/sdb6         165,324,978   204,796,619    39,471,642   7 NTFS / exFAT / HPFS
/dev/sdb7         204,796,683   292,061,762    87,265,080   7 NTFS / exFAT / HPFS
/dev/sdb8         292,077,828   312,560,639    20,482,812   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        d1028b37-4e95-4585-a6a2-536a9b462fba   ext4       
/dev/sda5        018b705b-e170-40ca-84b7-88ca3a9b0951   swap       
/dev/sda6        8f6027ca-16d5-49d4-be1e-ca53a53f02a3   swap       
/dev/sda7        2ae4fd8c-4d50-401f-9f22-0861f7f66f11   swap       
/dev/sdb1        EEB4E241B4E20BC1                       ntfs       
/dev/sdb5        D4B84977B84958DE                       ntfs       Audio
/dev/sdb6        0C8008838008760C                       ntfs       Video
/dev/sdb7        2CA48C50A48C1E88                       ntfs       Instalki
/dev/sdb8        A6D09F74D09F4A07                       ntfs       Dokumenty

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

Device           Mount_Point              Type       Options

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


=========================== sda1/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/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=800x600
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
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 ###
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
  if background_color 44,0,30; then
    clear
  fi
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=d1028b37-4e95-4585-a6a2-536a9b462fba ro  splash vga=788  quiet splash vt.handoff=7
	initrd	/boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.38-8-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
	echo	'Loading Linux 2.6.38-8-generic ...'
	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=d1028b37-4e95-4585-a6a2-536a9b462fba ro single  splash vga=788
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root d1028b37-4e95-4585-a6a2-536a9b462fba
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sdb1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(/dev/sdb,msdos1)'
	search --no-floppy --fs-uuid --set=root EEB4E241B4E20BC1
	chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== 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
# / was on /dev/sda1 during installation
UUID=d1028b37-4e95-4585-a6a2-536a9b462fba /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda7 during installation
UUID=2ae4fd8c-4d50-401f-9f22-0861f7f66f11 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  60.135547638 = 64.570052608   boot/grub/core.img                             1
  98.335144043 = 105.586556928  boot/grub/grub.cfg                             1
   2.505435944 = 2.690191360    boot/initrd.img-2.6.38-8-generic               2
  60.133792877 = 64.568168448   boot/vmlinuz-2.6.38-8-generic                  1
   2.505435944 = 2.690191360    initrd.img                                     2
  60.133792877 = 64.568168448   vmlinuz                                        1

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

Unknown BootLoader on sda2

00000000  6a 2d cd 7e 09 cc 14 6e  6c 38 49 ef 0b 92 66 ad  |j-.~...nl8I...f.|
00000010  05 59 42 4f 8d 82 bf fb  b2 39 a3 90 8e 1b f9 5b  |.YBO.....9.....[|
00000020  f8 e5 b1 12 3d d1 a6 84  96 fa b3 77 c3 bc 80 1e  |....=......w....|
00000030  1b 3a 82 3d b2 24 53 e8  c7 c5 78 cc 74 04 bb e2  |.:.=.$S...x.t...|
00000040  52 d6 bf 78 13 8d 5d 94  db f7 be 84 9e b2 4d a5  |R..x..].......M.|
00000050  1f 8b 72 75 2b a7 8e 6e  8f 1a c9 1a 71 58 94 cf  |..ru+..n....qX..|
00000060  61 fe 75 b4 c2 89 91 6c  c9 fa 84 7f 71 9e 5d 55  |a.u....l....q.]U|
00000070  47 4f fb 3d b2 1f 1f 7f  23 a4 a7 99 0f 61 63 9e  |GO.=....#....ac.|
00000080  07 09 d7 bd 17 d2 43 85  6a 6c d0 dd 20 e1 37 0f  |......C.jl.. .7.|
00000090  3e 7d f4 90 4e 3f 6f e3  67 0b 68 37 77 7d 56 41  |>}..N?o.g.h7w}VA|
000000a0  2d 58 78 1f aa fe 8e e7  54 54 d2 42 17 7d 56 59  |-Xx.....TT.B.}VY|
000000b0  3e 58 f8 b0 ea 04 ed c1  d9 ec 1b 5f 61 7c 9c 3e  |>X........._a|.>|
000000c0  5e a9 c6 86 1a 06 ff 8b  7f a5 31 c7 e9 5e f5 21  |^.........1..^.!|
000000d0  ac 5e 47 f0 bf f6 28 56  ea 24 ad cf f9 39 25 2e  |.^G...(V.$...9%.|
000000e0  41 78 e4 65 15 3d e8 8a  36 2b 9e 97 20 34 d2 e3  |Ax.e.=..6+.. 4..|
000000f0  d3 82 eb da ec ed cc 04  61 49 34 9f 7e 56 a8 cd  |........aI4.~V..|
00000100  a2 83 a9 42 f7 d5 b5 b4  97 c1 e8 7e 1e 02 ee d6  |...B.......~....|
00000110  d2 ed 4a 5a 6c e6 a9 4c  a1 84 11 9f de fd 5b 93  |..JZl..L......[.|
00000120  5d 3c 74 bb f0 25 5b 45  ef 3a ac cd 3e 2c 4c 15  |]<t..%[E.:..>,L.|
00000130  ae ac 3d f5 77 7e ed 8c  53 f4 42 79 2d 36 ba 3e  |..=.w~..S.By-6.>|
00000140  f3 5f 39 73 aa fe 04 7d  20 7c 24 8b 38 bc 79 60  |._9s...} |$.8.y`|
00000150  05 ed fa 87 e7 70 89 72  7a e5 bc 11 ec e6 d0 4c  |.....p.rz......L|
00000160  a1 fb d8 53 f4 83 01 5a  6c a5 fa 76 a1 3b b7 ef  |...S...Zl..v.;..|
00000170  93 cc 46 b0 39 e7 b3 fe  95 03 a2 b9 21 9a 33 a1  |..F.9.......!.3.|
00000180  6f 53 69 e0 ee a9 f6 f9  67 9c 5a f6 67 d2 95 a7  |oSi.....g.Z.g...|
00000190  86 b2 c6 45 35 4e 9a e3  37 d0 a3 f7 88 b3 9f ef  |...E5N..7.......|
000001a0  1c 75 4a 9e b2 91 1e b1  64 20 9b 38 64 b7 53 a8  |.uJ.....d .8d.S.|
000001b0  4b 2a ed a5 f8 4b d8 f4  ed a0 93 9d 5f 61 00 fe  |K*...K......_a..|
000001c0  ff ff 82 fe ff ff 94 d1  7f 00 2f d9 b7 00 00 fe  |........../.....|
000001d0  ff ff 05 fe ff ff 02 e0  3f 00 00 f0 3f 00 00 00  |........?...?...|
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
Fajna sprawa;]

-- 14 lis 2011, o 09:57 --

Wznawiam temat ponieważ nie został rozwiązany a Winda by mi się przydała jednak...
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 40 gości