Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Notebooky a přenosné počítače => Téma založeno: Peterx 09 Února 2010, 18:40:54
-
Zdravim kazdeho, mam starsi NB compaq armada m700. Nainstalovat mi ubuntu ide bez problemov avsak pri bootovani mi grub vypise chybu:
error: no such device: *kopec cisiel, je to asi nejaky identifikator*
Neviete nahodov cim to moze byt?
-
Potřebujeme celý výpis, můžeš to třeba vyfotit a hodit na http://imageshack.us/.
-
Prestny a cely vypis:
"error: no such device: 67f52e44-eaa0-4855-9742-05fd4add5e90
Press any key to continue "
Nic viac tam nie je
-
OK, dej tady prosím výstup z boot_info_script (http://wiki.ubuntu.cz/boot_info_script). Budeš ho muset spustit z LiveCD asi.
-
Tu je vystup:
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.
sda1: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xe842e209
Partition Boot Start End Size Id System
/dev/sda1 * 63 76,292,684 76,292,622 83 Linux
/dev/sda2 76,292,685 78,140,159 1,847,475 5 Extended
/dev/sda5 76,292,748 78,140,159 1,847,412 82 Linux swap / Solaris
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/ramzswap0 swap
/dev/sda1 67f52e44-eaa0-4855-9742-05fd4add5e90 ext4
/dev/sda5 22a0d6d3-58f2-46ae-8bfc-8bab91f458c9 swap
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (rw)
/dev/loop0 /rofs squashfs (rw)
=========================== sda1/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 67f52e44-eaa0-4855-9742-05fd4add5e90
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
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/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 67f52e44-eaa0-4855-9742-05fd4add5e90
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=67f52e44-eaa0-4855-9742-05fd4add5e90 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set 67f52e44-eaa0-4855-9742-05fd4add5e90
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=67f52e44-eaa0-4855-9742-05fd4add5e90 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -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/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 ###
=============================== 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 defaults 0 0
# / was on /dev/sda1 during installation
UUID=67f52e44-eaa0-4855-9742-05fd4add5e90 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=22a0d6d3-58f2-46ae-8bfc-8bab91f458c9 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
=================== sda1: Location of files loaded by Grub: ===================
.0GB: boot/grub/core.img
.0GB: boot/grub/grub.cfg
.0GB: boot/initrd.img-2.6.31-14-generic
.0GB: boot/vmlinuz-2.6.31-14-generic
.0GB: initrd.img
.0GB: vmlinuz
-
Nevidím tam chybu v Grubu apod. Zkusíš nabootovat ručně?
Restart.
Až uvidíš nabídku Grubu (Ubuntu, Ubuntu recovery mode apod.), zmáčkni c. Pak bys měl mít možnost psát příkazy. Po každém příkazu dej Enter. Po posledním příkazu by to mělo najet.set root=(hd0,1)
linux /vmlinuz root=/dev/sda1 ro
initrd /initrd.img
boot
Dostaneš se takto do Ubuntu?
-
Cakto to nabootovalo uplne normalne.
Ked sa spustil gruub a dalo ponuku, stlacil som c, napisal prikayi a ide...
Cudne.
-
Vypadá to na tento bug:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/403408
Zatím se bohužel pouze nabízí cesty, jak to obejít, ne elegantně vyřešit. Např. příspěvek č. 35. Vyznáš se v tom?
-
Musim to tam prestudovat, no vyzera to tak ze problem vyriesim podla tych navodov. Idem studovat ;)
-
Ještě jedna možnost:
http://fivejacksons.com/brian/?p=325
-
Ještě jedna možnost:
http://fivejacksons.com/brian/?p=325
Tak vcera som skusil tuto moznost no bud som spravil nieco zle, alebo to nepomaha...
Vyskusam este ostatne moznosti a uvidime
-
Takze mam to vyriesene, riesenie:
editovat subor /boot/grub/grub.cfg
riadok search --no-floppy --fs-uuid --set 490b207d-5468-4794-9b6f-bc22cfb82ba3 zakomentovany
riadok linux /boot/vmlinuz-2.6.31-14-generic root=UUID=490b207d-5468-4794-9b6f-bc22cfb82ba3 ro quiet splash
zmeneny na
linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 rd
-
ne rd, ale ro
linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda1 rd
Pamatuj ale, že je to silně nemotorné řešení (lepší ale neznám - snad jen opravit tu knihovnu - viz odkazy), protože při instalaci nového jádra se volá update-grub skript, a ten ti to přepíše zpátky, takže to budeš muset zase opravit >:(
-
Mam z toho zalohu, len otazka preco nie rd, ale ro? Vidim ze tam mam mensi preklep, no funguje to :)
-
Mam z toho zalohu, len otazka preco nie rd, ale ro? Vidim ze tam mam mensi preklep, no funguje to :)
Mozno preto, ze to ro(rd) znamena readonly?
napr.:
http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re56.html (http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re56.html)
-
Dik