Slackel, can installed as a live usb and using a persistent file to update packages. In usb formatted in vfat filesystem persistent file can be 1998 MB in size.
Of cource cannot do a real upgrade because of size limitation and upgrading large files soon become slow.
If usb formatted in ext4 then a prsistent file cannot used but can use all the usb to upgrade files. In this case also it is a not a real system running.
I was trying to change installer to support a real installation to an external usb stick or ssd disk and can boot from usb or ssd and use a real system
installed in external usb where can update everything even kernel. It is a real installation to an external disk. The problem was that in this case we need an initrd.gz
to boot from usb stick or usb ssd. Finally found waht was the problem and the initrd.gz created at installtion time could not boot the usb. It was simple but i could not imagine it.
Mounted sys proc dev to chroot to usb where the installation done i had to also create a tmp folder. And then initrd.gz created correctly and can boot the usb.
Read bellow carefully.
We have 2 options:
1. to create a msdos partition table on usb where we will install the system and partition to hold the system in ext4 and also a swap partition.
Then procceed to installation.
2. to create a gpt partition table and
one 500MB fat32 partition table for uefi,
a second ext4 partition to hold the linux system
a third ext4 (optionally) partition for home
a fourth partition 1-2MB in fat32 - in practice gparted set it at 33MB
I
mportant: The first fat32 partition after creation pressing the right key of mouse set the flag in boot and we see it marked as
boot,esp
The fourth fat 32 partition we set the flag as
bios_grub.
In this case we will have two boot options one in uefi and one as simple usb i386. We can choose whatever we like.
In this case grub can be used as efi and i386 legay bios. It is useful for 32bit systems with gpt partition table to boot
So, for your case download slackel-openbox 32bit iso and create a live usb. Then boot with this live usb ( it will be /dev/sdb) and when go on
live environment plug in the second usb (it will mounted as /dev/sdc) and connect to internet. pcmanfm will mount the usb say yes. No problem.
Because the last version of openbox iso do not have the upgraded sli and slackware-live programs open lxterminal and type
Code: Select all
sudo slapt-get -u
sudo slapt-get -i sli slackware-live
Then run sli
press the gparted (partition button) to run gparted. Select the /dev/sdc and umount any partition if any. Then create a msdos or gpt partition table and other partitions as i wrote above.
Close gparted. you see /dev/sdc1 if you have created a msdos partition table or /dev/sdc2 if you have created a gpt partition table and an fat32 uefi in /dev/sdc1
And set locale etc root, user pass and do the installation.
Then shutdown the laptop. Unplug both usb sticks and plug in the second usb with the real installation. Press power on and press fn+F12 in my lenovo laptop and select your usb you will see it and boot.
So can check if newest kernels work with your screen.
then can do
Code: Select all
sudo slapt-get -u
sudo slapt-get --upgrade
sudo slapt-get -i install-upgrade-kernel-ext-usb
To upgrade the kernel do not use install-kernel-upgrade but the install-upgrade-kernel-ext-usb script
like this
Code: Select all
sudo install-upgrade-kernel-ext-usb upgrade huge
This will upgrade the kernel and also will create the needed initrd.gz and run update-grub to boot the usb with the new kernel.
This usb can used to any laptop or desktop pc to run slackel. Can have it always with you. And will run fast because it is a real installed system not in internal but in external usb ssd or usb stick.
Only have to press fn+F12 or something else depends of laptop or desktop pc (F2, or F10 etc) to go to bios boot menu to pick up the usb to boot.
I have made two installations to external usb's to make tests and work fine.