How to dual-boot Ubuntu and frugal Puppy?

Booting, installing, newbie
Message
Author
vbdanl
Posts: 27
Joined: Sun 08 Jul 2007, 16:19

#21 Post by vbdanl »

thanks. i read the various links and posts. most of the advice deals with using one of the older grub products. when grub2 first came out, i was right there along with most, not wanting to change. after a couple of years, i have adapted to using grub2, and think it works well...just not with puppy. it does detect my other distros, and i have tweaked the 30* file to display titles the way i want. one of the posts seemed to be able to get puppy to boot with a menu entry in the 40* file.. i tried doing that exactly like he did, and 6 ways from Sunday.. none worked for me. maybe its my old hdwe.. maybe something else.. for now, i will just boot puppy off CD.. that has always worked.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#22 Post by nooby »

vbdanl you are right. It is a mystery.
And very few are motivated to solve it.

I am but have not the needed brain to do it.

Why on earth did they come up with Grub2 :)
I use Google Search on Puppy Forum
not an ideal solution though

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#23 Post by watchdog »

I'm using grub2 (ubuntu's grub-pc) to boot all my puppies. I have posted my way to boot frugal puppies with ubuntu's grub. Why that method doesn't work with your hardware? Perhaps when you boot is there some other drive attached to your hardware that modify the partitions order? For example in my printer there is a card reader: when I boot with the printer on I am not able to boot puppy because the card reader modify the partitions order. Is that your case?
Last edited by watchdog on Sat 27 Apr 2013, 09:46, edited 1 time in total.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#24 Post by nooby »

Could such be solved by UUID of what is what?
That way Grub2 would know where to look?

just a wild guess.
link to entry in watchdog post

menuentry "Slacko 5.5 (frugal on sda7)" {
set root=(hd0,7)
linux /vmlinuz pmedia=atahd pfix=fsck
initrd /initrd.gz
}

How to arrange Grub2 to boot frugal Slacko, XP and Ubuntu?
http://www.murga-linux.com/puppy/viewtopic.php?t=85496

I looked through all your posts in profile which thread are you referring to?
Below that post vbdanl do ask you a question if you used
the 40 thing there so could you help him please. :)
I use Google Search on Puppy Forum
not an ideal solution though

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#25 Post by watchdog »

nooby wrote:Could such be solved by UUID of what is what?
That way Grub2 would know where to look?
I used UUID to boot slackware installed to usb drive. It works too. I did not use UUID system to boot puppies: it is not necessary.
nooby wrote:just a wild guess.
link to entry in watchdog post
<cut>
How to arrange Grub2 to boot frugal Slacko, XP and Ubuntu?
http://www.murga-linux.com/puppy/viewtopic.php?t=85496

I looked through all your posts in profile which thread are you referring to?
I have posted a general way in this thread. Look the second post of this thread. This is my /etc/grub.d/40_custom in ubuntu lucid install:

Code: Select all

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Wary 5.5 (frugal on sdb5)" {
set root=(hd1,5)
linux /wary55/vmlinuz pmedia=usbhd psubdir=wary55 pfix=fsck
initrd /wary55/initrd.gz
}
menuentry "Slacko 5.5 (frugal on sdb1)" {
set root=(hd1,1)
linux /slacko55/vmlinuz pmedia=usbhd psubdir=slacko55 pfix=fsck
initrd /slacko55/initrd.gz
}
#menuentry "Wary 5.3.92 (frugal on sdb5)" {
#set root=(hd1,5)
#linux /wary53.92/vmlinuz pmedia=usbhd psubdir=wary53.92 pfix=fsck
#initrd /wary53.92/initrd.gz
#}
menuentry "Lupu528_005 (frugal on sdb1)" {
set root=(hd1,1)
linux /lupu528_005/vmlinuz pmedia=usbhd psubdir=lupu528_005 pfix=fsck
initrd /lupu528_005/initrd.gz
}
#menuentry "Wary 5.3 (frugal on sdb1)" {
#set root=(hd1,1)
#linux /wary53/vmlinuz pmedia=usbhd psubdir=wary53 pfix=fsck
#initrd /wary53/initrd.gz
#}
#menuentry "Precise 5.4.3 (frugal on sdb1)" {
#set root=(hd1,1)
#linux /precise543/vmlinuz pmedia=usbhd psubdir=precise543 pfix=fsck
#initrd /precise543/initrd.gz
#}
menuentry "Slacko 5.3.3 (frugal on sdb1)" {
set root=(hd1,1)
linux /slacko533/vmlinuz pmedia=usbhd psubdir=slacko533 pfix=fsck
initrd /slacko533/initrd.gz
}
menuentry "Puppy 4.3.1 (frugal on sdb1)" {
set root=(hd1,1)
linux /puppy431/vmlinuz pmedia=usbhd psubdir=puppy431 pfix=fsck
initrd /puppy431/initrd.gz
}
menuentry "Precise 5.5 (frugal on sdb1)" {
set root=(hd1,1)
linux /precise55/vmlinuz pmedia=usbhd psubdir=precise55 pfix=fsck
initrd /precise55/initrd.gz
}
EOF
You can find that I use an external usb hd which can attach to every hardware.
Last edited by watchdog on Sat 27 Apr 2013, 11:19, edited 1 time in total.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#26 Post by nooby »

Much appreciated hope it helps vbdanl

I should test it too. I do have an external HD
that should be possible to use so only my lazy
body is in my way :)
I use Google Search on Puppy Forum
not an ideal solution though

vbdanl
Posts: 27
Joined: Sun 08 Jul 2007, 16:19

#27 Post by vbdanl »

i will have to get back to the old sony pc and see if i can figure out why it would not boot puppy for me. i was able to get it installed on another pc. i probably did something wrong to begin with, and ended up copying the files from CD to my pup54 dir, and then was able to boot. on this pc (my old t2895 emachine) i put puppy with a linux mint 13 distro in sda5.
i am used to running apt-get update and yum update to update all the software on ubuntu and fedora. is there a similar command for puppy? when opera comes up, it wants me to upgrade from 12.11 to 12.15. am not sure if i need to download it from opera, or if a package mgr in puppy will take care of it. and if i do dnld from opera, which version should i get (.rpm, .deb, .tar, etc) and what command or menu option should i use ?
sorry for asking stuff i know i can eventually find by reading..

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#28 Post by nooby »

I don't know about Opera but Firefox do such automatically
if one has it set to be automativ so most likely Opera just works?

But I know nothing.

An important thing is that Ubuntu rewrite the entries
that is why they have that 40 something file there
so one do a upgrade grub and that takes the info in 40
whatever name it has and add that to the file it reads at boot?

the little I know is that grub2 seems to have a built in protection
if the entry does not live up to the code needed it is not shown.

So that way it can looks as if it not there.
I wish somebody good at computing could find a solution
that allow one to edit such entry on the fly instead of having
to reboot into ubuntu and try to figure out and then upgrade grup
adn then reboot again and to not see it and start all over.

older grub allow one to do Edit using the e as a short key for edit.
I use Google Search on Puppy Forum
not an ideal solution though

vbdanl
Posts: 27
Joined: Sun 08 Jul 2007, 16:19

#29 Post by vbdanl »

watchdog wrote:
nooby wrote:Could such be solved by UUID of what is what?
That way Grub2 would know where to look?
I used UUID to boot slackware installed to usb drive. It works too. I did not use UUID system to boot puppies: it is not necessary.
nooby wrote:just a wild guess.
link to entry in watchdog post
<cut>
How to arrange Grub2 to boot frugal Slacko, XP and Ubuntu?
http://www.murga-linux.com/puppy/viewtopic.php?t=85496

I looked through all your posts in profile which thread are you referring to?
I have posted a general way in this thread. Look the second post of this thread. This is my /etc/grub.d/40_custom in ubuntu lucid install:

Code: Select all

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "Wary 5.5 (frugal on sdb5)" {
set root=(hd1,5)
linux /wary55/vmlinuz pmedia=usbhd psubdir=wary55 pfix=fsck
initrd /wary55/initrd.gz
}
menuentry "Slacko 5.5 (frugal on sdb1)" {
set root=(hd1,1)
linux /slacko55/vmlinuz pmedia=usbhd psubdir=slacko55 pfix=fsck
initrd /slacko55/initrd.gz
}
#menuentry "Wary 5.3.92 (frugal on sdb5)" {
#set root=(hd1,5)
#linux /wary53.92/vmlinuz pmedia=usbhd psubdir=wary53.92 pfix=fsck
#initrd /wary53.92/initrd.gz
#}
menuentry "Lupu528_005 (frugal on sdb1)" {
set root=(hd1,1)
linux /lupu528_005/vmlinuz pmedia=usbhd psubdir=lupu528_005 pfix=fsck
initrd /lupu528_005/initrd.gz
}
#menuentry "Wary 5.3 (frugal on sdb1)" {
#set root=(hd1,1)
#linux /wary53/vmlinuz pmedia=usbhd psubdir=wary53 pfix=fsck
#initrd /wary53/initrd.gz
#}
#menuentry "Precise 5.4.3 (frugal on sdb1)" {
#set root=(hd1,1)
#linux /precise543/vmlinuz pmedia=usbhd psubdir=precise543 pfix=fsck
#initrd /precise543/initrd.gz
#}
menuentry "Slacko 5.3.3 (frugal on sdb1)" {
set root=(hd1,1)
linux /slacko533/vmlinuz pmedia=usbhd psubdir=slacko533 pfix=fsck
initrd /slacko533/initrd.gz
}
menuentry "Puppy 4.3.1 (frugal on sdb1)" {
set root=(hd1,1)
linux /puppy431/vmlinuz pmedia=usbhd psubdir=puppy431 pfix=fsck
initrd /puppy431/initrd.gz
}
menuentry "Precise 5.5 (frugal on sdb1)" {
set root=(hd1,1)
linux /precise55/vmlinuz pmedia=usbhd psubdir=precise55 pfix=fsck
initrd /precise55/initrd.gz
}
EOF
You can find that I use an external usb hd which can attach to every hardware.
thanks for all of your help. finally have it working on the old sony. i must have messed up the partition that had puppy on (sda6). at one time i remember getting bad magic number errors. last msg i got after setting my install just like you have and just like i did on my other pc was "out of partition". i had received that message way back when i first started on this, but could never get myself to believe there was really something wrong with the partition, since i could mount it and look at it from ubuntu or other distros.
anyway, i ended up copying the same pup files from sda6 to sda1, created a new entry in ubuntu 40_custom file, update-grub, and Walla.. it worked. still don't know what is wrong with sda6, but i can get by without it for now.
thanks again to all of you who gave advice and helped me thru this..

i could start another post, but it should be a easy answer.. i installed some widgets that show clock, calendar, and weather. the trash and lock icons are under the edge of the widgets. i moved them manually out away from the widgets, but when i reboot, they are right back where they were, under them again. how do i fix that? also, what is the correct method to update Opera to the latest version in puppy? thanks again.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#30 Post by nooby »

I asked on your behalf but also for my own knowledge
I have had same problem here is the answer i received
quote from Proebler
assuming you talk about Pwidgets.

To get it out of the way of the waste basket and lock go:
Menu> Desktop> Desktop Settings> Pwidgets tiny....> File> Preferences> Options/Vertical startpoint

adjust it to your liking

Hope that helps
I use Google Search on Puppy Forum
not an ideal solution though

vbdanl
Posts: 27
Joined: Sun 08 Jul 2007, 16:19

#31 Post by vbdanl »

thanks nooby.. i will try that.

vbdanl
Posts: 27
Joined: Sun 08 Jul 2007, 16:19

#32 Post by vbdanl »

nooby wrote:I asked on your behalf but also for my own knowledge
I have had same problem here is the answer i received
quote from Proebler
assuming you talk about Pwidgets.

To get it out of the way of the waste basket and lock go:
Menu> Desktop> Desktop Settings> Pwidgets tiny....> File> Preferences> Options/Vertical startpoint

adjust it to your liking

Hope that helps
that setting allows me to move the widgets up/down along either the chosen right/left side of the screen. what i really want is to move them left away from the trash and other folders that appear there by default.

Post Reply