Need to boot from CD and delete a file on the hard drive
Jerry McAllister
jerrymc at clunix.cl.msu.edu
Tue Oct 25 16:41:48 PDT 2005
>
> > Hello All --
> >
Nuked a lot here.
> > SUMMARY:
> >
> > After booting from the CD, I found a command in the install program to enter
> > an "emergency
> > shell" and accessed this shell by hitting ALT-F4 -- but if I do an "rm"
> > command in this
> > emergency shell, it doesn't apply to the filesystem on the hard drive -- it
> > applies to the CD. I
> > need to delete the file /boot/loader.conf while booting from the CD.
> >
> > Is there any way to fix this without installing FreeBSD all over again?
>
> OK, I'm going to try one more time, and then leave it to the pro's. :-)
> You will need Disc 2 of your install CD's, that contains the live file
> system.
> Boot with the install cd (1), choose 'Fixit' from the install menu, insert
> disc 2 when prompted for the fixit disc, then...
> I found this link explaining the process:
> http://www.freebsd-corp-net-guide.com/technotes/fixit.html
Good, but I think it depends on the FreeBSD version.
I think, starting with 5.xx the fixit is all on disk one and
you don't need disk 2, but for 4.xxx and earlier you do.
////jerry
More information about the freebsd-questions
mailing list