Cookbook to get home into separate partition !?
Karl Larsen
k5di at zianet.com
Mon Apr 7 12:09:17 UTC 2008
SYNass IT Ubuntu / Linux wrote:
> Hello Linux / Ubuntu expert and users
> As a greenhorn / newbie with Ubuntu 7.10 since October 2007 my first
> installation
> got quite simple with ROOT and SWAP only !
>
> In the meantime I have experienced and learnt a lot and want to
> get /home
> into a separate parititon !!
>
> Can you help me with an easy understandable and usable cookbook to get
> it done ???
>
> TIA for your assistance. ;-)
>
> The present configuration looks like following:
>
>
> sna at WS222:~$ UUIDcomp
>
> sda1 UUID=D2C47460C47448AD
> sda5 UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35
> UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35
> sda6 UUID=2E6F3BB200B81788
> sda7 UUID=10f72bf8-1357-4a6b-a1ae-bc9b9887c86f
> sda8 UUID=19cf20fb-e967-41d9-b993-f0a9ca7829eb
> UUID=19cf20fb-e967-41d9-b993-f0a9ca7829eb
> sda9 UUID=76a67ae2-ba51-4698-ac8d-1382b30e0e57 #
> UUID=76a67ae2-ba51-4698-ac8d-1382b30e0e57 /home ext3 0 2
>
> sna at WS222:~$
>
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>
> proc /proc proc defaults 0 0
> # /dev/sda5
> UUID=edf0353d-b99b-41d6-b7aa-57fad83fab35 / ext3
> defaults,errors=remount-ro 0 1
> # /dev/sda1
> UUID=D2C47460C47448AD /media/sda1 ntfs defaults,umask=007,gid=46
> 0 1
> # /dev/sda8
> UUID=19cf20fb-e967-41d9-b993-f0a9ca7829eb none swap sw
> 0 0
> # /dev/sda9
> # UUID=76a67ae2-ba51-4698-ac8d-1382b30e0e57 /home ext3 0 2
> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
> /dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
>
>
> /home currently is in sda5 and should be moved to sda9
>
>
> I am open ears to get it done the best easiest way.
> Cheers, svobi
>
>
>
Here is my /etc/fstab file. There are two partitions connected to my
system.
karl at karl-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda8
UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca / ext3
defaults,errors=remount-ro 0 1
# /dev/hda2
UUID=7915f630-518c-425b-9fea-0ef07e50d0f9 none swap
sw 0 0
# /dev/sda2
UUID=7d8c37ed-b2ec-4008-a137-f24c6659c5ab none swap
sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
LABEL=f7-home /f7home ext3 defaults 1 2
/dev/hda9 /home ext3 defaults 1 2
karl at karl-desktop:~$
When you have this working your done. You do need to copy your
current /home/name/ to a new partition. I have used cp -a and dd and
both work fine.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list