之前是win7+ubuntu10.10 用的grub,一直相安无事
不知道为什么,昨天晚上dist-upgrade到了11。04,结果问题就出现了,在grub.cfg里面再也找不到win7分区的信息了。
root@luovel-laptop:/boot/grub# fdisk /dev/sda -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 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: 0x9df09df0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 17849 112655782 f W95 Ext'd (LBA)
/dev/sda3 17850 19308 11718656 83 Linux
/dev/sda4 19308 19458 1199104 82 Linux swap / Solaris
/dev/sda5 3825 8924 40965718+ b W95 FAT32
/dev/sda6 8925 12749 30724281 b W95 FAT32
/dev/sda7 12750 17849 40965718+ b W95 FAT32
root@luovel-laptop:/boot/grub# vim /boot/grub/menu.lst
root@luovel-laptop:/boot/grub# vim /boot/grub/menu.lst
root@luovel-laptop:/boot/grub# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 12G 6.3G 4.2G 61% /
none 1000M 704K 999M 1% /dev
none 1006M 176K 1006M 1% /dev/shm
none 1006M 108K 1006M 1% /var/run
none 1006M 0 1006M 0% /var/lock
/dev/sda7 40G 35G 5.0G 88% /media/ENTERTAIN
/dev/sda6 30G 27G 3.1G 90% /media/DOCUMENTS
/dev/sda5 40G 35G 4.5G 89% /media/APP_SOFTWAR
root@luovel-laptop:/boot/grub# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2011-03-02 20:03 47E0-12F9 -> ../../sda5
lrwxrwxrwx 1 root root 10 2011-03-02 20:03 6941a919-f902-4f32-adfd-d4cda36bb8d4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-03-02 20:03 8FC0-25FA -> ../../sda6
lrwxrwxrwx 1 root root 10 2011-03-02 20:03 D7A0-3903 -> ../../sda7
lrwxrwxrwx 1 root root 10 2011-03-02 20:03 db856fef-f4d4-4163-8ab7-66476047c840 -> ../../sda3
root@luovel-laptop:/home/luovel# update-grub2
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-5-generic
Found initrd image: /boot/initrd.img-2.6.38-5-generic
Found linux image: /boot/vmlinuz-2.6.35-24-generic
Found initrd image: /boot/initrd.img-2.6.35-24-generic
Found linux image: /boot/vmlinuz-2.6.35-23-generic
Found initrd image: /boot/initrd.img-2.6.35-23-generic
Found memtest86+ image: /boot/memtest86+.bin
done
本来win7是安装在sda1分区上面的,但是目前ubuntu却完全找不到其启动信息了,请问我该怎么办呢?
对不起,我还是要问一下升级11.04后win7分区消失的问题
-
- 帖子: 1
- 注册时间: 2006-10-23 8:52
- hcym
- 帖子: 15634
- 注册时间: 2007-05-06 2:46
Re: 对不起,我还是要问一下升级11.04后win7分区消失的问题
老版简单,自己加一下
grub2是有点二
看置顶贴吧
grub2是有点二
看置顶贴吧
وإذا كان هذا لا يحصل أكثر من 100 ملاحظات ، انا ذاهب الى غضب
- 月下叹逍遥
- 论坛版主
- 帖子: 33994
- 注册时间: 2010-10-07 14:23
- 系统: Archdows10
- 来自: 某系某星某洲某国某省某市
- 联系:
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 对不起,我还是要问一下升级11.04后win7分区消失的问题
大概是win7分区的启动扇区挂掉了,有win7安装光盘的话,用安装光盘启动,进修复模式命令行下执行
bootrec /fixboot
试试
或用WinPE光盘启动,找个 bootice.exe重写下win7分区的引导扇区。
bootrec /fixboot
试试
或用WinPE光盘启动,找个 bootice.exe重写下win7分区的引导扇区。
- zhaotz
- 帖子: 109
- 注册时间: 2011-01-19 20:55
- doctorlzr1988
- 帖子: 184
- 注册时间: 2009-09-11 15:31