Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2014, 10:25:42 PM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
1239 Posts in 241 Topics by 246 Members
Latest Member: AndyL
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

  Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 9
61  Damn Small Linux / Other Help Topics / Re: DSL from router PXE - laptop is hanging for half a minute from time to time on: August 11, 2013, 01:00:32 AM
You could try DSL-N which uses the 2.6 kernel and hence has better support for more modern hardware.
62  Damn Small Linux / Laptops / Re: How to boot DSL using grub - frugal? on: August 11, 2013, 12:50:39 AM
So you're installing DSL in its own partition now? No more trying to make it live in harmony on the same partition as Puppy in a directory named "dsl"? Well in that case your task should be a lot easier.

Move everything from your "dsl" folder to the root directory of the sda1 partition, you might want to put "linux24" and "minirt24.gz" into a folder named "boot" so you can follow the norm. Make sure the the KNOPPIX folder is in the root directory with the KNOPPIX file inside it.

Now if your DSL partition is at sda1 and you have put the "linux24" and "minirt24.gz" files in the "/boot" directory, then the following menu.lst entry should boot DSL:
Code:
title Damn Small Linux frugal in sda1
  root (hd0,0)
  kernel /boot/linux24 root=/dev/sda1 frugal sata
  initrd /boot/minirt24.gz
  makeactive
  boot

If you want to boot the iso then perhaps the "fromhd" boot command might work, but it is probably only for booting from a CD (then loading an image from the HDD).

For the record, ext3 is backwards compatible with ext2, so even if DSL didn't support ext3 (which I believe it does), it should still work fine running it as an ext2 partition without need to reformat. FAT32 is definately not preferred for booting DSL and I don't know if it works at all (I may assume not).

What was wrong with booting using LoadLin, if you still want to run in the "dsl" directory on sda2?
63  Damn Small Linux / HD Install / Re: looking for a solution: installalling DSL persistently on simple computer on: August 07, 2013, 07:05:49 AM
You need a bootloader for the launching of every Operating system, including DOS, Windows and Linux. It is what bridges the gap between the BIOS and the Operating System on startup. It doesn't matter what type of drive your OS is on, you always need a bootloader on a PC.

As for the error, GRUB itself has a boot process and it seems to be failing before it's fully loaded. If the contents of the directory "/boot/grub" on the partition is readable, then there might be a hardware compatibility issue. It might be the computer hardware itself, but you could also try another memory stick.

You could also install GRUB on the CF card (you will need a Linux formatted partition with the "/boot" folder on it) using the command line, then modify the file "/boot/grub/menu.lst" on the CF card to tell GRUB to boot Linux from the USB (hoping that the problem that stopped GRUB loading doesn't also stop DSL). I'll admit it is getting a bit complicated at that point, but definitely doable.
64  Damn Small Linux / Laptops / Re: DSL on a ThinkPad A20m, how to add USB support and suspend/resume? on: August 07, 2013, 06:37:40 AM
Sometimes it helps to turn off an option in many BIOSs called something similar to "USB Legacy Support". If you search for support of your USB controller in the 2.4 kernel (based on the "lspci" listing), you can at least know if your USB is supposed to be working.
65  Damn Small Linux / Laptops / Re: How to boot DSL using grub - frugal? on: August 06, 2013, 10:16:25 AM
Yep, FreeDOS with FAT32 should work and I think almost certainly in a sub-directory (have done such a thing myself with another Linux distro). Might be a good way to go.
66  Damn Small Linux / HD Install / Re: looking for a solution: installalling DSL persistently on simple computer on: August 06, 2013, 10:06:05 AM
"j" will probably be a LILO error code, you'll have to look at the LILO documentation to work out what error it is. You could always try GRUB, it is more commonly used with DSL. You should be able to do this from the command line as well as by re-running the script.

In fact the script I originally referred to is at the link in the DSL menu under "Apps>Tools" with the name "USB-HDD Pendrive Install", this may do a HDD-Install to the USB stick. Again I can't help you much further than this bacause I haven't done a USB install myself.
67  Damn Small Linux / Other Help Topics / Re: how3 boot to cli, then continue to x on: August 05, 2013, 06:40:30 AM
You can use the boot code "2" as described in the relvant page on the wiki (http://www.damnsmalllinux.org/wiki/cheat_codes.html).

Yes "startx" will run the GUI.

What model Android device are you using? It would be interesting to know how you get on.
68  Damn Small Linux / Laptops / Re: DSL on a ThinkPad A20m, how to add USB support and suspend/resume? on: August 05, 2013, 06:35:16 AM
I don't know of any way to use suspend or resume with the DSL GUI. This page (http://acpi.sourceforge.net/documentation/sleep.html) describes commands to trigger different sleep options (note that DSL uses the 2.4 kernel, so options "s3" and "s4" won't work). I haven't tried the commands myself, but I think I'll give them a go on my ThinkPad R31 tonight. If "s1" works for you, then you could make a one line script with the command and place a link to it on the desktop.

Actually, this page (http://dag.wieers.com/howto/thinkpad/a20m/) indicates that ACPI suspend can be triggered with the "fn-F4" keyboard combination. That doesn't work on my ThinkPad though.

As for USB, the above page indicates that it works, and they used the 2.4 kernel. Thinkwiki usually has some good information and there is a page on the A20m (http://www.thinkwiki.org/wiki/Category:A20m), but it doesn't have the USB chipset anywhere. To find this out, open "System>System Specs" in the DSL menu and click on the "pci" tab, then read off the text after "USB Controller:". You can also use the command "lspci" in the terminal. With that info, you can look up what Linux support there is for it in the 2.4 kernel.

Also, what are you using to test the USB? Some USB devices aren't supported by DSL.
69  Damn Small Linux / Laptops / Re: How to boot DSL using grub - frugal? on: August 04, 2013, 02:21:12 AM
That minimal console is the kernel on its own. Most of what makes Linux is additional software that is loaded by the kernel and your kernel can't find its files to load, so all it can give you is the basic system of built-in tools used for initial loading.

In relation to the bootloader, this means that GRUB has loaded the kernel and killed itself (that's a good thing, I coudn't think of another way to put it). The problem is that the commands passed to the kernel by GRUB (reading from the "kernel" line in menu.lst, hence why I've been talking about it so much) are not being properly understood or executed thereafter. In other words the kernel can't find its files (which are in "/dsl") based on the instructions you are giving it in the "kernel" line of menu.lst.

I can think of three potential causes for this in your case:
1. Your commands in the "kernel" line are incorrect.
2. The DSL kernel can't load its files from inside a sub-directory on a partition (your "/dsl" folder).
3. The kernel can't read data on the sda2 partition (eg. due to hardware incompatibility, data corruption or use of an unsupported file system).

Unless we are both missing something major and specific to your circumstance, then the kernel lines suggested by the Wiki, "james c" and myself should be correct, which makes no. 1 less likely.

If you can boot DSL from a CD etc. (with the "sata" boot code) and read the "/dsl" folder of the sda2 partition, then it is less likely that cause no. 3 is the problem. However it could perhaps be a problem that occours only at the early boot process.

Therefore I'm afraid that cause no. 2 seems rather likely. It would be worth doing some in-depth searching with Google for people who have tried booting the 2.4 kernel in a sub-directory of a partition, in case it was a known problem that was fixed in later kernels (such as the one used by Puppy).
70  Damn Small Linux / HD Install / Re: looking for a solution: installalling DSL persistently on simple computer on: August 04, 2013, 01:41:09 AM
Much of your first post indicated that the issue you have is with RAM running out due to the size of "/ramdisk". The anwser you are looking for (where the files from /ramdisk are stored on permanent storage media (eg. your USB stick) like on a traditional OS installation) is what is called in DSL a "HDD Install" onto a USB Memory Stick (look at the Wiki for more details).

As I said before, I haven't done this before, but "USB-HDD Pendrive Install" in the DSL menu may do what you want (if not, I am almost certain there is a way, however I don't have any experience in the matter).

If you cannot get a HDD Install to work on USB, remaining options are using a swap partition on the USB stick so that you won't run out of RAM, and setting up the DSL backup and restore systems for persistence. Otherwise you could do a HDD Install to the CF card that would almost certainly work if you used one large enough (and is still able to be used in other machines if you take it out of the case).

Now as for your web cam, that lsusb listing by no degree indicates that the device should be working. What you see is simply an identifier which the camera uses to tell your computer what it is and what driver to load for it. Having just checked, no driver for the device is included in DSL.

A quick Google of that identifier leads one to the first result (http://www.linux-hardware-guide.com/2013-05-18-microsoft-lifecam-vx-3000-webcam-usb-2-0) which indicates that the driver package for your web cam is "gspca". This is not in the my-dsl respository so you will need to either grab the modules listed on that page (the real file names will have ".o" on the end, eg. "gspca_sonixj.o") from the net (try to get ones made for the 2.4 kernel, they probably wont have been compiled for exactly the same kernel version as DSL, so they will complain when you will need to force them to load and they may not work). If you can't find them or get them to work, you will need to compile them yourself. I've posted notes on that process before in different circumstances (look at my past posts), but I've never compiled a USB driver in DSL before (at least, not that I can remember) so I don't know the details of enabling it in the "hotplug" USB management system that DSL uses. Source code compatible with DSL (not the latest version befause that isn't compatible) is at this link (http://mxhaard.free.fr/spca50x/Download/oldrelease/gspcav1-20071220.tar.gz)

With the driver loaded, and assuming the it is compatible with "gqcam", video will be available to the program at "/dev/video" and things will work (hopefully).
71  Damn Small Linux / HD Install / Re: Help with "Can't find KNOPPIX filesystem"? on: August 03, 2013, 12:22:25 AM
I've never used Loadlin with DSL, but I notice that the Wiki tutorial says that you should run it from a FAT32 partition while MS-DOS generally formats drives FAT16 by default (I've not used as late a version as 6.22 though, so this may be different in your case). I don't understand why the system would have a problem with FAT16, but that's what the Wiki says so its worth checking if you don't know.
72  Damn Small Linux / HD Install / Re: looking for a solution: installalling DSL persistently on simple computer on: August 03, 2013, 12:06:26 AM
I don't know all that much about installing to USB drives. If you can install to it in a similar way to a HDD Install, then that would be lightest on RAM and give you persistence. "USB-HDD Pendrive Install" in "Apps>Tools" in the DSL menu might do this, I don't know.

You say no HDD install possible, and one generally requires about 300MB, but you could buy a bigger CF card to replace the small one inside your machine, then do a HDD install to that. 1GB and 2GB ones are commonly available for relatively little money in stores and on Ebay.

Otherwise if you want to stay with your current set up, you could make a Linux swap partition on either your USB stick or your CF card (if there's enough free space) to act as extra (slower) RAM when you start to run out. There are plenty of guides on the net that describe that process.

As for keeping your files and settings, there are instructions on the wiki. (http://www.damnsmalllinux.org/wiki/persistence.html)

the command "apt-get" no longer works in DSL as the respository it uses no longer has files compatible with the version of Debian Linux that DSL is based on (Debian 3, "Woody"). Packages for Debian "Woody" are at the Debian Package Archive (http://archive.debian.net). You might be able to set apt-get to use that, but I don't know how. Those packages are no longer updated anyway, to use newer versions of software (which isn't in the My-DSL respository), you need to compile it yourself.
73  Damn Small Linux / Laptops / Re: How to boot DSL using grub - frugal? on: August 02, 2013, 10:50:58 PM
Just a thought (that should really have occoured before), what file system is on your sda2 partition? ext2 and ext3 should be supported by DSL, but some other ones aren't.

If you don't know, the best way to check (as fdisk lists all Linux file systems as type "Linux") is to boot Puppy, open a terminal and type "mount". One of the lines listed should start with "/dev/sda2" and further along that line, after the word "type" your file system should be stated.

EDIT: Whoops, seems I didn't ask that before because you already mentioned it was ext3. Oh well.
74  Damn Small Linux / Laptops / Re: How to boot DSL using grub - frugal? on: August 01, 2013, 07:56:57 AM
Presumably you've got your BIOS set to make SATA emulate IDE HDDs. I've run DSL on at least a couple of SATA systems (in one case to reformat a bunch of SATA HDDs, so I got used to the device names) and they always get named as "sd".
75  Damn Small Linux / Laptops / Re: How to boot DSL using grub - frugal? on: July 31, 2013, 09:34:25 AM
@james c
As he is using a SATA HDD, the device is named "sda", even in DSL.


The hash (#) on the kernel line won't stop the following commands, that only works at the beginning of a new line. You will have to delete the unneeded commands (you can always save a copy of your last menu.lst).

Your "KNOPPIX" cloop file and its directory are in the standard place, so with the kernel command "root=/dev/sda2/dsl", you shouldn't need "knoppix_dir=" and "knoppix_name=". That's assuming DSL doesn't mind running in your "dsl" directory.

You would have got the "ide1" command from the DSL WIki Boot Commands page. (http://www.damnsmalllinux.org/wiki/cheat_codes.html#Other_boot_labels)

What is the error you receive with the GRUB entry I suggested in my last post?
Pages: 1 ... 3 4 [5] 6 7 ... 9
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
Mercury design by Bloc