Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I have created an ios file.The file is located in root home directory. To mount the iso file manually i always manually mount it but when i restart the system i lost my mount.
# mount -o loop centos1.iso /mnt/iso/
I want to add it in my fstab .Kindly guide me that how can I do it?
with your help i have lost the control of my system.The system go to run level 5 & then restart due to wronge entry in fstab. Now a new issue start that how can I edit my fstab file to remove the entry which u guide me.
When the system start i see a counter ,i hit it it say
'e' to edit command before booting,'a' to modify the kernel argument before booting or 'c' for a command-line.
Press 'e' at the menu and add the number 1 at the end of the line that start with 'kernel' or 'linux', then press enter and 'b', now you should boot to a cli env and change back your fstab file.
Better yet is to choice the recovery mode at the menu, hence you don't need to add the 1 number to the kernel arguments.
hi,
I have created an ios file.The file is located in root home directory. To mount the iso file manually i always manually mount it but when i restart the system i lost my mount.
# mount -o loop centos1.iso /mnt/iso/
I want to add it in my fstab .Kindly guide me that how can I do it?
The iso file was in the root user home directory & i write
/ /mnt/iso loop 0 0
though i enter into single user mode by using a 1.I open the /etc/fstab file but it is read only.I want to delete the line which i add it but this will be possible if the file /etc/fstab is read & write.
Thought i have sh-3.2# prompt but unable to change the file as read only
kindly guide me how can i fix it
with your help i have lost the control of my system.The system go to run level 5 & then restart due to wronge entry in fstab. Now a new issue start that how can I edit my fstab file to remove the entry which u guide me.
When the system start i see a counter ,i hit it it say
'e' to edit command before booting,'a' to modify the kernel argument before booting or 'c' for a command-line.
please some one else help me
and next time when you make experimental changes in fstab
don't restart to check
try this
Code:
#mount -a
this will update your fstab file
#mount
to check mount points
Now boot into your single user mode and try editing your fstab file again
The iso file was in the root user home directory & i write
/ /mnt/iso loop 0 0
though i enter into single user mode by using a 1.I open the /etc/fstab file but it is read only.I want to delete the line which i add it but this will be possible if the file /etc/fstab is read & write.
kindly guide me how can i fix it
post the output of
Code:
#df -h
#fdisk -l
to check whether you are in root environment or not
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.