Is the filesystem you're trying to edit mounted?
You may need to mount it, and then try your editing.
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
Is the filesystem you're trying to edit mounted?
You may need to mount it, and then try your editing.
Yes its mountedOriginally Posted by eon
Post the output of mount
Also you have one e too many in: Access denined to /mnt/hda7/eetc/fstab
OTOH since denined is also misspelled it's a typo instead of copy paste?
how do you do mount
Open a console, type mount and post the line for hda7
man mount gives you the manual for mount, quit by pressing q
In Knoppix or Suse?Originally Posted by Markus
In knoppix. That's after all what you're mounting if you boot knoppix. You can post the line from suse as well, just say which is which.
Well, it's night in Finland and I need some sleep.
When you type sudo mount -a all partitions should be mounted writable.
Check with mount and you should see a line like this: /dev/hda6 on /mnt/hda6 type ext3 (rw,nosuid,nodev,grpid)
Yours will probably be different, IIRC suse uses reiserfs so you can also mount with:
sudo mount /dev/hda7 /mnt/hda7 -t reiserfs -o remount,rw (if it's not already mounted you can skip the remount part)
Also here is my fstab
/dev/hda7 / reiserfs rw,acl,user_xattr 1 1
/dev/hda2 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda6 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=ut f8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
/dev/hda5 /mount/dev/hda5/mnt/1GB_native reiserfs auto,acl,user_xattr 1 2
/dev/cdrom /media/cdrom subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=ut f8 0 0
/dev/sda1 /media/usb-storage-Y3KQ3YTE:0:0:0p1 ext3 acl,user_xattr 1 2
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$343.00
Dell PowerEdge R630 Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails
$295.00
DELL POWEREDGE T430 Tower Sever XEON E5-2620 V3 @ 2.4GHz, 64GB RAM, NO HDD/OS
$329.95
Dell PowerEdge R730xd Server 2x E5-2697v3 2.60Ghz 28-Core 144GB H730P
$326.65
Dell PowerEdge R730xd Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails
$437.90
Dell PowerEdge R630 Server 2x E5-2680v4 2.40Ghz 28-Core 64GB H730
$288.25
Dell PowerEdge R630 Server 2x E5-2690v3 2.60Ghz 24-Core 128GB H730 Rails
$322.75
Dell PowerEdge T330 Intel Xeon E3-1220 v5@3.0GHz | 8GB RAM | 4x 1TB HDD | NO OS
$249.99
DELL PowerEdge R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$361.00
Dell R640 8x 2.5" SFF iDRAC 2x 25GbE SFP28- Wholesale Custom Build Your Server
$259.99