-
how to mount my allready mounted hda1 and hda5 to rw permis.
Please help me i cant' do nothing i allready read all simulatenous topics ih this forum but i didn't find anything...
I am from Bulgaria I am a novice in LINUX so can you explain me like an how to for dummy step by step...
I try to edit fstab this is the only way i know by red hat but the file wont save so tell me another way...
-
Senior Member
registered user
mount -o remount,rw /dev/hda1
-
Senior Member
registered user
Hi all,
Thanks stonet & Capoeira.
I have been putting up with the same problem.
I usualy work for CD and do not use the hard dirve
but when I do it is not rw.
Keep two things in mind. First the script must run
as root so I add sudo to the front of the line.
If the device in not mounted, asking to remount
will not work. So the following lines in a startup
script will do the job:
Code:
sudo mount -o wr /dev/hda1
sudo mount -o remount,rw /dev/hda1
If you have a lot of partitions and hard drives
then you could update the file /etc/fstab
You could also use the sed command to look
at each line in /etc/fstab that has hd in it.
Then use s/exec 0/exec,rw 0/ to substitute the
second expression in place of the first.
Code:
sudo sed '/hd/s/noauto,users,exec 0/auto,users,exec,rw 0/' /etc/fstab >/home/knoppix/fstab
sudo mv -f /home/knoppix/fstab /etc/fstab
sudo umount -a
sudo mount -a
mkdesktophdicons
Best Wishes
paradocs
warning: hope I typed it correctly. Line one of the code is long
and must be kept as one line. The code is 5 lines long.
I am a beginner -- only I have been at it longer.
The stars -- I stole from the German forum.
-
Also, the desktop has hd icons of all hard drives and right clicking them pops up a menu where you can choose something like "change r/w permissions".
No need to be root, no shell magic, just simple click and run..
Similar Threads
-
By pcolamar in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 05-10-2005, 03:43 PM
-
By Skaster in forum General Support
Replies: 6
Last Post: 01-05-2005, 09:04 PM
-
By rrfish72 in forum General Support
Replies: 2
Last Post: 08-10-2004, 04:36 AM
-
By jimandjeanette in forum The Lounge
Replies: 1
Last Post: 07-05-2004, 02:50 PM
-
By rodrigo_tomita in forum General Support
Replies: 4
Last Post: 11-14-2003, 12:49 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory
$159.98

SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK
$169.95

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$489.96

16GB Total of SK hynix PC3L-12800S 2 sticks of 8GB each = 16GB Laptop Memory
$27.95

Server Memory: Samsung 32GB 4DRx4 PC4-2133P ECC LRDIMM DDR4 M386A4G40DM0-CPB
$124.95

MTA36ASF4G72PZ-2G9E2 MICRON 32GB (1X32GB) 2RX4 PC4-2933Y MEMORY
$229.00

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB
$2.37

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW
$1.39