Results 11 to 14 of 14
Originally Posted by jaboua
If you can't login, try getting a FreeSBIE cd, umounting all drives, mounting them into a directory, chrooting, fixing from the inside...
I am sorry... not ...
- 09-23-2005 #11Just Joined!
- Join Date
- Jul 2005
- Posts
- 30
I am sorry... not so advanced. I beleive I'll need a little more help on this.
Originally Posted by jaboua
Thanks
- 09-24-2005 #12Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Do you have a freesbie livecd? In that case, you can start up, choose between xfce/fluxbox/pure terminal enviroment (tcsh), IIRC freesbie automounts all recognised drives, so umount the freebsd ones like this:
Then you can mount them into their right position, for example like this:Code:umount /mnt/ufs.*
Then you chroot into the enviroment to fix it from the inside:Code:mount /dev/ad0s1a /mnt/ufs.1 mount /dev/ad0s1d /mnt/ufs.1/var mount /dev/ad0s1e /mnt/ufs.1/tmp
Then you can fix your problem from the inside, for example by trying reinstalling the kernel.Code:chroot /mnt/ufs.1
If you don't have a freesbie livecd, I belive the freebsd installcd does have the ability to drop to console, and follow almost the same procedure (except partitions not needed to be unmounted, and that the mountpoint has to be created ["mkdir /mnt/ufs.1"]).
- 09-24-2005 #13Just Joined!
- Join Date
- Jul 2005
- Posts
- 30
Yes, I have FreeSBIE on CD, so I'll follow your instructions.
Thanks
PS. could You tell me a little more on how to reinstall the kernel?
- 09-24-2005 #14Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
You recompile the kernel if the kernel build was faulty (like it may have been when you got that error). Replace the word "KERNELNAME" with the name of your custom kernel. If you don't got any custom kernel config, use "GENERIC".
I haven't rebuilt world before so I'm not quite sure on this, but you can just follow the handbook.Code:cd /usr/src make buildkernel KERNCONF=KERNELNAME make installkernel KERNCONF=KERNELNAME


Reply With Quote
