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:

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more