grub2从usb启动
2019獨角獸企業重金招聘Python工程師標準>>>
grub2從usb啟動
修改grub.cfg
從sda1啟動
set root='hd0,1' linux /boot/vmlinuz-3.16.7-ckt25+ root=/dev/sda1 ro console=ttyS1,115200n8 quiet initrd /boot/initrd.img-3.16.7-ckt25+
從sdb1啟動
set root='hd1,1' linux /boot/vmlinuz-3.16.7-ckt25+ root=/dev/sdb1 ro console=ttyS1,115200n8 quiet initrd /boot/initrd.img-3.16.7-ckt25+
從sda1啟動
set root='hd0,1' linux /boot/vmlinuz-3.16.7-ckt25+ root=LABEL=/ ro console=ttyS1,115200n8 quiet initrd /boot/initrd.img-3.16.7-ckt25+
從sda1啟動
set root='hd1,1' linux /boot/vmlinuz-3.16.7-ckt25+ root=LABEL=/ ro console=ttyS1,115200n8 quiet initrd /boot/initrd.img-3.16.7-ckt25+
grub cli命令 grub> ls (hd0,1)/ grub> ls (hd0,1)/home/
grub-install --boot-directory=/mnt/boot /dev/sdc 將grub安裝到MBR,MBR引導至grub。
轉載于:https://my.oschina.net/richard28530/blog/1548133
總結
以上是生活随笔為你收集整理的grub2从usb启动的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 一次完整的http的请求过程与https
- 下一篇: ARKit文档翻译之AROrientat