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 Mon 01 Sep 2014, 04:19
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to boot a full install from a USB drive
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
sketchman


Joined: 01 Jun 2006
Posts: 250
Location: West Virginia, USA

PostPosted: Tue 12 Aug 2014, 19:07    Post subject:  How to boot a full install from a USB drive  

The universal installer won't let me install to a usb drive as if it were a SATA HDD, so what I did was to create a small (1GB) partition on a real HDD in a spare PC and install Puppy to that. Then make a backup .img with dd to an external HDD via usb.

Then I wrote that .img to a flash drive partition. All went correctly till bootup. It tries, but it won't work. I get to the following point, and nothing I've tried has helped. I'm not even sure what the error means, because I've tried using hd(0,0) for the root and hd(0,1), and the same error comes up pointing to hd(0,0) either way.

Any help is appreciated. I really don't understand why Puppy won't just let me install a normal install to a USB flash drive. Other distros do.

Using Tahrpup 583. Booting with GRUB on an EXT4 partition with journaling disabled to save the flash. This is a perfectly acceptable solution with other distros, so I have no idea what to do.

Image of crash.

_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
sketchman


Joined: 01 Jun 2006
Posts: 250
Location: West Virginia, USA

PostPosted: Wed 13 Aug 2014, 06:39    Post subject:  

Never mind figured it out.
_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3427
Location: West Lothian, Scotland, UK

PostPosted: Wed 13 Aug 2014, 07:13    Post subject:  

Would be nice if you told us what you figured out. Rolling Eyes
Back to top
View user's profile Send private message 
sketchman


Joined: 01 Jun 2006
Posts: 250
Location: West Virginia, USA

PostPosted: Wed 13 Aug 2014, 07:38    Post subject:  

Sure. I was over-complicating it.

To get a full-ish install do the following.

Format your flash drive with ext2 with the command below.
Code:

mkfs.ext2 /dev/sda1 -- This is your chosen partition for install.


Then copy these files from the Puppy liveCD of choice. Again things will differ from this depending on which Puppy you are installing. Mine was tahrpup 5.8.3.

vmlinuz
initrd.gz
puppy_tahr_5.8.3.sfs
zdrv_tahr_5.8.3.sfs

Then install Grub from the legacy installer from the menu.



You have to use the Expert Install and select the appropriate options. And again this is all dependent on your specific setup. Mine is below.



Now when the Grub install is done, go into the partition and edit the menu.lst file to your liking, save, and you're done.

On first boot of the flash drive it will act like a typical liveCD boot, besides the fact that you'll be booting with Grub of course. Then when you go to shutdown choose save to a partition instead of to a folder or a save file.

That's it. No more super long waits on shutdown as Puppy saves to the save file. The partition has normal folders and files in it just like a full install.

WARNING: If you do not use ext2 formatting you need to disable journaling with ext4. Otherwise you will be shortening your flash drive's lifespan.

Hope that explains it well enough. If not let me know. Smile

_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"

Last edited by sketchman on Thu 14 Aug 2014, 12:28; edited 3 times in total
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Wed 13 Aug 2014, 09:51    Post subject:  

What's the advantage of ext4 over ext3 or ext2 (or FAT32 for that matter) if you're going to disable journaling? I'm not saying ext4 isn't better, just asking how it is.
Back to top
View user's profile Send private message 
sketchman


Joined: 01 Jun 2006
Posts: 250
Location: West Virginia, USA

PostPosted: Wed 13 Aug 2014, 10:28    Post subject:  

I don't really recall. There was some reason I found when installing another distro, but I can't remember now what it was.
_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
sketchman


Joined: 01 Jun 2006
Posts: 250
Location: West Virginia, USA

PostPosted: Wed 13 Aug 2014, 11:05    Post subject:  

I just searched again. I'm not really sure there is any benefit besides ext4 allowing deeper levels of subdirectories, and I'm talking black hole deep. So deep you'll probably never get there with a typical Puppy install.

So, short answer: you probably should just use ext2 and forget the disabling of journaling.

http://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/

So then it's even simpler. Good. Smile

I just found it weird because plenty of other distros will let you install a normal looking install to a flash drive. OpenELEC does it and so does Ubuntu off the top of my head. Even Quirky creates a semi-full install when you put it on a flash drive. Why no option to just install full off the bat with other Pups? IDK.

But this is a good workaround.

_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
tlchost

Joined: 05 Aug 2007
Posts: 1680
Location: Baltimore, Maryland USA

PostPosted: Wed 13 Aug 2014, 18:05    Post subject:  

sketchman wrote:

"In a world that exists without walls and fences, who needs Windows and Gates?"


Of course using the dreaded Windows there are several apps that allow making bootable USB drives....no confusion, no geeky things to do, no confusion.
Back to top
View user's profile Send private message Visit poster's website 
sketchman


Joined: 01 Jun 2006
Posts: 250
Location: West Virginia, USA

PostPosted: Wed 13 Aug 2014, 18:29    Post subject:  

tlchost wrote:
sketchman wrote:

"In a world that exists without walls and fences, who needs Windows and Gates?"


Of course using the dreaded Windows there are several apps that allow making bootable USB drives....no confusion, no geeky things to do, no confusion.

Yeah, but........Very Happy

If I wanted an idiot proof OS I'd use Ubuntu, not Windows. Smile

_________________
"In a world that exists without walls and fences, who needs Windows and Gates?"
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0865s ][ Queries: 11 (0.0299s) ][ GZIP on ]