PuppyThis forum is for the discussion of Puppy Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've partitioned my laptop's hard drive into several smaller partitions, with my main distro being Precise Puppy 5.7.1, a frugal installation on one of the partitions. I have a couple other OSes on other partitions, which all boot and run just fine, except for Slax. What I would like to know is how to edit my menu.lst file to get Slax to boot. Attached is a pic of the contents of the Slax boot folder.
Here's the part of the menu.lst that boots Puppy & 2 others:
"title Puppy Linux 5.7.1 frugal in sda3 dir precise5.7.1frugalbish
find --set-root --ignore-floppies /precise5.7.1frugalbish/initrd.gz
kernel /precise5.7.1frugalbish/vmlinuz pmedia=atahd psubdir=precise5.7.1frugalbish
initrd /precise5.7.1frugalbish/initrd.gz
title Slitaz (sda6/boot)
uuid 80f3eee1-f5a0-4599-91e5-ba7da4e82943
kernel /boot/vmlinuz-3.2.53-slitaz root=/dev/sda6 ro
Take a look at the syslinux.cfg file. You should be able to modify the entry there to work with grub. Or post it and someone should be able to suggest what to do to modify it for grub.
Thanks for the reply, yancek. Attached here is the contents of the syslinux.cfg file (renamed with a .txt extension for attachment.)
I know it's probably something really simple, but it's above my skill level. Thanks to anyone who can figure this out.
--
revbish
The entries you posted earlier seem to be Grub Legacy except that the Precise Puppy entry has a 'set root' line usually seen in Grub2. You could try the entry below but you will need to either put the uuid line in similar to your other posts with the correct uuid for the Slax partition or add a standard root line, put it below 'title Slax', root (hd0,0) You will have to change the (hd0,0) to whatever the correct partition is.
I tried this and still can't get it to boot. If I go to the commandline at boot time, and type in boot /slax/boot/vmlinuz it will try to do it but finally ends in "kernel panic." The name of its partition is sda7, but I have to set it to (hd0,6). I'm so close, yet so far away! Thanks for all the help and your time anyway.
--
revbish
Your initial post shows that you have three operating systems installed, Puppy, Slitaz and Lubuntu. From reading it I would guess that you are using the Puppy bootloader to boot all three, is that correct? If not, what are you using? The entries you posted look like Grub Legacy which I guess Puppy still uses, I haven't tried it recently so don't know for certain.
The root line in Grub Legacy for partition sda7 would be: root (hd0,6) Grub Legacy counts BOTH drives and partitions from zero.
I found a Slax install on a DVD booting with Grub Legacy. The iso is slax-English-US-7.0.5-i486.iso althoug I don't think it will make much difference if you have a different version. Anyhow the entry I have in the menu.lst file for it which does boot is below:
I have a number of other Live systems on this DVD. All the others have the parameters on the kernel line but Slax has them on the initrd line. I added the root line above which you should include if it is on sda7. This boots to a command prompt with instruction on screen on how to log in. After logging in type: startx then hit the Enter key to get to the GUI.
Last edited by yancek; 09-12-2014 at 10:03 AM.
Reason: Add pertinent Info
Yes, I'm using Puppy's bootloader for all of them; it's called "GRUB4DOS". But I still can't get Slax to boot up off the hard drive, so I guess I'll give it up for now. Tired of spending all this time on it. I do sincerely thank you for all your ideas and efforts. It's enjoyable for me to tinker around with the computer, trying to do different things, but I just don't have the background or knowledge sufficient to do much. Thanks again, yancek!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.