求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#1

帖子 colin7749 » 2009-10-11 14:48

通过wubi-hd在XP(C盘)下,安装9.10;要将9.10安装至E、F盘
我的步骤如下:
1、按照wubi-hd的说明,将其与9.10放在D盘同一目录下,安装,此时WUBI-HD复制完成提示重启;
2、重启后在原XP启动下出现 ubuntu netbook remix 选项,选择然后进入;
3、进入后选择最后一个(LIVECD形式)
4、进入LIVE后,先在终端运行sudo umount -l /isodevice,然后选了安装;
5、一切正常,将E所在的盘8G大小划为 “/” 区EXT4文件格式,将F所在的1.5G划为交换区,然后继续正常安装
6、此时,已经安装完成,提示重新启动或者继续测试(LIVE CD下);


问题是,当我重新启动后,在系统选择菜单那里仍只有
1. XP
2.ubuntu netbook remix
而如果选择了2的话,还是进入了安装模式……但能够看出UBUNTU已经占用了E盘2.5G空间了


C盘目录下的BOOT.INI文件内容如下:
[boot loader]
timeout=15
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\wubildr.mbr="Ubuntu-Netbook-Remix"


————————————————————————————————————
此外C盘中还有两个文件:
wubildr 和 wubildr.mbr
——————————————————————————————
请问:要如何才能进入U系统呀?
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#2

帖子 colin7749 » 2009-10-11 14:54

我在安装的时候没有选择安装启动引导器
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#3

帖子 smallapple » 2009-10-11 16:32

colin7749 写了:我在安装的时候没有选择安装启动引导器
没安装的就难搞了。
先进 livecd 用

代码: 全选

ls /dev/disk/by-uuid -l
将 / 分区(原来E盘)的UUID记下来
试试自己在C盘新建一个grub.cfg,内容如下,用 / 分区的uuid代替下面的 UUID,再把C盘下/ubuntu/install/boot/grub/grub.cfg改名为bak.grub.cfg

代码: 全选

set default=0
set timeout=5
search -s -f -n /vmlinuz
menuentry "Ubuntu 9.10" {
linux /vmlinuz root=UUID=xxxx-xxxx-xxxx-xxxx
initrd /initrd.img
}
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#4

帖子 colin7749 » 2009-10-11 17:41

你好,
我现在又重新通过上面的方式安装了一下系统,此次选择了安装启动加载器;
然后在C盘(XP),存在有grldr grldr.cfg menu.lst(全部来源于grub4dos)
不过/分区 boot下面没有menu.lst 也没有找到.cfg文件。
其中munu.lst 加入了以下代码
title ubuntu9.10
root (hd0,5)
kernel /boot/vmlinuz-2.6.31.11-generic root=uuid=b920e56c-a341-4d75-8871-34cff82a708c ro quiet splash rootstype=ext4
initrd /boot/initrd.img-2.6.31.12-generic
boot



__________________
在重新启动后,显示如下内容
booting "ubuntu9.10"
filesystem type is ext2fs partition type 0x83

其它什么都没有了,这是什么情况呢?
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#5

帖子 colin7749 » 2009-10-11 17:44

目前开机有3项
1.XP
2.ubuntu netbook remix(本是用wubi-hd产生的安装)
3.ubuntu 9.10

此外之前用WUBI-HD引导的安装选项(ubuntu netbook remix那个),选择之后就直接和ubuntu9.10一样。
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#6

帖子 colin7749 » 2009-10-11 17:52

boot.ini如下:
[boot loader]
timeout=15
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\wubildr.mbr="Ubuntu-Netbook-Remix"
c:\grldr="ubuntu9.10"



————————————————————
menu.lst(从GRUB4DOS中取得)如下:
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies /ntldr
chainloader /ntldr
savedefault --wait=2

title find and load BOOTMGR of Windows VISTA
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2



title ubuntu9.10
root (hd0,5)
kernel /boot/vmlinuz-2.6.31.11-generic root=uuid=b920e56c-a341-4d75-8871-34cff82a708c ro quiet splash
initrd /boot/initrd.img-2.6.31.12-generic
boot

title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

title back to dos
quit

title reboot
reboot

title halt
halt

title MAXDOS.IMG
find --set-root --ignore-floppies /boot/MAXDOS.IMG
map --mem /boot/MAXDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)


——————————————————————
C盘还有文件 wubildr wubildr.mbr grldr grldr.mbr
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#7

帖子 smallapple » 2009-10-11 18:31

选择了安装启动加载器
应该用第2项就可以启动Ubuntu的

grub4dos的问题可能是不能识别ubuntu分区引起的。把 root (hd0,5) 改为 uuid b920e56c-a341-4d75-8871-34cff82a708c 试试
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#8

帖子 colin7749 » 2009-10-11 23:46

Filesystem type is ext2fs ,partition type 0*83
/init:line 218syntax error :0xuuid= b920e56c-a341-4d75-8871-34cff82a708c

kernel ?boot/vmlinuz-2.6.31 ro root=LABLE= /rhgb quiet
[linux-bzImage,setup=0*1e00.site=0*19a1b0] initrd /boot/initrd-2.6.31.img
[linux-initrd @0*1f72d000,0*92cdd bytes] (此三行当时具体显示的是什么没有记清楚,大概是这样子。)
1.470520 kernel panic-not syncing: attempted to kill init



然后就一直无法进入了
此时我的MENU.LST中的内容有
title ubuntu9.10
root (hd0,5)
kernel /boot/vmlinuz-2.6.31-11-generic root=uuid=b920e56c-a341-4d75-8871-34cff82a708c ro quiet splash rootfstype=ext4
initrd /boot/initrd.img-2.6.31-12-generic
boot

与刚才的出现错误时的menu.lst的区别是:
1.修正了vmlinuz-2.6.31-11与2.6.31-12(刚才11、12前面是个小数点)
2.后面加入了此句 rootfstype=ext4


刚才的错误
————————————————————————————————
在重新启动后,显示如下内容
booting "ubuntu9.10"
filesystem type is ext2fs partition type 0x83

其它什么都没有了,这是什么情况呢?
————————————————————————————
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#9

帖子 smallapple » 2009-10-12 8:01

可能是grub版本不支持ext4,下载最新的grub4dos试试。
在menu.lst 加上这个,再选择grub2启动试试,看有什么信息

代码: 全选

title Grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
boot
有关grub2的引导看看我的签名档。
colin7749
帖子: 63
注册时间: 2009-09-08 19:36

Re: 求助:安装完成9.10netbook重新启动后,没有ubuntu的引导呀

#10

帖子 colin7749 » 2009-10-12 9:28

呵呵,谢谢smallapple 啦,果然是这样子的问题,在加了上面的代码之后成功进入~ :em02
我用的是联想天逸F30,一切硬件都比较完美的识别并运行~~~~
就是有点小郁闷,摄像头的灯从开机起就一直亮着,进入U后打开摄像头,头像都是倒立也基本看不清楚~~~
终于可以投入UBUNTU的怀抱啦 :em06
真正接触U也没几天,所以遇到的问题很多,还是很感谢坛子上各位兄弟们不厌其烦的指导和帮助啦~~
回复