I'm using a VAIO laptop with some Puppy Linux distros in the H/D ready to boot depending on my choice at the splash screen or, if no key is pressed within a short period of time, the default (first choice in list) will be booted up automatically.
One of those choices is DSL (DamnSmallLinux). I've tried above a half-dozen different entries at the menu.lst file as suggested by others at some forums but it never worked for me. I would like to see some already tried entries that have, indeed, worked. Also, it would be helpful if the actual contents of the folder containing DSL files is shown as a list of files in there.
My actual menu.lst entry for DSL is shown below:
While looking at this entry above I decided to change those parts that read "/boot/isolinux" to /dsl only. I'm following the same scheme I use for other OS that I'm actually able to boot from folders beside dsl.
PS. This's the first time I'm posting here & have noticed something strange. When trying to insert text (various lines from the menu.lst files) using the tool for 'code' I was given a message to insert the text within a blue square but, even though the text was inserted, the format of the text was messed up. I finally did it by repeating the process for each line of text. Is this the correct behavior or there's another way?
Thanks in advance for any info/help on the above issues!
asked 16 Jul '13, 11:47
Thanks purevw for all your support on my issue! I must say that I solved it already.
I resized & formatted a partition (first partition in sda), sda1 as ext2, moved there the whole dsl folder that was at sda2 (ext3), since that didn't work I created at root level there a "boot" folder & put in linux24 & minirt24.gz. There're 2 other folders beside that, KNOPPIX & isolinux with the usual contents in them: that was all I needed to boot normally.
The above seems to conclude the issue happily for me. The issue is SOLVED!
answered 12 Aug '13, 08:47
The /boot/isolinux/ is the path to your (linux24) DSL kernel. Grub looks for kernels and initrd (initial ramdisk) files, not folders.
I have used DSL before, but am not that experienced with it, but I would never change the kernel or initrd paths unless they are wrong.
When you are editing the menu.lst are you saying that you are doing it during boot from within grub?
The easier way would be to boot from a DVD and use a standard editor.
answered 01 Aug '13, 08:51
Thanks for replying, purevw! I thought that the 'forum' was dead...
I'm going to try to insert or upload an image of my relevant folder for you to inspect below, at the moment I issued the next command my PWD was /home/dsl (bold entries inside folders mean folders):
sh-4.1# ls -R . : 1st-boot.bat gpxe.krn netbootme.iso autorun.inf isolinux.bin netbootme.usb boot.cat isolinux.cfg
pendrive-bat.old boot.msg KNOPPIX qemu dsl-base-bat.old ldlinux.sysreadme.txt dsl-vhd-bat.old linux24 RECYCLER f2
logo.16 f3 Shortcut to EXPERIMENTO (E).lnk minirt24.gz syslinux.cfg german.kb dnetbootme.dsk variousfiles
. . : /KNOPPIX: KNOPPIX
. . : /qemu: bios.bin License qemu.exe sdl.dll vgabios-cirrus.bin fmod.dll linux_boot.bin qemu-img.exe vgabios.bin
. . . : /qemu/License: license README-SDL.txt readme.txt
. . : /RECYCLER: S-54-7-28-3434476501-1644491937-601003330-1213
. . . : /RECYCLER/S-54-7-28-3434476501-1644491937-601003330-1213: Desktop.ini Regv.exe
. . : /variousfiles: gtktetris gtktetris-0.6.2-pup4.files gtktetris.desktop
NOTE: The greater the indentation the deeper the mentioned folder is in the hierarchy.
This site prevented me to upload an image of the cited DSL folder above even though the first one was just a 63 KB & the second one 48 KB .png files. Maybe because I don't even have a "belt" yet!
I've edited the DSL entries both ways. BTW, can you explain the meaning/purpose of the kernel line entry "ro"?
PS. This's the first time I use this site as well as the text editor it uses; it needs to develop another way of doing things or I should get more used to it. In any case it made me remember of WYSIWYG...
Thanks for any info on the issues dealt with above! Hope I finally got an understandable picture of my situation.
The ro means to mount "read only". It's a standard fstab command. The toram command simply tells the system to cause the complete OS to reside in RAM rather than on a disk. The "noeject" command would apply to a disk or flash drive. Actually, all those commands would apply to removable media that is not meant to be written to.
What you list here looks confusing. It looks like a single drive with everything on a single partition? I also see qemu which is for setting up virtual machines and I see Windows recycle bin folders. What I don't see is anything for grub, including menu.lst
We had better start from the beginning. Can you tell me the install method you are trying to use, the complete partition setup, exactly what version of DSL you are trying to install(frugal is possibly not the best choice). Even the complete DSL installation is only a bit over 50MB and requires very small resources.
If the grub you are using is from an already installed version of Linux, seeing your menu.lst might be of benefit. List all working operating systems on the Vaio and the partitions that they reside on.
I just downloaded DSL 4.11-RC2 and the file structure is barely similar. There are only two folders: Boot and knoppix. Inside the "boot" folder are the files to boot into the 2.4 kernel (linux24) and the mini-initrd (minirt24.gz) Inside the knoppix folder is the actual mini version of knoppix that DSL uses.
Your original menu.lst looks basically correct, but the boot folder that it is looking for is not there and possibly the drive and partition mapping are incorrect.
I'll go ahead and boot into the DSL CD and see what options it gives me. I'll check back here after a while.
answered 01 Aug '13, 17:31
I'll need to take back what I said about installing frugal. It does seem to be the best install method, as upgrading and adding packages is simpler.
The install seems straight forward enough. Create a 50MB partition (larger if you plan to upgrade and / or add packages), choose your bootloader (grub or lilo or none - if you plan to modify your puppy Linux grub to add DSL), and have the system install everything to that created partition. It will keep the toram command in menu.lst, as it can make the system much faster. I didn't install, but I imagine that you would also be given options for your persistent home partition (better NOT to share your "home" from other distros, although it is possible to do so), so that your settings can be saved during shutdown. Again, your partition setup would be of great help.
answered 01 Aug '13, 17:59
When you say that you burned dsl onto a CD, did you actually burn the disk image to the CD, or just copy and burn the .iso file to the CD? If you look at the CD contents on the disk from a computer, does it show a folder structure, or just an .iso file?
Is your HP set to boot from CD before it looks for a hard drive? Is the CD / DVD player in the HP capable of reading burned discs? Some are not.
By “let the system install”, I mean boot from a dsl Linux CD or flash drive, and run the installer. But since you have various distros on a single partition, the installer would probably wipe out everything else when installing dsl.
There should only be one "boot" folder. If grub is finding menu.lst then don't change anything. If grub says that it can't find knoppix (assuming it means knoppix for dsl), then grub is working and finding /boot/grub/menu.lst. It's just a matter of modifying menu.lst to reflect correct locations.
Do puppy and slacko boot ok? If so, then that is a good start. What are all the folders in your "root" "/" folder (not including sub-folders)?
Don't make changes, but your root folder should look something like: /boot, /dsl, /puppy528-005, and /Slacko-5.5.4G (that's not including the distros from titles 3,4,5, and 6 of menu.lst that were not listed in your post.
I'll work on modifying your menu.lst to what I think it should look like, but it still may not be correct since I don't know your entire root folder structure yet.
answered 03 Aug '13, 12:18
When you say:
are you calling the "root" directory "home"? A "home" directory would be a sub-directory of root (example:/home) just like you have /dsl and /puppy528-005 Home is where your user files go. An Example would be: /home/Benny
Knoppix is meant to be a file-system for Live CDs. As such, it may not allow writes, even though it's on your hard drive.
Try this, but read below before you make any changes:
End GRUB global section
1) Linux bootable partition config begins title Puppy Linux 528 root (hd0,1) kernel /puppy528-005/vmlinuz pmedia=atahd psubdir=puppy528-005 initrd /puppy528-005/initrd.gz Linux bootable partition config ends
2) Linux bootable partition config begins title Slacko-5.5.4G root (hd0,1) kernel /Slacko-5.5.4G/vmlinuz pmedia=atahd psubdir=Slacko-5.5.4G initrd /Slacko-5.5.4G/initrd.gz Linux bootable partition config ends
--->for space restrictions deleted some entries suppossed to be at this line
7) Linux bootable partition config begins title Damn Small Linux 4.4 root (hd0,1) kernel /dsl/linux24 root=/dev/hda2/dsl/ knoppix_dir=dsl/KNOPPIX knoppix_name=KNOPPIX initrd /dsl/minirt24.gz makeactive boot Linux bootable partition config ends
If you want, change only the dsl entry, since the others work as they are. Also, you might need to remove the / from the end of: root=/dev/hda2/dsl/ as I'm not positive it should be there.
answered 03 Aug '13, 13:48
Let me re-post just the dsl section. The > markers indicate a line break. The system here does not include the line breaks and they are important.
answered 03 Aug '13, 13:52
Damn. It still didn't post correctly. I'll double space everything. Just remove the blank lines:
7) Linux bootable partition config begins
title Damn Small Linux 4.4
kernel /dsl/linux24 root=/dev/hda2/dsl/ knoppix_dir=dsl/KNOPPIX knoppix_name=KNOPPIX
Linux bootable partition config ends
answered 03 Aug '13, 13:53
Oops, I had a typo. The knoppix reference should read: knoppix_dir=/dsl/KNOPPIX
I forgot to include the / before "dsl in the path
answered 03 Aug '13, 14:23