LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 08-29-2014, 10:22 PM   #1
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 44

Rep: Reputation: 17
Slax installation alongside Precise Puppy


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

title Lubuntu 14.04.1 LTS (sda13/boot)
uuid ff2e2604-6ad9-4f54-b3c7-57af442d61a6
kernel /vmlinuz root=/dev/sda13 ro
initrd /initrd.img"

I just can't figure out what to add to get Slax to boot, although I've tried several things. Any help would be most gratefully appreciated!

Sincerely,
revbish
Attached Thumbnails
Click image for larger version

Name:	capture23341.png
Views:	15
Size:	46.8 KB
ID:	16255  
 
Old 09-05-2014, 07:10 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,562

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
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.
 
Old 09-06-2014, 12:35 PM   #3
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 44

Original Poster
Rep: Reputation: 17
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
Attached Files
File Type: txt syslinux.txt (31.5 KB, 22 views)
 
Old 09-09-2014, 01:28 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,562

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
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.

Quote:
title Slax
KERNEL /slax/boot/vmlinuz vga=773 load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=
initrd /slax/boot/initrfs.img
 
Old 09-10-2014, 12:19 PM   #5
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 44

Original Poster
Rep: Reputation: 17
...still no go...

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
 
Old 09-12-2014, 09:41 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,562

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
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:

Quote:
title Slax
root (hd0,6)
kernel /slax/boot/vmlinuz
initrd /slax/boot/initrfs.img load_ramdisk=1 prompt_ramdisk=0 vga=773 rw printk.time=0 slax.flags=
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
 
Old 09-14-2014, 11:23 AM   #7
revbish
Member
 
Registered: Jun 2008
Location: Bethlehem, Georgia, US
Distribution: Tahrpup-64 6.0.5, AntiX, MX-Linux,ROSA
Posts: 44

Original Poster
Rep: Reputation: 17
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer set up Precise Puppy 5.7.1 Maimy Linux - General 1 04-19-2014 07:41 AM
[SOLVED] I have puppy precise that I run from cd and want to keep it that way. I have 8 gig .. Kevin Alcott Linux - Newbie 3 12-19-2013 07:03 AM
Precise Puppy 5.5.92 (5.6beta1) BarryK Puppy 2 05-14-2013 08:05 AM
ganttproject not working on precise puppy mike5061 Linux - Newbie 6 03-01-2013 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration