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
  •  


(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray picture

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray

$174.99



Intel Core i7-10700K 8-Core 3.80GHz LGA1200 CPU SRH72 i7-10700K picture

Intel Core i7-10700K 8-Core 3.80GHz LGA1200 CPU SRH72 i7-10700K

$75.00



OPNsense Firewall 8-Core Atom C3758 4GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN picture

OPNsense Firewall 8-Core Atom C3758 4GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN

$95.00



Lenovo ThinkSmart Hub 500 10V50000US All-in-One i5 8GB 128GB Win10 NEW SEALED picture

Lenovo ThinkSmart Hub 500 10V50000US All-in-One i5 8GB 128GB Win10 NEW SEALED

$259.00



MacBook Air 13

MacBook Air 13" Apple M1 8-core - 8-core GPU • 512 GB • RAM 8GB Very Good Cond

$450.00



Intel Core i9-11900K 3.5GHz 8-Core 16-Thread LGA1200 Desktop CPU Processor(3536) picture

Intel Core i9-11900K 3.5GHz 8-Core 16-Thread LGA1200 Desktop CPU Processor(3536)

$249.99



Dell - XPS 13.4

Dell - XPS 13.4" 3K Touchscreen Laptop - Intel Core 5 Series 3 320 2026 - 8GB...

$599.99



AMD Ryzen 7 5800X3D 8-Core 3.4GHz Socket AM4 CPU Processor…. picture

AMD Ryzen 7 5800X3D 8-Core 3.4GHz Socket AM4 CPU Processor….

$309.99



WHOOP  TAB-8US2 8

WHOOP TAB-8US2 8" Quad Core, 4G, 32 GB SSD, 3 GB RAM, Tablet PC W/Cover Bundle

$59.95



Dell Latitude 7200 Touch Tablet Laptop 12” Core i5 8GB RAM 256GB SSD Win 11 Pro picture

Dell Latitude 7200 Touch Tablet Laptop 12” Core i5 8GB RAM 256GB SSD Win 11 Pro

$229.99