-
Junior Member
registered user
Unable to create swap file during boot from CD
Running Knoppix Live CD on Packard Bell 200 MHz Pentiun with 65M memory. Knoppix 3.8 - 2.7.11 kernel boots OK until requested to make swap file. Clicking on OK does not create the file it only brings me back to the "Create Swap File screen". Alt + O or Cancel are the only options that exit this routine. No swap file is created. Booting then continues. But then fails when loading KDE due to limited memory. How do I create the swap file? Why do I keep going back to that particular screen? A check of the Windows/DOS environment shows that the swap file was not created.
Thanks
-
Administrator
Site Admin-
What Windows OS are you running? If it's XP with NFTS partitions then I don't believe Knoppix will be able to creator write to a swap file, although it would seem extrenely unlikely that anyone with a 200 meg system with 64 meg could run xp. Otherwise I can't account for the problem, Knoppix made the swap file as expected when I tried it. But it's been years since I actually tried Knoppix on anything that small, maybe the feature has become broken.
---
Verifying of md5 checksum and burning a CD at slow speed are important.
-
Junior Member
registered user
Further info
The OS in Windows 95. The swap file routine appears to be a DOS like application. I have two choices to click on. One is OK the other is Cancel. If I click on OK I just come right back to the swap file creation screen. I can not click on anything else. If I use a hot key (ALT + O) I exit the routine and booting continues but no swap file is created.
-
Junior Member
registered user
More data
This time I loaded a later version of Knoppix. Here I got this error message when creating the swap file "No partition available for swap file". I have the bios set to boot from the CD then the floppy then the hard disk. When I try to boot from the CD alone this message appears "Isolonux: failed to locate CD-ROM device load spec packet failed... Boot failed. See //syslinux.ztpr.com/sbm
Using Smart Boot Manager to boot the CD-ROM Knoppix loads with only the error on creation of the swap file. Could the swap file problem be related to Smart Boot Manager?
-
Administrator
Site Admin-
Re: More data
Originally Posted by
Ham13
... Here I got this error message when creating the swap file "No partition available for swap file". ...Using Smart Boot Manager to boot the CD-ROM Knoppix loads with only the error on creation of the swap file. Could the swap file problem be related to Smart Boot Manager?
I don't see how it can be sbm related.
There should basically be two options: (1) If you have (or if you create) a Linux Swap partition on your drive then Knoppix can and will use it when it boots and finds it. This isn't a good option for most people because they usually already have all of the disk space taken up by Windows partitions. And (2) If you don't have a swap partition you can let Knoppix create a swap file on a FAT partition for you when it complains of too little space and offers to do this for you. This space, in a file on the FAT partition, is used for swap space just like a swap partition. I am not clear on why this is not working for you, it worked for me. Is there enough space on you disk to make a swap file? You might want to try defragging your hard disk partitions and trying again.
If you still can't get Knoppix t0o make a swap file for you, you might want to try to manually create one. But I consider this risky and I think you should be able to get Knoppix to do it automatically if there is space for a swap file. If you want to do it manually, see the last entry in the Rescue Faq.
If your system has space and an interface available for an additional hard drive and you have one that you can add that your old hardware supports (this box likely has hardware and/or bios limitations that keep you from running modern large drives), you could add it and create a swap partition on it. I don't know your status there and I certainly would not spend any money at all on this, but if you have a spare old drive it would get you past this.
Understand that with that old of a system and with a swap file that when you do get it working your system will be expending a lot of resources swapping stuff too and from the hard disk and will be very slow. You might be putting a lot of work into what will become a disapointment if you don't expect that. As I say, I have not run Knoppix on a 64 meg system fro quite some time and this is the reason,. but the swap file feature always worked for me when I did.
-
Administrator
Site Admin-
Re: More data
Originally Posted by
Ham13
This time I loaded a later version of Knoppix.....
Also, doing a Google search I find reports that Knoppix 5.0.1 is believed to be buggy in this area. That would not surprise me, it's bugging in many areas. The best suggestion is to stick with 3.8 or some other version before Knoppix 5.x to make the swap file. Once you have the file created then you should be able to run Knoppix 5.0.1 and use that swap file if you wish.
---
Verifying of md5 checksum and burning a CD at slow speed are important.
-
Junior Member
registered user
Tried Knoppix 3.8.1...
Harry, Thnks for all your comments. Tried version 3.8.1. Same result. Have a 2 gig drive with about 98 MB free. How much disk space do I need to set up a swap file? Maybe I'm not entering the proper data. It seems all I can do is click on OK when asked to create the swap file. Is there any other data I should be entering and if so haow do I do it? I cannot get the cursor into any other field than OK or Cancel.
I do not want to load it on my larger Win 2000 machine until I'm sure it will not cause problems there. I know that Knoppix has problems writing to other than fat32 file systems. If it is buggy I cannot risk my work PC.
-
Administrator
Site Admin-
Re: Tried Knoppix 3.8.1...
Originally Posted by
Ham13
...How much disk space do I need to set up a swap file?...
I do not want to load it on my larger Win 2000 machine until I'm sure it will not cause problems there. I know that Knoppix has problems writing to other than fat32 file systems. If it is buggy I cannot risk my work PC.
I honestly don't remember how large the swap file is created; I would think that 98 meg would be OK but it may be cutting it close. More important may be that it be contigious, I'm not sure of that but it seems likely. Defragging may be helpful; if you can afford to free up 40 or 50 more meg (or obviously more) before you do, all the better and the defrag will go faster. If you do and it works, please post back how big of a swap file was created.
And again, don't expect the system to run well when thrashing the hard disk this way. About all I can say for Knoppix on a P166 and 64 megs of memory and a swap file is that it eventually booted and I was able to do things like start a browser and surf the web, but there is absolutely no way that I can justify the performance as acceptable.
I consider Knoppix perfectly safe to run on a 2000 or XP system, just as long as you do not change write permissions and tell it to write to an NTFS partition. On a few rare cases some users have had to completely power down their systems after running Knoppix, not just do a warm reboot, but that generally is the worst of it. Of course, there are people who may do awful things and then not want to admit it even to themselves, and since there's always a chance that Windows may screw up it's partitions (It's got mine twice when I was not running KNoppix), there is also the chance that someone might experience that problem just before or just after running Knoppix and unjustly blame Knoppix, but I know of no confirmed cases of Knoppix unexpectedly harming Windows on a system (which is more than I can say for Windows and their approach to Linux). Since your 2000 system presumably has enough memory to not need a swap file I don't think you will have any problem. Of course, you can't sue me if something awful happens and I always advise people to have good backups.
If you really want to play it safe, power down completely and unplug your hard drives. Knoppix doesn't need them. Plug them back in when you are ready to run Windows again. It's ugly and unnecessary, but it may give you an extra feeling of safety.
-
Junior Member
registered user
More thoughts
On a Windows 2000 system how do I tell Knoppix to use an ntfs partition when writing to the disk?
On the swap file issue I think it might be related to the file size. Knppoix wants to create a 2012 MB file. The avalible space is 1 Gig. I can not change the size of the file in the creation routine. I can not get into that field only OK and cancel.
I do not see any other choice but to try to create the file manually as the swap file routine can not accept a new file size.
If I create the file manually I think I shold be logged in as root. The Live CD shows a user of Knoppx0...$ not root. How can I change user to root? I'm assuming the name of the swap file shoud be knoppix.swp and the /etc/fstab must be edited to include the new file. I will try the sets outlined in the FAQ mentioned above. Last effot to get this running.
-
Senior Member
registered user
If you want to run KDE in 65MB RAM, you should probably have at least 256MB swap, in a contiguous file. Best is to prepare for that in Windows, deleting files and defragmenting. Then you can boot Knoppix with cheatcode knoppix 2, to avoid the attempt at starting KDE. Then become root (type su), mount the harddisk (probably something like mount /media/hda1) enter the Windows root directory (cd /media/hda1) and create a swap file (eg by dd if=/dev/zero of=swapfile bs=1M count=256) then preparing and using it (mkswap swapfile ; swapon swapfile) before starting KDE with startx. It may also be possible to use the Windows swapfile (nowadays it's often called pagefile.sys, don't know about Win95) I can't find swap specification among the cheatcodes: http://www.knoppix.net/wiki/Cheat_Codes, but if you save your configuration, it may be mounted automatically, or you can modify the knoppix.sh script that is among the saved conf. files.
I would have tried fluxbox or icewm, they use far less resources than KDE, try startx /usr/bin/fluxbox after booting with knoppix 2.
Similar Threads
-
By Ham13 in forum MS Windows & New to Linux
Replies: 0
Last Post: 09-05-2006, 01:09 AM
-
By hitchup in forum Hardware & Booting
Replies: 0
Last Post: 09-04-2006, 09:50 PM
-
By fr3dt3ch in forum Hardware & Booting
Replies: 1
Last Post: 06-05-2006, 11:30 PM
-
By lgriske in forum Customising & Remastering
Replies: 6
Last Post: 06-17-2003, 06:31 AM
-
By lockejr in forum Customising & Remastering
Replies: 1
Last Post: 05-12-2003, 11:09 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
TP-Link 24-Port Gigabit Ethernet Unmanaged Switch Desktop/Rackmount TL-SG1024D
$69.99
Dell X1018 X-Series Smart Managed Switches 16-Port Gigabit 2-Port SFP Switch
$42.00
CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED
$98.55
Loocam Gigabit PoE Switch 8 Port 96W 2 Uplink Port Unmanaged Ethernet Switch
$49.99
Dell X1026P E11W 24-Port PoE Smart Managed Gigabit Ethernet Switch 2X SFP
$25.00
NETGEAR GS108 ProSafe 8-Port GbE Unmanaged Switch w/ Power Adapter
$14.99
Dell X1052P Series 52-Port Gigabit Rack Mountable Managed Network Switch
$30.00
TP-LINK TL-SF1005D 5-Port 10/100Mbps Desktop Switch
$8.99
Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair)
$85.00
Fortinet FortiSwitch FS-124D-POE 24 Port Gigabit Ethernet Switch UNREGISTERED
$99.97