Results 1 to 6 of 6
Hello I have problems moving my edited fstab to overwrite the original fstab and i get the error
bash:/dev/null:Permission denied
knoppix:/#
while running the command
su
chroot /mnt/hda7/
I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-07-2005 #1
Problem when moving New Fstab to the Old Fstab to fix Suse
Hello I have problems moving my edited fstab to overwrite the original fstab and i get the error
bash:/dev/null:Permission denied
knoppix:/#
while running the command
su
chroot /mnt/hda7/
I have also made my partition write but I get the errors
Access denied couldn't write to /mnt/hda7/eetc/fstab
Access denined to /mnt/hda7/eetc/fstab
- 03-08-2005 #2
Can you clarify what you're trying to do? Can you also post some more context of the commands that you're executing and their respective outputs? Thanks.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 03-08-2005 #3I am trying to edit the fstab with either Knoppix or Suse in maintence mode by overwriting the new fstab with the old one.
Originally Posted by sarumont
Yes i got 2 errors and tried to run Reiserfsck --fix-fixable
su
chroot /mnt/hda7/
he error I get is
bash:/dev/null:Permission denied
knoppix:/#
vi /etc/fstab
press i and edit, then press Esc, and then type :w so save and :q to exit, then restart the comp with Ctrl+D.
Got this error
--Insert-W10:Warning:Changing a reaonly file
E325:Attention
(1) Another person may be editing the file
(2)Edit session for this file crashes
In this case use :recovwer or vim -r /etc/fstab
to recover the changes if did this already delte swap file ?etc/.fstab.swp to avoid this message
E303 Unable to open swap file for "/etc/fstab",recovery impossible
E505:"/etc/fstab" is read-only (add ! to override)
- 03-14-2005 #4
I got this from posting on the Knoppix forum
Yes, just open a konsole in kde, paste it in and hit enter. Then when you type mount it should be listed as mounted. You might as well do sudo su in the konsole to become root so you can edit the file with mcedit /mnt/hda7/path/to/filename . Ctrl-d gets you out of su
- 03-18-2005 #5
I tried
sudo su
then cd etc/fstab
then mcedit fstab
and I could edit it but couldn't save it and get the error
Save As
Cannot save file
- 03-21-2005 #6
Here is the output of 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=406488k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid705) on /mnt/auto type autofs (rw,fd=4,pgrp=705,minproto=2,maxproto=4)
/dev/sda1 on /mnt/sda1 type vfat (rw,nosuid,nodev,umask=000,uid=1000,gid=1000)
/dev/hda5 on /mnt/hda5 type reiserfs (rw,nosuid,nodev)
/dev/hda7 on /mnt/hda7 type reiserfs (rw,nosuid,nodev)
/dev/hda2 on /mnt/hda2 type ntfs (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)
/dev/hda1 on /mnt/hda1 type vfat (ro,nosuid,nodev,umask=000,uid=1000,gid=1000)


Reply With Quote
