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
  •  


🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡ picture

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡

$119.00



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE picture

JUNIPER NETWORKS MIST AI AP63-US HIGH PERFORMANCE OUTDOOR ACCESS POINT - WHITE

$59.99



Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management picture

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management

$249.97



Juniper Networks EX2300 (EX2300-48P) 48 Ports Ethernet Switch picture

Juniper Networks EX2300 (EX2300-48P) 48 Ports Ethernet Switch

$249.99



Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter picture

Juniper SRX320 8-Port Security Services Gateway Appliance w/ AC Adapter

$59.99



Juniper EX2300-C-12P POE+ Switch 12 x 1GbE & 2 SFP+ 10G uplinks picture

Juniper EX2300-C-12P POE+ Switch 12 x 1GbE & 2 SFP+ 10G uplinks

$124.99



Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW) picture

Juniper AP47 Mist Wi-Fi 7 802.11 6GHz 4x4 Wireless Access Point (NEW)

$999.99



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99



Juniper Network QFX5100-48S-AFO 48x SFP/SFP+ 6x 40GbE QSFP+ Switch w/ Dual power picture

Juniper Network QFX5100-48S-AFO 48x SFP/SFP+ 6x 40GbE QSFP+ Switch w/ Dual power

$223.20