Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wondered the same about Linux installers. I'm installing some kind of debian minimal which will take 300 MB on disk. It should be installed in a fraction of the second. Instead it takes minutes. All installer should do is: dd pre-assembled Ext3 filesystem from ISO to disk; extend filesystem to the desired size; write some configs like fstab. It could be really fast.

My guess is that nobody really took the time to optimize it. Installation is only one-time procedure and even it if takes a hour, who cares.



What you describe is the cloud image. You can dd it to your hard drive and it should work as is (initial password will be displayed on first boot).

As for Debian, the slowness comes mostly for fsync calls I think. You should be able to use eatmydata to avoid this. See: https://people.skolelinux.org/pere/blog/Quicker_Debian_insta...


Yeah, I know, my point is that ordinary installer should do the same with ordinary installer UI rather than trying to install every deb package over and over again, running its pre/post scripts, etc. What's the point? It should be deterministic anyway.


thatd work if it wasnt for (some) settings of course. but even then, image and then update /etc and friends and done but here we are




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: