I know this can be done with install-grub command in recent ubuntu release. How can i install it from puppy linux or distro which does not use grub 2. Will my pendrive boot if i copy /boot/grub from ubuntu 10.04 live cd to /boot/grub of my pendrive?
I know this can be done with install-grub command in recent ubuntu release. How can i install it from puppy linux or distro which does not use grub 2. Will my pendrive boot if i copy /boot/grub from ubuntu 10.04 live cd to /boot/grub of my pendrive?
Last edited by sundar_ima; June 24th, 2010 at 11:21 AM.
Any help???
I installed grub2 to a 4GB flash drive and boot several ISOs directly. If you have another system on the flash drive you would have to figure out the correct grub2 entry for that system.
MultiBoot USB with Grub2 (boot directly from iso files)
Is full script, I only used some commands
http://www.panticz.de/MultiBootUSB
HOWTO: Booting LiveCD ISOs from USB flash drive with Grub2
http://ubuntuforums.org/showthread.php?t=1288604
Basically you just install grub2, create a folder for the isos and edit a grub.cfg to loop mount the isos.
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
Thank you oldfred for your reply.
I am aware that this command sudo grub-install --root-directory=/media/USBFolderName /dev/sdx will install GRUB 2 in to pendrive. But this command will not work on puppy linux or any other distros which does not have grub 2 as its default boot manager. How will you install in that case??
Just because the default is not grub2 does not mean it cannot be booted with grub2. Figuring out the settings can be fun. If an install uses old grub I would consider a chainboot entry. That can easily be added to grub2 and old grub installed to the system partition. Not sure you can chainboot with USB as space in partition may not be available.
http://www.murga-linux.com/puppy/vie...542410010ef851
This is with boot loader in MBR change to (hdX,Y) if in PBR. Where X is drive & Y is partition.
menuentry "9.04 on sdb (from sdc) Chainboot" {
set root=(hd2)
chainloader +1
}
USB drives may get renumbered depending on where the system puts them so sometimes the entires have to be adjusted.
UEFI boot install & repair info - Regularly Updated :
https://ubuntuforums.org/showthread.php?t=2147295
Please use Thread Tools above first post to change to [Solved] when/if answered completely.
Have a look in the Puppy forums, there is discussion of grub2 booting there.
Bookmarks