Verify that swap is being used by Pup? Ok, sortof solved.

Booting, installing, newbie
Message
Author
ninjabob7

#31 Post by ninjabob7 »

Can't you just type mount and see if swap is mounted? Or does that only work on certain distributions?

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#32 Post by GuestToo »

mount will show you what /etc/mtab thinks is mounted ... if your swap partition is not mounted from /etc/fstab, then it will not show up when you type mount

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#33 Post by Sage »

It's a brave soul who can claim any technical or scientific issue as 'SOLVED'! I would not advocate the use of this term in ANY context associated with computers, and would certainly suggest it be removed from the present thread by the moderators, forthwith!

kethd
Posts: 451
Joined: Thu 20 Oct 2005, 12:54
Location: Boston MA USA

#34 Post by kethd »

(I have been taken the appending of labels such as SOLVED to indicate that herein you might actually find answers to the problem mentioned, not just a discussion among the equally affflicted and suffering.)

I guess I do feel it should imply that there are not only answers, but that they actually worked -- and preferably that the person with the original problem thinks their problem is solved/resolved. (I haven't read this thread closely enough to have an opinion in this instance.)

Takilla
Posts: 53
Joined: Fri 28 Oct 2005, 22:19
Location: Lakeside and Phoenix, Arizona

solved?

#35 Post by Takilla »

So whatś a newbee to do?

I posted

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Use of Two Hard Drives (/dev/hda, /dev/hdb)

#36 Post by raffy »

You've capped your original post with a clear set of answer here, so no need to worry when the discussion extends into another angle (that opens another "unsolved" region :) )

Two swap partitions (one in each drive) may be unnecessary. Keeping it in /dev/hdb could be useful as, should you decide later to just stick to a live CD, your data drive (with swap partition) can be used as a single drive (it will then become /dev/hda from being /dev/hdb or second drive).

Most people are happy numbering the main (ext2 or linux) partition as first, say /dev/hdb1, and the next, smaller one as swap (/dev/hdb2). These old machines are not to be used as cutting-edge devices (ex., high-speed server) so the location of the swap partition should not be critical - what is critical perhaps is ease of understanding for the user.

Takilla
Posts: 53
Joined: Fri 28 Oct 2005, 22:19
Location: Lakeside and Phoenix, Arizona

#37 Post by Takilla »

Ok, getting some better ideas now on what may be best for these machines and best for how they will be used-best for the user that is.
Thanks for your reply Raffy.

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#38 Post by Ian »

If you have Linux installed on a hard drive you can put the swap partition anywhere, I would suggest you make it the second primary partition on the hard drive.

The kernel only needs to locate the swap partition so that it can utilize it to swap pages in and out.

If you have a second hard drive you can make it one big partition and format it as ext2 or ext3 then mount it in /mnt as /dev/hdb1.

You could put an entry in /etc/fstab to allow it to be mounted at bootup and just access it through /mnt/hdb1 with a symbolic link and a desktop shortcut.

kethd
Posts: 451
Joined: Thu 20 Oct 2005, 12:54
Location: Boston MA USA

#39 Post by kethd »

Takilla,
I encourage you to contribute to the wiki -- just Plunge Ahead with whatever you think you know now, add to it later -- we need more participants over there.

Don't worry too much about this thread. The whole purpose of the Forum is to be a discussion, a very useful format for all potential current and future readers with similar interests. Ultimately, each thread wanders where it will, lives or dies as a cooperative outcome.

I've refurbed many similar Dell GX. (Not with Puppy.) I still think your best bet is buy ram on eBay, bump them all up to at least 128MB, and forget swap entirely. Your questions about the best ways to use two 1GB drives in each computer are very interesting, and it will be great to get the benefit of what you learn over time -- but again, I think it is kind of overkill, one 1GB drive is plenty to do a lot with Puppy. I'd strongly encourage you to set up a few sample computers with 128MB and just one 1GB drive, no swap, and just see how well they do, what limitations they have in real use, if any!

Your intended uses are very simple, I think you can keep your computers very simple and serve those needs very well. In fact, I think your main challenges are how to keep junk from accumulating on the computers, and the more storage is available, the more this can happen. You want a very simple way to restore to a base state after anything happens. Personally, I'd be very tempted not to install to HD at all, just to run off CDs, which in the case of Puppy you can easily remaster to be whatever you want. Why would you ever want to allow users to store anything on Hard Drive, from one day to the next? They can store any personal files on floppy, on USB drives, or on the Internet... What about having no Hard Drive at all, or not having it mapped/available, or ONLY formatting it as swap, so nothing carries over from day to day?

What we really need is to hear from someone with Experience using Puppy for a large multi-workstation puplic-access type use.

I have never heard of using more than one swap partition. Best performance would be to put it on a drive least likely to get other accesses while swap is being used.

Partition Magic is the best tool I've found for manually making partitions any way you want them. Haven't used it with Linux partitions.

Ghost is the best tool for volume replicating whole hard drive filesystems. Again, have not used it for Linux.

I really think that your biggest issues are long-term admin and maintenance, and there is no substitute for actual experience. After you have been taught by reality for a year in this specific context, then you'll know just how you want to do things...

Takilla
Posts: 53
Joined: Fri 28 Oct 2005, 22:19
Location: Lakeside and Phoenix, Arizona

#40 Post by Takilla »

I had to print this page(3). A lot to think about. These post are very helpful. Just wanted to make sure that all of you know that I am reading your responses,tho' I will have little to say until after I set up a few more computors.

Thanks again for your time.

Takilla

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#41 Post by Sage »

Partition Magic can be very useful for Linux. It can create ext2 and swap partitions and format them. Unlike M$DOS fdisk, it doesn't force a single primary partition and everything else in extended ones.
Ghost is gruesome! PQ Disk Image with Diskcopy is superior, but haven't tried it with Linux yet. The dd method would seem to make it irrelevent in this context.
I agree that this thread contains important discussions. Personally, I don't like Wiki s; I prefer a topic to be picked out when moderately mature and written up as a Guide by one of the cognoscenti, who might edit it from time to time.

kethd
Posts: 451
Joined: Thu 20 Oct 2005, 12:54
Location: Boston MA USA

#42 Post by kethd »

It is often said that M$ prohibits more than one primary partition per hard drive. But that is not true. I have been making and using up to four primary partitions, using various tools, with no ill effects, for years.

Ghost is not user-friendly. It takes a lot of practice. But if you have the need for it fairly often, it is worth it. It is fantastic how it automatically adjusts everything so that transplanted installations work. (Again, no experience with Linux.)

dd seems like the opposite extreme. As long as the media are exactly the same size, and there are no geometry differences or bad spots etc it might work...

(If I were doing a volume refurb production line, I'd run SpinRite on all the drives, if it were convenient/practical.)

Takilla
Posts: 53
Joined: Fri 28 Oct 2005, 22:19
Location: Lakeside and Phoenix, Arizona

#43 Post by Takilla »

I have not tried SpinRite, willlook into it.

So far I have used Darrik's Nuke to wipe the drive, then Puppy Live, it's cfdisk to format and even Partition Commander in the live CD mode for various situations. I have used PartComm. in live CD mode quite a bit. Cannot use Part.Majic because I do not dual boot w/MS, tho I have used it in the past alot.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#44 Post by Sage »

No need to use commercial SW!
Yes, as I said, it's only M$DOS fdisk that imposes limitations on the primary partition. Another thread discussed all this (Bruce or Ian?) along with the limitations of DRDOS6 and other options. It is another topic worth extracting as a compilation for general reference.
I have a simple debug script for completely wiping HDs. If someone could host it and provide a contact email address, I will forward it.

kethd
Posts: 451
Joined: Thu 20 Oct 2005, 12:54
Location: Boston MA USA

#45 Post by kethd »


muskrat
Posts: 24
Joined: Sun 03 Jul 2005, 17:46
Location: Gulf Coast TX-MX
Contact:

#46 Post by muskrat »

In responds to a post on Page one,
If you boot Puppy from a live CD on any machine open MUT in Start/File managers/Mut media utility tool, the drives will be displayed and if you have a Linux swap partition it will be shown with the words 'Swap Off' beside it.

This means that your swap partition is mounted, you can click on the 'Swap Off' to unmount it but this is not recommended.
I take this to mean, I've been reading the MUT wrong, When you use MUT it shows CDs HD partions as Mount in a boxed push button, when pushed it becomes Unmount in a boxed push button. I saw Swap as Swap Off, meaning swap was off, even though it was really Swap Off in a push button, to turn swap off.

Thanks for that enlightenment of Mut
Steve (Muskrat) McMullen
http://www.muskratsweb.com
Registered Linux User #305785

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

#47 Post by Flash »

kethd wrote:(I have been taken the appending of labels such as SOLVED to indicate that herein you might actually find answers to the problem mentioned, not just a discussion among the equally afflicted and suffering.)

I guess I do feel it should imply that there are not only answers, but that they actually worked -- and preferably that the person with the original problem thinks their problem is solved/resolved. ...
That's exactly right. I couldn't have put it better. No one else would do it so I started editing subject lines to make them more useful to someone searching the forum, either for help or to help, and putting "Solved" in the subject line when it looked to me like the problem had been worked out to the point that it might be helpful to someone else. However, the forum is too busy for me to keep up with every thread so I encourage anyone who asks a question to please edit the subject line of the thread he started as the topic develops and seems to require it.

I don't think most people expect to find once-and-for-all answers here in the forum, just something they can quickly try. If it works, great. If not, oh well...

Post Reply