Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 28 Nov 2014, 04:49
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Use Grub floppy to boot USB [SOLVED]
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Mon 15 Nov 2010, 20:19    Post subject:  Use Grub floppy to boot USB [SOLVED]
Subject description: Switched to PLOP bootloader on floppy
 

Ok, I've got the floppy all set up, the laptop boots the floppy great, grub menu shows up.

I just need help with the menu.lst...any suggestions?

Here are the entries I've tried and get errors from:

Code:

title Puppy 4.2.1 (LaptopFlash H)
kernel (hd0,0)/vmlinuz PMEDIA=usbflash
initrd (hd0,0)/initrd.gz
title Puppy 4.2.1 (LaptopFlash S)
kernel (sd0,0)/vmlinuz PMEDIA=usbflash
initrd (sd0,0)/initrd.gz


Just designated S and H so I knew what I was trying, and neither worked...

Confused

Last edited by steve_s on Tue 16 Nov 2010, 12:34; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Mon 15 Nov 2010, 20:22    Post subject:  

You said I have errors. Which ones, specify.

What is the setup of your machine.
More info is needed about it, partition, where is what etc.
What do you want to achieve.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Mon 15 Nov 2010, 20:32    Post subject:  

Very Happy Sorry, Beem.

It is an HP Pavilion N5470 laptop, but I'm trying to boot usb.

There is no internal hard drive or cd drive.

I have an external cd drive, and may try booting from that, but I am interested in getting the flash to work first.

It has an internal floppy, and I am running grub from there (hey, if I've got it, might as well use it, right?). Grub comes up great, it just is pointing to the wrong place: I get Error 15 with both of those entries.
Back to top
View user's profile Send private message Visit poster's website 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Mon 15 Nov 2010, 20:53    Post subject:  

This last one, using hd1,0 and sd1, 0 was error 21, couldn't find selected drive and error 23, error while parsing number, respectively.... Confused
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Mon 15 Nov 2010, 20:59    Post subject:  

I tried also to use sdx, instead of hdx, but to no avail.
Error 15 indicates the file isn't found.

I don't know what has to be put for your setup.
I keep away from grub, as I had bad experiences and only use Lin'N'Win.
Hope someone else can help.

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Mon 15 Nov 2010, 21:17    Post subject: Boot floppy  

steve_s wrote:
There is no internal hard drive or cd drive.
It has an internal floppy,

Does the PC can boot off from the USB?
If not, this approach cannot get success.
If your PC cannot boot off from the USB, it may also means the BIOS cannot handle the USB.
The Grub starts from the floppy, then try to access the drives via BIOS, but if the BIOS cannot, the Grub cannot.

But there is some hope.
(hd0.0) returns Error 15, different from (hd1,0) returns Error 21...
Does it mean the BIOS can access the USB? But i am not sure.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Last edited by shinobar on Tue 16 Nov 2010, 07:00; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 15 Nov 2010, 21:52    Post subject: menu.lst for Puppy 4.21  

Don't know whether this is relevant to booting from grub off a floppy or not, but...from an old frugal-install menu.lst of mine:

# Linux bootable partition config begins
title Puppy Linux 421-k2.6.21.7 RETRO frugal on first ATA drive July 25 2009
rootnoverify (hd0,0)
kernel /puppy421-k2.6.21.7/vmlinuz ro root=/dev/ram0 pdev1=hda1 pmedia=atahd psubdir=puppy421-k2.6.21.7
initrd /puppy421-k2.6.21.7/initrd.gz
# Linux bootable partition config ends

You don't say whether you are using the retro version or not. If not the retro version, it might need pdev1=sda1.

Might need pmedia=usbflash, might need pmedia=ataflash.

Something buzzes in my mind, about using lowercase. Not sure if it needs lowercase or not.

A full install would be:

# Linux bootable partition config begins
title Puppy Linux 421-k2.6.21.7 RETRO full on first ATA drive July 25 2009
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 pmedia=atahd
# Linux bootable partition config ends

Point it to wherever you have your own kernel of course. If root=/dev/hda1 doesn't work, try /dev/sda1
Back to top
View user's profile Send private message 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Mon 15 Nov 2010, 23:08    Post subject:  

It does not allow for usb boot, but I've had cd's boot to usb...hmmm, but that point is taken, shinobar.

I'll mess with it a little bit more, using some of the sit heel speak suggestions, just for posterities sake, but I may need to be looking at another alternative besides grub.... Confused

...thanks, all, and I'll post back...
Back to top
View user's profile Send private message Visit poster's website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 16 Nov 2010, 06:58    Post subject: Plop Boot Manager  

steve_s wrote:
but I may need to be looking at another alternative besides grub.... Confused

I have never tried yet but seems PLOP a candidate for your case.
http://www.plop.at/en/bootmanager.html

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Tue 16 Nov 2010, 07:09    Post subject:  

I think your best approach would be to boot from the CD (if possible) and once up, use the flash installer to install puppy to the flash drive.
And see if you can boot through USB.

I suppose the partition on the flash drive is made bootable?

_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Tue 16 Nov 2010, 09:10    Post subject:  

Béèm wrote:
I think your best approach would be to boot from the CD (if possible) and once up, use the flash installer to install puppy to the flash drive.
And see if you can boot through USB.

I suppose the partition on the flash drive is made bootable?


I tried every version of Puppy Flash trying to get it to boot, but nada, and no cd drive....I'm going to try some other things then post back...
Back to top
View user's profile Send private message Visit poster's website 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Tue 16 Nov 2010, 12:40    Post subject:  

Well, that worked like a champ.

The goal was to be able to use the savefile that I wanted to on a USB external hard drive.

So, with no internal hard drive, no cd drive, using PLOP on a floppy (thanks shinobar) it booted great. I have the external with the savefile on a usb hub (PLOP doesn't do those) while I had a flash drive (setup as Superfloppy) with Puppy 4.2.1 (same as save file) plugged in a different usb port directly into the laptop.

PLOP booted, saw the flash drive, it booted up like a cd (complete with original splash image and options) which then saw the savefile on the external hard drive and then all my saved options were up and running.

Its slower than I would like, but the fact that it booted at all is pretty cool. More evidence to the portability of Puppy (as if it needed it). Thanks all for the help (I'm posting from it now). Cool
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0684s ][ Queries: 11 (0.0036s) ][ GZIP on ]