|

楼主 |
发表于 2010-3-20 02:43:04
|
显示全部楼层
fdisk -l- Device Boot Start End Blocks Id System
- /dev/sda1 * 1 4856 36711328+ 7 HPFS/NTFS
- /dev/sda2 4857 63214 441186480 f W95 Ext'd (LBA)
- /dev/sda3 * 63215 64601 10485720 83 Linux
- /dev/sda5 4857 25670 157353808+ 7 HPFS/NTFS
- /dev/sda6 25671 63214 283832608+ 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: 0x646624a3
- Device Boot Start End Blocks Id System
- /dev/sdb1 * 1 2612 20979712 7 HPFS/NTFS
- Partition 1 does not end on cylinder boundary.
- /dev/sdb2 2613 9729 57167302+ 5 Extended
- /dev/sdb5 2613 3585 7815591 83 Linux
- /dev/sdb6 3586 9421 46877638+ 83 Linux
- /dev/sdb7 9422 9729 2473978+ 82 Linux swap / Solaris
复制代码 fstab- UUID=3d0a29aa-0927-4c21-bd83-44cdefb54ab7 / ext4 errors=remount-ro 0 1
- #UUID=a952ab69-4814-4a8f-a61f-fc2dd7908036 none swap sw 0 0
复制代码 grub.conf- default 0
- timeout 30
- #splashimage=(hd0,0)/boot/grub/splash.xpm.gz
- #title Gentoo Linux 2.6.24-r5
- #root (hd0,0)
- #kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
- #initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
- # vim:ft=conf:
- title Gentoo Linux
- # 内核镜像(或者操作系统)所在分区
- root (hd0,5)
- kernel /boot/gentoo root=/dev/sdb6 rootfstype=ext4
- # 接下来的四行只有在您与Windows系统进行双启动的情况下才需要。
- title Windows Se7en
- rootnoverify (hd1,0)
- makeactive
- chainloader +1
复制代码 |
|