-
Senior Member
registered user

Originally Posted by
ibrewale
hda3 does have /home on it when I'm done, including copies of my /home directories, BUT upon reboot, and trying to login to KDE the screen just goes blue, and then I get error messages about not finding DCOP. The only way out is to boot into safemode, and comment out the new line I added to fstab.
What do you mean when you say it has /home? It has /home contents, but no home subdirectory, or the contents would move to /home/home once mounted! Can you clarify?
You could check that everything was well copied; at the very least "du -sk /home*" should report the same size twice.
-
Thanks,
I was not aware of du -sk /home * command.
Here is the clip, and there is a difference in my normal account 'jerry'.
Code:
root@box1:/home# du -sk /home *
142764 /home
60208 jerry
62064 kris
20488 kyle
root@box1:/home# cd /mnt/hda3/home
root@box1:/mnt/hda3/home# ls
jerry kris kyle
root@box1:/mnt/hda3/home# du -sk /home *
142764 /home
59180 jerry
62064 kris
20488 kyle
root@box1:/mnt/hda3/home#
Here lies the problem maybe?
Thanks again
Jerry
-
Well, when doing this again, here is the outcome:
I cannot log into KDE as jerry, but I can log into icewm, for instance. I can log into KDE while root though.
I did find that now I have the following directory structure, /home/home. Anotherwords I have /home and then I have to go down 1 more level to /home again.
The first home is mounted to /
The second home, which contains the folders for the users, lists that it is mounted under /home, with the 15GB I would have on hda3. That part is correct.
How can I back out, and recopy the directory contents of /home to hda3, without copying /home folder itself?
Here is my current fstab:
Code:
dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 /home auto rw,auto,user,exec 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrw /cdrw iso9660 ro,user,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
Here is the output from the command, mount:
Code:
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/dev/pts on /dev/pts type devpts (rw)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid454) on /mnt/auto type autofs (rw,fd=4,pgrp=454,minproto=2,maxproto=4)
/dev/hda3 on /home type ext3 (rw,nosuid,nodev)
Thanks
-
Hmm, first of all in fstab this: /dev/hda3 /home auto rw,auto,user,exec 0 0
should be: /dev/hda3 /home auto rw,auto,users,exec 0 0
When you did sudo cp -Rp * /mnt/hda3/ are you sure you didn't do sudo cp -Rp * /mnt/hda3/home/
or perhaps cp -Rp home /mnt/hda3/ as that would copy the home dir too.
Do you now have a home directory under hda3, check with ll -d /mnt/hda3/*
If you have the dir, to minimise confusion do:
sudo mv /mnt/hda3/home /mnt/hda3/homedir
sudo mv /mnt/hda3/homedir/* /mnt/hda3/
check that the directory structure is ok and do rmdir /mnt/hda3/homedir , the command won't remove the directory if it's not empty.
PS: I've used the howto myself so I know it works if you follow it closely. An extra / character in the wrong place will bork it up so if the old home dir under / is intact you might just want to remove the home under hda3 and start over just to play it safe.
Similar Threads
-
By xaviers2002 in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 06-24-2004, 06:14 PM
-
By ClubMed in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 03-10-2004, 02:05 PM
-
By ktheking in forum Networking
Replies: 3
Last Post: 11-09-2003, 06:34 PM
-
By Massimo in forum Ideas
Replies: 3
Last Post: 07-23-2003, 06:59 PM
-
Replies: 8
Last Post: 05-08-2003, 05:47 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.
$629.99

Lot of 2 IBM blade center Type H chassis 8852
$559.00

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$200.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM System S822 Dual Socket Server Motherboard W/Cage FRU P/N: 74Y4343 Tested
$499.99

Ibm Computer Tower
$400.00