If you post the link to the sources of what drivers you want compiled, I could do it for you.
Also a swap file is a partition, that has to be made with gparted, you can also make a swap file on a usb stick, I've done that in the past

ttuuxxx
Code: Select all
#v2.01 case of 128M PCs with pup_save.3fs, need more ram space...
#NOTE future, do not assume /initrd/mnt/dev_save/ is mntpt for part. that has pup_save.3fs,
# get device out of PUPSAVE and use 'mount' to find mntpt.
#do this for PUPMODE=12 only, pup_save.3fs direct on pup_rw layer (fast storage)...
if [ "$PUPMODE" = "12" ];then
if [ -f /initrd/mnt/dev_save/pupswap.swp ];then
echo -n "Activating swap file /initrd/mnt/dev_save/pupswap.swp..." >/dev/console
swapon /initrd/mnt/dev_save/pupswap.swp;check_status $?
else
#only create a swap file if no swap partition...
if [ "`free | grep -F 'Swap:' | tr -s ' ' | cut -f3 -d' '`" = "0" ];then
#v2.02final for now, no auto creation of swap on ntfs partition...
case "$PUPSAVE" in msdos,*|vfat,*|ext2,*|ext3,*|reiserfs,*|minix,*)
DRVFREE=`df -m | grep '/initrd/mnt/dev_save' | tr -s " " | cut -f 4 -d " "`
if [ "$DRVFREE" ];then
#if [ ! "$PMEDIA" = "ideflash" ];then #pakt: prevent swapfile on ide-cf card.
let DRVFREE=DRVFREE/2
SWPSIZE=100 #100M
[ $SWPSIZE -gt $DRVFREE ] && SWPSIZE=$DRVFREE #never use more than half free space.
if [ $SWPSIZE -gt 20 ];then
echo -n "Creating Linux swap file in /initrd/mnt/dev_save..." >/dev/console
RETFLAG=1
dd if=/dev/zero of=/initrd/mnt/dev_save/pupswap.swp bs=1048576 count=$SWPSIZE
if [ $? -eq 0 ];then
sync
mkswap /initrd/mnt/dev_save/pupswap.swp
if [ $? -eq 0 ];then
sync
swapon /initrd/mnt/dev_save/pupswap.swp
RETFLAG=$?
fi
fi
check_status $RETFLAG
fi
#fi
fi ;;
esac
fi
fi
fi
Code: Select all
dd if=/dev/zero of=/mnt/home/pupswap.swp bs=1M count=SWAPSIZE
mkswap /mnt/home/pupswap.swp
Code: Select all
swapon /mnt/home/pupswap.swp
Code: Select all
swapon -s
Pardon my delayed reply, it's Chinese New Year here. I've been wanting to compile the Nvidia96.43.20 driver for the Geforce 2 Go graphics chipset used in my Acer notebook. The Nvidia link http://www.nvidia.com/Download/index.aspx? and choosingttuuxxx wrote:I personally would use the devx pet on top of page 1, I have system links to the older libc, etc. I've compiled drivers before without any issue.
If you post the link to the sources of what drivers you want compiled, I could do it for you.
Also a swap file is a partition, that has to be made with gparted, you can also make a swap file on a usb stick, I've done that in the pastso to have a swap file/ partition you would have to shrink your windows partition or use a usb stick.
ttuuxxx
That was exactly what I did as stated in my earlier post(the only difference was that I played safe and did it in Windows) :MinHundHettePerro wrote:PenguinPupLin,
snipped
You could try this:
Boot your frugally installed 214X, open a terminal window and runwhere SWAPSIZE is the size in MiB you desire for your swapfile.Code: Select all
dd if=/dev/zero of=/mnt/home/pupswap.swp bs=1M count=SWAPSIZE mkswap /mnt/home/pupswap.swp
Reboot and see if it loads ......
If you just can't wait to see if your newly created swapfile works and can be loaded, runand thenCode: Select all
swapon /mnt/home/pupswap.swp
to see if it was mounted.Code: Select all
swapon -s
hth/ MHHP
Thank you MinHundHettePerro for clearing up the confusion and misleading information in recent posts!MinHundHettePerro wrote:a swap partition is a swap partition and a swap file is a swap file.
Now that I know what you actually want to achieve, what about using the nVIDIA graphics drivers that were packaged back when Puppy 2.12-2.16 was originally released?PenguinPupLin wrote:I've been wanting to compile the Nvidia96.43.20 driver for the Geforce 2 Go graphics chipset used in my Acer notebook.
Quick frugal on this old ASUS P5A box. Top 10 pfix=ram.James C wrote:Quick test run, Top 10 live pfix=ram.Working well on this old Athlon XP box.
Back to the non-booting box again.... sata hdd and optical. Stops at this.....James C wrote:Don't know if it's a problem or a hardware glitch but 214X Top 10 wouldn't boot on a box with sata drives...both hdd and optical.
Went ahead and did a quick frugal install.....everything working well.... except Pup-Shots.Can only get 0 byte files.James C wrote:Another little test run.....everything working.
-Computer-
Processor : Intel(R) Pentium(R) 4 CPU 2.80GHz
Memory : 514MB (152MB used)
Operating System : Puppy Linux 0.21
User Name : root (root)
Date/Time : Wed 25 Jan 2012 05:49:11 PM PUP
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Unknown
X11 Vendor : (null)
-Multimedia-
Audio Adapter : ICH4 - Intel ICH5
excellent job on testing JamesJames C wrote: Went ahead and did a quick frugal install.....everything working well.... except Pup-Shots.Can only get 0 byte files.
thanks for this, its saved me some time which is always nicetomo3 wrote:about "The only issues know is fontconfig"
add /etc/fonts/font.conf
<cachedir>/var/cache/fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>
fontconfig-fix.pet
*dereliction old package----- /usr/lib/fontconfig.so1.3.0
Thanks a lot.tomo3 wrote:about "The only issues know is fontconfig"
add /etc/fonts/font.conf
<cachedir>/var/cache/fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>
fontconfig-fix.pet
*dereliction old package----- /usr/lib/fontconfig.so1.3.0
Code: Select all
~> /usr/bin/FBReader
loading /usr/lib/zlibrary/ui/zlui-gtk.so
SQLITE IMPLEMENTATION ERROR: (10) disk I/O error
SQLITE IMPLEMENTATION ERROR: in command "COMMIT TRANSACTION"
SQLITE IMPLEMENTATION ERROR: (10) disk I/O error
SQLITE IMPLEMENTATION ERROR: in command "COMMIT TRANSACTION"
SQLITE IMPLEMENTATION ERROR: (10) disk I/O error
SQLITE IMPLEMENTATION ERROR: in command "COMMIT TRANSACTION"
SQLITE IMPLEMENTATION ERROR: (10) disk I/O error
SQLITE IMPLEMENTATION ERROR: in command "COMMIT TRANSACTION"
~>