[quote:abe2a8e178="冰寻"]使用map就可以了,不用这么交换盘符的。
用map(hd0)(hd1)map(hd1)(hd0)
你这么交换盘符,进去了才怪!!!!!!!!!!!! [/quote]
冰兄正解
交换盘符,只是字面意义上的。
map是通过映射bios to OS device。
为什么会出现这种情况,我猜测是因为grub装载hdb、hdc等硬盘上。
启动时通过bios让非hda盘启动,而grub认为哪个盘启动,哪个盘就是hd0,造成了混乱
13.3.23 map
— Command: map to_drive from_drive
Map the drive from_drive to the drive to_drive. This is necessary when you chain-load some operating systems, such as DOS, if such an OS resides at a non-first drive. Here is an example:
grub> map (hd0) (hd1)
grub> map (hd1) (hd0)
The example exchanges the order between the first hard disk and the second hard disk. See also DOS/Windows.