man chmod, man chown.
Wll be also good for you if you learn how to use the number notation for
chmod command.
Please add the mark "[SOLVED]:" to the subject when you finish.
Cheers!
On Jan 26, 2008 2:20 PM, Pantor <pantor@painter-decorator.eu
<mailto:pantor@painter-decorator.eu>> wrote:
Andres Migliazzo wrote:
> "But after change a error message "permission denied" appear in
> Konqueror window."
>
> Well... check the permissions and ownership of the /mnt/hdc1 folder.
>
> Then try to mount the partition using the command line:
> $ mount -t ext3 /dev/hdc1 /mnt/hdc1 -o rw
> Do it as your user, and then try with root user.
>
> Did you try to mount it on a different directory...like floppy?
> $ mount -t ext3 -o rw /dev/hdc1 /media/floppy
>
> Just to check if is a permissions issue.
>
> If does not works... show us the output of the command:
> #sfdisk -ls /dev/hdc
>
> Bye
>
> On Jan 26, 2008 10:59 AM, Pantor <pantor@painter-decorator.eu
<mailto:pantor@painter-decorator.eu>
> <mailto:pantor@painter-decorator.eu
<mailto:pantor@painter-decorator.eu>>> wrote:
>
> Pantor wrote:
> > Andres Migliazzo wrote:
> >> Hi,
> >> Please, login as root and run the comand "mount", then
show us the
> >> standar output AND the /etc/fstab file. Tell us which is
the file
> >> systems that you have used on new disk partitions (VFAT,
EXT2/3,
> NTFS,
> >> UFS, REISERFS, etc).
> >>
> >> Regards
> >>
> >> On Jan 25, 2008 4:13 PM, Pantor
<pantor@painter-decorator.eu <mailto:pantor@painter-decorator.eu>
> <mailto:pantor@painter-decorator.eu
<mailto:pantor@painter-decorator.eu>>
> >> <mailto:pantor@painter-decorator.eu
<mailto:pantor@painter-decorator.eu>
> <mailto:pantor@painter-decorator.eu
<mailto:pantor@painter-decorator.eu>>>> wrote:
> >>
> >> KS wrote:
> >> > Pantor wrote:
> >> >> KS wrote:
> >> >>> Pantor wrote:
> >> >>>> Lads,
> >> >>>>
> >> >>>> would you be able to advice please, how to
install a
> second
> >> hard drive
> >> >>>> which have preinstalled Windows. PC booting Windows
> after hard
> >> drive has
> >> >>>> been plugged in. Windows should be cleared, but
how thee
> >> partition
> >> >>>> works?
> >> >>>>
> >> >>>> Thank you,
> >> >>>>
> >> >>>> Andrius
> >> >>> I would just connect the hard disk and boot. My
new/old
> hard
> >> disks have
> >> >>> been detected without a hitch when booting. Then
comes the
> >> use of a
> >> >>> partitioning tool like cfdisk, fdisk, etc. and after
> that you
> >> can use
> >> >>> mkfs to create the file system. If you like
using the
> GUI more,
> >> install
> >> >>> gparted or qtparted and use that to partition and
> format the
> >> hard disk.
> >> >>>
> >> >>> HTH
> >> >> If to boot then windows will boot. Gparted
> >> >> shows:
> >> >> > 89-125-103-244:/home/andrius# gparted
> >> >>> ======================
> >> >>> libparted : 1.7.1
> >> >>> automounting disabled
> >> >>> ======================
> >> >>> Unable to open /dev/hda read-write (Read-only
file system).
> >> /dev/hda
> >> >>> has been opened read-only.
> >> >>> Unable to open /dev/hda - unrecognised disk label.
> >> >> Andrius
> >> >>
> >> >
> >> > Where do you have Debian installed? /dev/hdb?
Where did you
> >> install
> >> > Grub? You need to give more details about your setup.
> >> >
> >> >
> >>
> >> Debian installed on sda,
> >> New disk hdc installed and partitioned, but still not
visible in
> >> media:/
> >>
> >>
> >> --
> >> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org
<mailto:debian-user-REQUEST@lists.debian.org>
> <mailto:debian-user-REQUEST@lists.debian.org
<mailto:debian-user-REQUEST@lists.debian.org>>
> >> <mailto:debian-user-REQUEST@lists.debian.org
<mailto:debian-user-REQUEST@lists.debian.org>
> <mailto:debian-user-REQUEST@lists.debian.org
<mailto:debian-user-REQUEST@lists.debian.org>>>
> >> with a subject of "unsubscribe". Trouble? Contact
> >> listmaster@lists.debian.org
<mailto:listmaster@lists.debian.org>
> <mailto:listmaster@lists.debian.org
<mailto:listmaster@lists.debian.org>>
> <mailto:listmaster@lists.debian.org
<mailto:listmaster@lists.debian.org>
> <mailto:listmaster@lists.debian.org
<mailto:listmaster@lists.debian.org>>>
> >>
> >>
> > It seems tha a mistake was made in last line.
> > > ># /etc/fstab: static file system information.
> > #
> > # <file system> <mount point> <type> <options> <dump>
> <pass>
> > proc /proc proc defaults 0
0
> > /dev/sda1 / ext3
defaults,errors=remount-ro
> > 0 1
> > /dev/sda5 none swap sw 0
0
> > /dev/hda /media/cdrom0 udf,iso9660 user,noauto
0 0
> > /dev/fd0 /media/floppy0 auto rw,user,noauto 0
0
> > /dev/hdc1 /mnt/hdc1 ext3 default 2 1
> >
> > Instead "default" should be "defaults". But after change a
error
> message
> > "permission denied" appear in Konqueror window.
> >
> >
> And mount still does not work
> "89-125-103-244:/home/andrius# mount /dev/hdc1
> mount: mount point /mnt/hdc1 does not exist"
>
>
> sfdisk -ls /dev/hdc
Well, not looks as fine. Here is sfdisk
> 89-125-103-244:/home/andrius# sfdisk -ls /dev/hdc
> 19938240
>
> Disk /dev/hdc: 39560 cylinders, 16 heads, 63 sectors/track
> Warning: The partition table looks like it was made
> for C/H/S=*/255/63 (instead of 39560/16/63).
> For this listing I'll assume that geometry.
> Units = cylinders of 8225280 bytes, blocks of 1024 bytes,
counting from 0
>
> Device Boot Start End #cyls #blocks Id System
> /dev/hdc1 0+ 2481 2482- 19936633+ 83 Linux
> /dev/hdc2 0 - 0 0 0 Empty
> /dev/hdc3 0 - 0 0 0 Empty
> /dev/hdc4 0 - 0 0 0 Empty
> 89-125-103-244:/home/andrius#
There is only one problem now about new disc: impossible to write or
edit new disc when login as user, but it is OK when login as root. How
to change permissions, please?
Andrius