安裝后 grub-bios出錯,無法啓動求救!!!

回复
uucp7
帖子: 1
注册时间: 2013-04-04 22:34
系统: Windows 7
送出感谢: 0
接收感谢: 0

安裝后 grub-bios出錯,無法啓動求救!!!

#1

帖子 uucp7 » 2013-04-05 10:02

各位兄弟們,求救了

先說下分區的情況:(fstab)

代码: 全选

# /etc/fstab: static file system information
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda2
UUID=60fcc612-9189-42b1-adc8-fd5b85e07b4b	/         	ext4      	rw,relatime,data=ordered	0 1
# /dev/sda1
UUID=9faf7b02-bf8a-4c29-8d8a-dc437065d0d3	/boot     	ext4      	rw,relatime,data=ordered	0 2
# /dev/sda5
UUID=5ceffa1c-3785-4398-a921-0b6101522728	/usr      	ext4      	rw,relatime,data=ordered	0 2
# /dev/sda6
UUID=fdf3fbf9-eaaa-4121-8b9c-c9cb3609e737	/home     	ext4      	rw,relatime,data=ordered	0 2
# /dev/sda7
UUID=942f7941-5486-42e7-a3b7-919757c0b965	none      	swap      	defaults  	0 0
然後GRUB:

代码: 全选

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  5ceffa1c-3785-4398-a921-0b6101522728
else
  search --no-floppy --fs-uuid --set=root 5ceffa1c-3785-4398-a921-0b6101522728
fi
    font="/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-60fcc612-9189-42b1-adc8-fd5b85e07b4b' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  9faf7b02-bf8a-4c29-8d8a-dc437065d0d3
	else
	  search --no-floppy --fs-uuid --set=root 9faf7b02-bf8a-4c29-8d8a-dc437065d0d3
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=60fcc612-9189-42b1-adc8-fd5b85e07b4b ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-60fcc612-9189-42b1-adc8-fd5b85e07b4b' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  9faf7b02-bf8a-4c29-8d8a-dc437065d0d3
	else
	  search --no-floppy --fs-uuid --set=root 9faf7b02-bf8a-4c29-8d8a-dc437065d0d3
	fi
	echo	'Loading Linux core repo kernel ...'
	linux	/vmlinuz-linux root=UUID=60fcc612-9189-42b1-adc8-fd5b85e07b4b ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux-fallback.img
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
開機錯誤信息:

代码: 全选

/dev/sda2:clean,1439/469568 files,113446/1875588blocks
ERROR:Root device mounted successfully,but /sbin/init does not exist.
Bailing out, youare on your own, Good luck.

sh: can't accesstty: job control turned off
[rootfs /]#
--- end ---
請教哪裏錯了?
头像
pc8086
帖子: 10
注册时间: 2011-10-14 19:20
送出感谢: 0
接收感谢: 0

Re: 安裝后 grub-bios出錯,無法啓動求救!!!

#2

帖子 pc8086 » 2013-04-21 12:54

ERROR:Root device mounted successfully,but /sbin/init does not exist.
看来问题在这里
回复

回到 “Arch发行版”