專業英語筆記(Line Feed and Type Conversion)
1621
2022-05-28
原文:http://www.zhixing123.cn/ubuntu/30925.html
WUBI安裝UBUNTU出現Minimal BASH-like line editing is supported……解決方法
之前研究過用WUBI安裝UBUNTU,遇到一個問題是,在windows 用WUBI安裝后,進入界面出現 Minimal BASH-like line editing is supported. Fot the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.
網上搜了很久才找到一個方案:
grub> ls #顯示出你的盤符
grub>set root=(hd0,5) #我的UBUNTU安裝在 這里面,各位就按照自己的來嘗試#
grub>configfile /ubuntu/install/boot/grub/grub.cfg
這樣,就會進入安裝界面的。重啟后,再輸入這里,就可以設置好。
grub>ls #列出分區的盤,我的安裝再F盤
grub>ls (hd0,7)/ #找出WUBI安裝的盤
grub>insmod ntfs #加載ntfs模塊,因為WUBI將ubuntu安裝到了我分的ntfs盤上
grub>set root=(hd0,7) #這里(hd0,7)就是我找到的ubuntu安裝的分區
grub>ls $Boot #找到我們BOOT分區的UUID,下一步要用到
grub>search –no-floppy –fs-uuid –set xxxxxxxxxxxx #這里的UUID就是上一定找出來的那個
grub>loopback loop0 /ubuntu/disks/root.disk #設loop0,WUBI裝ubuntu安裝成了一個root.disk文件
grub>set root=(loop0) #重設root
grub>linux /boot/vmlinuzxxxxxxxxx (tab補全即可) root=/dev/sda7 loop=/ubuntu/disks/root.disk ro quiet splash #加載內核
grub>initrd /boot/initrd.imgxxxxxxxxxxxx(tab 補全即可)
gurb>boot
這樣11個步驟后就可以進入系統了。
進入系統后,打開終端,輸入以下3行:
$sudo update-grub2
$sudo apt-get install grub2
$sudo reboot
·····················
Bash Ubuntu
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。