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 Sat 25 Oct 2014, 04:57
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Partitioning, mounting questions (Solved)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Topic_locked View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Guest
Guest


PostPosted: Tue 26 Jul 2005, 01:47    Post_subject:  Partitioning, mounting questions (Solved)  

Hi all - I have puppy 1.04 running finally after 15hours of troubleshooting, and going through a lot of freakin' problems, none of them too bad, except that deducing that your cmos battery is dying sometimes takes real detective work, and using the bios is a bit whaky when you don't always know quite what you're doing Smile Actually puppy has always been fine, its the hardware setup that took the time Smile

Anyway - I am ready to do a hard-drive install as I am now trying to use Puppy as much as possible and phase out my other operating systems.

Lots of good info on the wiki and forums for this and I know it should really be a no brainer - my problem is I can see
hdc1 and hdc5, and hdc6 on the load up and mount hdc1 and hdc6 using the mounter utility and see them using rox (hdc5 isn't fomatted yet but was planning on making it ext2 - dunno enough about linux swap yet or if I need one)

but when I use rxvt which has the cfdisk utility I'd like to start getting used to its only picking up my hda1 drive and if I type /mnt/cdrive which is where rox says hdc1 is I just keep getting this permission denied message

I tooled around with rox's permissions popup menu to no avail..

so help with the permissions thing, please or tell me what I'm doing/thinking wrong
and also any partitioning suggestions? should I have a swap file? advantages of having it?

Thanks for any assistance, folks
Mark

AMD athlon something (old), speed 1196 from xproc
integrated sis components
288mB ram - xproc shows 272836kB (272mBish for some reason)
maxtor 7345at 330mB drive (where pup001 resides for now)
one samsung sv2002h 20gB drive (3 partitions so far, 1 unformatted, 2fat32)
1 new puppy
grub soon......
Back to top
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 26 Jul 2005, 03:25    Post_subject:  

I am gonna suggest a quite radical solution but also quite simple. Put another distro on the Hard Drive and boot from CD Puppy.

It is what I do (Using Ubuntu) and I must say it works well. A swap file is not essential for Puppy if you have sufficient ram. However most distros (all apart from the tiny floppy based ones and embedded ones as far as I am aware) use an essential HD (Ubuntu sets up the HD for you incidentally) swap file as an extended (but slower) memory storage device.

Use the
Quote:
Rute guide
to develop skills (google it).

Free Fedora (USA only) and Ubuntu CD's (worldwide) can be obtained from links here under OS
http://peace.wikicities.com/wiki/Resources

Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Guest
Guest


PostPosted: Tue 26 Jul 2005, 04:19    Post_subject:  

ok.....

the command should be

cfdisk /dev/hda for the 1st hdd (usually primary drive on IDE0 )
cfdisk /dev/hdb for the 2nd hdd (usually secondary drive on IDE0 )
cfdisk /dev/hdc for the 1st hdd (usually primary drive on IDE1 )
cfdisk /dev/hdd for the 2nd hdd (usually secondary drive on IDE1 )

/dev/hda1 /dev/hdaxx refer to the partitions


so cfdisk /dev/hda1 will give you an error

so to recap

/dev/hda refers to the whole drive regardless if it is partitioned or not, whereas /dev/hda1 refers to an actual partition

and of course cfdisk can not be used on a directory.......

eg /mnt/hdc
Back to top
Bruce B


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

PostPosted: Tue 26 Jul 2005, 04:59    Post_subject:  

> Anyway - I am ready to do a hard-drive install as I am now trying
to use Puppy as much as possible and phase out my other operating systems.

Smart move

> ...my problem is I can see
hdc1 and hdc5, and hdc6 on the load up and mount hdc1 and hdc6 using
the mounter utility and see them using rox (hdc5 isn't fomatted yet but was
planning on making it ext2 - dunno enough about linux swap yet or if I need one)

I think you should make a swap partition,
because some programs swap things there,
even if you have enough memory. But you
could get by without one, considering the
amount of RAM you have.

> but when I use rxvt which has the cfdisk utility I'd like to start getting used to its only
picking up my hda1 drive and if I type /mnt/cdrive which is where rox says
hdc1 is I just keep getting this permission denied message

This is undersandable if the partition is not in fstab and I don't think it is.

Also, /mnt/cdrive is not an acceptable command. Shudda been:

    # mount /mnt/cdrive


Here are some examples how to mount hard disk devices:

    # mount -t vfat /dev/hda1 /mnt/mountpoint
    # mount -t ext2 /dev/hdc5 /mnt/mountpoint
    # mount -t ext3 /dev/hda1 /mnt/mountpoint

where 'mountpoint' is the name of the available directory under /mnt
where # is the prompt

one can make a mountpoint just about anywhere, see this example

    # mkdir /root/hda1
    # mount -t vfat /dev/hda1 /root/hda1


> I tooled around with rox's permissions popup menu to no avail.. So help with the permissions thing, please or tell me what I'm doing/thinking wrong
and also any partitioning suggestions?

We all make mistakes.

> should I have a swap file? advantages of having it?

I am a swap file avocate.

As far as partitioning here are my recommendations:

    1) partition magic (not free)

    2) system rescue disk (free .iso download)
    use qtparted for a graphical partitioner

    3) use other utilities, there are many

      I've used MS fdisk to make the unformatted primary, extended and logical partitions.

      Aefdisk (free DOS downloadable utility) to tell it what type of partition it wants to be. Example: 82 for swap and 83 for Reiserfs, Ext3 Ext2

      Then when you install your distro, it usually likes to format the install partition as part of the install process.

      Not to mention cfdisk because bladehunder already showed you how to get it going.
Back to top
View user's profile Send_private_message 
raffy

Joined: 25 May 2005
Posts: 4779
Location: Manila

PostPosted: Tue 26 Jul 2005, 07:55    Post_subject: Which one?  

Guess you would know which one of your hard disk is master and which one is slave. cfdisk automatically brings up the master (hda) - and i mean those drives in the "primary" cable slot.

Things will be easier if you will install Puppy in the master, although just understanding the naming system as explained above will help, too. Should the space be tight, you may skip swap file creation, as your memory is already more than 200 MB (for running Puppy, that is).

You may find some more info useful here

http://ph-islands.net/pupinstall/

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send_private_message 
sulemasc

Joined: 10 Jun 2005
Posts: 69
Location: Brampton, Ontario, Canada

PostPosted: Tue 26 Jul 2005, 21:57    Post_subject: using cfdisk, and permission denied message in rxvt  

Thanks so much for all the input Lobster, Bladehunter, Bruce B, and Raffy! - I realized I posted originally as a guest .. anyway I will look into the links and posted info, do some reading, and some fiddling, probably some more fiddling, and I will post my hd install results whenever they arrive for others info.

I have soo many questions but that's because there are soo many new apps to figure out - but the challenge is fun Smile
Lets see how long this one'll take...
Mark
(Puppy admirer)
Back to top
View user's profile Send_private_message 
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Tue 26 Jul 2005, 23:17    Post_subject:  

Welcome to the forums sulemasc! Have fun figuring it all out - and be aware that this may in fact be one of the most newbie-friendly, all-round enjoyable places on the internet to learn some Linux basics...

I learn new things every day here - and hope that you will too!

Cheers Very Happy

_________________
Freedom isn't just a Puppy-Linux forum member!
Back to top
View user's profile Send_private_message 
sulemasc

Joined: 10 Jun 2005
Posts: 69
Location: Brampton, Ontario, Canada

PostPosted: Wed 03 Aug 2005, 03:46    Post_subject: Partitioning, mounting questions  

Now it all makes sense to me - just wanted to close this thread by saying again, thanks for the links all, I think the cfdisk commands are needed by many, as well as the mk2fs, mkswap ones.

There are better links to all my questions in this thread - it didn't have enough focus - as most "what the _ is going on" posts have a sense of urgency to them. To all who read, remember - search the forum, the wiki, linuxquestions.org as well as other links in this thread. My questions are answered for this thread. End.

Thank you, thank you, thank you!
Mark
(puppy admirer)
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Topic_locked View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0689s ][ Queries: 12 (0.0041s) ][ GZIP on ]