The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 bad mount of linux file system in fstab
Author: Hern42 
Date:   01-08-05 08:19

Hej

I am quite new to freebsd although I'm making the jump from linux and not XP... it could/should help!
I installed Freebsd on my laptop along with a Debian and XP (for collegues at work compatibilities reasons) and tried to have access to my linux partition from freesbd. It worked perfectly with mount, so I modified /etc/fstab in order to have it mounted automatically at boot... but when I boot it tries to do a fsck_ext3... and cannot (maybe I dont have this packet installed...) and then stop the boot procedure and give me /bin/sh.
I tried to vi into fstab and remove the line where I mount my linux file system but I am in a read-only mode. So I cannot even get it on the screen (but I can cat it...)

Someone has a solution? How to enter in some safe/debug mode to remove this bloody line!!! Or maybe make it work otherwise...

I also apologise for my english and probably bad technical vocabulary... I am french for one and not too good with computer either.

Thanks

Arnaud



Reply To This Message
 
 Re: bad mount of linux file system in fstab
Author: Dan 
Date:   01-08-05 12:01

When booting, go into single user mode and alter the file. For single user mode, press the SPACE bar when the system starts counting down during the boot process. Then type "boot -s" and it will boot into single user mode. Then edit /etc/fstab

In /etc/rc.conf, do you have kern_securelevel_enable set?

--
Webmaster

Reply To This Message
 
 Re: bad mount of linux file system in fstab
Author: Hern42 
Date:   01-08-05 12:17

Thanks Dan, Im currently answering this from FreeBSD so it worked...
Although I still dont know what I did wrong... Maybe the line in fstab was bad, Ill investigate.
I also checked the kernel_securelevel and I havent found such a line on the rc.conf file... What is it for?

Anyway, thanks again for your help...
Arnaud



Reply To This Message
 
 Re: bad mount of linux file system in fstab
Author: Dan 
Date:   02-08-05 13:54

> I also checked the kernel_securelevel and I havent found such a line on the rc.conf file... What is it for?

For setting parts of the file system to read-only.

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org