Chroot question
[crossposted to my own journal]
OK, this is complicated. I have a friend living interstate, and I'm trying to talk her through this remotely.
Here's the deal: her old Linux computer died, but she managed to save the hard drive and put it in a USB external enclosure. She's plugged this into her Eee PC. The hard drive had a password on it. When she mounts it, the graphical file browser (I don't know which, whichever one Xandros uses?) shows certain files and folders as locked, particularly (but not limited to) her Thunderbird downloaded email.
Here's what we've done so far:
Created a mount point and mounted the hard drive
Chrooted into the hard drive and succeessfully accessed her files that way.
All this worked fine. I didn't bother to create a boot mount point in etc/fstab because it's a USB drive and she'll be unplugging it often.
What I don't know is an easy way of giving her access to the files through her graphical browser. In particular, it'd be good if there was some not too complicated (since I have to explain it to her over the phone) way of setting it up so she can use Thunderbird normally.
She's going to get a new desktop very soon, with a larger hard drive. Would it be easiest just to copy everything over to that? Maybe clone the old hard drive? Is there an easier way I'm not thinking of?
OK, this is complicated. I have a friend living interstate, and I'm trying to talk her through this remotely.
Here's the deal: her old Linux computer died, but she managed to save the hard drive and put it in a USB external enclosure. She's plugged this into her Eee PC. The hard drive had a password on it. When she mounts it, the graphical file browser (I don't know which, whichever one Xandros uses?) shows certain files and folders as locked, particularly (but not limited to) her Thunderbird downloaded email.
Here's what we've done so far:
Created a mount point and mounted the hard drive
Chrooted into the hard drive and succeessfully accessed her files that way.
All this worked fine. I didn't bother to create a boot mount point in etc/fstab because it's a USB drive and she'll be unplugging it often.
What I don't know is an easy way of giving her access to the files through her graphical browser. In particular, it'd be good if there was some not too complicated (since I have to explain it to her over the phone) way of setting it up so she can use Thunderbird normally.
She's going to get a new desktop very soon, with a larger hard drive. Would it be easiest just to copy everything over to that? Maybe clone the old hard drive? Is there an easier way I'm not thinking of?
no subject
I've never done this, however it should be possible to run a graphical browser app using chroot with some option (followed by the name of the app), as I can remember seeing this in the man pages. Please check the man page of chroot for more details. Note: you may still have screwed up user/group IDs on the destination hard drive after a copy. The only real solution to that is to become root (or sudo) and chown the files to something the graphical interfaces can handle and then carry on.
no subject