PDA

View Full Version : cant write to hdd



boo ya
07-13-2004, 09:59 AM
hi
i recenlty made 2 partions 4 knoppix so that i can install software on them. But when i go to try and make a new folder to a partion it says that "it could not make this folder". I have un ticked read only and it still wont do anything??

HELP?????

mzilikazi
07-13-2004, 01:49 PM
I'm not sure what you mean by "install software on them" but the first step is to put a file system on the partition you made. ;)

For an ext3 format do:

mke2fs -j /dev/hda2

If you;ve done that then issue mount and see if your partition is mounted rw

boo ya
07-15-2004, 03:41 AM
I'm not sure what you mean by "install software on them" but the first step is to put a file system on the partition you made. ;)

For an ext3 format do:

mke2fs -j /dev/hda2

If you;ve done that then issue mount and see if your partition is mounted rw
okay i just want to be able to write to my linux partition.

i done wat u said and this comes up

invalid option -- /
Usage: mke2fs [-c|-t|-l filename] [-b block-size] [-f fragment-size]
[-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes]
[-m reserved-blocks-percentage] [-o creator-os] [-g blocks-per-group]
[-L volume-label] [-M last-mounted-directory] [-O feature[,...]]
[-r fs-revision] [-R raid_opts] [-qvSV] device [blocks-count]
:?

mzilikazi
07-15-2004, 03:53 AM
You must be typing it wrong. Once you get the partition formatted you'll need to mount it before you can write to it.

boo ya
07-15-2004, 07:42 AM
yea sorry i was typing it wrong :?
How ever when i do type it i get this messgae

noppix@ttyp0[knoppix]$ mke2fs -j /dev/hda3
mke2fs 1.35 (28-Feb-2004)
mke2fs: Permission denied while trying to determine filesystem size

wtf???

oh and yea i cant write to my flash drive either (used to work with debain) but not now with live cd.

Update: Ive done the above(had to do it in root knosole) adn still cant wrtie to it

Then i went to konsole and done MOUNT and this is wat comes up

knoppix@ttyp0[knoppix]$ mount
/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=816980k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid487) on /mnt/auto type autofs (rw,fd=4,pgrp=487,minproto=2,maxproto=4)
/dev/sda1 on /mnt/sda1 type vfat (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
/dev/hda3 on /mnt/hda3 type ext3 (ro,nosuid,nodev)

What to do now?

boo ya
07-15-2004, 08:04 AM
**deleted double post*** DELETE THIS

mzilikazi
07-16-2004, 12:41 PM
yea sorry i was typing it wrong :?
How ever when i do type it i get this messgae

noppix@ttyp0[knoppix]$ mke2fs -j /dev/hda3
mke2fs 1.35 (28-Feb-2004)
mke2fs: Permission denied while trying to determine filesystem size

wtf???

oh and yea i cant write to my flash drive either (used to work with debain) but not now with live cd.

My USB flash drive is seen as /dev/sda1


Update: Ive done the above(had to do it in root knosole) adn still cant wrtie to it

Then i went to konsole and done MOUNT and this is wat comes up

knoppix@ttyp0[knoppix]$ mount
/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=816980k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid487) on /mnt/auto type autofs (rw,fd=4,pgrp=487,minproto=2,maxproto=4)
/dev/sda1 on /mnt/sda1 type vfat (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
/dev/hda3 on /mnt/hda3 type ext3 (ro,nosuid,nodev)

What to do now?

Well /dev/hda3 is already mounted which means it has to have a filesystem on it already. Notice however that it's mounted ro (read-only) ;)


mount -o remount,rw /dev/hda3

That ougtta get you write access.