Web lists-archives.com

Re: Is it possible to install Debian in such a case.




Le 10/05/2019 à 10:48, An Liu a écrit :

What I Have.
a USB stick with
1.  a portable GRUB (either UEFI or legacy)
2.  a install ISO, such as debian-9.9.0-amd64-DVD-1.iso (mayb would e
a LiveCD make life easier?)

What we want.Have Debian installed (could assume that we could do
whatever we could, such as re-partitation the whole harddisk)

Do you want to put the Debian installer on the USB stick and be able to install a Debian system from it into another location, or install a Debian system on the USB stick ?

The work around is to boot with  vmliunz and initrd.gz from
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/
the cost is very small as these two file size total is less than 20M

Downloading vmlinuz is not required. You can get it from the ISO image.

I wonder if there is a way to finish install only in GRUB, without
initrd involved

The initrd.gz included in Debian installer ISO images cannot read files from an ISO image, only from a plain drive or partition. This is why you need an initrd.gz for hd-media. Note that there may also be restrictions about the supported filesystem types containing the ISO image.

Things may be different with Debian live images.