|
楼主 |
发表于 2006-11-5 14:48:10
|
显示全部楼层
可以用了 ,ai 郁闷,原来只有一块硬盘,ai
很奇怪,看下面吧。
以下是我的分区
root@ubuntu:/# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/sda2 1276 6516 42098332+ f W95 Ext'd (LBA)
/dev/sda3 6517 9729 25808422+ 83 Linux
/dev/sda5 1276 3825 20482843+ 7 HPFS/NTFS
/dev/sda6 3826 6375 20482843+ 7 HPFS/NTFS
/dev/sda7 6376 6516 1132551 82 Linux swap / Solaris
进入grub
grub> root (hd0,7)
Error 22: No such partition
grub> root (hd0,6)
Filesystem type unknown, partition type 0x82
grub> setup (hd0)
setup (hd0)
Error 17: Cannot mount selected partition
grub> root (hd0,2)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd0,2)
setup (hd0,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0,2)"... 18 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0,2) (hd0,2)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 18 sectors are embedded.succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+18 p (hd0,2)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
123主分区,567扩展分区,
我奇怪的是照理说应该是
root (hd0,7 )
setup (hd0)
但为什么
root (hd0,2 )
set (hd0)
才用得了??
????? |
|