Ubuntu

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 http://archive.ubuntu.com/ubuntu/dists/<version>/main/installer-<arch>/current/images/hd-media/ and booting via GRUB using the entries:

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

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

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-10-23
Last query:
2012-10-23
Last reply:
2012-10-22

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

Shriramana Sharma (jamadagni) said : #2

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.

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.

Shriramana Sharma (jamadagni) said : #4

Thanks actionparsnip, that solved my question.