grub suse 11.4
a nejde to, vždy je hláška ERROR 13
tu sú nejaké výpisy
linux-i6xu:~ # fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa8a8a8a8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 39230729 19615333+ 83 Linux
/dev/sda2 39230730 78461459 19615365 7 HPFS/NTFS/exFAT
/dev/sda3 78461460 153645659 37592100 83 Linux
/dev/sda4 153645660 154818404 586372+ 82 Linux swap / Solaris
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.
Disk /dev/sdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders, total 240121728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2c8f4acc
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 240107489 120053713+ 7 HPFS/NTFS/exFAT
linux-i6xu:~ # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Jun 4 14:54:04 CEST 2011
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,2)/boot/message
##YaST - activate
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.4 - 2.6.37.6-0.5
root (hd0,2)
kernel /boot/vmlinuz-2.6.37.6-0.5-default root=/dev/disk/by-id/ata-WDC_WD800BB-00JHC0_WD-WMAM9XK12423-part3 resume=/dev/disk/by-id/ata-WDC_WD800BB-00JHC0_WD-WMAM9XK12423-part4 splash=silent quiet showopts vga=0x31a
initrd /boot/initrd-2.6.37.6-0.5-default
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.4 - 2.6.37.6-0.5
root (hd0,2)
kernel /boot/vmlinuz-2.6.37.6-0.5-default root=/dev/disk/by-id/ata-WDC_WD800BB-00JHC0_WD-WMAM9XK12423-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /boot/initrd-2.6.37.6-0.5-default
###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
rootnoverify (hd0,1)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
makeactive
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (fd0)
chainloader +1
linux-i6xu:~ # cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD800BB-00JHC0_WD-WMAM9XK12423-part4 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD800BB-00JHC0_WD-WMAM9XK12423-part3 / ext4 acl,user_xattr 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
Pre pridávanie komentárov sa musíte prihlásiť.
este ma napadlo suse stale pouziva grub 1 ??(lebo grub2 uz nema menu.lst) a nastavuje sa prikazom grub-update (alebo update-grub) a nie cez konfiguraky
a este existuje program startup manager ktory sa o to moze postarat
v yaste je spravca štartu aked som pridal linux tak ako je tam pridaný XP tak v menu.lst to dopisalo :
###Don't change this comment - YaST2 identifier: Original name: other###
title linux
rootnoverify (hd0,0)
chainloader +1
po reštarte zvolim v ponuke linux a stale error 13
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader
Ale asi by bolo rozumné pozrieť čo robí nástroj update-grub
Inak, skúsil si sa pozrieť v tunajšej databáze znalostí na základy grub2? Malo by to tam byť popísané.
také tie lamistické veci som skušal asi už všetky
myslel si tento konfigurák?
a pre yurasheka, preco to dalsie distro neskusis pridat nejako takto?
takto nejako by to mohlo vyzerat:
title hocico
root (hd0,0)
kernel /boot/vmlinuz(plus nejake cisla, ktore sa za vmlinuz nachadzaju) root=/dev/disk/by-id/ata-WDC_WD800BB-00JHC0_WD-WMAM9XK12423-part1
initrd /initrd.img(tiez najake cisla)
popripade, ak sa ti to zda zlozite, tak skus poopravit to, co si tam pridaval (pridaj to, co je zvyraznene):
###Don't change this comment - YaST2 identifier: Original name: other###
title linux
rootnoverify (hd0,0)
chainloader (hd0,0)+1
This link cannot be used, because its target "initrd-2.6.37.1-1.2-default" doesn't exist.
skuste nabootovat do stareho jadra, do menu.lst pridajte tieto koncovky 2.6.35-22-generic a preinstalovat to nove jadro, lebo sa tam skutocne stala nejaka chyba (aspon podla toho initrd, ktory ukazuje na neexistujuci subor). Potom by to snad malo fungovat a ak sa Vam zda byt grub2 lepsi, tak v minte by malo stacit 'grub2-install /dev/sda' a potom to tu uz tolkokrat spominane update-grub.
Popripade ak sa chcete naucit nieco nove a instalovat jadro mintu z opensuse, tak si mozte pozriet toto
veľmi pekne vám všetkým dakujem za vaše rady, cením si to.