- 论坛徽章:
- 0
|
kellyseeme123 发表于 2012-08-30 10:03 ![]()
重新进入系统,查看grub的配置文件,如果配置文件正确,那么用文本模式进入,修改/etc/fstab中的默认等级为 ...
我用fdisk -l查询的分区信息如下:
[root@Buddy ~]# fdisk -l
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000ea57e
Device Boot Start End Blocks Id System
/dev/sdb1 1 12749 102400000 8e Linux LVM
/dev/sdb2 12749 20398 61440000 83 Linux
/dev/sdb3 20398 22947 20480000 83 Linux
/dev/sdb4 22947 121602 792440832 5 Extended
/dev/sdb5 22948 25497 20480000 83 Linux
/dev/sdb6 25497 26772 10240000 82 Linux swap / Solaris
/dev/sdb7 * 26772 28047 10240000 83 Linux
/dev/sdb8 28047 29322 10240000 83 Linux
/dev/sdb9 29322 30597 10240000 83 Linux
Disk /dev/sda: 4048 MB, 4048551936 bytes
54 heads, 9 sectors/track, 16270 cylinders
Units = cylinders of 486 * 512 = 248832 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xecbbecbb
Device Boot Start End Blocks Id System
/dev/sda1 * 1424 16271 3607680 c W95 FAT32 (LBA)
我的grub下面的menu.lst内容是:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,6)
# kernel /boot/vmlinuz-version ro root=/dev/sdb7
# initrd /boot/initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd1,6)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.32-279.el6.x86_64)
root (hd1,6)
kernel /boot/vmlinuz-2.6.32-279.el6.x86_64 ro root=UUID=5e129cae-049b-4906-b173-e1681b33dc01 rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
initrd /boot/initramfs-2.6.32-279.el6.x86_64.img
这个帖子里的问题,我看了,但是不知道怎么解决。。
我用root (hd0, 0)得到错误提示:
error 1: unrecongnized device string
我只有一个盘(1T),CENTOS用250G左右。。 |
|