Please note that LinuxExchange will be shutting down on December 31st, 2016. Visit this thread for additional information and to provide feedback.

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:

# 9) Linux bootable partition config begins
title Damn Small Linux
rootnoverify   (hd0,1)
kernel /boot/isolinux/linux24 root=/dev/(hd0,1) ro lang=us toram noeject frugal>
initrd /boot/isolinux/minirt24.gz
boot
# Linux bootable partition config ends

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

Benny's gravatar image

Benny
1113
accept rate: 12%




123next »

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!

link

answered 12 Aug '13, 08:47

Benny's gravatar image

Benny
1113
accept rate: 12%

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.

link

answered 01 Aug '13, 08:51

purevw's gravatar image

purevw
261
accept rate: 4%

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

sh-4.1#

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.

link

answered 01 Aug '13, 14:09

Benny's gravatar image

Benny
1113
accept rate: 12%

edited 01 Aug '13, 15:02

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.

link

answered 01 Aug '13, 17:31

purevw's gravatar image

purevw
261
accept rate: 4%

Thank you, purevw, for your reply! It seems that I can take out of the way "noeject" since I'm pretending to boot frugally.

What I posted above is just the DSL folder contents. I think tou're right, I should've posted a complete scenario. I've 1 hd broken down in 3 partitions: sda1 & sda5 (ntfs) & sda2 (ext3). The contents of sda2 ("home" within Puppy Linux) is 6 folders of different Puppy OSs, the dsl & boot folders; there're others not relevant.

Maybe, this'll clear some of the fog. When I Ist 'installed' my DSL OS it was done at an XP VAIO (now dead) & I located it at a re-formatted MP3 player (MuVo @ ~2005). When I tried to boot DSL at this VAIO I used a copy of the MuVo, then I pretended to upgrade DSL (4.4) at an HP where I use DSL as the default OS. I've done some file movements between the 2 since AWA d/l the latest DSL & burned it to a cd (at the VAIO), which didn't boot at the HP??? These things might explain why you see some strange files there...

The "boot" folder's the grub thing. It only contains a grub folder. The lattter contains 13 items, menu.lst is one of them.

My intended installation method's frugal. I already stated my partition setup. The menu.lst contents follow:

GRUB configuration file '/boot/grub/menu.lst'.

generated by 'grubconfig'. Sun Jul 3 04:15:57 2011

Start GRUB global section

timeout 5 color light-gray/blue black/light-gray

End GRUB global section

1) Linux bootable partition config begins

title Puppy Linux 528-005 frugal in sda2 dir puppy528-005 rootnoverify (hd0,1) kernel /puppy528-005/vmlinuz pmedia=atahd psubdir=puppy528-005 pfix=noram,fsck initrd /puppy528-005/initrd.gz

Linux bootable partition config ends

2) Linux bootable partition config begins

title Slacko-5.5.4G frugal in sda2 dir Slacko-5.5.4G rootnoverify (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 frugal in hda2 dir dsl rootnoverify (hd0,1) kernel /dsl/linux24 root=/dev/sda2/dsl knoppix_dir=dsl/KNOPPIX knoppix_name=dsl/KNOPPIX/KNOPPIX frugal sata initrd /dsl/minirt24.gz makeactive boot

Linux bootable partition config ends

--->for space restrictions deleted some entries suppossed to be at this line

I've seen more than once that inside the dsl folder there should be a folder named boot, not having it is something important? Should I make it & move the corresponding files in there? How to correct the drive & partition mapping has been my aim for months.

(03 Aug '13, 09:44) Benny

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.

link

answered 01 Aug '13, 17:59

purevw's gravatar image

purevw
261
accept rate: 4%

Are you saying that dsl expects to be 'isolated' in its own partition? Not enough if it's contained within its own folder as the other puppies? When you say "let the system install...", at what system you're referring to?

How to avoid sharing "home" with other distros?

In case I haven't said so before let me state this: it seems to be booting up just to a very limited console with the message "Can't find knoppix filesystem". How much from the contents of the dsl folder and as such from dsl has been booted for this message & console appearing, if any?

Edit: How can I upload an image to this site?

(03 Aug '13, 10:00) Benny

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.

link

answered 03 Aug '13, 12:18

purevw's gravatar image

purevw
261
accept rate: 4%

If I'm not wrong, I used isomaster from Puppy Linux 528.005 to do it and yes, I made an iso image on the cd instead of just copying the image unto it.

The HP has booted up in the past from the cd (Ubuntu 8.*, PL 431) as well as from that pendrive (previously just a MuVo MP3 player, 64 MB, from Creative). I haven't thought much about the format I gave it & if that drive can handle it, yet; but I'll do that later on.

About "wiping everything else" thing, hum, it just make me tremble a little.

My booting puppies are: PL528.005 (default), PL511, Wary512, Slacko-5.5.4G, PL525 & Puupy Studio. I also had PL431, TinyCore & WaryTiny but moved all of them out (uninstalled them all) for making room for Slacko (that was before expanding the parttion). Well, I've other folders there & DSL, too.

My successive <ls> command outputs follow (I'm not leaving anything out starting at "home", then "boot" and "grub"):

sh-4.1# ls boot general_downloads netbootmein puppy528-005 Slacko-5.5.4G dsl java puppy511 puppystudio VirtualBox fonts lost+found puppy525 SAVEMARK wary512_empty

sh-4.1# ls grub

sh-4.1# ls device.map jfs_stage1_5 minix_stage1_5 stage2 xfs_stage1_5 e2fs_stage1_5 mbr.sda.24332 reiserfs_stage1_5 stage2_eltorito fat_stage1_5 menu.lst stage1 usage.txt

I hope this clarifies more the situation. Thanks for your involvement!

(03 Aug '13, 12:45) Benny

When you say:

I'm not leaving anything out starting at "home", then "boot" and "grub"

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:

GRUB configuration file '/boot/grub/menu.lst'. generated by 'grubconfig'. Sun Jul 3 04:15:57 2011 Start GRUB global section timeout 5 color light-gray/blue black/light-gray

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.

link

answered 03 Aug '13, 13:48

purevw's gravatar image

purevw
261
accept rate: 4%

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.

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

link

answered 03 Aug '13, 13:52

purevw's gravatar image

purevw
261
accept rate: 4%

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

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

link

answered 03 Aug '13, 13:53

purevw's gravatar image

purevw
261
accept rate: 4%

Oops, I had a typo. The knoppix reference should read: knoppix_dir=/dsl/KNOPPIX

I forgot to include the / before "dsl in the path

link

answered 03 Aug '13, 14:23

purevw's gravatar image

purevw
261
accept rate: 4%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13

Asked: 16 Jul '13, 11:47

Seen: 8,795 times

Last updated: 12 Aug '13, 08:47

powered by OSQA