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, 17:56
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Booting USB, tiny.exe balks at loading 'vmlinuz' kernel
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
Guest
Guest


PostPosted: Tue 20 Sep 2005, 19:18    Post subject:  Booting USB, tiny.exe balks at loading 'vmlinuz' kernel  

I am new to Puppy (and really excited about it); however, I have a problem. I have a USB flash drive, which I loaded up with the 3 files needed for Puppy (as per the updated installation instructions) plus the 'pupxusb' file. On booting my computer with the floppy, the USB drive is found and tiny.exe attempts to load the vmlinuz kernel, but hangs instead. I don't get any error messages or anything else like that. Any help on this would be appreciated.
Back to top
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Tue 20 Sep 2005, 19:35    Post subject:  

My personal opinion is that tiny.exe sometimes does that.

You can use grub for dos and boot with a floppy, but you need an ms-dos bootable floppy.

you can make the dos bootable floppy from a Win9x or DOS machine with this command:

sys c: a:

or

format a: /s

if you are interested in doing it with grub, make your bootable ms-dos floppy. I'll try and guide you through the rest.
Back to top
View user's profile Send private message 
Eugene (formerly Guest)
Guest


PostPosted: Wed 21 Sep 2005, 12:11    Post subject:  

So I need to use an OS before XP to make the ms-dos bootable floppy (I tried on XP, but the dos prompt doesn't recognize the /s parameter), right?

Thanks for your help.
Back to top
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11165
Location: Arizona USA

PostPosted: Wed 21 Sep 2005, 13:29    Post subject:  

That's right. You might be able to make a bootable 'rescue floppy' from XP, then delete from the floppy the files you don't want, keeping only the ones that you need. I'm not sure which ones to leave though.
Back to top
View user's profile Send private message 
Eugene
Guest


PostPosted: Wed 21 Sep 2005, 22:43    Post subject:  

Once I make the ms-dos bootable floppy, what files should I put on it?
Back to top
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Wed 21 Sep 2005, 23:30    Post subject:  

Eugene wrote:
Once I make the ms-dos bootable floppy, what files should I put on it?


grub.exe (search for grub for dos)
edit.com (comes with windows 9x)

----------------

then you will need to make 3 text files:

1) config.sys that does nothing or what ever you want it to do

2) autoexec.bat, with this line:

@grub --config-file=(fd0)/menu.lst

3) a menu.lst file for grub

something like this:

timeout 0
default 0

title Puppy Linux
rootnoverify (*)
kernel (*)/vmlinuz root=/dev/ram PFILE=**-none-*** PHOME=**** (extra kernel parameters here as needed)
initrd (*)/image.gz

------------
where * = grub's path to device
where ** = name of pupfile
where *** = size of pupfile in kilobytes
where **** = path to location of pupfile, probably the same location as *, but use the linux device syntax, e. g. hda7 as opposed to (hd0,6)

---------------

PS EDIT

I hope you are familiar with how GRUB refers to devices.

Example:

fd0 = (fd0)
hda1 = (hd0,0)
hda5 = (hd0,4)

hdc3 = who knows? it depends on whether it is the second or third hd in the grub series

it could be:

(hd1,2)
(hd2,2)

whereas linux sees it as it is where it's located on the ide controller, grub doesn't see it the same.
Back to top
View user's profile Send private message 
Eugene
Guest


PostPosted: Thu 22 Sep 2005, 12:09    Post subject:  

my menu.lst file looks like this:

timeout 0
default 0

title Puppy Linux
rootnoverify (fd0)
kernel (fd0)/vmlinuz root=/dev/ram PFILE=usr_cram.fs-none-54068PHOME=fd0
initrd(fd0)/image.gz

Is this right?

So, once I've loaded these files on the floppy, how should I go about booting Puppy?
Back to top
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Thu 22 Sep 2005, 16:42    Post subject:  

It's not right, mainly, because you've referenced everything to the floppy disk.

I've not installed Linux on a USB device and I can't tell you exactly how GRUB sees it. Hope someone who has can give you specifics. Do you know how Linux sees it, i.e. sda1?
Back to top
View user's profile Send private message 
Eugene
Guest


PostPosted: Thu 22 Sep 2005, 19:11    Post subject:  

Unfortunately, I know almost nothing when it comes to Linux. I will try various things and see if I get somewhere with them. Thanks for the help so far, though.
Back to top
Guest
Guest


PostPosted: Thu 22 Sep 2005, 21:00    Post subject:  

Eugene, I wish I could do more. I recommend booting Puppy with the CD disc and run two utilities from the rxvt prompt:

# probepart
# probedisk

I think this should tell you one of two things you need to know, namely how Linux identifies the USB device. This is information you will need.

Next you need to know how GRUB identifies the device. Search on the internet.

None of this is intitutive, you should need to guess all the combinations as it will drive you nuts.

Search the Internet for answers. Beware, some people tell how to install grub on the USB drive and boot from it. Not a bad idea, but that is not what you are trying at present to accomplish.

What you presently want to is boot Linux on the USB drive from GRUB (on the floppy) .

Later if things work out, you can install GRUB any number of places, but that is a little advanced for what you are doing now.

Let us know okay?
Back to top
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1237
Location: Queensland

PostPosted: Thu 22 Sep 2005, 22:46    Post subject:  

Have you tried running the Puppy live CD and using the Install wizard to install Puppy to a USB card.
Back to top
View user's profile Send private message 
Eugene
Guest


PostPosted: Sun 02 Oct 2005, 22:09    Post subject:  

Well, I downloaded the Live CD version of Puppy and it boots on my computer flawlessly. The USB drive is listed as "sda1" (that's how linux sees it). GRUB says that the USB drive is "hd1,4" (I think); I have one harddrive with 2 partions and that shows up as "hd0,0" and "hd0,1".
So far no luck in getting GRUB to find the files on the USB drive. Plus, the USB drive itself just went kaput (too many writes, I think), so I may not get back to you all for awhile.

Still, thanks for all the help and suggestions.
Back to top
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 » Beginners Help ( Start Here)
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.1043s ][ Queries: 12 (0.0443s) ][ GZIP on ]