Partition 2 does not end on cylinder boundary.
/dev/sda3
144 2611 19819520 83 Linux
//
这个为/根分区
[root@localhost /]
/dev/sda3
on /
type
ext4 (rw)
//
根分区
/dev/sda1
on
/boot
type
ext4 (rw)
//boot
分区为sda1
devpts on
/dev/pts
type
devpts (rw)
tmpfs on
/dev/shm
type
tmpfs (rw)
proc on
/proc
type
proc (rw)
sysfs on
/sys
type
sysfs (rw)
/dev/sr0
on
/mnt
type
iso9660 (ro)
[root@localhost /]
Probing devices to guess BIOS drives. This may take a long
time
.
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible
command
completions. Anywhere
else
TAB lists the
possible
completions of a device
/filename
.]
grub》 root (hd0,0)
//
首先
find
/grub/stage1
查看
/boot
分区为(hd0,0)
root (hd0,0)
//
设置
/boot
分区为
/dev/sda1
Filesystem
type
is ext2fs, partition
type
0x83
grub》 setup (hd0)
//
重新安装grub
setup (hd0)