页次: 1
这几天想起了无线网,就在arch下折腾。按照网上搜的,把驱动装了,发现用不了!无线网一点开启他就立即关掉,以为是网卡有问题(因为我以前装Sabayon的时候他也是这样)。所以就把准备装个win 7来检查一下无线网卡是不是坏了,装好后发现没坏。就又开始装arch,等到装好后,发现win 7进不了了。提示:error 13 : Invalid or unsupported executable format 在网上搜了下,说是分区表乱了,看了下我的分区表,好象是乱了。如下:
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 411647 204800 83 Linux
/dev/sda2 411648 168183807 83886080 7 HPFS/NTFS/exFAT
/dev/sda3 555931648 618846207 31457280 7 HPFS/NTFS/exFAT
/dev/sda4 168184485 625141759 228478637+ 5 Extended
/dev/sda5 168184548 231111089 31463271 83 Linux
/dev/sda6 231111153 555929324 162409086 83 Linux
/dev/sda7 618850304 625141759 3145728 82 Linux swap / Solaris
请问:这有什么方法可以修复的吗?
离线
看看 /boot/grub/grub.cfg 或者 /boot/grub/menu.lst 吧
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
/boot/grub/menu.lst 如下:
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# https://wiki.archlinux.org/index.php/GR ... resolution
# general configuration:
timeout 3
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /vmlinuz-linux root=/dev/sda5 ro
initrd /initramfs-linux.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /vmlinuz-linux root=/dev/sda5 ro
initrd /initramfs-linux-fallback.img
# (2) Windows
title Windows 7
rootnoverify (hd0,0)
makeactive
chainloader +1
求解啊
离线
# (2) Windows
title Windows 7
rootnoverify (hd0,?-1) #你的win7装在哪一个分区?
#makeactive
chainloader +1
[fracting的大作]Wine使用中的一些常见误区
http://forum.ubuntu.org.cn/viewtopic.php?f=121&t=363147
顺便学习一下对待开源软件的正确态度
离线
嗯,感觉应该是:
rootnoverify (hd0,1)
Site: CVHC.CC Twitter: @cuihaoleo Org: LUG@USTC
AD: ~欢迎参与志愿计算~
离线
win 7 装在 /dev/sda3 里。我弄好了,把 chainloader +1 改成 chainloader (hd0,2)+1 就可以了。谢谢大家了!!! :em11
离线
chainloader 第一个参数是物理设备,第二个是分区,根据你上面的列表来看,第二个参数应该是2(0开始01234567)
just for fun :-)
离线
页次: 1