Ken Moffat wrote:
> 2009/7/16 Bruce Dubbs <[email protected]>:
>> Ken Moffat wrote:
>>
>>> For a desktop, a
>>> separate /home (and space reservedfor the _next_ LFS) also
>>> simplifies subsequent rebuilds (although that can be awkward
>>> if people want to share /home with distros).
>> Why is it awkward? The only change needed is to make the correct entry in
>> fstab. It's the same as for /boot.
>>
>> In fact, I have:
>>
>> /dev/sda5 / ext3 defaults 1
>> 1
>> /dev/sda7 /home ext3 defaults 1
>> 2
>> /dev/sda3 /boot ext3 defaults 1
>> 2
>> /dev/sda9 /opt ext3 defaults 1
>> 2
>> /dev/sdb1 /usr/src ext3 defaults 1
>> 2
>> /dev/sdb2 /home/vmware ext3 defaults 1
>> 2
>> /dev/sda6 swap swap pri=1 0
>> 0
>>
>> The only thing I need to change for a new LFS is the first line.
>>
>> -- Bruce
> On debian and ubuntu installs, the first regular user (me) wasn't always
> uid 500 which is what I've had from (ancient) rh-derived installs. Not
> owning your own files is "interesting". There may also be differences
> in the groups.
>
> ISTR there were also occasional problems with how something in a
> dotfile in ~/ was set up, probably .bashrc or even .kderc but it's been
> many years since I did anything serious using a distro. If you only
> ever use at most *one* non-LFS distro on a box, probably no big
> deal (just go with the same ownerships as they use).
You're right about ownership issues. The easy workaround here is to copy
/etc/{passwd,group,shadow} to the new /etc directory.
Idf course, for a new LFS install, things loke .kderc are not meaningful
because
you don't have X. Now if you put X, etc on a separate partition and mounted
that, it might be exciting to see how well that worked.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page