xenialpup64bit alongside lubuntu [Solved]
xenialpup64bit alongside lubuntu [Solved]
Hi !
I have now got rid of Windows totally. I have installed Lubuntu only.
Now wish to install xenialpup64bit on internal hard drive alongside lubuntu. (I am aware that puppy can be run from flash drive and changes can be saved to .sfs file. But still wish to install to HDD in dual boot mode).
Using Puppy installer -- universal installer -- internal IDE/SATA/SCSI is selected.
As in screenshot, it detected the partitions sda1 (vfat) & sda2(ext4).
Although I do not have windows, it thinks sda1 to be 'windows boot'.
Can I safely install to sda2 or do I need to shrink the sda2 using gparted and then install to newly created fresh partition?
On reading reply of @bigpup here -- http://murga-linux.com/puppy/viewtopic.php?t=115148 , I am confused regarding --
After installation, whether the bootloader would work correctly out-of-box or any tweaking (copy-paste) needed to menu.lst file (or maybe using grub4dos bootloader config)?
Since half knowledge is very dangerous, request to pl. provide instructions on the above mentioned points.
Thanks.
I have now got rid of Windows totally. I have installed Lubuntu only.
Now wish to install xenialpup64bit on internal hard drive alongside lubuntu. (I am aware that puppy can be run from flash drive and changes can be saved to .sfs file. But still wish to install to HDD in dual boot mode).
Using Puppy installer -- universal installer -- internal IDE/SATA/SCSI is selected.
As in screenshot, it detected the partitions sda1 (vfat) & sda2(ext4).
Although I do not have windows, it thinks sda1 to be 'windows boot'.
Can I safely install to sda2 or do I need to shrink the sda2 using gparted and then install to newly created fresh partition?
On reading reply of @bigpup here -- http://murga-linux.com/puppy/viewtopic.php?t=115148 , I am confused regarding --
After installation, whether the bootloader would work correctly out-of-box or any tweaking (copy-paste) needed to menu.lst file (or maybe using grub4dos bootloader config)?
Since half knowledge is very dangerous, request to pl. provide instructions on the above mentioned points.
Thanks.
- Attachments
-
- install-to-hdd.png
- (145.18 KiB) Downloaded 44 times
Last edited by d_vineet on Mon 21 Jan 2019, 08:46, edited 2 times in total.
General warning!
If you have anything on the hard drive you do not want to or can not loose. Back it up on some other storage device.
Frugal is the best way to install Puppy. Some features only work on a frugal install. Frugal is about how little space it uses.
it is still the complete OS.
No need to make a new partition, unless you just want to.
I am assuming Lubuntu is installed on sda2.
You need to do all of this booted into Xenialpup64 7.5 from a live CD install or a USB flash drive install.
Xenialpup64 7.5, installed as a frugal install, will just put Xenialpup in a directory.
It will not do anything to Lubuntu. It will just use some free space on sda2. Everything that Xenialpup64 7.5 does will be inside the Xenialpup64 7.5 directory.
Using the Puppy Universal Installer.
After you get Xenialpup installed as a frugal install.
You will need to setup a boot loader to boot Lubuntu and Xenialpup.
The Puppy Universal installer is going to offer some options.
Read those carefully. May want to do what it suggests.
The problem with trying to setup a bootloader to boot Linux OS's other than Puppy. Those other OS's keep changing how they boot. So, Getting a boot loader to work with all OS's can be a problem.
THis should work, but because of unknown changes can not be 100% sure.
Grub4dos has one issue with latest versions of Linux OS's making ext4 64bit formats.
Here is info about it and how to work around it.
http://murga-linux.com/puppy/viewtopic.php?t=111376
The best boot loader to try and use is the Grub4dos boot loader that comes in Xenialpup.
Run Grub4dos Config.
Select the hard drive as device to install on.
Select search within only this device.
Other selections should be good as is.
OK.
OK.
OK.
done.
Now should have a boot loader setup to give option to boot Lubuntu or Xenialpup.
Shutdown the live CD or USB of Xenialpup.
Remove them from the computer so only thing to boot from is the hard drive.
Boot computer and should boot to a boot menu with entries to boot Lubuntu or Xenialpup.
Good luck.
Let us know how it goes.
If something goes wrong we are here to help!
If you have anything on the hard drive you do not want to or can not loose. Back it up on some other storage device.
Yes, if you choose to do a frugal install of Xenialpup64 7.5Can I safely install to sda2
Frugal is the best way to install Puppy. Some features only work on a frugal install. Frugal is about how little space it uses.
it is still the complete OS.
No need to make a new partition, unless you just want to.
I am assuming Lubuntu is installed on sda2.
You need to do all of this booted into Xenialpup64 7.5 from a live CD install or a USB flash drive install.
Xenialpup64 7.5, installed as a frugal install, will just put Xenialpup in a directory.
It will not do anything to Lubuntu. It will just use some free space on sda2. Everything that Xenialpup64 7.5 does will be inside the Xenialpup64 7.5 directory.
Using the Puppy Universal Installer.
After you get Xenialpup installed as a frugal install.
You will need to setup a boot loader to boot Lubuntu and Xenialpup.
The Puppy Universal installer is going to offer some options.
Read those carefully. May want to do what it suggests.
The problem with trying to setup a bootloader to boot Linux OS's other than Puppy. Those other OS's keep changing how they boot. So, Getting a boot loader to work with all OS's can be a problem.
THis should work, but because of unknown changes can not be 100% sure.
Grub4dos has one issue with latest versions of Linux OS's making ext4 64bit formats.
Here is info about it and how to work around it.
http://murga-linux.com/puppy/viewtopic.php?t=111376
The best boot loader to try and use is the Grub4dos boot loader that comes in Xenialpup.
Run Grub4dos Config.
Select the hard drive as device to install on.
Select search within only this device.
Other selections should be good as is.
OK.
OK.
OK.
done.
Now should have a boot loader setup to give option to boot Lubuntu or Xenialpup.
Shutdown the live CD or USB of Xenialpup.
Remove them from the computer so only thing to boot from is the hard drive.
Boot computer and should boot to a boot menu with entries to boot Lubuntu or Xenialpup.
Good luck.
Let us know how it goes.
If something goes wrong we are here to help!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
@bigpup, as mentioned in the url you gave,
If yes, how?
Secondly, how do I find out whether my laptop is EFI or otherwise? I can post back the finding.
Whether it would be wiser to use Grub2?The current Grub2 (aka simply, Grub) is compatible with this newer filesystem
If yes, how?
Secondly, how do I find out whether my laptop is EFI or otherwise? I can post back the finding.
Last edited by d_vineet on Fri 18 Jan 2019, 10:32, edited 1 time in total.
Yes. I can boot into lubuntu.
grub.cfg is on sda2/boot/grub.
No other small fat partition.
I have attached a screenshot showing sda2 in ROX-filer and also gparted.
btw, gparted shows that it's efi.
And there is /efi location in /mnt/sda2/boot.
There is 'grub.efi' Inside /mnt/sda2/boot/grub/x86_64-efi folder
grub.cfg is on sda2/boot/grub.
No other small fat partition.
I have attached a screenshot showing sda2 in ROX-filer and also gparted.
btw, gparted shows that it's efi.
And there is /efi location in /mnt/sda2/boot.
There is 'grub.efi' Inside /mnt/sda2/boot/grub/x86_64-efi folder
- Attachments
-
- partitions.png
- (131.76 KiB) Downloaded 40 times
Last edited by d_vineet on Fri 18 Jan 2019, 11:09, edited 1 time in total.
I find it very strange that /efi is there.
I thought that it had to be on a vfat partition with the esp/boot flag, like your sda1.
Anyway, can you look what is in it?
Can you also look for grub.cfg. It may be in /grub or /efi or /efi/boot or ???
EDIT: just saw you already have it.
Proceed like this:
You can put the sfs files, initrd.gz and vmlinuz from xenialpup in sda2. Put them in a directory "/xenialpup64" (or as you wish, the directory should be on /mnt/sda2/ directly, so not /mnt/sda2/Puppy/xenialpup64 but /mnt/sda2/xenialpup64).
Then find the grub.cfg, open it as text and add something like this:
Reboot, you should see the entry besides those from lubuntu. (I suppose you have seen entries for lubuntu in grub.cfg)
I thought that it had to be on a vfat partition with the esp/boot flag, like your sda1.
Anyway, can you look what is in it?
Can you also look for grub.cfg. It may be in /grub or /efi or /efi/boot or ???
EDIT: just saw you already have it.
Proceed like this:
You can put the sfs files, initrd.gz and vmlinuz from xenialpup in sda2. Put them in a directory "/xenialpup64" (or as you wish, the directory should be on /mnt/sda2/ directly, so not /mnt/sda2/Puppy/xenialpup64 but /mnt/sda2/xenialpup64).
Then find the grub.cfg, open it as text and add something like this:
Code: Select all
menuentry 'Puppy xenialpup64 CE 7.5 [666philb]' --unrestricted --hotkey='x' {
search --file --set root --no-floppy /xenialpup64/initrd.gz
linux /xenialpup64/vmlinuz pmedia=usbflash pfix=fsck psubdir=/xenialpup64/
initrd /xenialpup64/initrd.gz
}
So you mean to say that universal installer isn't necessary. Just copy these files (initrd.img, init.img.old, swapfile, vmzlinuz, vmzlinuz.old) as you mentioned and modify grub.cfg.
Am I right? If yes, I will do it right away and revert.
Am I right? If yes, I will do it right away and revert.
- Attachments
-
- puppy files.png
- (200.13 KiB) Downloaded 35 times
No, not the ones from lubuntu!
The ones from Puppy. They are in the iso of xenialpup and also on the usb. Don't forget the sfs files.
On sda2 is the full install of lubuntu.
You put xenialpup next to it, in the mid of it, in a directory "xenialpup64" (or whatever). That is a frugal install.
The ones from Puppy. They are in the iso of xenialpup and also on the usb. Don't forget the sfs files.
On sda2 is the full install of lubuntu.
You put xenialpup next to it, in the mid of it, in a directory "xenialpup64" (or whatever). That is a frugal install.
Last edited by foxpup on Fri 18 Jan 2019, 11:38, edited 1 time in total.
I see nothing there that looks like a boot installation, no legacy boot.d_vineet wrote:you can have a look at screenshot viz puppy files.png in my previous reply.
It shows contents of /mnt/sda2
Have you booted into lubuntu since you ran Puppy universal installer?
I am still wondering how you boot?
Another piece of information you could look at is the BIOS, the firmware interface. You can enter it when you reboot and hit a key e few times before any screen comes up. The key to hit depends on the machine.
Last edited by foxpup on Fri 18 Jan 2019, 11:43, edited 1 time in total.
UPDATE:
Just now opened sda1 again. And it shows 2 folders viz BOOT & ubuntu.
I wonder why it was shown blank earlier.
I am sorry for the trouble caused to you because of this.
Attached screenshot shows them all.
(I have not run universal installer yet).
Just now opened sda1 again. And it shows 2 folders viz BOOT & ubuntu.
I wonder why it was shown blank earlier.
I am sorry for the trouble caused to you because of this.
Attached screenshot shows them all.
(I have not run universal installer yet).
- Attachments
-
- sda1.png
- (140.61 KiB) Downloaded 42 times
Wonderful! All questions solved!!d_vineet wrote:UPDATE:
Just now opened sda1 again. And it shows 2 folders viz BOOT & ubuntu.
I wonder why it was shown blank earlier.
I am sorry for the trouble caused to you because of this.
Attached screenshot shows them all.
(I have not run universal installer yet).
The grub.cfg to add the entry for Xenialpup is the one in /mnt/sda1/EFI/ubuntu and not the one on sda2.
there is no /mnt/sda1/grub folder.
Secondly, the grub.cfg file has only 3 lines as under.
Is this the entry for lubuntu?
If this is correct, I will add the entry as shown by you.
Secondly, the grub.cfg file has only 3 lines as under.
Code: Select all
search.fs_uuid 546599f4-5519-400b-80b8-94b38d9b6ab3 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
If this is correct, I will add the entry as shown by you.
This is funny!
In the first line it sets sda2 as root.
In the second line says that all grub things are in sda2/boot/grub.
In the third line it says the configuration file is sda2/boot/grub/grub.cfg.
We are back where we started!!
You have to add the lines for Puppy to /mnt/sda2/boot/grub/grub.cfg anyway.
In the first line it sets sda2 as root.
In the second line says that all grub things are in sda2/boot/grub.
In the third line it says the configuration file is sda2/boot/grub/grub.cfg.
We are back where we started!!
You have to add the lines for Puppy to /mnt/sda2/boot/grub/grub.cfg anyway.
Added the lines to /mnt/sda2/boot/grub/grub.cfg at end of file.
Also copied files to /sda2/xenialpup64 folder.
Then removed usb flash drive and restarted.
But on restart, the system booted straight into Lubuntu. Boot options were not shown.
Imp note:- (in fact, before puppy also, no boot menu was shown). So maybe this grub.config is not being loaded and some different file is used?
I have attached the file (instead of reproducing the full code) to keep this post tidy.
Can you pl. have a look and suggest?
For ready reference, last few lines with added code at bottom look as under.
Maybe, the "pmedia=usbflash" option isn't correct?
Also copied files to /sda2/xenialpup64 folder.
Then removed usb flash drive and restarted.
But on restart, the system booted straight into Lubuntu. Boot options were not shown.
Imp note:- (in fact, before puppy also, no boot menu was shown). So maybe this grub.config is not being loaded and some different file is used?
I have attached the file (instead of reproducing the full code) to keep this post tidy.
Can you pl. have a look and suggest?
For ready reference, last few lines with added code at bottom look as under.
Code: Select all
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
menuentry 'Puppy xenialpup64 CE 7.5 [666philb]' --unrestricted --hotkey='x' {
search --file --set root --no-floppy /xenialpup64/initrd.gz
linux /xenialpup64/vmlinuz pmedia=usbflash pfix=fsck psubdir=/xenialpup64/
initrd /xenialpup64/initrd.gz
}
Last edited by d_vineet on Fri 18 Jan 2019, 13:01, edited 1 time in total.