DEV Community

suntong
suntong

Posted on • Edited on

11 1

Grub4dos To Boot ISO Disk Image

Using grub4dos to boot Ubuntu Ubuntu 18.04 ISO disk image, here is the entry for the file MENU.LST:

title Ubuntu 18
  fallback 6
  find --set-root /iso/ubt1804.iso
  map --heads=0 --sectors-per-track=0 /iso/ubt1804.iso (0xff)
  map --hook
  root (0xff)
  kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/iso/ubt1804.iso splash
initrd /casper/initrd.lz
Enter fullscreen mode Exit fullscreen mode

NB,

  • For Ubuntu 64bit from 14.04 to 17.10 vmlinuz.efi was used, so kernel has to be /casper/vmlinuz.efi, but
  • For older versions and 18.04+ use /casper/vmlinuz
  • For Ubuntu 32bit, it has always been vmlinuz
  • For smaller ISO disk images, or your RAM is extremely big, you can use --mem for the map command to put the whole disk into system memory, like this: map --mem /iso/smallcd.iso (0xff) || map --heads=0 --sectors-per-track=0 /iso/smallcd.iso (0xff)

Ref:

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more