Po instalaji ubuntu zniknął windows:(

Tutaj można zadać pytanie, jeśli Linuksa widzi się pierwszy raz w życiu ;)
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

Witam. Zainstalowałem ubuntu obok windows 7 i niestety, gdy wybieram uruchomienie windowsa, pojawia mi się tylko migający kursor. Próbowałem posprawdzać, co może być nie tak, ale jestem w tym zupełnie zielony, może Wy coś z tego zrozumiecie. Jako, że mam problem z kopiowaniem tekstu pod ubuntu (prawy przycisk nie działa, po próbie dłuższego przytrzymania lewego i zaznaczeniu tekstu, wyświetla mi się menu dla prawego przycisku) pozwolę sobie wrzucić link do mojego tematu na forum nikoniarzy(mam nadzieję, że to nie jest złamanie regulaminu, ale naprawdę nie mogę tego skopiować :( : http://forum.nikoniarze.pl/showthread.php?t=203566
Awatar użytkownika
Tomfoc
Gibki Gibbon
Gibki Gibbon
Posty: 2183
Rejestracja: 30 lis 2011, 21:14
Płeć: Mężczyzna
Wersja Ubuntu: 22.04
Środowisko graficzne: GNOME
Architektura: x86_64

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Tomfoc »

Może nakaż programowi GRUB aby jeszcze raz wyszukał dostępne na dysku systemy - służy tego polecenie sudo update-grub. Zrobisz to pod Ubuntu w terminalu.
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Re: Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

Udalo mi się skopiować tekst, wrzucam:
Mialem pod windowsem 3 partycje, systemową, na zdjęcia i zrobioną pod ubuntu. Tą pod ubuntu wykorzystałem do stworzenia pomniejszych partycji dla ubuntu.
/dev/sda1: UUID="B8F405E6F405A828" TYPE="ntfs"
/dev/sda2: LABEL="Linux" UUID="96A8EBF2A8EBCEB5" TYPE="ntfs"
/dev/sda3: LABEL="Fotografia" UUID="324068B140687D8B" TYPE="ntfs"
/dev/sda5: UUID="2c34b925-6bcc-453e-a73e-32cc1e07fe66" TYPE="swap"
/dev/sda6: UUID="c6e86bc5-83aa-4157-as9c-b03bbc6b27c6" TYPE="swap"
/dev/sda7: UUID="17977bda-2efa-443a-864d-f2a0008d3d60" TYPE="ext4"
/dev/sda8: UUID="22dbca1c-29b1-4ea0-84c9-916b3ece10a1" TYPE="swap"

# /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/sda7 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda8 during installation
UUID=22dbca1c-29b1-4ea0-84c9-816b3ece10a1 none swap sw 0 0



#
# 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="4"
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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280x1024
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
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-13-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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
linux /boot/vmlinuz-2.6.38-13-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro vga=795 quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-13-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.38-13-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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
echo 'Loading Linux 2.6.38-13-generic ...'
linux /boot/vmlinuz-2.6.38-13-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro single vga=795
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-13-generic
}
submenu "Previous Linux versions" {
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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro vga=795 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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro single vga=795
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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
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/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root B8F405E6F405A828
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 ###

po wpisaniu sudo update-grub mam takie coś:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.38-13-generic
Found kernel: /boot/vmlinuz-2.6.38-8-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Awatar użytkownika
raven17a
Sędziwy Jeż
Sędziwy Jeż
Posty: 49
Rejestracja: 23 lut 2007, 10:59
Płeć: Mężczyzna
Wersja Ubuntu: 11.10
Środowisko graficzne: Xfce
Architektura: x86
Kontakt:

Re: Po instalaji ubuntu zniknął windows:(

Post autor: raven17a »

Widze że masz dwie partycje NTFS. Skopiuj na obydwie pliki NTDETECT.COM i ntldr tak żeby obydwa pliki były w katalogu głównym dysków.
Ostatnio zmieniony 21 mar 2012, 21:26 przez raven17a, łącznie zmieniany 1 raz.
Zapraszam na moją stronę:
NewInUbuntu.blogspot.com
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Re: Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

raven17a pisze:Widze że masz dwie partycje NTFS. Skopiuj na obydwie pliki NTDETECT.COM i ntldr tak żeby obydwa pliki były w katalogu głównym dysków.
NIe za bardzo wiem, jak to zrobić :oops: Próbuję znaleźć przez wyszukiwarkę plików, jednakże takie wyszukiwanie nie daje żadnych rezultatów, znajduje tylko plik ntldr.mod
Dominbik
Wytworny Kaczor
Wytworny Kaczor
Posty: 401
Rejestracja: 13 lip 2010, 08:31
Płeć: Mężczyzna
Wersja Ubuntu: 10.04
Środowisko graficzne: GNOME
Architektura: x86

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Dominbik »

potem
sudo apt-get install os-prober && sudo update-grub
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Re: Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

wstukałem oba polecenia, a to wynik:
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
os-prober jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.38-13-generic
Found kernel: /boot/vmlinuz-2.6.38-8-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

-- 12 mar 2012, o 19:36 --

Wrzucę jeszcze, co mi wyskoczyło przy sudo fdisk -l:
Dysk /dev/sda: 640.1 GB, bajtów: 640135028736
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 77825
Jednostka = cylindrów, czyli 16065 * 512 = 8225280 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 4096
Rozmiar we/wy (minimalny/optymalny) w bajtach: 4096 / 4096
Identyfikator dysku: 0xa5408bca

Urządzenie Rozruch Początek Koniec Bloków ID System
/dev/sda1 * 13 39252 315187200 7 HPFS/NTFS
/dev/sda2 39252 57489 146484375 7 HPFS/NTFS
/dev/sda3 63872 77826 112081920 7 HPFS/NTFS
/dev/sda4 57489 63872 51271681 5 Rozszerzona
Partycja 4 nie zaczyna się na granicy bloku fizycznego.
/dev/sda5 63376 63872 3986432 82 Linux swap / Solaris
/dev/sda6 62879 63376 3986432 82 Linux swap / Solaris
/dev/sda7 57489 62383 39309312 83 Linux
/dev/sda8 62383 62878 3981312 82 Linux swap / Solaris
Funnykris
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 222
Rejestracja: 17 sty 2012, 00:15
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Cinnamon
Architektura: x86
Kontakt:

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Funnykris »

A nie można przypadkiem gruba automatycznie skonfigurować z poziomu live CD z wykorzystaniem recorvery mode?
Awatar użytkownika
rom
Przebojowy Jelonek
Przebojowy Jelonek
Posty: 1309
Rejestracja: 30 cze 2009, 14:58
Płeć: Mężczyzna
Wersja Ubuntu: 14.04
Środowisko graficzne: Xfce
Architektura: x86

Re: Po instalaji ubuntu zniknął windows:(

Post autor: rom »

Jaką masz wersję Ubuntu? I co do tej pory robiłeś z GRUBem? Polecenie update-grub znalazło u ciebie plik /boot/grub/menu.lst tworzony przez starą wersję GRUBa.
także = też
tak że = więc
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Po instalaji ubuntu zniknął windows:(

Post autor: marcin1982 »

Podaj wynik skryptu boot_info_script:
http://sourceforge.net/projects/bootinfoscript/
Infromacje jak uruchomić skrypt znajdziesz w komentarzu u samej góry samego pliku skryptu.
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Re: Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

Wersję mam 11.04. Za pierwszym razem, jak zainstalowałem Ubuntu, to w ogóle nie chciał się uruchomić ani ubuntu, ani windows. Poprzez płytkę zainstalowałem wersję 11.04 jeszcze raz, z opcją odinstaluj "poprzednią wersję ubuntu i zainstaluj nową"

wrzucam wynik skryptu:

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 (,msdos7)/boot/grub on this drive.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:   Grub2 (v1.99) is installed in the boot sector of sda1 
                       and looks at sector 936747280 of the same hard drive 
                       for core.img, but core.img can not be found at this 
                       location. No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe 
                       /ubuntu/winboot/wubildr /ubuntu/winboot/wubildr.mbr

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    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:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 11.04
    Boot files:        /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/core.img

sda8: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *        206,848   630,581,247   630,374,400   7 NTFS / exFAT / HPFS
/dev/sda2         630,581,248   923,549,997   292,968,750   7 NTFS / exFAT / HPFS
/dev/sda3       1,026,095,104 1,250,258,943   224,163,840   7 NTFS / exFAT / HPFS
/dev/sda4         923,551,742 1,026,095,103   102,543,362   5 Extended
/dev/sda5       1,018,122,240 1,026,095,103     7,972,864  82 Linux swap / Solaris
/dev/sda6       1,010,147,328 1,018,120,191     7,972,864  82 Linux swap / Solaris
/dev/sda7         923,551,744 1,002,170,367    78,618,624  83 Linux
/dev/sda8       1,002,172,416 1,010,135,039     7,962,624  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        B8F405E6F405A828                       ntfs       
/dev/sda2        96A8EBF2A8EBCEB5                       ntfs       Linux
/dev/sda3        324068B140687D8B                       ntfs       Fotografia
/dev/sda5        2c34b925-6bcc-453e-a73e-32cc1e07fe66   swap       
/dev/sda6        c6e86bc5-83aa-4157-ac9c-b03bbc6b27c6   swap       
/dev/sda7        17977bda-2efa-443a-864d-f2a0008d3d60   ext4       
/dev/sda8        22dbca1c-29b1-4ea0-84c9-816b3ece10a1   swap       

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

Device           Mount_Point              Type       Options

/dev/sda1        /media/B8F405E6F405A828  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sda7        /                        ext4       (rw,errors=remount-ro,commit=0)


=========================== sda7/boot/grub/menu.lst: ===========================

--------------------------------------------------------------------------------
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=17977bda-2efa-443a-864d-f2a0008d3d60

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 11.04, kernel 2.6.38-13-generic
uuid		17977bda-2efa-443a-864d-f2a0008d3d60
kernel		/boot/vmlinuz-2.6.38-13-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro quiet splash 
initrd		/boot/initrd.img-2.6.38-13-generic

title		Ubuntu 11.04, kernel 2.6.38-13-generic (recovery mode)
uuid		17977bda-2efa-443a-864d-f2a0008d3d60
kernel		/boot/vmlinuz-2.6.38-13-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro  single
initrd		/boot/initrd.img-2.6.38-13-generic

title		Ubuntu 11.04, kernel 2.6.38-8-generic
uuid		17977bda-2efa-443a-864d-f2a0008d3d60
kernel		/boot/vmlinuz-2.6.38-8-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro quiet splash 
initrd		/boot/initrd.img-2.6.38-8-generic

title		Ubuntu 11.04, kernel 2.6.38-8-generic (recovery mode)
uuid		17977bda-2efa-443a-864d-f2a0008d3d60
kernel		/boot/vmlinuz-2.6.38-8-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro  single
initrd		/boot/initrd.img-2.6.38-8-generic

title		Chainload into GRUB 2
root		17977bda-2efa-443a-864d-f2a0008d3d60
kernel		/boot/grub/core.img

title		Ubuntu 11.04, memtest86+
uuid		17977bda-2efa-443a-864d-f2a0008d3d60
kernel		/boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST
--------------------------------------------------------------------------------

=========================== sda7/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="4"
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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280x1024
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
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,msdos7)'
search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
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-13-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,msdos7)'
	search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
	linux	/boot/vmlinuz-2.6.38-13-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro  vga=795  quiet splash vt.handoff=7
	initrd	/boot/initrd.img-2.6.38-13-generic
}
menuentry 'Ubuntu, za pomocą systemu Linux 2.6.38-13-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,msdos7)'
	search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
	echo	'Loading Linux 2.6.38-13-generic ...'
	linux	/boot/vmlinuz-2.6.38-13-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro single  vga=795
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-13-generic
}
submenu "Previous Linux versions" {
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,msdos7)'
	search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro  vga=795  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,msdos7)'
	search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
	echo	'Loading Linux 2.6.38-8-generic ...'
	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=17977bda-2efa-443a-864d-f2a0008d3d60 ro single  vga=795
	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,msdos7)'
	search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(/dev/sda,msdos7)'
	search --no-floppy --fs-uuid --set=root 17977bda-2efa-443a-864d-f2a0008d3d60
	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/sda1)" --class windows --class os {
	insmod part_msdos
	insmod ntfs
	set root='(/dev/sda,msdos1)'
	search --no-floppy --fs-uuid --set=root B8F405E6F405A828
	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 ###
--------------------------------------------------------------------------------

=============================== sda7/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/sda7       /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda8 during installation
UUID=22dbca1c-29b1-4ea0-84c9-816b3ece10a1 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 462.658958435 = 496.776273920  boot/grub/core.img                             1
 462.555892944 = 496.665608192  boot/grub/grub.cfg                             1
 462.635951996 = 496.751570944  boot/grub/menu.lst                             2
 444.436309814 = 477.209853952  boot/initrd.img-2.6.38-13-generic              6
 444.427413940 = 477.200302080  boot/initrd.img-2.6.38-8-generic               2
 468.829429626 = 503.401766912  boot/vmlinuz-2.6.38-13-generic                 2
 462.657196045 = 496.774381568  boot/vmlinuz-2.6.38-8-generic                  2
 444.436309814 = 477.209853952  initrd.img                                     6
 444.427413940 = 477.200302080  initrd.img.old                                 2
 468.829429626 = 503.401766912  vmlinuz                                        2
 462.657196045 = 496.774381568  vmlinuz.old                                    2

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

unlzma: Decoder error
Prakson
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 197
Rejestracja: 30 kwie 2007, 13:25
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: KDE Plasma
Architektura: x86_64
Kontakt:

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Prakson »

Jak na moje źle zainstalowany grub - nadpisałeś sobie nim bootloader windowsa poprzez instalację na partycji sda1, powinien być zainstalowany na dysku sda.
Musisz przywrócić bootloader windowsa, a potem gruba.
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Re: Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

Ok, czyli najpierw poprzez płytę muszę naprawić windows. Co zrobić następnie z grub-em aby uniknąć podobnego błędu?
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: Po instalaji ubuntu zniknął windows:(

Post autor: namok »

wsnap pisze:Ok, czyli najpierw poprzez płytę muszę naprawić windows. Co zrobić następnie z grub-em aby uniknąć podobnego błędu?
Instalować grub'a z głowa a niue tak jak w poradniku który niekoniecznie musi być przystosowany do Twojej sytuacji. Grub sam nie zainstalował się na partycji windows(sda1). Jeśli zamierzasz startować z grub'a to instalujesz go w MBR dysku czyli sda(bez numerka).
wsnap
Piegowaty Guziec
Piegowaty Guziec
Posty: 7
Rejestracja: 12 mar 2012, 09:29

Re: Po instalaji ubuntu zniknął windows:(

Post autor: wsnap »

Chyba będę musiał jednak zrobić system...Zna ktoś może sposób, jak odzyskać wiadomości poprzez ubuntu, z thunderbirda, który był na windows?

-- 14 mar 2012, o 13:50 --

Ok, przegrałem, co było mi potrzebne, teraz pytanie: jak wrzucę płytkę windowsa, to rozumiem, że przy instalacji wszystko zniknie (w sensie i stary windows, i ubuntu), będzie do ustalenia ilość partycji, tak? Jak mam więc zrobić, aby uzyskać następujący wynik: dysk c-system, dysk e-zdjęcia, i na trzeciej partycji ubuntu? Podzielić od razu na trzy partycje, czy dopiero przy instalacji ubuntu wydzielić z dysku c część? Nie chcę ponownie czegoś popsuć. Jeszcze chciałem zapytać, którą wersję ubuntu najlepiej zainstalować? Czytałem, że ostatnie z unity nie są zbyt dobrze oceniane.
Funnykris
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 222
Rejestracja: 17 sty 2012, 00:15
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Cinnamon
Architektura: x86
Kontakt:

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Funnykris »

wsnap pisze:Chyba będę musiał jednak zrobić system...Zna ktoś może sposób, jak odzyskać wiadomości poprzez ubuntu, z thunderbirda, który był na windows?

-- 14 mar 2012, o 13:50 --

Ok, przegrałem, co było mi potrzebne, teraz pytanie: jak wrzucę płytkę windowsa, to rozumiem, że przy instalacji wszystko zniknie (w sensie i stary windows, i ubuntu), będzie do ustalenia ilość partycji, tak? Jak mam więc zrobić, aby uzyskać następujący wynik: dysk c-system, dysk e-zdjęcia, i na trzeciej partycji ubuntu? Podzielić od razu na trzy partycje, czy dopiero przy instalacji ubuntu wydzielić z dysku c część? Nie chcę ponownie czegoś popsuć. Jeszcze chciałem zapytać, którą wersję ubuntu najlepiej zainstalować? Czytałem, że ostatnie z unity nie są zbyt dobrze oceniane.
Ja na Twoim miejscu bym uruchomił albo Gparted Live CD albo Gparted z jakiejkolwiek dystrybucji live cd np Ubuntu i podzielił dysk wedle uznania. Np. Partcja dla windows 30GB(ntfs), Zdjęcia i inne 100Gb(ntfs) i Linux 66Gb(ext4) no i jeszcze Swap ile tam masz ramu nie wiem ale daje się 2x tyle (dziś już nie tak istotne no ale). Albo zrób partycję logiczną jakąś i wtedy jeszcze na /home będzie ;) Potem instalujesz windows na pierwszej partycji dla Win to C. Tych ext 4 nie zobaczy chyba nawet. Potem przy instalacji już Linucha zainstalujesz go na tej partycji ext4 a Grub sam się skonfiguruje :)
Basildon
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 16 wrz 2012, 21:15
Płeć: Mężczyzna
Wersja Ubuntu: 12.10
Architektura: x86_64
Kontakt:

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Basildon »

Witam.
Podepnę się pod temat, gdyż mam identyczny problem i nijak nie mogę tego ruszyć.
Mam dwa dyski, każdy 2 partycje. Niestety teraz widzę, że popełniłem błąd i zainstalowałem Windowsa na sda a Linuxa na sda1. Oczywiście straciłem dostęp do Windy przez bootoadera. Uruchamia się tylko Linux 12.10.
Czytam wszystko powyżej i nic nie kapuję. Jak odzyskać konsolę wyboru systemu?
Gdy uruchomię update-grub pojawia się co następuje:

Kod: Zaznacz cały

Znaleziono obraz Linuksa: /boot/vmlinuz-3.5.0-17-generic
Znaleziono obraz initrd: /boot/initrd.img-3.5.0-17-generic
Found memtest86+ image: /boot/memtest86+.bin
W ogóle ostatnio namieszałem i skasowałem sobie dane z dysku instalując Mandrivę. Teraz Linux widzi jeden dysk z Mandrivą, co jest kompletną pomyłką (partycje sformatowane pod Gparted).

Co robić?
Awatar użytkownika
Padowan
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 102
Rejestracja: 13 cze 2011, 14:44
Płeć: Mężczyzna
Wersja Ubuntu: inny OS
Środowisko graficzne: Fluxbox
Architektura: x86

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Padowan »

Wstaw tu wynik polecenia:

Kod: Zaznacz cały

fdisk -l
Czy ktoś mówi, że żywotność przeciętnego komputera wynosi 6 lat?
Znalezione w logach:
Apr 26 21:26:31 localhost kernel: [ 66.963661] VFS: Busy inodes after unmount of sdb1. Self-destruct in 5 seconds. Have a nice day...
marcin1982
Gibki Gibbon
Gibki Gibbon
Posty: 3209
Rejestracja: 30 wrz 2007, 13:49
Płeć: Mężczyzna

Re: Po instalaji ubuntu zniknął windows:(

Post autor: marcin1982 »

Skoro już odgrzałeś temat ... Przejrzyj wątek, w którym napisałeś i zastosuj porady - podaj wynik bootinfoscript. Zajrzyj też tutaj:
http://forum.linuxmint.pl/index.php/topic,4222.0.html .
Basildon
Piegowaty Guziec
Piegowaty Guziec
Posty: 10
Rejestracja: 16 wrz 2012, 21:15
Płeć: Mężczyzna
Wersja Ubuntu: 12.10
Architektura: x86_64
Kontakt:

Re: Po instalaji ubuntu zniknął windows:(

Post autor: Basildon »

fdisk -1:

Kod: Zaznacz cały

Disk /dev/sda: 250.1 GB, 250059350016 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 30401, w sumie sektorów: 488397168
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0x1e241e23

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sda1            2048    78798847    39398400    7  HPFS/NTFS/exFAT
/dev/sda2        78798888   488392064   204796588+   7  HPFS/NTFS/exFAT

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
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
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0x000588d7

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sdb1   *        2048    23439547    11718750   83  Linux
/dev/sdb2       102402048   625141759   261369856    7  HPFS/NTFS/exFAT
/dev/sdb3        23441406   102402047    39480321    5  Rozszerzona
/dev/sdb5        23441408   102402047    39480320   83  Linux

Wpisy w tablicy partycji nie są w tej kolejności, co na dysku

Dysk /dev/sdc: 8166 MB, bajtów: 8166703104
głowic: 252, sektorów/ścieżkę: 62, cylindrów: 1020, w sumie sektorów: 15950592
Jednostka = sektorów, czyli 1 * 512 = 512 bajtów
Rozmiar sektora (logiczny/fizyczny) w bajtach: 512 / 512
Rozmiar we/wy (minimalny/optymalny) w bajtach: 512 / 512
Identyfikator dysku: 0xc3072e18

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sdc1   *          62    15936479     7968209    7  HPFS/NTFS/exFAT

bootinfoscript:

Kod: Zaznacz cały

Boot Info Script 0.61      [1 April 2012]


============================= 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 (,msdos5)/boot/grub on this drive.
 => Windows is installed in the MBR of /dev/sdb.
 => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdc.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

sda2: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub2 (v1.99)
    Boot sector info:  Grub2 (v1.99) is installed in the boot sector of sdb1 
                       and looks at sector 4788192 of the same hard drive for 
                       core.img. core.img is at this location and looks in 
                       partition 72 for .
    Operating System:  Ubuntu 12.10
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

sdc1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  SYSLINUX 4.06 2012-10-23
    Boot sector info:  Syslinux looks at sector 6256104 of /dev/sdc1 for its 
                       second stage. SYSLINUX is installed in the  directory. 
                       The 2 ADV sectors are not the same (corrupt). No 
                       errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
głowic: 255, sektorów/ścieżkę: 63, cylindrów: 30401, w sumie sektorów: 488397168
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    78,798,847    78,796,800   7 NTFS / exFAT / HPFS
/dev/sda2          78,798,888   488,392,064   409,593,177   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
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    *          2,048    23,439,547    23,437,500  83 Linux
/dev/sdb2         102,402,048   625,141,759   522,739,712   7 NTFS / exFAT / HPFS
/dev/sdb3          23,441,406   102,402,047    78,960,642   5 Extended
/dev/sdb5          23,441,408   102,402,047    78,960,640  83 Linux


Drive: sdc _____________________________________________________________________

Dysk /dev/sdc: 8166 MB, bajtów: 8166703104
głowic: 252, sektorów/ścieżkę: 62, cylindrów: 1020, w sumie sektorów: 15950592
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    *             62    15,936,479    15,936,418   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        415E2DBB02214DD9                       ntfs       
/dev/sda2        AA54BF2254BEEFE5                       ntfs       D_GRY
/dev/sdb1        08d95ccd-86e6-4340-af2e-0a3e552db946   ext4       
/dev/sdb2        07C99C536A140777                       ntfs       M.FILMY
/dev/sdb5        a0d3a524-0c90-4e57-b230-dd44b87e5f18   ext4       
/dev/sdc1        706AFB786AFB3A04                       ntfs       PENDRIVE

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

Device           Mount_Point              Type       Options

/dev/sdb1        /                        ext4       (rw,errors=remount-ro)
/dev/sdb2        /media/pavlo/M.FILMY     fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb5        /home                    ext4       (rw)
/dev/sdc1        /media/pavlo/PENDRIVE    fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)


=========================== sdb1/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 [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  08d95ccd-86e6-4340-af2e-0a3e552db946
else
  search --no-floppy --fs-uuid --set=root 08d95ccd-86e6-4340-af2e-0a3e552db946
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=pl_PL
  insmod gettext
fi
terminal_output gfxterm
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_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
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' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-08d95ccd-86e6-4340-af2e-0a3e552db946' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  08d95ccd-86e6-4340-af2e-0a3e552db946
	else
	  search --no-floppy --fs-uuid --set=root 08d95ccd-86e6-4340-af2e-0a3e552db946
	fi
	linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=08d95ccd-86e6-4340-af2e-0a3e552db946 ro   quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.5.0-17-generic
}
submenu 'Opcje zaawansowane dla systemu Ubuntu' $menuentry_id_option 'gnulinux-advanced-08d95ccd-86e6-4340-af2e-0a3e552db946' {
	menuentry 'Ubuntu, za pomocą systemu Linux 3.5.0-17-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-advanced-08d95ccd-86e6-4340-af2e-0a3e552db946' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  08d95ccd-86e6-4340-af2e-0a3e552db946
		else
		  search --no-floppy --fs-uuid --set=root 08d95ccd-86e6-4340-af2e-0a3e552db946
		fi
		echo	'Wczytywanie systemu Linux 3.5.0-17-generic...'
		linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=08d95ccd-86e6-4340-af2e-0a3e552db946 ro   quiet splash $vt_handoff
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.5.0-17-generic
	}
	menuentry 'Ubuntu, za pomocą systemu Linux 3.5.0-17-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-17-generic-recovery-08d95ccd-86e6-4340-af2e-0a3e552db946' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd1,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  08d95ccd-86e6-4340-af2e-0a3e552db946
		else
		  search --no-floppy --fs-uuid --set=root 08d95ccd-86e6-4340-af2e-0a3e552db946
		fi
		echo	'Wczytywanie systemu Linux 3.5.0-17-generic...'
		linux	/boot/vmlinuz-3.5.0-17-generic root=UUID=08d95ccd-86e6-4340-af2e-0a3e552db946 ro recovery nomodeset 
		echo	'Wczytywanie początkowego dysku RAM...'
		initrd	/boot/initrd.img-3.5.0-17-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='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  08d95ccd-86e6-4340-af2e-0a3e552db946
	else
	  search --no-floppy --fs-uuid --set=root 08d95ccd-86e6-4340-af2e-0a3e552db946
	fi
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='hd1,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1  08d95ccd-86e6-4340-af2e-0a3e552db946
	else
	  search --no-floppy --fs-uuid --set=root 08d95ccd-86e6-4340-af2e-0a3e552db946
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-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/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sdb1 during installation
UUID=08d95ccd-86e6-4340-af2e-0a3e552db946 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdb5 during installation
UUID=a0d3a524-0c90-4e57-b230-dd44b87e5f18 /home           ext4    defaults        0       2
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.5.0-17-generic               1
               =                boot/vmlinuz-3.5.0-17-generic                  1
               =                initrd.img                                     1
               =                initrd.img.old                                 1
               =                vmlinuz                                        1

=========================== sdc1/boot/grub/grub.cfg: ===========================

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

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi.signed  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi.signed  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
	initrd	/casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi.signed  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true --
	initrd	/casper/initrd.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi.signed  boot=casper integrity-check quiet splash --
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

========================= sdc1/syslinux/syslinux.cfg: ==========================

--------------------------------------------------------------------------------
# D-I config version 2.0
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sdc1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             ldlinux.sys                                    2
            ?? = ??             syslinux/chain.c32                             1
            ?? = ??             syslinux/gfxboot.c32                           1
            ?? = ??             syslinux/menu.c32                              1
            ?? = ??             syslinux/syslinux.cfg                          0
            ?? = ??             syslinux/vesamenu.c32                          1

============== sdc1: Version of COM32(R) files used by Syslinux: ===============

 syslinux/chain.c32                 :  COM32R module (v4.xx)
 syslinux/gfxboot.c32               :  COM32R module (v4.xx)
 syslinux/menu.c32                  :  COM32R module (v4.xx)
 syslinux/vesamenu.c32              :  COM32R module (v4.xx)

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

Unknown BootLoader on sdb3

00000000  c3 11 18 5d 23 02 a6 13  d3 c8 0f 00 a6 78 38 43  |...]#........x8C|
00000010  83 46 2d 77 73 61 35 d2  d3 c8 11 fc 42 c2 5f 05  |.F-wsa5.....B._.|
00000020  38 cc b8 ed b6 5a f4 8c  d3 c8 53 c1 bf 85 77 b5  |8....Z....S...w.|
00000030  73 45 6f ee 11 38 5e 6a  d3 c9 d9 23 6b 14 0d b0  |sEo..8^j...#k...|
00000040  02 ad c1 09 7d 9a 4f 2c  d3 c9 fc 7e b7 c6 0b 20  |....}.O,...~... |
00000050  d6 8b 86 d1 1e a9 83 03  d3 cc 91 8d 39 4d 84 38  |............9M.8|
00000060  d2 8d 20 5a f6 2f e4 de  d3 cc de d0 41 89 43 ba  |.. Z./......A.C.|
00000070  ef ad 07 ad 96 9d e8 a3  d3 cd eb 3d d5 f5 40 4e  |...........=..@N|
00000080  a2 09 63 b5 9d a8 ae e2  d3 cf 85 b6 9d ac c9 4d  |..c............M|
00000090  ba 44 6b 59 7d ac 74 48  d3 d0 46 ad f1 cb bf 5c  |.DkY}.tH..F....\|
000000a0  19 ff 70 7f fd 78 af af  d3 d0 c4 ad 12 31 07 1b  |..p..x.......1..|
000000b0  69 c4 7c f6 2d c5 6d 60  d3 d2 10 65 ee 7d 07 be  |i.|.-.m`...e.}..|
000000c0  7f 87 54 9f bc 45 f9 eb  d3 d2 a3 00 f9 a0 d2 2b  |..T..E.........+|
000000d0  93 1d 94 10 3d 83 16 fa  d3 d2 ed 82 88 17 05 51  |....=..........Q|
000000e0  ee 47 70 c1 67 a1 1b 8d  d3 d4 53 cf a7 f7 9e 30  |.Gp.g.....S....0|
000000f0  9b 70 9c 97 21 ec 35 3e  d3 d4 b3 02 3f 3e e1 99  |.p..!.5>....?>..|
00000100  e0 0b de 5f 9a af d9 06  d3 d4 b3 42 f0 6c 57 97  |..._.......B.lW.|
00000110  75 7f c4 38 49 7e a8 ca  d3 d6 0b 9a bc fe 4f 8f  |u..8I~........O.|
00000120  65 8d 2b b8 d3 0d 92 eb  d3 d6 1a e1 f2 24 bd 30  |e.+..........$.0|
00000130  24 99 46 91 ce 85 43 8e  d3 d8 f3 29 9c 53 41 58  |$.F...C....).SAX|
00000140  c5 08 27 21 e3 1f 3c e8  d3 d9 e7 83 cc 67 ec d9  |..'!..<......g..|
00000150  5e 80 6e 38 af a2 b6 c9  d3 dc 2a 92 e9 e7 c9 f8  |^.n8......*.....|
00000160  4c 58 18 9e 74 5b 44 6c  d3 dc a1 0b 7e 2c 24 a5  |LX..t[Dl....~,$.|
00000170  22 4c af dc 71 0b f6 6f  d3 dc a6 a6 54 df f8 db  |"L..q..o....T...|
00000180  cc 2f cb 03 e5 d6 f1 1b  d3 dd b5 c1 e0 64 d6 ce  |./...........d..|
00000190  40 40 30 9d cf 2c 25 ee  d3 de 3b a4 16 32 dd 26  |@@0..,%...;..2.&|
000001a0  60 a4 85 d8 96 e7 5a 68  d3 e1 a4 c1 b5 91 5c 53  |`.....Zh......\S|
000001b0  a0 28 6b 00 8a 48 a5 d0  d3 e2 05 3f cf df 00 fe  |.(k..H.....?....|
000001c0  ff ff 83 fe ff ff 02 00  00 00 00 d8 b4 04 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


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

xz: (stdin): Dane skompresowane są uszkodzone
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in

Mam jeszcze takie pytanie, czy przeinstalowanie systemów na powrót do układu: Windows - sda, Linux - sda1 rozwiązałoby sprawę? Póki co mam czyste systemy i mógłbym poświęcić godzinkę na ponowne ich instalowanie.
ODPOWIEDZ

Wróć do „Przedszkole Linuksa”

Kto jest online

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