|
|

楼主 |
发表于 2006-7-10 18:34:32
|
显示全部楼层
还是没搞定。
这是fdisk显示的结果:
root@ubuntu:/mnt/root # fdisk /dev/hda
The number of cylinders for this disk is set to 4866.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
p
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1309 10514511 c W95 FAT32 (LBA)
/dev/hda2 1310 1373 514080 82 Linux swap / Solaris
/dev/hda3 1374 2409 8321670 83 Linux
/dev/hda4 2410 4866 19735852+ f W95 Ext'd (LBA)
/dev/hda5 2410 3462 8458191 b W95 FAT32
/dev/hda6 3463 4866 11277598+ b W95 FAT32
fstab文件:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 defaults,errors=remount-ro 0 1
/dev/hda2 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/boot/grub/menu.lst文件里linux相关部分:
title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda4 ro
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot
上面的fstab和menu.lst都是我后来改过的,以前/分区是/dev/hda4,root (hd0,3)
请大家帮忙分析一下是怎么回事。 |
|