How to install quantal using the hd-media images?

Asked by Shriramana Sharma on 2012-10-22

Over the past years, I have always installed new releases of *buntu directly from my HDD using the hd-media vmlinuz and initrd images available from<version>/main/installer-<arch>/current/images/hd-media/ and booting via GRUB using the entries:

        linux /hdinst-vmlinuz ramdisk_size=14972 root=/dev/rd/0 rw --
        initrd /hdinst-initrd

However, now that with Quantal the ISO is no longer a valid CD image, I am getting an error of "cannot load CD image" when I point the installer to the appropriate partition having the ISO in its root (which is detected BTW).

Can anyone help me in this regard? Thanks!

Question information

English Edit question
Ubuntu ubiquity Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

You can mount the ISO using Grub2. You don't need any extra functionality

Revision history for this message
Shriramana Sharma (jamadagni) said :

Hi -- are you saying that I don't need to use the hd-media files? If so could you please indicate what kind of GRUB entry I should produce for this? For example I am currently running PartedMagic from an ISO using the following GRUB entry:

menuentry "PartedMagic" {
        set isofile='pmagic.iso'
        loopback loop (hd0,msdos5)/$isofile
        linux (loop)/pmagic/bzImage root=/dev/sda5 iso_filename=$isofile \
                edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 \
                max_loop=256 vmalloc=256MiB
        initrd (loop)/pmagic/initrd.img

but I am not sure how to modify this for *buntu Quantal.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :

menuentry "Lucid ISO" {
set isofile="/boot/iso/ubuntu-10.04-desktop-i386.iso"
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz

In /etc/grub.d/40_custom file

Then put the ISO (in this case ubuntu-10.04-desktop-i386.iso) in /boot

Then run:

sudo update-grub

You do realize that gparted is in a default Ubuntu ISO so you don't need a specific PartedMagic ISO. The Ubuntu ISO can do everything PartedMagic does and more.

Revision history for this message
Shriramana Sharma (jamadagni) said :

Thanks actionparsnip, that solved my question.