Windows和Linux共存的多操作系统启动
来源: 作者: 发布时间:2007-11-10
一、多系统引导程序的恢复
我们知道,Windows 和Linux 共存的多操作系统,应先安装Windows系统,然后再安装Linux。但很多情况下需重新安装Windows系统,原有的多系统引导程序GRUB或LILO会被覆盖,不能从硬盘启动Linux,这样就需要重新修复多系统引导程序。
1.多系统引导LILO 的恢复
(1)用Linux 系统启动软盘如果在安装Linux 时制作了系统启动软盘,只需在重新安装Windows 系统后,用Linux的启动软盘启动,执行/sbin下的LILO 即可。
# /sbin/lilo
重新启动机器后,熟悉的LILO 界面就会出现。
(2)制作系统启动软盘
如果在安装Linux时没有制作系统启动盘,那么先在Linux系统下用mkbootdisk做启动软盘,然后再重新安装Windows。
# unamer-r(获得系统的内核版本号)
# mkbootdisk--device/dev/fd0 kernelversion
其中 /dev/fd0 是指软盘的设备名,kernelversion 是前面得到的内核版本。如果在重新安装Windows 系统之后才发现没做启动盘,这也没关系,找一个和你安装相同版本的机器借一个或做一个启动软盘,如果它的Linux根区安装的地方和你的相同,直接启动即可;否则,可暂时修改系统启动软盘上的syslinux.cfg文件,将其中的root=/dev/hadx将改为你的根区设备号即可。
使用RP-PPPOE 实现ADSL 宽带上网过程
首先运行:# /sbin/adsl-setup
Welcome to the ADSL client setup. First, I will run some checks on your system to make sure the PPPoE client is installed properly..LOGIN NAME Enter your Login Name (default root): ad58029124 INTERFACE Enter the Ethernet interface connected to the ADSLmodem For Solaris, this is likely to be something like /dev/hme0.For Linux, it will be ethX, where 'X' is a number. (default eth0): eth0 Doyou want the link to come up on demand, or stay up continuously?If you want it to come up on demand, enter the idle time in secondsafterwhich the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.):no
NOTE: Demand-activated links do not interact well with dynamic IPaddresses. You may have some problems with demand-activatedlinks. Enter the demand value (default no): no
共3页: 上一页 1
[2] [3] 下一页