[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Benjamin M. A'Lee wrote: > On Fri, Dec 12, 2008 at 12:41:11PM +0000, Paul Sutton wrote: > >> formatting the drive, dragging / dropping the contents of /home to the >> new drive and editing fstab or mtab (or whatever) to point to the new >> /home mount point seems far too simple. >> > > This is unix. It is that simple. > > Format the drive, mount it on /mnt/tmp-home or something, copy > everything in /home to /mnt/tmp-home, then update /etc/fstab to mount > the new drive on /home. > > Ok this still isn't working /sda7 is now newly formatted to ext3 /sda5 is my current /home parition contents of /sda5/ have been copied over with cp -a my old fstab file looks like this # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda1 UUID=5fe0b542-d40b-455e-8bc4-ef64b819639d / ext3 relatime,errors=remount-ro 0 1 # /dev/sda5 UUID=9b5fd981-043b-4960-99a0-37fb7a3dbcc1 /home ext2 relatime 0 2 # /dev/sda6 UUID=c3cc4e3f-eb87-4e21-bf7a-28ddca9de2d3 none swap sw 0 0 #/dev/sda7 UUID=d15c6c4a-61dc-4792-bd77-3d0e297f2bf0 ext3 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/scd2 /media/cdrom2 udf,iso9660 user,noauto,exec,utf8 0 0 this one works allows me to log in the one I am trying toedit looks like this /dev/scd2 /media/cdrom2 udf,iso9660 user,noauto,exec,utf8 0 0 psutton@desktop:~$ psutton@desktop:~$ cat /etc/fstab.bak2 # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda1 UUID=5fe0b542-d40b-455e-8bc4-ef64b819639d / ext3 relatime,errors=remount-ro 0 1 # /dev/sda5 UUID=9b5fd981-043b-4960-99a0-37fb7a3dbcc1 /old_home ext2 relatime 0 2 # /dev/sda6 UUID=c3cc4e3f-eb87-4e21-bf7a-28ddca9de2d3 none swap sw 0 0 #/dev/sda7 UUID=d15c6c4a-61dc-4792-bd77-3d0e297f2bf0 /home ext3 relatim 0 2 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/scd2 /media/cdrom2 udf,iso9660 user,noauto,exec,utf8 0 0 i creatred a back up so i can restore the original, clearly i rename this 2nd one to fstab before rebooting and trying to log in With this 2nd fstab file i get as far as the login screen (gdm) log in and get a message cannot enter home directory using /. it then doesn't give me a desktop my media directory has the following lrwxrwxrwx 1 root root 6 2008-12-11 13:50 cdrom -> cdrom0 dr-xr-xr-x 26 root root 20480 2008-12-13 16:12 cdrom0 drwxr-xr-x 2 root root 4096 2008-12-11 13:50 cdrom1 drwxr-xr-x 2 root root 4096 2008-12-11 13:50 cdrom2 drwx------ 6 psutton root 16384 1970-01-01 01:00 disk drwxr-xr-x 2 root root 4096 2008-12-12 20:42 disk-1 drwxr-xr-x 2 root root 4096 2008-12-13 18:11 music drwxr-xr-x 4 root root 4096 2008-12-13 17:41 temp-home i have mounted /sda7 on temp-home Can anyone please help, as I need this extra disk space Paul -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html