- 論壇徽章:
- 0
|
本帖最后由 lru52777 于 2011-02-27 12:57 編輯
開機(jī)后,出現(xiàn)kernel panic -not syncing:VFS:unable to mount root fs on unknown-block(0,0)。
系統(tǒng)是10.10,內(nèi)核是2.6.35-23。
不是內(nèi)核問題,因?yàn)橐郧芭f的內(nèi)核也進(jìn)不了,而且這次更新根本沒更新內(nèi)核,一直用的這個(gè)版本。
原來進(jìn)入引導(dǎo)界面后會(huì)有讀秒,現(xiàn)在沒有讀秒了,直接停在那,表示很困惑。
已經(jīng)第二次了,上次是內(nèi)核問題,還可以用舊的版本,這次悲劇了,希望誰給幫幫忙,指點(diǎn)下,感激不盡,因?yàn)槔锩嬗形野肽曜龅臇|西。
以后不要更新了,誰知道又會(huì)出現(xiàn)什么鬼問題
經(jīng)過各種幫助,我發(fā)現(xiàn)我的boot/grub里面米有menu.lst文件,只有g(shù)rub.cfg文件,是不是這個(gè)2個(gè)是一回事。下面是我的fstab文件和grub.cfg文件代碼,還希望大家給點(diǎn)指點(diǎn)。- # /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 nodev,noexec,nosuid 0 0
- # / was on /dev/sda8 during installation
- UUID=4c9108fd-c82d-49f7-be4b-d7a54b098e23 / ext4 errors=remount-ro 0 1
- # swap was on /dev/sda9 during installation
- UUID=18a2ff7d-f778-4ea1-ab18-c354f6545020 none swap sw 0 0
復(fù)制代碼- ### BEGIN /etc/grub.d/00_header ###
- if [ -s $prefix/grubenv ]; then
- set have_grubenv=true
- load_env
- fi
- set default="0"
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- save_env saved_entry
- fi
- }
- function recordfail {
- set recordfail=1
- if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
- }
- function load_video {
- insmod vbe
- insmod vga
- }
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos8)'
- search --no-floppy --fs-uuid --set 4c9108fd-c82d-49f7-be4b-d7a54b098e23
- if loadfont /usr/share/grub/unicode.pf2 ; then
- set gfxmode=640x480
- load_video
- insmod gfxterm
- fi
- terminal_output gfxterm
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos8)'
- search --no-floppy --fs-uuid --set 4c9108fd-c82d-49f7-be4b-d7a54b098e23
- set locale_dir=($root)/boot/grub/locale
- set lang=zh
- insmod gettext
- 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/light-gray
- ### END /etc/grub.d/05_debian_theme ###
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry 'Ubuntu, with Linux 2.6.35-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos8)'
- search --no-floppy --fs-uuid --set 4c9108fd-c82d-49f7-be4b-d7a54b098e23
- linux /boot/vmlinuz-2.6.35-23-generic root=UUID=4c9108fd-c82d-49f7-be4b-d7a54b098e23 ro quiet splash
- initrd /boot/initrd.img-2.6.35-23-generic
- }
- menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos8)'
- search --no-floppy --fs-uuid --set 4c9108fd-c82d-49f7-be4b-d7a54b098e23
- echo 'Loading Linux 2.6.35-23-generic ...'
- linux /boot/vmlinuz-2.6.35-23-generic root=UUID=4c9108fd-c82d-49f7-be4b-d7a54b098e23 ro single
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-2.6.35-23-generic
- }
- menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos8)'
- search --no-floppy --fs-uuid --set 4c9108fd-c82d-49f7-be4b-d7a54b098e23
- linux /boot/vmlinuz-2.6.35-22-generic root=UUID=4c9108fd-c82d-49f7-be4b-d7a54b098e23 ro quiet splash
- initrd /boot/initrd.img-2.6.35-22-generic
- }
- menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
- recordfail
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos8)'
- search --no-floppy --fs-uuid --set 4c9108fd-c82d-49f7-be4b-d7a54b098e23
- echo 'Loading Linux 2.6.35-22-generic ...'
- linux /boot/vmlinuz-2.6.35-22-generic root=UUID=4c9108fd-c82d-49f7-be4b-d7a54b098e23 ro single
- echo 'Loading initial ramdisk ...'
- initrd /boot/initrd.img-2.6.35-22-generic
- }
- ### END /etc/grub.d/10_linux ###
復(fù)制代碼 |
|