Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Formatting HD after penboot, Format hard drive on a pedrive booted s< Next Oldest | Next Newest >
JohnH Offline





Group: Members
Posts: 46
Joined: Mar. 2006
Posted: Mar. 22 2006,13:28 QUOTE

OK I had a 4gig ide hd with hda1 100mb bootable, 1gig swap, and hda3 3gig

I booted on my pen drive and opened ATerminal as root
after cfdisk deleting all partitions and making one 4gig ext3 bootable partition (mkfs.ext /dev/hda1)
The hda1 appears in the file system and in the mount tool. I clicked so there was a green "mounted" button in the file tool.

Then trying to download linux documentation and selecting the /mnt/hda1 partition to download to I get "cannot create file directory /mnt/hda1 is not writable"
Back to top
Profile PM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Mar. 22 2006,13:45 QUOTE

you need the -j switch (journaling) to make it ext3. Like mke2fs -J /dev/hda1 , or using the script mkfs.ext3 /dev/hda1 I don't know if the script is included in DSL though so I have always used the first option. Here is a manpage on the subject:

http://www.netadmintools.com/html/8mke2fs.man.html


--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
JohnH Offline





Group: Members
Posts: 46
Joined: Mar. 2006
Posted: Mar. 22 2006,13:52 QUOTE

Quote (doobit @ Mar. 22 2006,08:45)
you need the -j switch (journaling) to make it ext3. Like mke2fs -J /dev/hda1 , or using the script mkfs.ext3 /dev/hda1 I don't know if the script is included in DSL though so I have always used the first option. Here is a manpage on the subject:

http://www.netadmintools.com/html/8mke2fs.man.html

I used mkfs.ext3 /dev/hda1

The process went on without any warnings or errors.
Back to top
Profile PM 
anaconda Offline





Group: Members
Posts: 96
Joined: Mar. 2006
Posted: Mar. 22 2006,14:10 QUOTE

Did you do the saving as "root" or as a regular user. Sometimes regular users don't have the writing permission for mounted drives. (writing permission is given in /etc/fstab file..)

And I think 1GB swap partition is quite big for a 4GB hard disk!!
Maybe it would be a good idea to NOT have a swap partition at all in such a small disk!!! I would make the linux partition 1GB bigger and use a swap file, which size would be easy to change if you need more space...

And IGB for swap is too much anyway. I have 512MB of ram and usuallu I have 256MB for swap which has always been enough.

The old "rule" to make swap 2x actual RAM is to much when you have 512MB of ram And if you have 1024MB of RAM you dont need swap at all!


--------------
___
anaconda
Back to top
Profile PM 
JohnH Offline





Group: Members
Posts: 46
Joined: Mar. 2006
Posted: Mar. 22 2006,14:43 QUOTE

I just tried a "workaround". From Firefox I downloaded to /tmp then opened Emelfm as superuser and copied from /tmp to /mnt/hda1. That seems to have worked but that sucks to have to make such a twity set of steps...

BTW i opened a terminal and typed sudo su
Back to top
Profile PM 
12 replies since Mar. 19 2006,14:05 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Formatting HD after penboot

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code