Transferring LFS from /dev/hda3 -> /dev/hda1 ?

Lynton lynton at
Sat Apr 21 07:06:35 PDT 2001

Hi Pozsar,
                Thanks for that - I bet you've hit the nail on the head.
The original system had a 'Celeron' processor and the destination system has
an AMD-K62-500 so yes they are quite different CPU's.
So if I want to make a LFS CD with which to install in the future are we
saying I'd be best to compile everything as though is was for a 386, then
that way it'll work on any processor though not fully optimized ?

Thanks for your response


England UK

----- Original Message -----
From: "Pozsar Balazs" <pozsy at>
To: <alfs-discuss at>
Sent: Saturday, April 21, 2001 2:42 PM
Subject: Re: Transferring LFS from /dev/hda3 -> /dev/hda1 ?

> How do the processors compare on the systems? I suspect you wanted to copy
> your binaries to an older processor, that's why it is saying 'illegal
> instruction'. A binary which was compiled for eg. 686, doesn't run on 586
> or older 99% of the cases.
> And btw, i dont see why did you have to make seperate tar files.
> If you mount the other hd into for eg. /mnt/hdb1 you can just issue 'cp
> -ax / /mnt/hdb1', and have everything happily copied onto the other dest.
> have a nice day,
> Balazs Pozsar (from Hungary).
> On Sat, 21 Apr 2001, Lynton wrote:
> > Hi all,
> >         I have recently set up my first LFS system after having played
around with several different 'off the shelf' distributions.
> > Having got it set up and running beautifully I would like to run it on
another computer as well as the original one I installed it on but have
encountered problems.
> >
> > Here is what I tried.............
> >
> > First I 'tarred' each directory on the original LFS system individually,
so I had usr.tar, bin.tar, etc.tar and of course the others.
> > I then moved these 'tar' files to the 'other' computer which has an ext2
file system ready and waiting.
> > I untar the files successfully to leave me with an LFS system on the new
> > After having run 'lilo' the new LFS system 'boots' up but I get
> >
> > The original LFS system was hand built on /dev/hda3 with a swap
partition on /dev/hda4, however the destination system has an ext2 partition
on /dev/hda1 and a swap partition on /dev/hda2 - I'm wondering if this is
why I am getting errors even though I have adjusted the settings in
'/etc/mtab', '/etc/lilo.conf' and '/etc/fstab' to reflect the changed root
and swap partitions.
> >
> > Anyway the most obvious errors I get are the Kernel is unable to mount
/proc and whenever 'mount' is executed from one of the startup scripts an
'illegal instruction' error is reported.
> > If I start the system in 'single user' mode it does respond to commands,
ie I can get a directory listing, but once again if I try to 'mount' a
filesystem manually I get the 'Illegal Instruction' error.
> >
> > Any ideas ?
> >
> >
> > Thankyou for your time
> >
> > Lynton
> >
> > England UK
> >
> >
> >
> --
> Unsubscribe: send email to alfs-discuss-request at
> and put unsubscribe in the subject header of the message

Unsubscribe: send email to alfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the alfs-discuss mailing list