Chinaunix首页 | 论坛 | 博客
  • 博客访问: 388289
  • 博文数量: 70
  • 博客积分: 1919
  • 博客等级: 上尉
  • 技术积分: 1179
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-24 20:05
文章分类

全部博文(70)

文章存档

2014年(2)

2013年(29)

2012年(20)

2011年(1)

2010年(13)

2009年(5)

分类: LINUX

2012-12-04 16:57:05

出现:
dracut:
dracut:
-------------------------------------------------------------------------------
解决办法:

U盘安装:

如果用fedora16的方法,无法正常安装,请参见本文。
用软碟通UltraISO将fedora17的dvd版iso刻录到u盘后,删除packages文件夹(节省空间),将DVD版的iso复制进u盘。
然后开机进入之后出现
dracut:/#
输入以下
输入以下命令
dracut:/# cd dev
dracut:/# ls
接下来找到以sd开头的,有的是sdd,有的是sdb,还有的是sdc,不过貌似一般都是sdb,这里你可以看到以sdb开头的文件有两个分别是sdb

和sdb1,sdb1代表的就是你的u盘了,这里是假设你看到的是sdb1,我的显示是sdb4,记住你看到的是哪个。
然后重新开机,你会看到
Install or upgrade Fedora
Troubleshooting
当选第一项的时候(默认就是)按下Tab键,下面会出现
append initrd=initrd.img root=live:CDLABEL=Fedora\x2017\x20i386 quiet
这时你把后面改为
append initrd=initrd.img repo=hd:/dev/sdb1:/ quiet
其中sdb1就代表你上一步看到的,然后点确认就OK了。
注释:此方法是用U盘引导,启动U盘中的镜像安装。安装fedora17不需要16那样手动分区了。
###################################################################################
错误3:
--------------------------------------------------------------------------------------------
The installer has tried to mount image #1.but cannot find it on the hard drive. Please copy this image to the drive and 

click Retry. Click Reboot to abord the installation. 选‘Retry’ 出现同样的警告,
-----------------------------------------------------
解决办法:将iso拷贝一份放到U盘
------------------------------------------------------------
###########################################################
连接无线
----------------------------
无线网络加密方式的问题。你设置了WEP的加密方式,这种加密方式只支持5位或者10位的密码,还有WPA或者WPA2方式,这两种都支持随机长度的密码,安全性也比WEP强很多!
运行下列命令:
iw dev wlan0 scan | grep -i ssid
cat /etc/wpa_supplicant/wpa_supplicant.conf
wpa_passphrase ssid 'passwd' >> /etc/wpa_supplicant/wpa_supplicant.conf
cat /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant -h | tail -n 1
wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -d
出现:
wlan0: Cancelling authentication timeout
wlan0: State: GROUP_HANDSHAKE -> COMPLETED
wlan0: CTRL-EVENT-CONNECTED - Connection to bc:ae:c5:7e:ba:fc completed (auth) [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
netlink: Operstate: linkmode=-1, operstate=6
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
EAPOL authentication completed successfully
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
WEXT: if_removed already cleared - ignore event
EAPOL: startWhen --> 0
EAPOL: disable timer tick
等出现
wlan0: WPA: Key negotiation completed with bc:ae:c5:7e:ba:fc [PTK=CCMP GTK=CCMP]
说明验证成功了。
wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B

申请一个dhcp IP地址
dhclient -r wlan0   #释放之前的ip地址
dhclient wlan0
ip addr show wlan0
ifconfig wlan0
出现:
wlan0: flags=4163  mtu 1500
        inet 192.168.168.118  netmask 255.255.255.0  broadcast 192.168.168.255
        inet6 fe80::62d8:19ff:fecc:7484  prefixlen 64  scopeid 0x20
        ether 60:d8:19:cc:74:84  txqueuelen 1000  (Ethernet)
        RX packets 98  bytes 10981 (10.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 114  bytes 19307 (18.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
没什么大问题的话,应该可以上网了。
阅读(3086) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~