如何通过Grub引导逻辑分区的GhostXP

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
356987544
帖子: 10
注册时间: 2010-07-09 2:30

如何通过Grub引导逻辑分区的GhostXP

#1

帖子 356987544 » 2013-04-27 10:12

小弟通过Ubuntu自带的分区软件对系统进行了全新分区 结果如下
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe467e467

Device Boot Start End Blocks Id System
/dev/sda1 * 1 61 487424 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 61 24322 194870273 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/sda5 61 186 999424 82 Linux swap / Solaris
/dev/sda6 186 2676 19998720 83 Linux
/dev/sda7 2676 10213 60546048 83 Linux
/dev/sda8 10214 13982 30272512 7 HPFS/NTFS
/dev/sda9 13982 24322 83049472 7 HPFS/NTFS

sda1是Boot分区 sda5是Swap sda6是/ sda7是/home sda8是GhostXP
我是先安装的Ubuntu 之后通过启动U盘Ghost的XP 在Ub系统下通过updata-Grub更新XP菜单可是启动后
一直停留在左上角光标闪烁之后就毫无反应了。
请问这个问题能解决么?
如何解决逻辑分区引导问题呢?

menuentry "Microsoft Windows XP Professional (on /dev/sda8)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,8)'
search --no-floppy --fs-uuid --set=root 10203163203150C8
drivemap -s (hd0) ${root}
chainloader +1
}

这是小弟的启动菜单
356987544
帖子: 10
注册时间: 2010-07-09 2:30

Re: 如何通过Grub引导逻辑分区的GhostXP

#3

帖子 356987544 » 2013-04-27 17:36

onshoestring 写了:viewtopic.php?f=139&t=224942
这个方法试过了 可是由于10.04用的是Grub2 命令格式已经不是
itle windows
kernel /memdisk.gz
initrd /xpflp.zip
这种形式了 所以我也不太清楚应该怎么替换 试过这样写
menuentry "Windows XP" {
linux /memdisk.gz
initrd /xpflp.zip
}
启动后还是黑屏左上角无限闪烁光标
回复