Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

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

Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: Franz_G »

Witam
Tak jak w tym temacie:
viewtopic.php?f=145&t=152806

Udało mi się ustalić że podczas instalacji Linuxa openSUSE miałem dostęp do Windy - jednakże jak instaluje Ubuntu niestety problem się powtarza.
Jak narazie Winda nie jest mi potrzebna ale tak na jakiś czas warto ją zostawić.

Pozdrawiam.
Awatar użytkownika
mucha090
Zakręcona Traszka
Zakręcona Traszka
Posty: 775
Rejestracja: 15 mar 2008, 11:05
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Brak
Architektura: x86_64
Lokalizacja: Kielce, Poland
Kontakt:

Re: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: mucha090 »

pobierz boot_info_script na dysk http://sourceforge.net/projects/bootinfoscript/ i go uruchom w terminalu a wynik wklej na forum, wtedy będziemy wiedzieć jakie masz partycje i przy okazji w jaki sposób zainstalowałeś tego ubuntu
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: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: Franz_G »

Proszę bardzo, oto rezultat:

Kod: Zaznacz cały

                  Boot Info Script 0.60    from 17 May 2011


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

 => Grub2 (v1.97-1.98) 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 in partition 1 for (,msdos1)/boot/grub.
 => Windows is installed in the MBR of /dev/sdb.
 => No boot loader? is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 10.10
    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:  

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:        

sdc1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  MSWIN4.1: FAT32
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________

Dysk /dev/sda: 160.0 GB, bajtów: 160041885696
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 19457, w sumie sektorów: 312581808
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   300,539,903   300,537,856  83 Linux
/dev/sda2         300,541,950   312,580,095    12,038,146   5 Extended
/dev/sda5         300,541,952   312,580,095    12,038,144  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Dysk /dev/sdb: 160.0 GB, bajtów: 160041885696
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 19457, w sumie sektorów: 312581808
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


Drive: sdc _____________________________________________________________________

Dysk /dev/sdc: 4063 MB, bajtów: 4063232000
głowic: 5, sektorów/ścieżkę: 32, cylindrów: 49600, w sumie sektorów: 7936000
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/sdc1    *          8,064     7,935,999     7,927,936   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        b4ad59f6-16c4-4e78-b035-0837bfa7479f   ext4       
/dev/sda5        6274f1ae-1ab3-43eb-8759-c93c4b48d038   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
/dev/sdc1        EF19-6EF2                              vfat       KINGSTON

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

Device           Mount_Point              Type       Options

/dev/sda1        /                        ext4       (rw,errors=remount-ro,commit=0)
/dev/sdc1        /media/KINGSTON          vfat       (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush)


=========================== 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 part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
set locale_dir=($root)/boot/grub/locale
set lang=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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
	linux	/boot/vmlinuz-2.6.35-30-generic root=UUID=b4ad59f6-16c4-4e78-b035-0837bfa7479f ro   quiet splash
	initrd	/boot/initrd.img-2.6.35-30-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
	echo	'Loading Linux 2.6.35-30-generic ...'
	linux	/boot/vmlinuz-2.6.35-30-generic root=UUID=b4ad59f6-16c4-4e78-b035-0837bfa7479f ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-30-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
	linux	/boot/vmlinuz-2.6.35-23-generic root=UUID=b4ad59f6-16c4-4e78-b035-0837bfa7479f ro   quiet splash
	initrd	/boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
	echo	'Loading Linux 2.6.35-23-generic ...'
	linux	/boot/vmlinuz-2.6.35-23-generic root=UUID=b4ad59f6-16c4-4e78-b035-0837bfa7479f ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.35-23-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='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set b4ad59f6-16c4-4e78-b035-0837bfa7479f
	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)" {
	insmod part_msdos
	insmod ntfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set 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=b4ad59f6-16c4-4e78-b035-0837bfa7479f /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=6274f1ae-1ab3-43eb-8759-c93c4b48d038 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)

 116.131912231 = 124.695691264  boot/grub/core.img                             1
   4.484252930 = 4.814929920    boot/grub/grub.cfg                             2
   1.446289062 = 1.552941056    boot/initrd.img-2.6.35-23-generic              2
   1.506168365 = 1.617235968    boot/initrd.img-2.6.35-30-generic              2
 116.137325287 = 124.701503488  boot/vmlinuz-2.6.35-23-generic                 1
 116.146606445 = 124.711469056  boot/vmlinuz-2.6.35-30-generic                 1
   1.506168365 = 1.617235968    initrd.img                                     2
   1.446289062 = 1.552941056    initrd.img.old                                 2
 116.146606445 = 124.711469056  vmlinuz                                        1
 116.137325287 = 124.701503488  vmlinuz.old                                    1

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

Unknown BootLoader on sda2

00000000  46 43 39 64 30 30 30 30  33 30 31 34 73 76 2a 73  |FC9d00003014sv*s|
00000010  64 2a 62 63 2a 73 63 2a  69 2a 00 00 00 00 00 00  |d*bc*sc*i*......|
00000020  61 6c 69 61 73 3d 70 63  69 3a 76 30 30 30 30 31  |alias=pci:v00001|
00000030  46 43 39 64 30 30 30 30  33 30 31 30 73 76 2a 73  |FC9d00003010sv*s|
00000040  64 2a 62 63 2a 73 63 2a  69 2a 00 00 00 00 00 00  |d*bc*sc*i*......|
00000050  61 6c 69 61 73 3d 70 63  69 3a 76 30 30 30 30 31  |alias=pci:v00001|
00000060  46 43 39 64 30 30 30 30  33 30 30 39 73 76 2a 73  |FC9d00003009sv*s|
00000070  64 2a 62 63 2a 73 63 2a  69 2a 00 00 00 00 00 00  |d*bc*sc*i*......|
00000080  64 65 70 65 6e 64 73 3d  00 00 00 00 00 00 00 00  |depends=........|
00000090  73 75 70 70 6f 72 74 65  64 3d 79 65 73 00 00 00  |supported=yes...|
000000a0  76 65 72 6d 61 67 69 63  3d 32 2e 36 2e 32 37 2e  |vermagic=2.6.27.|
000000b0  37 2d 39 2d 64 65 66 61  75 6c 74 20 53 4d 50 20  |7-9-default SMP |
000000c0  6d 6f 64 5f 75 6e 6c 6f  61 64 20 6d 6f 64 76 65  |mod_unload modve|
000000d0  72 73 69 6f 6e 73 20 00  00 00 00 00 00 00 00 00  |rsions .........|
000000e0  9b f9 c1 a7 00 00 00 00  73 74 72 75 63 74 5f 6d  |........struct_m|
000000f0  6f 64 75 6c 65 00 00 00  00 00 00 00 00 00 00 00  |odule...........|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000120  f0 f3 a1 d6 00 00 00 00  65 74 68 74 6f 6f 6c 5f  |........ethtool_|
00000130  6f 70 5f 67 65 74 5f 74  73 6f 00 00 00 00 00 00  |op_get_tso......|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000160  91 3e c5 a0 00 00 00 00  65 74 68 74 6f 6f 6c 5f  |.>......ethtool_|
00000170  6f 70 5f 67 65 74 5f 73  67 00 00 00 00 00 00 00  |op_get_sg.......|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  67 5f 0f 8c 00 00 00 00  65 74 68 74 6f 6f 6c 5f  |g_......ethtool_|
000001b0  6f 70 5f 67 65 74 5f 6c  69 6e 6b 00 00 00 00 fe  |op_get_link.....|
000001c0  ff ff 82 fe ff ff 02 00  00 00 00 b0 b7 00 00 00  |................|
000001d0  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


Co mam dalej robić?
Awatar użytkownika
mucha090
Zakręcona Traszka
Zakręcona Traszka
Posty: 775
Rejestracja: 15 mar 2008, 11:05
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Brak
Architektura: x86_64
Lokalizacja: Kielce, Poland
Kontakt:

Re: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: mucha090 »

3 rzeczy
1) po kiego tobie boot manager visty?
2) ty przecież nie masz pliku boot.ini
3) odłącz dysk na którym masz ubuntu, podłącz ten z windowsem i uruchom kompa z płytki instalacyjnej winxp i napraw boot managera winxp
a jak naprawić bootmgr winxp znajdziesz na google.pl

P.S.
wnioskuje to po tym

Kod: Zaznacz cały

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
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: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: Franz_G »

tak ale jak wpisze w wierszu poleceń podczas naprawy systemu fixmbr i fixboot to mi ubuntu potem wykrywać niebędzie

-- 18 lis 2011, o 11:35 --

Jeżeli będzie tak wykryje mi Ubuntu?

Kod: Zaznacz cały

[boot loader]
timeout=20
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(1)rdisk(0)partition(1)\WINDOWS="Windows XP" /fastdetect
Awatar użytkownika
mucha090
Zakręcona Traszka
Zakręcona Traszka
Posty: 775
Rejestracja: 15 mar 2008, 11:05
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Brak
Architektura: x86_64
Lokalizacja: Kielce, Poland
Kontakt:

Re: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: mucha090 »

ehhh..... ty masz gruba tak więc wystarczy że wyjmiesz z kompa dysk z ubuntu i podepniesz dysk z windowsem i zrobisz samo fixboot (to tobie naprawi bootloadera) bo jak nie będzie dysku z ubuntu to windows nic nie zrobi bo w komie dysku z Ubuntu fizycznie nie będzie:):)
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: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: namok »

Fixboot nie nadpisuje MBR. Robi to fixmbr. Ale oczywiście zawsze bezpieczniej pozostawić w kompie tylko dysk w windą.
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: Błąd boot.ini - brak dostępu do Windy po instalacji Ubuntu10.10

Post autor: Franz_G »

Dzięki bardzo wszystko działa jak należy już teraz.
Dzięki za pomoc.
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 41 gości