Uwaga - problem z menadżerem Grub po aktualizacji Thinkvantage Rescue and Recovery
Uwaga ta dotyczy użytkowników dzielących dysk pomiędzy linuxa a Windows. Po wykonaniu aktualizacji oprogramowania laptopa, a konkretnie ThinVantage Rescue and Recovery, uszkodzony zostaje wpis o ustawieniach Grub’a (prawdopodobnie ThinkVantage modyfikuje mbr dysku). Po restarcie komputera proces startu zatrzymuje się na (pojawia się tylko napis GRUB) i nie ma możliwości uruchomienia żadnego systemu.
Ratunkiem jest uruchomienie komputera z dysku np. Ubuntu czy też jakiejkolwiek dystrybucji live i odtworzenie ostawień Gruba: bardzo dobrze zostało to pokazane na tej stronie.
Powered by ScribeFire.




styczeń 27, 2008 @ 9:40 pm
witam, mam z tym problem zrobilem troche inczej mialem debiana wiec zainstalowalem go jeszczeraz odpalam wnxp z gruba i odpala sie Thinkvantage Rescue and Recovery i nic nie moge zrobic po za restart. Jka to wylaczyc
styczeń 28, 2008 @ 7:39 przed południem
Witam,
Chyba masz źle ustawione odwołanie do dysku w grubie - zamiast do dysku z WinXP masz odwoalnie do dysku z Rescue and Recovery. Musisz zmienić wpis w ustawieniach. Po pierwsze, sprawdź plik device.map.
Masz to dobrze i po polsku opisane na stronie http://forum.dobreprogramy.pl/viewtopic.php?f=14&p=1446633
styczeń 28, 2008 @ 8:11 przed południem
Dzieki za odpowiedz ale w GRUB’ie moge wybrac windowsa xp tylko po odpaleniu odpala sie odrazu Thinkvantage Rescue and Recovery, a gdzie mam wpisywac te komendy w Grubie?
styczeń 28, 2008 @ 8:20 przed południem
Najlepiej będzie, jak prześlesz zawartość pliku device.map (/boot/grub/device.map). Wtedy będzie mi łatwiej powiedzieć, co masz źle ustawione. Ba jak poprzednio napisałem, masz pewnie po prostu źle nazwaną sekcję w tym pliku, dlatego tobie wydaje się, że wywołujesz WinXP (bo tak jest nazwane) a tak naprawdę odpalasz Windows2000 (Rescue&Recovery).
Oprócz Windows XP i linuxa powinieneś mieć w menu gruba także odwołanie do jeszcze jednego systemu, dlatego chciałbym zobaczyć Twój device.map.
styczeń 28, 2008 @ 2:51 pm
wiec jakie komendy mam wpisac i co podac
styczeń 28, 2008 @ 2:54 pm
(hd0) /dev/sda
z device.map
i z cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(
# 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 change this entry to ’saved’ 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 5
# 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=/dev/sda2 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)
## 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=
## 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=(single-user) single
# altoptions=(single-user 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
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sda2 ro
initrd /boot/initrd.img-2.6.18-4-686
savedefault
title Debian GNU/Linux, kernel 2.6.18-4-686 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.18-4-686
savedefault
### 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/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
styczeń 28, 2008 @ 3:33 pm
o cos wykombinowalem i pokazalo mi blad:
[quote] STOP: C0000221 UNKNOWN HARD ERROR
/SYSTEMROOT\SYSTEM32\NTDLL.DLL
[/quote]
TO JAK DALEM Z NAPRAWIANIA Z PLYTKI XP
styczeń 28, 2008 @ 6:28 pm
Najważniejsza cześć pliku, odnosząca się do startu Windowsów jak taka sama jak u Cibie:
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows XP Home Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title Windows NT/2000/XP
root (hd0,3)
savedefault
makeactive
chainloader +1
Ponieważ wygląda, że z grubem jest wszystko ok, mam pytania kontrolne:
- czy nie przerwałeś przypadkiem procesu odzyskiwania systemu? Bo jeżeli pojawia się R&R to może oznaczać, że nie zakończyłeś procesu reinstalacji systemu
- czy możesz zainstalować windows z innego nośnika niż R&R?
- czy linux działa prawidłowo?
styczeń 28, 2008 @ 6:42 pm
Przed chwilą czytałem o Twoich kłopotach na forum. Mam propozycję / radę:
1. uruchom dowolną dystrybucje live Linuxa (startującą z płyty CD) - może być knoppix, ubuntu - cokolwiek
2. Po uruchomieniu z cd zamontuj dysk twardy z winsowsem - może byc tylko do odczytu
3. Skopiuj potrzebne dokumenty na pendrive lub nagraj na płytę cd.
4. Przeinstaluj za pomocą R&R Windowsa
styczeń 28, 2008 @ 7:51 pm
nie ma innego rozwiazania?
styczeń 28, 2008 @ 8:10 pm
mam kubuntu ale on nie widzi 2 partycji ( bo sa na jednym dysku a na roznych partycjach)
styczeń 28, 2008 @ 8:40 pm
dlatego musisz ją oddzielnie zamontować. Najpierw lista partycji:
#sudo fdisk -l
Powinieneś dostać coś jak to:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1911 15350076 7 HPFS/NTFS
/dev/hda2 1912 19457 140938245 5 Extended
/dev/hda5 1912 14716 102856131 83 Linux
/dev/hda6 14717 17278 20579233+ 83 Linux
/dev/hda7 17279 17404 1012063+ 82 Linux swap / Solaris
/dev/hda8 17405 19457 16490691 83 Linux
Potem zakładasz katalog do którego zamontujesz partycję, np:
#sudo mkdir /windows
jeżeli dane są np na NTFS, to piszesz
# sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/hdb1 /windows
Jeszcze tylko:
#sudo umount -a
i powinieneś mieć dostęp do danych. Kopiujesz na dysk i koniec problemu
w razie problemów z zamontowaniem:
http://www.google.pl/search?hl=pl&client=firefox-a&rls=org.mozilla:pl:official&hs=Xfa&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=ubuntu+windows+partition+mount&spell=1
styczeń 28, 2008 @ 9:16 pm
sudo umount -a
umount: /tmp: device is busy
umount: /dev: device is busy
umount: /var/run: device is busy
umount: /proc/bus/usb: device is busy
umount: /sys: device is busy
;/
reszta zadzialala
styczeń 28, 2008 @ 10:52 pm
na debianie tez nie moge zmontowac