انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: Ali.M در 05 مهر 1388، 09:13 قظ
-
سلام
من دیروز grub2 رو نصب کردم اما وقتی کامپیوتر رو ریاستارت کردم توی اوبونتو که میخوام بیام این ارور رو میده:
error 11 : unrecognized device string
press any key to continue...
ولی توی ویندوز میره.
من دیگه حالا اوبونتو ندارم چی کار باید بکنم؟ممنون میشم کمکم کنید.
-
باید محتویات فایل boot/grub/menu.lst/ رو تغییر بدی با دسترسی admin
قبلش از فایل یه کپی بگیر واسه پشتیبانی اسمش رو تغییر بده و همون جا ذخیره کن.
محتویاتش رو به این شکل تغییر بده:
برای مثال هر کجا نوشته بود:
uuid da00050d-20e4-4169-a996-9a8dd5581cd2
تو به جاش بنویس:
root (hd0,1)
که به جای عدد ۱ باید عدد مربوط به درایو ریشه ابونتو رو بزاری. مثلا اگه درایو / لینوکست سومین پارتیشن هاردته عدد ۳ رو بزار
-
-------- ویرایش ------------
نمی دونم چرا پستم رو دوبار فرستاد!
-
سلام
این کار رو هم کردم ولی جواب نداد باز هم همون خطا رو میده. ](*,) ](*,) ](*,) ](*,) چی کار کنم؟
این هم محتویات فایل menu.lst
# 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
#A splash image for the menu
splashimage=/boot/grub/splashimages/105362-GRUB-Boot_Ubuntu-Widescreen-Simple.xpm.gz
## 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=f957cb64-d1bb-4b39-9a57-908526e54bc5 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=f957cb64-d1bb-4b39-9a57-908526e54bc5
## 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=splash vga=792
## 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=(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 Chainload into GRUB 2
root f957cb64-d1bb-4b39-9a57-908526e54bc5
kernel /boot/grub/core.img
title ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
root
title When you have verified GRUB 2 works, you can use this command to
root (hd0,1)
title complete the upgrade: upgrade-from-grub-legacy
root (hd0,1)
title ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
root (hd0,1)
title Debian GNU/Linux, kernel 2.6.28-14-generic
root f957cb64-d1bb-4b39-9a57-908526e54bc5
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=f957cb64-d1bb-4b39-9a57-908526e54bc5 ro splash vga=792
initrd /boot/initrd.img-2.6.28-14-generic
title Debian GNU/Linux, kernel 2.6.28-14-generic (recovery mode)
root f957cb64-d1bb-4b39-9a57-908526e54bc5
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=f957cb64-d1bb-4b39-9a57-908526e54bc5 ro single
initrd /boot/initrd.img-2.6.28-14-generic
title Debian GNU/Linux, kernel 2.6.28-11-generic
root f957cb64-d1bb-4b39-9a57-908526e54bc5
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=f957cb64-d1bb-4b39-9a57-908526e54bc5 ro splash vga=792
initrd /boot/initrd.img-2.6.28-11-generic
title Debian GNU/Linux, kernel 2.6.28-11-generic (recovery mode)
root f957cb64-d1bb-4b39-9a57-908526e54bc5
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=f957cb64-d1bb-4b39-9a57-908526e54bc5 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Debian GNU/Linux, kernel memtest86+
root f957cb64-d1bb-4b39-9a57-908526e54bc5
kernel /boot/memtest86+.bin
### 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 (hd0,1)
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista (loader)
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1
این هم فایل fstab:
# /etc/fstab: static file system information.
#
# Use 'vol_id --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/sda10 during installation
UUID=f957cb64-d1bb-4b39-9a57-908526e54bc5 / ext3 relatime,errors=remount-ro 0 1
/dev/sda11 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sda1 /media/vista ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sda5 /media/xp ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sda6 /media/program ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sda7 /media/image ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sda8 /media/multimedia ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sda10 /home ext3 nodev,nosuid 0 2
-
فایل menu.lst رو قبل از اینکه ویرایش کنی رو هم بفرست، چون الان نمیدونم کدوم خط ها رو تغییر دادی.
-
فایل menu.lst رو قبل از اینکه ویرایش کنی رو هم بفرست، چون الان نمیدونم کدوم خط ها رو تغییر دادی.
این دقیقا همون فایل بدون ویرایشه!!!
-
با این راهنمای ویکی (http://wiki.ubuntu-ir.org/GrubHowto?highlight=%28grub%29#head-4c7773949c6bc9d71484e211fa49429b9cb9acc2) دوباره گراب رو نصب کن
-
ممنون حل شد
من فقط به جای این عبارت:
root f957cb64-d1bb-4b39-9a57-908526e54bc5
عبارت زیر رو قرار دادم درست شد:
uuid f957cb64-d1bb-4b39-9a57-908526e54bc5
فقط یه سوال که شاید یه کم ابتدایی باشه.این بوت لودر suse که عکسش رو ضمیمه کردم چیه؟ میشه توی اوبونتو از اون استفاده کرد؟
(http://t0.gstatic.com/images?q=tbn:az2wcvEoUVV6MM:http://files.opensuse.org/opensuse/en/7/7b/Grub-mockup.png)
]http://files.opensuse.org/opensuse/en/7/7b/Grub-mockup.png[url] (http://files.opensuse.org/opensuse/en/7/7b/Grub-mockup.png[url)[/url]