[lfs-support] Best Linux Version for LFS?

Aleksandar Kuktin akuktin at gmail.com
Wed Oct 10 12:37:26 PDT 2012


>On Wed, 10 Oct 2012 18:31:31 +0100
>Ken Moffat <zarniwhoop at ntlworld.com> wrote:

> All distros think they own /boot : this will make updating kernels
> fun if more than one distro (or LFS+distro) is involved.

Not only that, but most believe they also own the master boot record.
Some are even very proactive in repartitioning the hard-drive to make
it conform to their idea of the world.

Pro tip: If your MBR ever gets blown off, it is relatively easily
         fixed. First, you should make a copy of it and store this copy
         somewhere safe (far from the HDD under risk).

    dd if=/dev/sda of=copy_of_MBR bs=512 count=1

         Then, if the MBR gets destroyed, copy the MBR back.

    dd if=copy_of_MBR of=/dev/sda conv=notrunc

         It also possible to reconstruct the MBR without this but it is
         much more difficult.

-- 
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped



More information about the lfs-support mailing list