Trying to install Puppy with 128 MB of RAM

Booting, installing, newbie
Message
Author
ggg

#31 Post by ggg »

(4) Other, please specify.
(1) Google more and more effectively (e.g. type any Latin phrase then click)

(2) Don't waffle, don't embellish needlessly, don't exaggerate (e.g. billions)

(3) Don't be rude (e.g. it [Puppy] has no bloody idea [it hasn't - devs might])

(4) Never mind wasting your time - think about the cumulative time of others

(5) Don't be tetchy, choose a short informative heading and a single theme.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#32 Post by bigpup »

(3) Versions of Puppy roughly 511 and earlier have a bug in Gparted that prevents swap space from being correctly created. Any attempt results in an unusable unoccupied partition with an "unknown filesystem". Why is this?
Maybe has to do with the version of Gparted that is in these earlier versions of Puppy and your hardware.

Good question for a separate topic.

To really dig down to the cause, the first thing is determine if you are following the proper procedure to make a swap partition. Not an insult to your ability, but first step in troubleshooting a problem is start at a known point and work out from there.
Any attempt results in an unusable unoccupied partition with an "unknown filesystem
This statement tells me you have tried to do it, but does not tell me what steps you did and what happens at each step in the process. These are the clues to the answer.

If I need to do any real partitioning and formatting I use a Gparted live CD to do it. The latest version is up to date Gparted with latest bug fixes.
Info:
http://gparted.sourceforge.net/livecd.php
Download:
http://sourceforge.net/projects/gparted ... ve-stable/
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#33 Post by starhawk »

Steps that I almost always use to make a drive ready for Puppy:

- Delete any existing partitions
- Select most of the drive (most = minus whatever I want for swap) as ext3
- Select a small part (256-1024mb) as linux-swap
- Click the RUN icon and let gparted do its thing

So for this, I had 3820mb to play with. Delete current partition(s), set a 3436mb ext3 partition, and a 384mb linux-swap partition. Then I click RUN.

It removes the old partition(s) just fine, and sticks in the new ext3 partition quite easily, but when it comes time to make the linux-swap partition, it errors out -- IIRC I looked at the log once and Puppy was trying to mount the swap as it was being made -- I'll have to check that again and make certain what it says. All I know for sure right now is that the last step in the process, where it actually makes the partition there and useful, that's where it mucked up.

I'll also note that it can't seem to make the swap turn off. Yeah, there's swapoff -- in and out of gparted -- but it doesn't work at all. IIRC I got it to work by opening a terminal and typing swapoff /dev/sda2 but I could be wrong about that.

ggg

#34 Post by ggg »

..only one [two] had to do with swap -- and that [/those..?] question has long been answered.
So what are you still muttering on about - that's a rhetorical question.
..opening a terminal and typing swapoff /dev/sda2 but I could be wrong about that.
So what is "that", as it worked - that's another rhetorical question.

Google puppy linux swapoff command and read the first result to confirm what you know works.

However, with a mere 128MB RAM do explain why you need help and swapoff /dev/sda2? That's my question.

------------------------------------------------------------------
Google google effectively then read, digest and give us a break for a few days.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#35 Post by bigpup »

Just something to try to see if it has an affect.
When using Gparted perform each procedure as a separate operation.
Do not do as a combo process.
At completion of each, look for desired result. I have seen Gparted mess up if you give it combination process. I know it is suppose to handle multiple processes, but a possible cause of problem to eliminate.

Have you tried with a newer version of Gparted than the one that comes with Puppy?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#36 Post by starhawk »

@ggg: if I turn the swap off, the swap partition becomes something that gparted can manipulate.

@bigpup: I've tried it as a single command as well -- just trying to add the swap partition to where it didn't work before. No change in behavior.

...where is there an upgrade to gparted that I can install into Puppy to see if that fixes things? A gparted livecd won't really help here...

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#37 Post by Flash »

Actually a Gparted live CD might just solve your problem. Puppy really requires more than 128 MB of RAM without swap. A Gparted live CD will run happily in much less RAM than that. It's a catch-22: how can Puppy use your swap partition while Gparted in Puppy is messing with the swap partition? Or would that be a chicken-egg problem? :?

User avatar
Monsie
Posts: 631
Joined: Thu 01 Dec 2011, 07:37
Location: Kamloops BC Canada

Trying to install Puppy with 128 MB of RAM

#38 Post by Monsie »

Flash wrote:Actually a Gparted live CD might just solve your problem. Puppy really requires more than 128 MB of RAM without swap. A Gparted live CD will run happily in much less RAM than that. It's a catch-22: how can Puppy use your swap partition while Gparted in Puppy is messing with the swap partition? Or would that be a chicken-egg problem? :?
I just checked the "Gparted --About" page at SourceForge and found this:
Requirements

GParted can be used on x86 and x86-64 based computers running Linux, Windows, or Mac OS X by booting from media containing GParted Live. A minimum of 128 MB of RAM is needed to use all of the features of the GParted application.
For the record, I have been using Gparted live version 0.72 for the past three years on a variety of computers and have not had any problems yet... In my opinion, it's the way to go...

Monsie
My [u]username[/u] is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#39 Post by starhawk »

I do usually use a LiveCD when the internal Puppy version falls down on the job. Trouble is, mine is missing :( I'll download a replacement later.

My concern was more "OK, what if there's an update to gparted that fixes this bug?", AND "what if it's not gparted that's causing the problem, but Puppy itself?"

I'm running basic troubleshooting here. Either gparted is falling down on the job, or Puppy is mucking it up, and I'm trying to figure out which is the issue. If a replacement (newer) gparted pet is installed and the problem goes away, that was the problem. If it doesn't... Puppy gotta problem in its history.

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#40 Post by starhawk »

OK... in the name of science...

Puplite5 (Wary kernel version), gparted 0.4.5...

Swapoff errors out with:
Could not deactivate swap
swapoff: invalid option -- v
BusyBox v1.8.2 (2007-11-30 09:20:42 GMT-8) multi-call binary

Usage: swapoff [-a] [DEVICE]

Stop swapping virtual memory pages on DEVICE

Options:
-a Stop swapping on all swap devices
OK, open rxvt for the 'hard way'. Cmd swapoff -a does not error but pmconky shows no change -- so it didn't work but it didn't error.

Take II. Cmd swapoff /dev/sda2 *does* work. pmconky eventually shows change, as does refreshing the display in gparted.

Now to re-partition the swap partiton as... swap. Science!

Right-click on /dev/sda2 (linux-swap, 383.00mb), select format to->linux-swap. Then punch Apply, and click through the worthless "are you sure" dialog.

Errors out as expected. calibrate /dev/sda2 worked. set partition type on /dev/sda2 worked. create new linux-swap file system failed -- instantly. The command that apparently did not work is mkswap -L "" /dev/sda2. This time I'll save the log, and then open it to see what's going on. Of note, the filesystem on /dev/sda2 is now "unknown" and there is a yellow exclamation triangle next to it.

gparted saves its logs as *.htm files -- hmm, have to open with geany and wade through the tags. Unfortunately, there's nothing there except what it popped up on the screen -- and therefore we have a mystery still. Of note, it does mention that the libparted version is 1.8.8.

OK, let's have some fun.

Any command more specific than mkswap /dev/sda2 (i.e. specifying options) errors out. No error is given, but the usage info is displayed, indicating a problem occurred. That exact command does work.

Cmd swapon displays usage information. swapon -a does not error out but does not work, as indicated in both pmconky and gparted. swapon /dev/sda2 does work.

...so I would hazard that the issue is not gparted itself, but mkswap, which appears to be part of busybox. This tends to indicate that the version of busybox used with older-kernel (Wary 511 and earlier) Puppies is somewhat defective.

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#41 Post by starhawk »

Just installed Puppy 432v3. Promising... if I can strip a bunch of stuff out of it, it'll be more promising. It's a little big compared to the others, but it is, as I say, promising...

...BTW it solves the audio issue that Akita does not.

This is also the first time EVER that I've gotten grub (not grub4dos) to actually function. I've literally always gotten an error 15 before.

First time for everything, I suppose!

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#42 Post by rjbrewer »

starhawk wrote:OK... in the name of science...

Puplite5 (Wary kernel version), gparted 0.4.5...
Invalid presumptions.
Never use a Puppy derivative as an example of a official
release.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#43 Post by starhawk »

Not what I meant ;)

Puplite5 had two versions, each with a different kernel. I don't remember the numbers, but I remember that the one I have has the same kernel as Wary 5.*.* (because it says so in the ISO filename).

EDIT: looked up Puplite5's thread. It's actually a Puppy 420 derivative.

puplite-5.0-k2.6.25.16.iso <- original puppy 420 kernel
puplite-5.0-k2.6.32.28.iso <- wary 511 kernel

As previously stated, the 2nd one (wary 511 kernel) is the one I have and use.

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Trying to install Puppy with 128 MB of RAM

#44 Post by Sky Aisling »

Starhawk...please don't pop my head off for asking this question...
Why are you bothering with (as you write) a *craptop!* machine?
Attachments
worm1c.gif
(3.66 KiB) Downloaded 248 times

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#45 Post by starhawk »

Because it's fun ;)

My goal is to make this relic practical if it is at all possible, or determining by exhaustive experimentation that such is NOT possible.

"Practical" is defined as "light web, word processing, and email" i.e. 90%+ of what the average PC user with a MUCH better machine generally does. I doubt I'll be able to run YouTube videos at even base (240p) quality, but it should handle nearly everything else.

BTW, I'm something of a... well, the term is "retrocomputing enthusiast". I spent most of my last semester in college (3yrs ago) programming a Commodore64 in assembly code (basically binary electrical impulses represented as hexadecimal digits on the screen) -- I thought that was fun, too.

Cute *.gif, BTW.

Er... weren't you going to send me a PM at some point? ;)

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

Trying to install Puppy with 128 MB of RAM

#46 Post by Sky Aisling »

We could have used you in when I was programming in BASIC. But, that was 1968. :wink:
And, we had punched paper cards to work with...if we'd drop a deck, we'd take a coffee break then cry alot. lol!

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#47 Post by saintless »

starhawk wrote:My goal is to make this relic practical if it is at all possible, or determining by exhaustive experimentation that such is NOT possible.

"Practical" is defined as "light web, word processing, and email" i.e. 90%+ of what the average PC user with a MUCH better machine generally does. I doubt I'll be able to run YouTube videos at even base (240p) quality, but it should handle nearly everything else.
Just a suggestion - light web browser more memory hungry but much better than Dillo you can use Firefox version 2.0.1 from here. Extract the archive and start firefox executable. It works like portable applications and all changes will be saved in its own folder. To watch youtube videos download and copy libflashplayer.so plugin in /firefox/plugins
I use it myself on desktop with 128Mb RAM + SWAP file. Youtube front page will give you an warning it does not support your web browser but just ignore it and continue. You will be able to play some youtube videos nicely but most of them will load slow.

Cheers

Dewbie

#48 Post by Dewbie »

saintless wrote:
Youtube front page will give you an warning it does not support your web browser
Here's a nice little workaround for that.

Post Reply