FC6 - Teaching A New Dog Old Tricks
Leon Goldstein
metapsych
Sun Jan 7 18:53:33 PST 2007
Leon Goldstein wrote:
>Net Llama! wrote:
>
>
>
>>><snip>
>>>
>>>
>>>
>
>
>
>>>I get most of what you suggest, although I'll have to research the
>>>meaning of "mount it over loopback" since I have never done that. (I
>>>have used chroot to salvage data from an unbootable drive onto a CD
>>>using Knoppix.)
>>>
>>>
>>>
>Hmm, I must have had a senile moment, oops, "senior moment". You don't
>need to chroot to burn from Knoppix.
>I think I did use chroot to reinstall GRUB on a distro when the mbr got
>trashed.
>
>
>
>
>>>Could I coax you into writing a little more detailed how-to?
>>>
>>>
>>>
>>>
>>Sure, its actually simple.
>>0) Install whatever distro works well with WP8
>>on 1 harddrive, with just a single / partition (nothing separate for /usr
>>/home, etc) with the smallest / partition possible
>>1) Once you're
>>comfortable that WP8 works fine there, either connect a 2nd HD to the WP8
>>system that is at least as large as the first, or make sure that the WP8
>>system is networked to whatever other system you want to ultimately use
>>(such as the one with FC6). What you need to do here is use dd to take an
>>image of the WP8 / partition and either write that image as a file to the
>>2nd HD. Or use the FC6 system as NFS server, mount it from the WP8 box,
>>and then dd the image to the NFS server
>>2) So for the dd command you'd do:
>>dd if=/dev/hda1 of=/nfs-mountpoint/wp8.img bs=10k
>>3) Then once you've got the wp8.img on the target system (FC6), you just
>>mount it over loopback:
>>mount -o loop wp8.img /mnt/wherever
>>4) chroot into it:
>>chroot /mnt/wherever
>>5) and run wp8
>>
>>
>>I've done this before for a project at $DAYJOB which required me to use
>>SuSE-10.1 for a single task, once/month. I was sick of maintaining a
>>system just for 15 minutes worth of work once a month, so I just imaged
>>the drive, dumped it on my primary system (which has FC6), and now life is
>>easier.
>>
>>
>>
>>
>>
>>
Lonnie:
I reinstalled FC6 in a larger partition, then made a minimal install of
Libranet 2.8.1 (very WP friendly) on the same lab-rat. Per
instructions, I used dd to copy an image of the Lib 2.8.1 partition,
into which I istalled both WP8.1 as well as WPO2KL, with printers set up
and verified as functional.
After mounting the image file and chroot to the mounted image, I get
this error when I try to run WP (/usr/bin/xwp):
X11TransSocketUNIXConnect: Can't connect: errno=2
Is this THE END, or is something missing?
--
Leon A. Goldstein
Powered by Libranet 2.8 Debian Linux
System LI
More information about the Linux-users
mailing list