求助:关于双引导 Xp 与 Ubuntu
-
- 帖子: 19
- 注册时间: 2011-03-14 17:25
Re: 求助:关于双引导 Xp 与 Ubuntu
sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
这里我更新grub时的代码
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
done
这里我更新grub时的代码
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 求助:关于双引导 Xp 与 Ubuntu
这段不行是因为你/或/boot分区不在(hd0,1),就算成功也有个问题,更新内核后,menu.lst要手动更新,grub2安装到mbr是最方便的。title Ubuntu 10.04
root (hd0,1)
kernel (hd0,1)/vmlinuz
initrd (hd0,1)/initrd.img
boot
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 求助:关于双引导 Xp 与 Ubuntu
小苹果看的可真仔细smallapple 写了:那个menu.lst根本就是错误的,kernel 这行没指定根分区,能进系统才见鬼
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 19
- 注册时间: 2011-03-14 17:25
Re: 求助:关于双引导 Xp 与 Ubuntu
那应该怎么写?
1、grub4Dos的教程有不?
2、我们这有群不?
1、grub4Dos的教程有不?
2、我们这有群不?
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
- onshoestring
- 论坛版主
- 帖子: 4666
- 注册时间: 2009-09-06 5:53
Re: 求助:关于双引导 Xp 与 Ubuntu
上面9根据你的情况改一下。title ubuntu
find --set-root /vmlinuz
kernel /vmlinuz root=/dev/sda9 ro quiet splash
initrd /initrd.lz
boot
http://code.google.com/p/grub4dos-help- ... loads/list
-
- 帖子: 19
- 注册时间: 2011-03-14 17:25
Re: 求助:关于双引导 Xp 与 Ubuntu
谢谢。我去看下。onshoestring 写了:上面9根据你的情况改一下。title ubuntu
find --set-root /vmlinuz
kernel /vmlinuz root=/dev/sda9 ro quiet splash
initrd /initrd.lz
boot
http://code.google.com/p/grub4dos-help- ... loads/list
我录的视频可以下载了。
在这个3分多钟的时间里,不满意的地方是在 grub4Dos选了,出现一个启动菜单,这选了第一项 XXXx ubuntu11.04 之后,会出现一段Booting ....的文字,这个时间段从34秒到58秒时间,这个时间比较长。从58秒开始一直到1分50秒的样子才出现Ubuntu的Logo,然后又是一个漫长的等待。
所使用的menu.list为
代码: 全选
timeout 10
default 0
title grub2 Will guide to Ubuntu 11.04
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot
title Ubuntu 10.04
root (hd0,2)
kernel (hd0,2)/vmlinuz
initrd (hd0,2)/initrd.img
boot
-
- 帖子: 19
- 注册时间: 2011-03-14 17:25
-
- 帖子: 19
- 注册时间: 2011-03-14 17:25
Re: 求助:关于双引导 Xp 与 Ubuntu
sudo fdisk -l 的结果如下
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0xc3b9c3b9
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2610 20964793+ 7 HPFS/NTFS
/dev/sda2 10444 30401 160312604+ f W95 Ext'd (LBA)
/dev/sda3 2611 10443 62917632 83 Linux
/dev/sda5 10444 10705 2104483+ 82 Linux swap / Solaris
/dev/sda6 10706 27806 137363751 7 HPFS/NTFS
/dev/sda7 27807 30401 20844306 7 HPFS/NTFS
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0xc3b9c3b9
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2610 20964793+ 7 HPFS/NTFS
/dev/sda2 10444 30401 160312604+ f W95 Ext'd (LBA)
/dev/sda3 2611 10443 62917632 83 Linux
/dev/sda5 10444 10705 2104483+ 82 Linux swap / Solaris
/dev/sda6 10706 27806 137363751 7 HPFS/NTFS
/dev/sda7 27807 30401 20844306 7 HPFS/NTFS
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 求助:关于双引导 Xp 与 Ubuntu
代码: 全选
title Ubuntu 11.04
root (hd0,2)
kernel /vmlinuz root=/dev/sda3 quiet splash
initrd /initrd.img
boot
-
- 帖子: 19
- 注册时间: 2011-03-14 17:25
Re: 求助:关于双引导 Xp 与 Ubuntu
楼上的方法可行。节省了不少开机时间。smallapple 写了:代码: 全选
title Ubuntu 11.04 root (hd0,2) kernel /vmlinuz root=/dev/sda3 quiet splash initrd /initrd.img boot
再问下,在grub4Dos的菜单选了ubuntu11.04之后,会出现一个
Booing 'ubuntu11.04'
FileSystem type is reiserfs,partition type 0X83
.........
.........
这样的提示,这个提示能隐藏不?
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
- qy117121
- 论坛版主
- 帖子: 50587
- 注册时间: 2007-12-14 13:40
- 系统: Winbuntu
- 来自: 志虚国乌由市
- 联系:
Re: 求助:关于双引导 Xp 与 Ubuntu
smallapple onshoestring

