Click to See Complete Forum and Search --> : some problems after knoppix hard drive install


DimGR
04-18-2004, 11:29 PM
i can not delete, or write to hard drives. I get an error saying they are not writtable. HOw can i fix it?


mount
/dev/hdb3 on / type ext3 (rw,errors=remount-ro)
/dev/root.old on /initrd type ext2 (rw)
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)



cat /etc/fstab
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hdb3 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb1 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/sda1 /mnt/sda1 vfat noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /mnt/hda5 ntfs noauto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hdb5 /mnt/hdb5 ntfs noauto,users,exec,ro,umask=000 0 0



using the livCD i tried this

root@ttyp0[knoppix]# fsck -f /dev/hdb3
fsck 1.35-WIP (31-Jan-2004)
e2fsck 1.35-WIP (31-Jan-2004)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hdb3: 134683/1205312 files (0.1% non-contiguous), 617139/2409750 blocks




i create a dir in /home. I tried to delete it but it would not let me. I tried to download a driver in the dir i made and i got an error saying " can not write"

hard candy
04-19-2004, 12:27 AM
"dev/hdb3 / ext3 defaults,errors=remount-ro 0 1" shows that it is read only and not writable.
Here is mine:
/dev/hdb3 swap swap defaults 0 0
/dev/hdb1 / reiserfs defaults 1 1
/dev/hdb2 /home reiserfs defaults 1 2
/dev/hda1 /win98-c vfat defaults 1 0
/dev/hda2 /win98-d vfat defaults 1 0
/dev/sr0 /mnt/dvdrw iso9660 noauto,owner,ro 0 0
/dev/sr1 /mnt/cdrw iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Things to check:
Try changing the zeros to 1 1
if it will let you write it. Maybe you can mount /dev/hdb3 with the live cd and write the fstab.

Sepero
04-19-2004, 12:59 AM
What does it say when you type this:

ls -l /home
or
ls -l /home/dir_name

DimGR
04-19-2004, 08:59 AM
how do i change the zeros to 1?


ls -l /home
total 8
drwxr-xr-x 26 1002 1002 4096 Apr 19 01:13
drwxr-xr-x 32 knoppix knoppix 4096 Apr 19 08:56

bradfordgd
04-19-2004, 10:12 AM
The zeros in 1002?

# chown 1112 directory_name
# chgrp 1112 directory_name

bradfordgd
04-19-2004, 10:14 AM
Sorry. Use a text editor to edit /etc/fstab and change the zeros to ones.

mdwatts
04-19-2004, 10:20 AM
You cannot write to your root (hda3) partition?

Try

mount -o remount,rw /

or

mount -o remount,rw /dev/hdb3

and if that works, change /etc/fstab to

/dev/hdb3 / ext3 defaults 1 1