How to configure dual-boot of Puppy and Ubuntu?
I need to get an answer to this too.DaveS wrote:I am interested in the 'update grub' command here. Does this have to be done from within Ubuntu? It seems that once the various installations are complete, booting from a live CD or USB with Puppy would allow simple editing og the configuration file, but would I then have to boot in to Ubuntu and use the 'update grub' command, or could this somehow be done from within the Puppy live session?
I have Linux Mint KDE CE instead of Ubuntu but both make use of grub2.
I have a full install of mint and will try to add the needed text in the 40 thing or somewhere else
Any suggestion on how one get it going?
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
It does not mater if it is Ubuntu or not.nooby wrote:I need to get an answer to this too.DaveS wrote:I am interested in the 'update grub' command here. Does this have to be done from within Ubuntu? It seems that once the various installations are complete, booting from a live CD or USB with Puppy would allow simple editing og the configuration file, but would I then have to boot in to Ubuntu and use the 'update grub' command, or could this somehow be done from within the Puppy live session?
I have Linux Mint KDE CE instead of Ubuntu but both make use of grub2.
I have a full install of mint and will try to add the needed text in the 40 thing or somewhere else
Any suggestion on how one get it going?
But that is not what he asked is it?
I tested to do the update grub thing and it needs to have the puppy files in the right place to work.
And I still fail to know how to move them from the usb to the HDD with the full install.
I guess I need to create a directory under root?
Well I could create a new dir but only in usr and not in root.
It even fails to use puppy to get access to the HDD. Linux Mint has changed the HDD so Puppy fail to mount it.
Neither pmount nor mut could.
Some permission thing.
Very annoying this structure they set up. One need to know very much before one can do simple things. It did not help me gave permission to the directory to be used by actual user I was not allowed to move it from usr home to root.
I tested to do the update grub thing and it needs to have the puppy files in the right place to work.
And I still fail to know how to move them from the usb to the HDD with the full install.
I guess I need to create a directory under root?
Well I could create a new dir but only in usr and not in root.
It even fails to use puppy to get access to the HDD. Linux Mint has changed the HDD so Puppy fail to mount it.
Neither pmount nor mut could.
Some permission thing.
Very annoying this structure they set up. One need to know very much before one can do simple things. It did not help me gave permission to the directory to be used by actual user I was not allowed to move it from usr home to root.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
As I expected. They are more interested in making me do full install of Puppy than to tell me how one move the files.
Frugal install is so alien to them that they don't want me to be able to move the files just to prove that one can dual boot that way. Only full install is ok to do. Then they can tell me how to move things. By telling puppy to install them instead of mint to move them. wow
Frugal install is so alien to them that they don't want me to be able to move the files just to prove that one can dual boot that way. Only full install is ok to do. Then they can tell me how to move things. By telling puppy to install them instead of mint to move them. wow
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
-
- Posts: 17
- Joined: Mon 02 Nov 2009, 05:22
dual boot ubuntu-puppy
I hope the following would be of any help to users for dualboot ubuntu-puppy:
Summary for users:
Booted ubuntu 9.10
1. Opened terminal and typed "gksudo gedit"
2. In gedit : Opened places/computer/filesystem/etc/grub.d/40_custom
3. Gave the following entries
menuentry "Puppy 431 frugal on sda6" {
set root=(hd0,6)
linux /pl431/vmlinuz psubdir=pl431
initrd /pl431/initrd.gz
}
EOF
4. Saved 40_custom
5. Closed gedit
6. In the terminal which was yet open gave command "sudo update-grub"
7. exit and rebooted the system.
Subsequently i could boot ubuntu, then puppy releases with no problem.
Summary for users:
Booted ubuntu 9.10
1. Opened terminal and typed "gksudo gedit"
2. In gedit : Opened places/computer/filesystem/etc/grub.d/40_custom
3. Gave the following entries
menuentry "Puppy 431 frugal on sda6" {
set root=(hd0,6)
linux /pl431/vmlinuz psubdir=pl431
initrd /pl431/initrd.gz
}
EOF
4. Saved 40_custom
5. Closed gedit
6. In the terminal which was yet open gave command "sudo update-grub"
7. exit and rebooted the system.
Subsequently i could boot ubuntu, then puppy releases with no problem.
-
- Posts: 17
- Joined: Mon 02 Nov 2009, 05:22
dual boot ubuntu-puppy
going through the following links also would help a lot.
http://ubuntuforums.org/showthread.php?t=1195275
https://help.ubuntu.com/community/Grub2
http://ubuntuforums.org/showthread.php?t=1195275
https://help.ubuntu.com/community/Grub2
Dave thanks indeed for this description.davesurrey wrote:Well I'm not a grub2 expert (who is??) but let's try to help you.
Ubuntu 9.10 uses a new type of grub which is often termed grub2 but I think ubuntu 9.10 actually uses version 1.97. No matter.
Instead of the /boot/grub/menu.lst file which puppy still uses and you may be used to, Ubuntu now uses a /boot/grub/grub.cfg file but you should not edit it. If you do your changes won't persist.
Instead you need to edit file /etc/grub.d/40_custom or add a similar one.
To make it easy we'll just edit the 40_custom file.
In ubuntu go to a terminal and typetype in your password and then use gedit to open the 40_custom file.Code: Select all
sudo gedit
Add:to the bottom of the file.Code: Select all
menuentry "Puppy 431 frugal on sda6" { set root=(hd0,6) linux /puppy431/vmlinuz psubdir=puppy431 initrd /puppy431/initrd.gz } EOF
Then save the file and go back to the terminal to make the file executable by typingAnd finally in terminal typeCode: Select all
sudo chmod +x /etc/grub.d/40_custom
Hopefully when you reboot Ubuntu's grub will show a screen giving you the choice of Ubuntu or Puppy 431.Code: Select all
sudo update-grub
Note this assumes that you have installed puppy431 to /sda6/puppy431 sub-directory. If you have installed it instead to /sda6/ then change the 40_custom file accordingly.
Tell us how it goes.
HTH
Dave
I managed so far to mkdir the pup-431 directory.
instead of (hd0,6) I guessed my root is on (hd0,0) but it cam be (hd0,1) or (hd0,2) because I don't grasp such.
I know one should be able to ask how the grub see them if one managed to do a ctrl F2 or something to get into cli of shell?
Is there no other way to find out.
It goes into freeze when I try the
sudo chmod +x /etc/grub.d/40_custom
I am in mint so maybe the +x should be different?
will it not recognize the 40_custom file after one change it.
I mean is it not read regardless of the chmod command?
Ohh have to add this
When it boot it says
Unknown command EOF
So apparently it does read the 40_custom file at boot up.
so I will try to edit out the end of file chars and see if that helps.
Yes that fixed the error message but I still fail to get the 40_custom file recognized so I have to find a way to do the
chmode +x again. But last time it freezed.
what could have made it freeze?
Edit
all looks ok but it fail to get recognized despite me do the right thing.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
Multiboot: Win7, Ubuntu v10.04, Puppy v4.6 frugal install on ubuntu ext4 partition.
I like to use puppy grub. It is simple, small, flexible & fast. I overwrite ubuntu bootloader with puppy grub.
Here is the menu.lst puppy grub to boot ubuntu v10.04
# Other bootable partition config begins
title Ubuntu v10.04 (on /dev/sda2)
root (hd0,1)
kernel /boot/grub/core.img
# Other bootable partition config ends
find in grub.cfg "set timeout=10" and change 10 to 0
Ubuntu v10.04 booting-time is faster than puppy v4.6, unbelievable!
I like to use puppy grub. It is simple, small, flexible & fast. I overwrite ubuntu bootloader with puppy grub.
Here is the menu.lst puppy grub to boot ubuntu v10.04
# Other bootable partition config begins
title Ubuntu v10.04 (on /dev/sda2)
root (hd0,1)
kernel /boot/grub/core.img
# Other bootable partition config ends
find in grub.cfg "set timeout=10" and change 10 to 0
Ubuntu v10.04 booting-time is faster than puppy v4.6, unbelievable!