G'day folks
I have been able to get Kubuntu 14.04 to install and run on an old HP Compaq laptop with a pentium m processor without PAE using the forcepae addition to the command line in the live USB as per these links:
https://help.ubuntu.com/community/PAE
https://help.ubuntu.com/community/EnablingPAE
However, the pae flag does not stick in the file listing the attributes, and so any update of the kernal fails, unless the same code (below) is run for each update involving the kernal.
cat /proc/cpuinfo | sed 's/flags\t*:/& pae/' > /tmp/cpuinfo_pae
mount -o bind /tmp/cpuinfo_pae /proc/cpuinfo
mount -o remount,ro,bind /proc/cpuinfo
grep flags /proc/cpuinfo
# should output "flags : ... pae ..."
I found I had to prepend sudo to get the mount commands to work, and change cpuinfo_pae to cpuinfo-pae as well (somehow terminal doesn't seem to read the underscore correctly?)
Extract from Konsole while trying an update involving the kernal:
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.13.0-30-generic_3.13.0-30.55_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The above code is not necessary at all with an installation of LM17 KDE on the same machine. The pae flag is present in the cpuinfo file after initial installation using forcepae parameter, and remains in the cpuinfo file after reboot, and kernal updates work fine.
Is there any way to make the pae info stick in whatever way is necessary to allow the updates to proceed normally each time for Kubuntu? I have tried editing the cpuinfo file, but get messages saying it can't be changed. Maybe there is more required than simply editing this file? The manual for the mount command seems to suggest that the above code is designed so that the changes WON'T be permanent in the flags information. Not sure why, or why editing the /proc/cpuinfo file to have the pae flag in it permanently isn't the complete solution? How has LM managed to achieve this?
I note that the actual PAE function is not relevant to my situation with this machine, because it does not have enough RAM to take advantage of it anyway. My main intention is to be able to avail myself of the current supported distros/kernals for as long as I can on this old hardware. At this stage that will take me to at least 2019 with LM17/Kubuntu 14.04, unless the kernals become too complex for this old hardware to run for other reasons than PAE, and/or a simpler distro like XFCE or LXDE also no longer runs.
I have been able to get Kubuntu 14.04 to install and run on an old HP Compaq laptop with a pentium m processor without PAE using the forcepae addition to the command line in the live USB as per these links:
https://help.ubuntu.com/community/PAE
https://help.ubuntu.com/community/EnablingPAE
However, the pae flag does not stick in the file listing the attributes, and so any update of the kernal fails, unless the same code (below) is run for each update involving the kernal.
cat /proc/cpuinfo | sed 's/flags\t*:/& pae/' > /tmp/cpuinfo_pae
mount -o bind /tmp/cpuinfo_pae /proc/cpuinfo
mount -o remount,ro,bind /proc/cpuinfo
grep flags /proc/cpuinfo
# should output "flags : ... pae ..."
I found I had to prepend sudo to get the mount commands to work, and change cpuinfo_pae to cpuinfo-pae as well (somehow terminal doesn't seem to read the underscore correctly?)
Extract from Konsole while trying an update involving the kernal:
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.13.0-30-generic_3.13.0-30.55_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The above code is not necessary at all with an installation of LM17 KDE on the same machine. The pae flag is present in the cpuinfo file after initial installation using forcepae parameter, and remains in the cpuinfo file after reboot, and kernal updates work fine.
Is there any way to make the pae info stick in whatever way is necessary to allow the updates to proceed normally each time for Kubuntu? I have tried editing the cpuinfo file, but get messages saying it can't be changed. Maybe there is more required than simply editing this file? The manual for the mount command seems to suggest that the above code is designed so that the changes WON'T be permanent in the flags information. Not sure why, or why editing the /proc/cpuinfo file to have the pae flag in it permanently isn't the complete solution? How has LM managed to achieve this?
I note that the actual PAE function is not relevant to my situation with this machine, because it does not have enough RAM to take advantage of it anyway. My main intention is to be able to avail myself of the current supported distros/kernals for as long as I can on this old hardware. At this stage that will take me to at least 2019 with LM17/Kubuntu 14.04, unless the kernals become too complex for this old hardware to run for other reasons than PAE, and/or a simpler distro like XFCE or LXDE also no longer runs.
Comment