LiveCD via loop device?

Jorge Almeida jalmeida at math.ist.utl.pt
Mon Jan 29 14:07:36 PST 2007


On Mon, 29 Jan 2007, Stefan Wetter wrote:

> Jorge Almeida schrieb:
>> I was wondering whether it would be possible to install LFS using the
>> live CD image mounted on an existing system via loopback device and then
>> chroot'ing. The idea is to get the best of two worlds: a sane system in
>> the live CD and the possibility to keep using the computer as usual
>> while installing LFS (plus the possibility of doing it remotely, if
>> needed).
>> Is this possible at all? I just mounted the CD image via loopback
>> device, but I can't figure out what to do next, as it doesn't look like
>> a regular populated filesystem.
>>
> I think its a compressed image on the CD you will have to mount throug
> loop-device. Maybe you want to have a look at
> http://linuxfromscratch.org/pipermail/livecd/2006-December/004218.html.
Will do. Anyway, the root.ext2 is what I was missing. It has to be
mounted via loop device, after mounting the .iso file (i.e, one has to
perform two loop device mounts). I suppose chrooting into it is OK. (I
should have tried before posting :))
> In this thread the theme is a little different, but maybe you can use
> the hints Alexander gives there.
>
Thanks.

-- 
Jorge Almeida



More information about the lfs-support mailing list