Re: hard disk installation method fails
On Thu, 16 Feb 2023 23:57:31 -0500
lsg <loushanguan2015@sina.com> wrote:
> https://www.debian.org/releases/stable/amd64/ch04s04.en.html
>
> to reproduce my problem, you need 3 files: vmlinuz, initrd.gz and
> corresponding iso file
>
> add entry to grub menu, boot it to see if it can locate iso file,
> there is no need to re-partition your disk
Right. A couple of caveats, based on reading that. I've not
experimented with this exact method. (I have a separate partition just
for the iso image.)
* At some point the installation will offer to reformat the main
partition. If that's the partition your iso image is on, reformatting
will clobber the iso image. Whether that will end the installation or
not depends on whether the installer has read the iso image into
memory. I believe it does not, and so formatting that partition will
break your installation partway through.
* Be sure the kernel and initrd are exactly the ones on the iso image.
The best way to do that is to mount the iso image on a loopback device
and extract those files from the iso image.
* You may have to adapt the grub file to your local situation. That
will take some reading. For example, the partition (hd0,msdos1 in the
example) may be wrong.
If you are going to use grub to do this, I know my method works. It's
not ready for prime time, though. It needs better documentation so
users can customize it, and I should take out some of my local
peculiarities.
>
> my pc can boot usb stick, but during installation it prompts me for
> usb disk with non-free firmware , this step fails
Ah, then you should use an "unofficial" firmware iso image. Grab it and
the sha*sum files you want from:
https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.6.0+nonfree/amd64/iso-cd/
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: