Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: samik 14 Června 2008, 23:55:23
-
Dobrý den, mám problém, pokud vyberu v GRUBu novější kernel než 2.6.24-12 (mám -14 -16 -17 -18), tak mi ubuntu nenajde disk, respektive nenajde image toho kernelu, nevíte někdo co s tím? Dal bych bližší info, ale nic víc nevím.. Díky
-
Nabootujte to funkční jádro a pošlete sem obsah souboru /boot/grub/menu.lst.
-
Tak tady to je:
# 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-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 10
## 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=30ffb891-fde2-4918-808a-2d2c5760a32a ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## 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 locale=cs_CZ
## 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
## 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 8.04, kernel 2.6.24-18-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-18-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-18-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro single
initrd /boot/initrd.img-2.6.24-18-generic
title Ubuntu 8.04, kernel 2.6.24-17-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-17-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-17-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro single
initrd /boot/initrd.img-2.6.24-17-generic
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, kernel 2.6.24-12-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-12-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-12-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-12-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro single
initrd /boot/initrd.img-2.6.24-12-generic
title Ubuntu 8.04, kernel 2.6.24-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-11-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-11-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-11-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-11-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro single
initrd /boot/initrd.img-2.6.24-11-generic
title Ubuntu 8.04, kernel 2.6.24-8-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-8-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-8-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-8-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-8-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro single
initrd /boot/initrd.img-2.6.24-8-generic
title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hdb1
title Windows NT/2000/XP (loader)
root (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
Ví někdo co je špatně?
-
To opravdu nikdo neví co s tím? :(
-
To je divne zaznamy u jadra 12 a dalsich jsou stejne. Poslete prosim jeste obsah adresare /boot
ls -l /boot
-
celkem 110016
-rw-r--r-- 1 root root 458722 2008-03-01 02:29 abi-2.6.24-11-generic
-rw-r--r-- 1 root root 422387 2008-03-13 02:43 abi-2.6.24-12-generic
-rw-r--r-- 1 root root 422607 2008-04-10 18:51 abi-2.6.24-16-generic
-rw-r--r-- 1 root root 422667 2008-05-01 19:59 abi-2.6.24-17-generic
-rw-r--r-- 1 root root 422667 2008-05-29 04:39 abi-2.6.24-18-generic
-rw-r--r-- 1 root root 458666 2008-02-15 00:57 abi-2.6.24-8-generic
-rw-r--r-- 1 root root 84137 2008-03-01 02:29 config-2.6.24-11-generic
-rw-r--r-- 1 root root 79746 2008-03-13 02:43 config-2.6.24-12-generic
-rw-r--r-- 1 root root 79964 2008-04-10 18:51 config-2.6.24-16-generic
-rw-r--r-- 1 root root 80071 2008-05-01 19:59 config-2.6.24-17-generic
-rw-r--r-- 1 root root 80071 2008-05-29 04:39 config-2.6.24-18-generic
-rw-r--r-- 1 root root 84024 2008-02-15 00:57 config-2.6.24-8-generic
drwxr-xr-x 3 root root 4096 2008-06-14 12:15 grub
-rw-r--r-- 1 root root 7425734 2008-03-05 13:54 initrd.img-2.6.24-11-generic
-rw-r--r-- 1 root root 7425531 2008-03-05 13:53 initrd.img-2.6.24-11-generic.bak
-rw-r--r-- 1 root root 7793925 2008-04-16 19:42 initrd.img-2.6.24-12-generic
-rw-r--r-- 1 root root 7460847 2008-03-31 17:32 initrd.img-2.6.24-12-generic.bak
-rw-r--r-- 1 root root 7873778 2008-04-25 17:31 initrd.img-2.6.24-16-generic
-rw-r--r-- 1 root root 7873785 2008-04-25 17:23 initrd.img-2.6.24-16-generic.bak
-rw-r--r-- 1 root root 7874320 2008-05-26 14:25 initrd.img-2.6.24-17-generic
-rw-r--r-- 1 root root 7874326 2008-05-26 14:24 initrd.img-2.6.24-17-generic.bak
-rw-r--r-- 1 root root 7912963 2008-06-09 21:49 initrd.img-2.6.24-18-generic
-rw-r--r-- 1 root root 7874714 2008-06-05 18:32 initrd.img-2.6.24-18-generic.bak
-rw-r--r-- 1 root root 7423743 2008-03-02 04:07 initrd.img-2.6.24-8-generic
-rw-r--r-- 1 root root 7424065 2008-03-02 03:40 initrd.img-2.6.24-8-generic.bak
-rw-r--r-- 1 root root 103204 2007-09-28 12:06 memtest86+.bin
-rw-r--r-- 1 root root 903643 2008-03-01 02:29 System.map-2.6.24-11-generic
-rw-r--r-- 1 root root 903816 2008-03-13 02:43 System.map-2.6.24-12-generic
-rw-r--r-- 1 root root 899892 2008-04-10 18:51 System.map-2.6.24-16-generic
-rw-r--r-- 1 root root 905012 2008-05-01 19:59 System.map-2.6.24-17-generic
-rw-r--r-- 1 root root 905012 2008-05-29 04:39 System.map-2.6.24-18-generic
-rw-r--r-- 1 root root 901843 2008-02-15 00:57 System.map-2.6.24-8-generic
-rw-r--r-- 1 root root 1909240 2008-03-01 02:29 vmlinuz-2.6.24-11-generic
-rw-r--r-- 1 root root 1909528 2008-03-13 02:43 vmlinuz-2.6.24-12-generic
-rw-r--r-- 1 root root 1904248 2008-04-10 18:51 vmlinuz-2.6.24-16-generic
-rw-r--r-- 1 root root 1921944 2008-05-01 19:59 vmlinuz-2.6.24-17-generic
-rw-r--r-- 1 root root 1921528 2008-05-29 04:39 vmlinuz-2.6.24-18-generic
-rw-r--r-- 1 root root 1906392 2008-02-15 00:57 vmlinuz-2.6.24-8-generic
Doufám že mi s tím někdo pomůže..
-
Zkus sen ještě poslat přesné znění té chybové hlášky.
-
Přesné znění:
Check root= bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev
ALERT! /dev/disk/by-uuid/30ffb891-fde2-4918-808a-2d2c5760a32a does not exists. Dropping to a shell!
Co mi to píše chápu, ale nechápu proč to jeden kernel najde disk podle uuid 30ffb891-fde2-4918-808a-2d2c5760a32a a druhej kernel už nee..
-
když změníš ty UUID na normální /dev/něco, tak to najede nebo ne?
-
kde to mám změnit? :-[ ve věcech kolem kernelu se hrabu poprvé..
-
Pro kazdy radek/zaznam v /boot/grub/menu.lst smazte na radku zacinajicim slovem "kernel" to dlouhe spojeni pismen za slovem "root=" a nahradte ho oznacenim disku na kterem mate naistalovan linux, napriklad /dev/sda1
Pokud nevite jake je oznaceni disku tak poslete:sudo fdisk -lToto je vas stary zaznam.
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=30ffb891-fde2-4918-808a-2d2c5760a32a ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-16-generic
quiet
A novy bude vypadat takto:
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sda1 ro quiet splash locale=cs_CZ
initrd /boot/initrd.img-2.6.24-16-generic
quiet
Lze to udelat i primo editaci pri nabehnuti GRUBU, ale asi je to slozite popisovat, navic potrebujete to oznaceni disku. Staci editovat jeden radek a pak az vsechny jestli to bude fungovat.
-
Edit pro Truhlíka:
nejdřív bych to zkusil u jednoho jádra, třeba nejnovější 19-tky, a až pokud to vyjde, přepsal všechno.
-
No, zkusil jsem to a vypsalo to tu stejnou hlášku akorát místo UUID bylo dev, takže žádná změna.. O tom přepisování v Grubu vím.. :) díky
-
Řešení by mohlo být tady:
http://ubuntuforums.org/showthread.php?t=282956 (http://ubuntuforums.org/showthread.php?t=282956)
Zejména část:
Well, i know a bit more on my issue thanks to jdong.
launchpad bug report : https://launchpad.net/distros/ubuntu...ols/+bug/67256
It seems that the update to edgy didn't create the initramfs script for the generic kernel so creating it manually solved the boot issue.
For those who have a generic kernel which don't even boot, here is what i did :
Code:
sudo mkinitramfs -o /boot/initrd.img-2.6.17-10-generic 2.6.17-10-generic
sudo update-grub
Now the generic kernel boot but i have now an error with the nvidia drivers which fail to load.
As jdong explained me there's an initramfs bug where depmod would be done before all the modules installed, leading to half-missing modules.
So running maunally the depmod command would solve this issue.
I saw this morning that the initramfs-tools package has been updated, will let you know if this package correct this bug if not i will try to run the depmod command myself then post the command line to use if it works.
-
nepomohlo.. Je možný aby to způsobily fglrx ovladače?
-
To se mi nezdá. Jinak co Tě nutí používat nejnovější jádro (resp. je něco, co Ti neběží, nefunguje apod.)? Za 4 měsíce tu máš nový ubuntu, zřejmě reinstal a třeba bude po problémech...
-
no, nevím jestli je to jádrem, ale když mi ještě jádra bootovaly jak měly, tak s každou aktualizací byl systém stabilnější, pokud dělám něco s 3D tak zatuhává PC a nemá na to vliv teplota GPU, wine, fglrx, takže zbývá jádro..
-
Když máš takhle starý jádra, co máš za verzi? Zkoušels upgrade Ubuntu, funguje Ti liveCD? Když zkusíš tu chybovou hlášku vložit do googlu, vyjede Ti docela dost diskuzí, zkus se tím nějak prohrabat...
Těžko radit, mně se to nikdy nestalo a nevím, cos se systémem prováděl i jak se to chová....
-
nejlepší je, že jsem nedělal nic :) ono to jádro po aktualizaci i jednou najede, ale podruhé už nic, liveCD mi u 8,04 nevalí
-
No, co to je vlastně za disk a co máš za základní desku??
-
HDD je WD 40GB přes IDE, deska je noname s chipsetem VIA