双硬盘如何重置启动项
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
双硬盘如何重置启动项
1.
我的是双硬盘的,原先主盘装的是ubuntu9.04,重盘装的是8.04,把重盘换成xp之后。启动时other operating systems 还是ubuntu 8.04
2.
就是进不了xp,跳线设对了!!!!
我的是双硬盘的,原先主盘装的是ubuntu9.04,重盘装的是8.04,把重盘换成xp之后。启动时other operating systems 还是ubuntu 8.04
2.
就是进不了xp,跳线设对了!!!!
- wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: 双硬盘如何重置启动项
sudo update-grub
就有xp出来的,再把menu.lst中xp项改一下:
title Microsoft Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
makeactive
chainloader +1
就有xp出来的,再把menu.lst中xp项改一下:
title Microsoft Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
makeactive
chainloader +1
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
xp没有出阿!!!
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28-15-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
chenweishi@chenweishi-desktop:~$ menu.lst
bash: menu.lst:找不到命令
chenweishi@chenweishi-desktop:~$ vim menu.lst
就这些
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.28-15-generic
Found kernel: /boot/vmlinuz-2.6.28-11-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
chenweishi@chenweishi-desktop:~$ menu.lst
bash: menu.lst:找不到命令
chenweishi@chenweishi-desktop:~$ vim menu.lst
就这些
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
看到了
Updating /boot/grub/menu.lst ... done
谢了,高手!!!
Updating /boot/grub/menu.lst ... done
谢了,高手!!!
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
- wangdu2002
- 帖子: 13284
- 注册时间: 2008-12-13 19:39
- 来自: 物华天宝人杰地灵
Re: 双硬盘如何重置启动项
chenweishi@chenweishi-desktop:~$ menu.lst
bash: menu.lst:找不到命令
chenweishi@chenweishi-desktop:~$ vim menu.lst
就这些
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
海内生明月,天涯共此夕。
--------------------吾本独!
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
#
title Windows Microsoft Windows XP professional
map(hd0)(hd1)
map(hd1)(hd0)
root(hd1,0)
makeactive
chainloader +1
"/boot/grub/menu.lst"
"/boot/grub/menu.lst" E212: Can't open file for writing
Press ENTER or type command to continue
悲剧了!!!帮帮我
title Windows Microsoft Windows XP professional
map(hd0)(hd1)
map(hd1)(hd0)
root(hd1,0)
makeactive
chainloader +1
"/boot/grub/menu.lst"
"/boot/grub/menu.lst" E212: Can't open file for writing
Press ENTER or type command to continue
悲剧了!!!帮帮我
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
改了没用!!!!# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb3.
title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (on /dev/sdb3)
root (hd1,2)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=697b5d07-0240-4e7c-9d82-21dd25450a58 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-24-generic
savedefault
boot
这些该怎么办!!!!
# linux installation on /dev/sdb3.
title Ubuntu 8.04.3 LTS, kernel 2.6.24-24-generic (on /dev/sdb3)
root (hd1,2)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=697b5d07-0240-4e7c-9d82-21dd25450a58 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-24-generic
savedefault
boot
这些该怎么办!!!!
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
启动不了阿,蓝屏哦,我试过单硬盘(xp)可以启动阿!!
麻烦了, smallapple
麻烦了, smallapple
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
说明下:我的双硬盘共用一个IDE接口!!!!
-
- 帖子: 11
- 注册时间: 2009-09-21 21:32
Re: 双硬盘如何重置启动项
chenweishi@chenweishi-desktop:~$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9638 77417203+ 83 Linux
/dev/sda2 9639 9729 730957+ 5 Extended
/dev/sda5 9639 9729 730926 82 Linux swap / Solaris
Disk /dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sdb2 2551 9733 57697447+ f W95 Ext'd (LBA)
/dev/sdb5 2551 5100 20482843+ 7 HPFS/NTFS
/dev/sdb6 5101 7650 20482843+ 7 HPFS/NTFS
/dev/sdb7 7651 9733 16731666 7 HPFS/NTFS
chenweishi@chenweishi-desktop:~$
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9638 77417203+ 83 Linux
/dev/sda2 9639 9729 730957+ 5 Extended
/dev/sda5 9639 9729 730926 82 Linux swap / Solaris
Disk /dev/sdb: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf0b1ebb0
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2550 20482843+ c W95 FAT32 (LBA)
/dev/sdb2 2551 9733 57697447+ f W95 Ext'd (LBA)
/dev/sdb5 2551 5100 20482843+ 7 HPFS/NTFS
/dev/sdb6 5101 7650 20482843+ 7 HPFS/NTFS
/dev/sdb7 7651 9733 16731666 7 HPFS/NTFS
chenweishi@chenweishi-desktop:~$