Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Grub2 nie wykrywa windows 8, w jaki sposób ręcznie dodać go do gruba?
Offline

 Użytkownik
 Użytkownik
	

jako root po wklepaniu w terminalu update-grub nie nie znajduje Ci partycji z win8?
Offline



 Użytkownik
 Użytkownik
	



# grub-mkconfig # update-grub
Offline
Bitels napisał(-a):
jako root po wklepaniu w terminalu update-grub nie nie znajduje Ci partycji z win8?
Nie
menel napisał(-a):
Kod:
# grub-mkconfig # update-grub
Generating 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
  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 load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos2)'
  search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
  set locale_dir=($root)/boot/grub/locale
  set lang=pl_PL
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
Found background image: /usr/share/images/desktop-base/desktop-grub.png
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
Found linux image: /boot/vmlinuz-3.15-1.slh.1-aptosid-686
Found initrd image: /boot/initrd.img-3.15-1.slh.1-aptosid-686
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.15-1.slh.1-aptosid-686' --class debian --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
    echo    'Wczytywanie systemu Linux 3.15-1.slh.1-aptosid-686...'
    linux    /boot/vmlinuz-3.15-1.slh.1-aptosid-686 root=UUID=131e4a54-18c4-434f-92fc-95256aada60d ro  quiet
    echo    'Wczytywanie początkowego dysku RAM...'
    initrd    /boot/initrd.img-3.15-1.slh.1-aptosid-686
}
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.15-1.slh.1-aptosid-686 (tryb ratunkowy)' --class debian --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
    echo    'Wczytywanie systemu Linux 3.15-1.slh.1-aptosid-686...'
    linux    /boot/vmlinuz-3.15-1.slh.1-aptosid-686 root=UUID=131e4a54-18c4-434f-92fc-95256aada60d ro single 
    echo    'Wczytywanie początkowego dysku RAM...'
    initrd    /boot/initrd.img-3.15-1.slh.1-aptosid-686
}
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.2.0-4-686-pae' --class debian --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
    echo    'Wczytywanie systemu Linux 3.2.0-4-686-pae...'
    linux    /boot/vmlinuz-3.2.0-4-686-pae root=UUID=131e4a54-18c4-434f-92fc-95256aada60d ro  quiet
    echo    'Wczytywanie początkowego dysku RAM...'
    initrd    /boot/initrd.img-3.2.0-4-686-pae
}
menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.2.0-4-686-pae (tryb ratunkowy)' --class debian --class gnu-linux --class gnu --class os {
    load_video
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos2)'
    search --no-floppy --fs-uuid --set=root 131e4a54-18c4-434f-92fc-95256aada60d
    echo    'Wczytywanie systemu Linux 3.2.0-4-686-pae...'
    linux    /boot/vmlinuz-3.2.0-4-686-pae root=UUID=131e4a54-18c4-434f-92fc-95256aada60d ro single 
    echo    'Wczytywanie początkowego dysku RAM...'
    initrd    /boot/initrd.img-3.2.0-4-686-pae
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###
doneupdate-grub Generating grub.cfg ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-3.2.0-4-686-pae Found initrd image: /boot/initrd.img-3.2.0-4-686-pae done
Ostatnio edytowany przez wendigo (2014-06-19 15:59:47)
Offline




 Psuj
 Psuj
	





Co zwraca:
os-prober

Offline


 Użytkownik
 Użytkownik
	


Podaj wynik skrytpu bootinfoscript.
Ostatnio edytowany przez marcin'82 (2014-06-19 16:49:26)
Offline
marcin'82 napisał(-a):
Podaj wynik skrytpu bootinfoscript.
                  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 (,msdos2)/boot/grub on this drive.
sda1: __________________________________________________________________________
    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 
sda5: __________________________________________________________________________
    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  According to the info in the boot sector, sda5 starts 
                       at sector 2. But according to the info from fdisk, 
                       sda5 starts at sector 2048.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe
sda6: __________________________________________________________________________
    File system:       swap
    Boot sector type:  -
    Boot sector info: 
sda2: __________________________________________________________________________
    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /dev/sda2 already mounted or sda2 busy
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
/dev/sda1               2,046   366,770,175   366,768,130   5 Extended
/dev/sda5               2,048   361,533,439   361,531,392   7 NTFS / exFAT / HPFS
/dev/sda6         361,535,488   366,770,175     5,234,688  82 Linux swap / Solaris
/dev/sda2    *    366,770,176   488,396,799   121,626,624  83 Linux
"blkid" output: ________________________________________________________________
Device           UUID                                   TYPE       LABEL
/dev/sda2        131e4a54-18c4-434f-92fc-95256aada60d   ext4       
/dev/sda5        220C08E40C08B4B7                       ntfs       
/dev/sda6        7fe966ff-ea73-485d-a4d9-0d14ed089563   swap       
================================ Mount points: =================================
Device           Mount_Point              Type       Options
/dev/disk/by-uuid/131e4a54-18c4-434f-92fc-95256aada60d /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
========= Devices which don't seem to have a corresponding hard drive: =========
sdb 
=============================== StdErr Messages: ===============================
xz: (stdin): Dane skompresowane są uszkodzoneOstatnio edytowany przez wendigo (2014-06-19 21:02:36)
Offline
mati75 napisał(-a):
Co zwraca:
Kod:
os-prober
No właśnie nic nie zwraca
Offline


 Użytkownik
 Użytkownik
	


Brakuje ci pozostałych plików startowych Windows. Czy przed instalacją linuksa modyfikowałeś układ partycji?
Teraz nie jestem pewien, czy nie lepiej przeinstalować Windows umieszczając go na pierwszej partycji podstawowej - bez wydzielania dodatkowej partycji (około 100 MB), którą prawdopodobnie usunąłeś.
Ostatnio edytowany przez marcin'82 (2014-06-19 22:05:58)
Offline
Strony: 1