:: Re: [DNG] Installing without reboot…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: karl
Datum:  
To: dng
Betreff: Re: [DNG] Installing without rebooting
Hendrik:
> On Wed, Dec 19, 2018 at 12:09:29AM -0500, Steve Litt wrote:
> > On Tue, 18 Dec 2018 23:33:30 +0100 (CET)
> > karl@??? wrote:
> >
> > > With all this discussion about installing procedures, why do we need
> > > to reboot during reboot ?

I meant: to reboot during install ?
> > > Couldn't one boot the install media like an initram thing and then
> > > pivot_root (or what is used today) the real system and continuing
> > > from there...

...
> It's not possible to pivot_root away from the install USB to the
> installed root system on rotating rust (or whatever permannt storage
> the computer has?


Ok.

> Does this have anything to do with initramfs?


Possibly not, but initramfs/initrd does that all the times, i.e.
during boot, do something and then switch to installed system.

> It would probably constrain the installer to use the same kernel as the
> installee, though. Which means lots of installer versions.


Yes, but this was meant as a "research" project, is it possible and if
so, what are the consequences.

///

One possible way to test this could be to have a greatly simplified
installer in an initramfs/initrd, which basically does a "precompiled"
install to a known system, and then switches to it and possible
continues from that.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden