Help me!------grub 装不上了!!!
- w8852169
- 帖子: 19
- 注册时间: 2008-11-16 17:20
Help me!------grub 装不上了!!!
我使用UBUNTU8.04使用得很好,可就前几天晚上,一晚上无故给我死机5次,每次都是死干净了的,CTRL+ALT+←也没用,反正是死透了,重起用个把小时又挂,等第5次死掉后,我再起,就进入命令行界面,进不了图形界面了,再起一次后,GRUB报错ERROR2,没其他反应了。
我折腾了两天,查了下资料,摆不平了,只好清空mbr了,dos进不去,盘有问题,用软件清空的,现在只能显示Missing operation system了。
用Ubuntu的liveCD 进系统在命令行下,我看到我的的第2个盘的linux分区,grub里就是setup不出来,说文件找不到,find /boot/grub/stage1就是找不到,我在以前使用的时候看得到根目录下面的boot文件夹,可在光盘系统里为什么看到boot是一个文件,现在不找到怎么办了,我又不想重新装,请各位帮帮小菜我,help me! 在线等!!!!!!!!!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1305 10482381 c W95 FAT32 (LBA)
/dev/sda2 1306 4522 25840552+ 7 HPFS/NTFS
/dev/sda3 4523 30401 207873067+ f W95 Ext'd (LBA)
/dev/sda5 4523 8219 29696121 7 HPFS/NTFS
/dev/sda6 8220 11789 28675993+ 7 HPFS/NTFS
/dev/sda7 11790 15486 29696121 7 HPFS/NTFS
/dev/sda8 15487 19183 29696121 7 HPFS/NTFS
/dev/sda9 19184 22880 29696121 7 HPFS/NTFS
/dev/sda10 22881 26577 29696121 7 HPFS/NTFS
/dev/sda11 26578 30401 30716248+ 7 HPFS/NTFS
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdae345f2
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1069 8586711 83 Linux
/dev/sdb2 1070 1312 1951897+ 83 Linux
/dev/sdb3 1313 1442 1044225 82 Linux swap / Solaris
/dev/sdb4 1443 9728 66557295 f W95 Ext'd (LBA)
/dev/sdb5 1443 3184 13992583+ 7 HPFS/NTFS
/dev/sdb6 3185 5734 20482843+ 7 HPFS/NTFS
/dev/sdb7 5735 8284 20482843+ 7 HPFS/NTFS
/dev/sdb8 8285 9728 11598898+ 7 HPFS/NTFS
root@ubuntu:~# sudo grub
grub> root (hd
Possible disks are: hd0 hd1
grub> root (hd1,
Possible partitions are:
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type unknown, partition type 0x82
Partition num: 4, Filesystem type unknown, partition type 0x7
Partition num: 5, Filesystem type unknown, partition type 0x7
Partition num: 6, Filesystem type unknown, partition type 0x7
Partition num: 7, Filesystem type unknown, partition type 0x7
grub> root (hd1,0)
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub> find /boot/grub/stage1
Error 15: File not found
grub> find /grub/stage1
Error 15: File not found
grub> find /boot/vmliuz
Error 15: File not found
grub> find /vmlinuz
Error 15: File not found
grub> cat (hd1,0)/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdb1
UUID=20bd48f4-6dd7-4820-bfba-cb7cce2b3158 / ext3 relatime,errors=remount-ro 0 1
# /dev/sdb4
UUID=f1da2b4d-67fc-4cbd-ae4b-42a6808cf7f1 /home ext3 relatime 0 2
# /dev/sdb2
UUID=023f0b6c-a651-4e6d-b03e-4d4c83c841e2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
grub> kernel /boot/
Error 2: Bad file or directory type
grub> kernel /boot/
我折腾了两天,查了下资料,摆不平了,只好清空mbr了,dos进不去,盘有问题,用软件清空的,现在只能显示Missing operation system了。
用Ubuntu的liveCD 进系统在命令行下,我看到我的的第2个盘的linux分区,grub里就是setup不出来,说文件找不到,find /boot/grub/stage1就是找不到,我在以前使用的时候看得到根目录下面的boot文件夹,可在光盘系统里为什么看到boot是一个文件,现在不找到怎么办了,我又不想重新装,请各位帮帮小菜我,help me! 在线等!!!!!!!!!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1305 10482381 c W95 FAT32 (LBA)
/dev/sda2 1306 4522 25840552+ 7 HPFS/NTFS
/dev/sda3 4523 30401 207873067+ f W95 Ext'd (LBA)
/dev/sda5 4523 8219 29696121 7 HPFS/NTFS
/dev/sda6 8220 11789 28675993+ 7 HPFS/NTFS
/dev/sda7 11790 15486 29696121 7 HPFS/NTFS
/dev/sda8 15487 19183 29696121 7 HPFS/NTFS
/dev/sda9 19184 22880 29696121 7 HPFS/NTFS
/dev/sda10 22881 26577 29696121 7 HPFS/NTFS
/dev/sda11 26578 30401 30716248+ 7 HPFS/NTFS
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xdae345f2
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1069 8586711 83 Linux
/dev/sdb2 1070 1312 1951897+ 83 Linux
/dev/sdb3 1313 1442 1044225 82 Linux swap / Solaris
/dev/sdb4 1443 9728 66557295 f W95 Ext'd (LBA)
/dev/sdb5 1443 3184 13992583+ 7 HPFS/NTFS
/dev/sdb6 3185 5734 20482843+ 7 HPFS/NTFS
/dev/sdb7 5735 8284 20482843+ 7 HPFS/NTFS
/dev/sdb8 8285 9728 11598898+ 7 HPFS/NTFS
root@ubuntu:~# sudo grub
grub> root (hd
Possible disks are: hd0 hd1
grub> root (hd1,
Possible partitions are:
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type unknown, partition type 0x82
Partition num: 4, Filesystem type unknown, partition type 0x7
Partition num: 5, Filesystem type unknown, partition type 0x7
Partition num: 6, Filesystem type unknown, partition type 0x7
Partition num: 7, Filesystem type unknown, partition type 0x7
grub> root (hd1,0)
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub> find /boot/grub/stage1
Error 15: File not found
grub> find /grub/stage1
Error 15: File not found
grub> find /boot/vmliuz
Error 15: File not found
grub> find /vmlinuz
Error 15: File not found
grub> cat (hd1,0)/etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdb1
UUID=20bd48f4-6dd7-4820-bfba-cb7cce2b3158 / ext3 relatime,errors=remount-ro 0 1
# /dev/sdb4
UUID=f1da2b4d-67fc-4cbd-ae4b-42a6808cf7f1 /home ext3 relatime 0 2
# /dev/sdb2
UUID=023f0b6c-a651-4e6d-b03e-4d4c83c841e2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
grub> kernel /boot/
Error 2: Bad file or directory type
grub> kernel /boot/
- mawith
- 帖子: 1288
- 注册时间: 2007-10-21 16:41
- 来自: GD
- w8852169
- 帖子: 19
- 注册时间: 2008-11-16 17:20
Re: Help me!------grub 装不上了!!!
不是windows的分区,我在liveCD里任意一个盘都可以进去,就只是linux根分区的boot文件夹没见着,只见着一个boot文件,打不开,30多m吧
现在find /boot/grub/linux......找不到文件,装不上grub
怎么办啊?
现在find /boot/grub/linux......找不到文件,装不上grub
怎么办啊?
- mawith
- 帖子: 1288
- 注册时间: 2007-10-21 16:41
- 来自: GD
- mawith
- 帖子: 1288
- 注册时间: 2007-10-21 16:41
- 来自: GD
- w8852169
- 帖子: 19
- 注册时间: 2008-11-16 17:20
Re: Help me!------grub 装不上了!!!
你的Grub怎么了?
- mawith
- 帖子: 1288
- 注册时间: 2007-10-21 16:41
- 来自: GD
- w8852169
- 帖子: 19
- 注册时间: 2008-11-16 17:20
Re: Help me!------grub 装不上了!!!
实在不行,就只能低头重装了。
英雄啊,99小菜我吧
英雄啊,99小菜我吧
-
- 帖子: 204
- 注册时间: 2008-03-09 12:32
- 联系:
Re: Help me!------grub 装不上了!!!
似乎是文件系统坏了
用livecd启动
fsck一下再安装grub
用livecd启动
fsck一下再安装grub
- w8852169
- 帖子: 19
- 注册时间: 2008-11-16 17:20
Re: Help me!------grub 装不上了!!!
????
没试过
回家试下先
没试过
回家试下先