Lázaro Morales wrote:
> Hello,
>
> After completing LFS 7.1 the partitions layout was:
>
>      Filesystem     Type    Description
>      ----------     ----    -----------
>      sda2               ext3    Host system
>      sda3           ext3    LFS
>      sda1           swap    SWAP
>
> And then I used Parted Magic CD for delete the host system partition and
> resize the lfs to gain in disk space, but after delete it the LFS system
> cannot boot anymore. How can I fix this?

You probably deleted grub.  I recommend this:

Device    Function     fstype   size
------    --------     ------   ----
sda1      /boot        ext2     100M
sda2      swap         -          2G
sda3      /            ext3     as desired

Personally I use a lot of other mount points for /home, /usr/src, 
/mnt/lfs,  and sometimes /var and /tmp when I use an SSD drive.
I also save empty disk space for additional /mnt/lfs instances.

Mount the new sda1 as /mnt/boot and mv everything from /boot to /mnt/boot:

mv -av /boot /mnt/boot

Then umount /mnt/boot and remount as /boot.
Finally, use the instructions in Section 8.4 to reinstall grub.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to