挂载Windows分区
#mount -t msdos /dev/wd0a /mnt
挂载和卸载ISO文件
挂载 #vnconfig -v -c /dev/vnd0d ***.iso #mount -t cd9660 /dev/vnd0d /mnt 卸载 #umount /mnt #vnconfig -u vnd0d
一个较快的国外镜像
用Grub引导NetBSD
有两种方法 title NetBSD 2.0 rootnoverity (hd0, 1) /*安自己的情况写*/ chainloader +1 boot 第二种方法 title NetBSD 2.0 root (hd0, 1, a) kernel --type=netbsd /netbsd boot
让X支持鼠标滚轮
在/etc/X11/XF86Config中找到Mouse那段代码修改为 Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" /*在X中使用滚轮*/ EndSection
配置X
先运行xf86cfg后保存设置,再进入/etc/X11/XF86Config设置将monitor段设置为 Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30-107 VertRefresh 48-120 EndSection 将screen段设置为 Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1024x768" EndSubSection EndSection
阅读(751) | 评论(0) | 转发(0) |