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.
after unsuccessfully trying to install a second hard drive, I am getting these errors even though I have removed the drive and all references to it in /etc/fstab. At first I could not even boot the system as it kept dropping me to a shell with
Repair filesystem 1 #
Now I am able to boot the machine but I am getting these errors
WARNING: Bad format on line 10 of /etc/fstab
WARNING: Bad format on line 11 of /etc/fstab
twice in the boot sequence, first after "checking root filesystem" and then same 2 messages after "checking filesystems"
I have double checked /etc/fstab and cannot see any errors
I am unsure of how to repair this and any help would be appreciated.
Thanks, I'll give that a try. I was worried I did something when it kept dropping me to the line.
Repair filesystem 1 #
Being kinda new I did not know what to type and am still unsure of how I got back in. I think by typing login. Very frustrating and most of the places I search refer to full RH installs and this one is a firewall so I tried not to install anything not needed..anywhoo onward and upward. Still a blast to play with.
Distribution: Redhat 8.0, Immunix 7.0 a few others
Posts: 222
Rep:
Sorry to butt in, but thetwin you really need to look at a book for this stuff, as there are some underlying concepts you need to know such as how the linux boots up etc.
You won't be dissappointed by investing in a good book - I still have all of my linux books and I use at least one of them at least once a day!
Originally posted by Q*Bert Sorry to butt in, but thetwin you really need to look at a book for this stuff, as there are some underlying concepts you need to know such as how the linux boots up etc.
You won't be dissappointed by investing in a good book - I still have all of my linux books and I use at least one of them at least once a day!
I don't know about you but this is a legitimate question and not that common. I would understand telling him to get a book or search if he was asking how to list files in a directory or copy files, something very basic. But we shouldn't tell members to just read a book to get their answer, that is not what this site is for, especially on a question like this.
What you would be looking for is the ~ at the end. Are there any lines below the last /dev/cdrom.... that don't have a ~, which would look something like this:
If so, try placing your block cursor as far down as you can go where there aren't any ~ and press dd to delete the lines. This might be the cause of your system recognizing lines that aren't really there with possibly a character that is not visible in the plain text file. Not sure if this will work, but you can always try renaming your old fstab file and rebuilding it, copying the contents you have in the old one to a new one..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.