[PLUG] fstab question

Ken Stephens kens at cad2cam.com
Wed May 15 14:48:30 UTC 2013


Marvin Kosmal wrote:
> Ken
>
> Good answer..
>
> I have always been terrible at those links..
>
> How do I do that?
>
> Marvin
>
>
>
> On Tue, May 14, 2013 at 9:16 PM, Ken Stephens <kens at cad2cam.com> wrote:
>
>> Marvin Kosmal wrote:
>>> Hi
>>>
>>> My home partition is running out of room..
>>>
>>> I am a home2 and that seems work and mount on boot..
>>>
>>> I change home2 and home.   Computer wouldn't boot..
>>>
>>> What did I do wrong
>>>
>>> Here is my fstab.
>>>
>>> proc            /proc           proc    nodev,noexec,nosuid 0       0
>>> # / was on /dev/sda5 during installation
>>> UUID=ba7d065f-acbe-45d8-9e20-31a968791acb /               ext4
>>> errors=remount-ro 0       1
>>> # /boot was on /dev/sda1 during installation
>>> UUID=c2fde081-f707-49b8-945a-74385579e34e /boot           ext4
>>> defaults        0       2
>>> # /home was on /dev/sda6 during installation
>>> UUID=cc988f90-e695-4e20-9838-83e93fd5ecff /home           ext4
>>> defaults        0       2
>>> # swap was on /dev/sda10 during installation
>>> UUID=168dd5fa-5a3a-47bc-af49-506dcdccc311 none            swap
>>> sw              0       0
>>> # swap was on /dev/sda7 during installation
>>> UUID=c671c15f-a227-4060-91fd-1b1c5eda48d1 none            swap
>>> sw              0       0
>>> #  added uuid for /home2
>>> UUID=25e823d6-8b55-4c61-ad28-2e58afc46d44 /home2      ext4      defaults
>>>     0      2
>>>
>>>
>>> Old home is like 2 gig  new home2 is 25 gig..
>>>
>>> TIA
>>>
>>> Marvin
>>> _______________________________________________
>>> PLUG mailing list
>>> PLUG at lists.pdxlinux.org
>>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>>
>>>
>>>
>> Marvin,
>>
>> Why don't you put it back to the original configuration.  Boot the
>> system.  Then move the diretories under home to home2.  Create links
>> from /home to the /home2 directories.
>>
>> original:
>> /home/user1
>> /home/user2
>> . . .
>> New:
>>
>> ls -hal /home
>> lrwxrwxrwx user1 user1 12 May 13 9:14 user1->/home2/user1
>> lrwxrwxrwx user2 user2 12 May 13 9:15 user2->/home2/user2
>>
>> Easy as pie.
>>
>> Ken
>>
>>
Marvin,

After moving all the files from /home to /home2.

 From /home issue:
ln -s /home2/* .
This will create links for each directory in /home to /home2.

Ken





More information about the PLUG mailing list