Install from ISO which is on HDD (pendrive is too small; doesn't have any freeDVDs)

**I would like to be able to install system just from ISO file which can be found on disk which is currently in computer. **

I am trying to install OpenSuse 13.1 from (hd0,msdos6)/opsus.iso[FONT=arial] [grub2’s notation].[/FONT]
What I am doing is:

  1. I have installed GRUB2 on this hdd, so what I need is
  2. loopback loop (hd0,msdos6)/opsus.iso
  3. linux (loop)/boot/x86_64/loader/linux
  4. initr (loop)/boot/x86_64/loader/initr
  5. optionally I am setting: set gfxpayload=1024x786

I have found these informatoins in grub.cfg on openSuse’s ISO

menuentry ‘Installation’ --class opensuse --class gnu-linux --class gnu --class os {
set gfxpayload=keep
echo ‘Loading kernel …’
linuxefi /boot/x86_64/loader/linux
echo ‘Loading initial ramdisk …’
initrdefi /boot/x86_64/loader/initrd
}
But I am only getting to the point
>>> Linuxrc v4.1.5 (kernel 3.11.6-4-default) <<<
where I need to select by myself source dir for installation, but I cannot, since this is iso and this loopback iso is not mounted to any hdd/dvd/network resource (those are my options for root folder).

Can you help me somehow?

On 2014-08-21 11:06 (GMT) xadi composed:

> I WOULD LIKE TO BE ABLE TO INSTALL SYSTEM JUST FROM ISO FILE WHICH CAN
> BE FOUND ON DISK WHICH IS CURRENTLY IN COMPUTER.
> I am trying to install OpenSuse 13.1 from (hd0,msdos6)/opsus.iso
> [grub2’s notation].
> What I am doing is:

> - I have installed GRUB2 on this hdd, so what I need is
> - loopback loop (hd0,msdos6)/opsus.iso
> - linux (loop)/boot/x86_64/loader/linux
> - initr (loop)/boot/x86_64/loader/initr
> - optionally I am setting: set gfxpayload=1024x786

> I have found these informatoins in grub.cfg on openSuse’s ISO

> menuentry ‘Installation’ --class opensuse --class gnu-linux --class gnu
> --class os {
> set gfxpayload=keep
> echo ‘Loading kernel …’
> linuxefi /boot/x86_64/loader/linux
> echo ‘Loading initial ramdisk …’
> initrdefi /boot/x86_64/loader/initrd
> }
> But I am only getting to the point
>>>> Linuxrc v4.1.5 (kernel 3.11.6-4-default) <<<
> where I need to select by myself source dir for installation, but I
> cannot, since this is iso and this loopback iso is not mounted to any
> hdd/dvd/network resource (those are my options for root folder).

> Can you help me somehow?

From the install section on http://en.opensuse.org/SDB:Linuxrc the syntax is:

local disk, ISO image zap.iso in directory bar

install=hd:/bar/zap.iso

The location of your iso in the above format needs to be part of the Grub
stanza’s kernel cmdline. You won’t need to be concerned with loopback
mounting it.

The wise are known for their understanding, and pleasant
words are persuasive.

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/