ในการค้นหาไดรฟ์ USB ของคุณให้ใช้ root
คำสั่งเพื่อเลือกไดรฟ์ / พาร์ทิชันและ find
คำสั่งเพื่อดูว่าคุณพบสิ่งที่ถูกต้องหรือไม่
คุณสามารถดูอุปกรณ์ของคุณได้ในตัวอย่างนี้:
grub> root (hd0,0) # first harddrive, first partition
grub> find /[tab] # type the slash then press [tab], and it will try to list files on this partition
Error 17: Cannot mount selected partition # Oops no file system here
grub> root (hd0,1) # first harddrive, second partition
grub> find /[tab]
Possible files are: lost+found var etc media ... # That was my hard drive with my linux install
grub> root (hd1,0) # second hard drive usually is the USB drive if you have only one internal drive
grub> find /[tab]
Possible files are: ldlinux.sys mydoc myfile mystick syslinux.cfg # Bingo, that's the USB stick
Note: If you have two internal drives including your CD/DVD drive, the USB drive probably is hd2,0 and so on.
บู๊ตไดรฟ์โดยการป้อน:
chainloader +1
boot
เพื่อความสะดวกให้เพิ่มคำสั่งเหล่านี้ในการกำหนดค่า GRUB ของคุณ (โดยปกติจะอยู่ใน /boot/grub/menu.lst):
# to boot from a USB device
title Boot USB drive
root (hd1,0)
chainloader +1
boot
ที่มา: BootFromUSB - เอกสารประกอบของ Ubuntu