<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Linux/UNIX專區</title><link>http://blog.blueshop.com.tw/pendm/category/2482.aspx</link><description>Linux/UNIX專區</description><managingEditor>vale</managingEditor><dc:language>zh-TW</dc:language><generator>.Text Version 0.95.2004.101</generator><item><dc:creator>vale</dc:creator><title>《轉貼》建立Windows XP與Linux ubuntu雙系統開機</title><link>http://blog.blueshop.com.tw/pendm/archive/2008/03/01/54418.aspx</link><pubDate>Sat, 01 Mar 2008 14:19:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/pendm/archive/2008/03/01/54418.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/pendm/comments/54418.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/pendm/archive/2008/03/01/54418.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/pendm/comments/commentRss/54418.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/pendm/services/trackbacks/54418.aspx</trackback:ping><description>&lt;P&gt;裝了XP之後從UBUNTU的LIVE CD啟動，通過如下恢復GRUB後：&lt;BR&gt;　　sudo grub&lt;BR&gt;　　find /boot/grub/stage1 //我這裡反饋回來的是（hd0,1)&lt;BR&gt;　　root (hd0,1)&lt;BR&gt;　　setup (hd0)&lt;BR&gt;　　quit&lt;/P&gt;
&lt;P&gt;　　然後重啟，從硬盤啟動，GRUB啟動後選擇UBUNTU 7.04&lt;/P&gt;
&lt;P&gt;　　然後出現了ERROR 17的錯誤提示：說是不能掛載所選的分區&lt;/P&gt;
&lt;P&gt;　　按任意鍵回到GRUB主菜單，選擇recovery mode 也出現ERROR 17，memtest86+也是這樣，想想估計是重裝XP後分區表亂了，然後就按e修改，把root (hd0,1）改成root (hd0,10),還是出現ERROR 17錯誤，繼續改，改成root (hd0,8),系統成功啟動，進入系統後，修改menu.lst：sudo gedit /boot/grub/menu.lst&lt;/P&gt;
&lt;P&gt;　　把：&lt;BR&gt;　　title Ubuntu, kernel 2.6.20-16-generic&lt;BR&gt;　　root (hd0,1)&lt;BR&gt;　　kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro quiet splash locale=zh_CN&lt;BR&gt;　　initrd /boot/initrd.img-2.6.20-16-generic&lt;BR&gt;　　quiet&lt;BR&gt;　　savedefault&lt;/P&gt;
&lt;P&gt;　　title Ubuntu, kernel 2.6.20-16-generic (recovery mode)&lt;BR&gt;　　root (hd0,1)&lt;BR&gt;　　kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=bb0b700e-9d24-4e00-9e8c-eeeeaca5c06a ro single&lt;BR&gt;　　initrd /boot/initrd.img-2.6.20-16-generic&lt;/P&gt;
&lt;P&gt;　　title Ubuntu, memtest86+&lt;BR&gt;　　root (hd0,1)&lt;BR&gt;　　kernel /boot/memtest86+.bin&lt;BR&gt;　　quiet&lt;/P&gt;
&lt;P&gt;　　裡面的root (hd0,1)全部改為：root (hd0,8)&lt;/P&gt;
&lt;P&gt;　　保存退出，重啟，一個一個選擇看了一下，全部都能正常啟動了這次，沒出現ERROR 17的錯誤提示了。&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/pendm/aggbug/54418.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>vale</dc:creator><title>《轉貼》VMware下讓Linux系統與宿主主機共享上網</title><link>http://blog.blueshop.com.tw/pendm/archive/2008/02/03/54243.aspx</link><pubDate>Sun, 03 Feb 2008 18:06:00 GMT</pubDate><guid>http://blog.blueshop.com.tw/pendm/archive/2008/02/03/54243.aspx</guid><wfw:comment>http://blog.blueshop.com.tw/pendm/comments/54243.aspx</wfw:comment><comments>http://blog.blueshop.com.tw/pendm/archive/2008/02/03/54243.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.blueshop.com.tw/pendm/comments/commentRss/54243.aspx</wfw:commentRss><trackback:ping>http://blog.blueshop.com.tw/pendm/services/trackbacks/54243.aspx</trackback:ping><description>&lt;P&gt;宿主主機系統為windows xp或者2003，使用adsl撥號上網，虛擬機版本為VMware V5.5.2 Build 29772，虛擬機安裝linux，有一塊網卡，使用橋接模式。 &lt;/P&gt;
&lt;P&gt;1、在windows下，啟用ICS. &lt;/P&gt;
&lt;P&gt;選擇adsl上網撥號後的連接，屬性？高級？Internet連接共享？勾選「允許其他網絡用戶通過此計算機的internet連接共享」，家庭網絡連接選「本地連接」。 &lt;/P&gt;
&lt;P&gt;2、在linux下，配置靜態IP. &lt;/P&gt;
&lt;P&gt;點主菜單？系統設置？網絡，彈出「網絡配置」，雙擊eth0，勾選「靜態設置的ip地址」， &lt;/P&gt;
&lt;P&gt;地址：192.168.0.21 （除192.168.0.1和255外，隨便填） &lt;/P&gt;
&lt;P&gt;子網掩碼： 255.255.255.0 &lt;/P&gt;
&lt;P&gt;網關：192.168.0.1 &lt;/P&gt;
&lt;P&gt;確定 &lt;/P&gt;
&lt;P&gt;DNS項，主DNS填：192.168.0.1 &lt;/P&gt;
&lt;P&gt;都填完，記得保存。 &lt;/P&gt;
&lt;P&gt;3、編輯主機地址（實驗時這步可以不用） &lt;/P&gt;
&lt;P&gt;vi /etc/hosts &lt;/P&gt;
&lt;P&gt;把127.0.0.1替換成前面設置的ip地址192.168.0.88 &lt;/P&gt;
&lt;P&gt;4、重起服務 &lt;/P&gt;
&lt;P&gt;service network restart 或者重啟linux&lt;/P&gt;&lt;img src ="http://blog.blueshop.com.tw/pendm/aggbug/54243.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>