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

Thread: /tmp directory & QTParted.

Hybrid View

  1. #1
    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. #2
    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. #3
    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. #4
    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-6900K SR2PB 8-Core 3.20GHz CPU LGA 2011 (Socket R) picture

Intel Core i7-6900K SR2PB 8-Core 3.20GHz CPU LGA 2011 (Socket R)

$60.00



AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1) picture

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)

$189.00



SGIN 17.3

SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD

$229.99



Apple Macbook Pro 13

Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good

$464.99



Intel Xeon E5 - 2667V2  / SR19W   3.30GHz 25MB  8-Core CPU Socket LGA2011 picture

Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011

$30.00



AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor picture

AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor

$245.99



AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW picture

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW

$399.00



Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11 picture

Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11

$250.00



DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS picture

DELL Optiplex 780 SFF CORE2DUO 3.0GHz 8GB RAM 250GB HDDDVDRW NO OS

$99.99