Boot a Puppy USB install using grub2

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

Boot a Puppy USB install using grub2

#1 Post by watchdog »

If you have linux and grub2 on your hd you can boot USB installs using grub2 instead of the bios. This chance is already possible using the advanced menu of grub4dos if you use grub4dos. If you want to use grub2 enter the bios and choose to not boot Usb devices before cd and hd. Then create with geany a file named device.map in ubuntu's /boot/grub dir with the following content:

Code: Select all

(hd0) /dev/sda
(hd1) /dev/sdb
Boot linux-ubuntu. Then in terminal:

Code: Select all

sudo chmod 755 /boot/grub/device.map
Then open with gedit /etc/grub.d/40_custom and add the following menuentry:

Code: Select all

menuentry "USB Boot" {
set root=(hd1)
chainloader +1
}
Save. Then in console:

Code: Select all

sudo update-grub
Restarting you can choose this menu entry in grub2 to boot usb installs.
Last edited by watchdog on Mon 21 Oct 2013, 11:41, edited 3 times in total.

User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#2 Post by puppyluvr »

:D Hello,
"sudo"??
My Puppy doesnt know that command!
:wink:
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...

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

#3 Post by watchdog »

You are joking, I suppose. I have edited the first post. The tutorial is due to the guys who have ubuntu or other linuxes with grub2 (even in dual boot with windows) and use puppy as second or third choice (which can become the principal choice...): I have ubuntu, abandoned windows some years ago and I boot frugal puppies or usb installs of puppy from ubuntu's grub2 menu.

Post Reply