Linux from scratch

Paul Mooring paul at getchef.com
Mon Aug 4 14:16:48 MST 2014


It's been a while since I did an LFS install, but I assume you have a
partition mounted on `/mnt/lfs`.  If that's the case the easiest thing is
to recreate the filesystem.  Imagine mount shows something like:

  /dev/sdb1 on /mnt/lfs type ext4 (rw)

You would un mount the filesystem:

  umount /mnt/lfs

Re-create the filesystem

  mkfs.ext4 /dev/sdb1

and remount it

  mount /dev/sdb1 /mnt/lfs

Then you should have an empty filesystem waiting for you.


On Mon, Aug 4, 2014 at 1:48 PM, Michael Havens <bmike1 at gmail.com> wrote:

> I am confused. I need to start over. SO to do so I need to know what to
> delete. I think it is as easy as exiting back to the host system shell
> then:
>
>   cd /mnt/lfs; rm -rf *
>
> and then I just need to start over from the point after I mkdir /mnt/lfs.
> Is this correct?
> :-)~MIKE~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



-- 
Paul Mooring
Operations Engineer
Chef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140804/f40153e4/attachment.html>


More information about the PLUG-discuss mailing list