Commit Graph

24 Commits

Author SHA1 Message Date
Alexey Sheplyakov
36b688d17a network boot: support loading complete ISOs via HTTP
Now I don't have to unpack (or loop mount) ISO to boot via HTTP.
Also I can boot directly from any ALT mirror, like this:

automatic=method:http,network:dhcp,server:mirror.yandex.ru,directory=/altlinux/images/p9/simply/aarch64/slinux-live-9.1.1-aarch64.iso

Closes: #40710
2021-09-17 17:26:33 +04:00
Mikhail Efremov
ee71c69502 Use ramdisk_size from kernel cmdline
If we can't get file's size then use ramdisk_size if given.
2017-12-08 16:18:37 +03:00
Mikhail Efremov
7f50a883ac Check that RAM size is enough for ramdisk
Don't try to load ramdisk we don't have enough memory.
2017-12-08 16:18:37 +03:00
Anton Farygin
11c99803fc remove obsoleted define 2005-08-08 13:39:27 +00:00
Anton Farygin
3085a93992 bootsplash progressbar support 2005-04-21 11:06:44 +00:00
Anton Farygin
fb310ae93a use squashfs for stage2 2005-04-12 19:32:01 +00:00
Anton Farygin
6df6984c2d use ext2 for stage2 2005-03-30 13:26:14 +00:00
Sergey Bolshakov
d887ddf00f mem limit decreased to 124M
chatty net probing fixed
2005-03-02 20:12:09 +00:00
Sergey Bolshakov
c199c141b5 - do not die when couldn't open console rw
- losetup tweaks
2005-02-03 15:38:15 +00:00
Sergey Bolshakov
59b435ddcc changed location and name of stage2 image:
now resides at installation tree root and named as altinst.
If altinst is directory, then just mound --bind used.
This can be used in nfsroot env.
2005-02-02 19:26:15 +00:00
Sergey Bolshakov
24782199d4 let it be /sbin/init 2005-01-20 13:11:44 +00:00
Sergey Bolshakov
8a5068e076 STAGE2_BINNAME is "/linuxrc" by default 2005-01-19 13:31:08 +00:00
Sergey Bolshakov
bba0e9966f image location changed to /image to not conflict with filesystem 2004-12-07 14:37:32 +00:00
Sergey Bolshakov
25f4ab2cc3 another highly perversive scheme:
mounts ALTLinux etc under /mnt, then
mounts /mnt/xxx.clp under /root, then
mounts --move /mnt under /root/opt, then
mounts --move / under /root
--
someone, stop me
2004-11-30 16:11:41 +00:00
Sergey Bolshakov
0be6937de0 new stage2 spawning scheme 2004-11-30 14:44:10 +00:00
Anton Farygin
8e45f2d2e5 use cloop images for stage2
removed method live (use parameter live for detection stage2 filesystem image)
2004-11-30 11:47:57 +00:00
Anton Farygin
2c956f151a livecd mode and method added
rescue method must be rewrited !!!
2004-11-24 21:44:32 +00:00
Sergey Bolshakov
7f8d55ebef merged changes from propagator_1_1_dev 2004-11-22 13:47:29 +00:00
Anton Farygin
7a4a1ac162 build only diet version of insmod;
make version.h with versions defines
2004-04-12 20:49:45 +00:00
Alexander V. Nikolaev
0eb5eadc4e Remove mdk*, do 'make export' 2004-04-08 18:42:20 +00:00
Alexander V. Nikolaev
b22dd2b038 rollback change name of second stage (keep install2)
src/*.c:  add some malloc checks and more informative error messages
2004-04-03 21:19:34 +00:00
Anton Kachalov
e705fcb66c define stage2 binary exec to predator 2004-01-30 16:53:06 +00:00
Anton Kachalov
47fd3ec16e rename mdkinst_stage2.bz2 -> altinst_stage2.bz2
define stage2 executable in config-stage1.h
2004-01-30 16:50:12 +00:00
Anton Kachalov
46438969c6 Initial revision 2004-01-20 18:32:43 +00:00