Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: /tmp directory & QTParted.

  1. #11
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote 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.

  2. #12
    Member registered user
    Join Date
    May 2004
    Posts
    45
    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

  3. #13
    Member registered user
    Join Date
    May 2004
    Posts
    45
    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

  4. #14
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    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.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. QTPARTED v0.4.4
    By xaviers2002 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 06-24-2004, 06:14 PM
  2. Qtparted
    By ClubMed in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-10-2004, 02:05 PM
  3. Logon to active directory or NT directory ......
    By ktheking in forum Networking
    Replies: 3
    Last Post: 11-09-2003, 06:34 PM
  4. add Qtparted
    By Massimo in forum Ideas
    Replies: 3
    Last Post: 07-23-2003, 06:59 PM
  5. QTparted
    By eadz in forum Ideas
    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
  •  


Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w

$538.88



Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY picture

Windows Server 2025 datacenter 64bit 24 Core 50 cal DVD + PRODUCT LICENSE KEY

$44.54



MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed picture

MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed

$136.87



Windows Server 2025 Standard Edition - 24 Core License picture

Windows Server 2025 Standard Edition - 24 Core License

$238.00



Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$484.99



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$404.99



Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w picture

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w

$218.88



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99



Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed picture

Microsoft Windows Server 2025 Standard 64Bit 16 Core-50 CALs DVD With Key Sealed

$41.19