home directory doesnot appear to exist

Asked by newborn

Hi all I tried moving my /home directory to another partition( http://www.psychocats.net/ubuntu/separatehome). Thing were ok I think till I typed "gksudo gedit /old/etc/fstab". I got an error msg on the gedit page & when I tried to login to ubuntu aghain I get the msg "your home directoy doesnot exist. Do you want to log in with the /root directory as your home directory? Tried to correct it as per instructions but I get the msg no such file or directory.
Searching around I seen that in text mode I can see the home_backup directory containing all my files, so how can I complete shifting my home directory to the other partition & keep ubuntu on my 1st partition or set things correct.
I have 2 hdd one a 40 gB having Hda1 & Hda2 ( containing win XP & Win 98) and the 2nd a 80 GB with Hdb1&2. Hdb1 contains Ubuntu 6.06 lts & was trying to move my home directory to HDB2 as I wanted to change to 8.10
Also I cannot use my Live Cd as my old Cdrom wwas faulty & I just have got a Sata DVD writer which is connected to the mobo through a pci raid controller. How can I get the bios to regognise the optical drive.

Please help

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rolando Blanco (rolando) said :
#1

Please try this command and send me the exit:

     :~$ sudo fdisk -l

     :~$ df -h

     :~$ cat /etc/fstab

Thanks and cheers!

Revision history for this message
Tom (tom6) said :
#2

Yeh, it's probably just that you need to copy your /home back to where it's mean to be or else just get fstab or something setup so that Ubuntu knows where your /home folder is. Clearly the folder itself is still there.

Good luck and regards from
Tom :)

Revision history for this message
newborn (venuwarrior70) said :
#3

Hi & thanks for the prompt reply

For :~$ sudo fdisk -l
Disk /dev/hda:- 40.0 GB;40060403712 bytes
255 heads, 63 sectors/track, 4870 Cylinders
Unit=Cylinder of 16065*512=8225280 bytes

Deviceboot Start End Blocks Id System
/dev/hda1 1 2435 19559106 C W95 Fat 32 (LBA)
/dev/hda2 2436 4870 19559137+ F W95 Ext'd (LBA)
/dev/hda5 2436 4870 19559106 B W95 Fat 32 (LBA)

Disk /dev/hdb:- 80.0 GB;80026361856 bytes
255 heads, 63 sectors/track, 9729 Cylinders
Unit=Cylinder of 16065*512=8225280 bytesDisk

Deviceboot Start End Blocks Id System
/dev/hdb1 1 1339 10755486 83 Linux
/dev/hdb2 1340 9601 66364515 83 linux
/dev/hda5 9602 9729 1028160 82 Linux Swap /Solaris

:~$ df -h
File Sysytem Size Used Avail Use% Mounted on
/dev/hdb1 11G 8.1G 1.6G 84% /
varrun 249M 68K 249M 1% /var/run
varlock 249M 4.0K 249M 1% /var/lock
udev 249M 128K 249M 1% /dev
devshm 249M 0 249M 0% /dev/shm
lrm 249M 19M 230M 8% /lib/modules/ 2.6.15-53- 386/volatile
/dev/hda1 19G 8.1G 11G 44% /media/hda1
/dev/hda5 19G 18G 1.3G 94% /media/hda5

:~$ cat /etc/fstab
# /etc/fstab: static file system information
#
# <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
   /dev/hbd1 / ext 3 defaults,erors= remount -ro 0 1
   /dev/hda1 /media/hda1 vfat defaults,utf8,umask=007,gid=46 0 1
   /dev/hda5 /media/hda5 vfat defaults,utf8,umask=007,gid=46 0 1
   /dev/hdb3 none swap sw 0 0
   /dev/hdc /media/cdrom udt,iso 9660 user,noauto 0 0

Hope the details are correct & of use. I donot see my hdb2 mounted, so how can I mount it & shift my home directory to it, so as to be able to change my ubuntu to 8.10

Thanks in anticipation

Revision history for this message
newborn (venuwarrior70) said :
#4

Please give me some suggestions

Revision history for this message
Tom (tom6) said :
#5

I think this might be something you have to set-up in /etc/fstab but i'm not sure how. Please re-post this question so that people at the front-desk get to see it again, i think last time it dropped off the first page before a lot of people had arrived at the front desk.
https://answers.launchpad.net/ubuntu/+addquestion

Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#6
Revision history for this message
Tom (tom6) said :
#7

Ahh, brilliant :) Your new question looks good. Thanks for doing that and good luck there
Regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#8

Aww heck, i just realised what's going on.
You have copied /home to the second partition on your second drive already? If so that's all you really need to do, for now.

The next step is to get the Cd/dvd drive working so that you can install 8.10 or (8.04) to the first partition on the second-drive? Alternatively there are lots of other ways of installing Ubuntu, cd is just the best and easiest but there are other possibilities
https://help.ubuntu.com/community/Installation#Installation%20without%20a%20CD
Using one of these other methods might be easier to get the job done sooner and 8.04 (or 8.10) is likely to pick-up on the cd/dvd drive anyway. I assume you are going for the trick with the "Manual Partitioning" to avoid reformatting any of the partitions?

Sorry, i should have realised this sooner, if it is the case.
Good luck and regards from
Tom :)

Revision history for this message
Tom (tom6) said :
#9

Hi :)

Have you been able to test the new Ubuntu 10.04 before it gets officially released?
http://www.ubuntulinux.org/testing/lucid/beta1
Trying it as a LiveCd or as an extra dual/multi-boot would be ideal. Developers and everyone are keen to try to iron out any problems before 10.04 gets officially released so you might find faster & more effective answers to your bug reports which would make 10.04 work better on your system for you

Thanks and regards from
Tom :)

Can you help with this problem?

Provide an answer of your own, or ask newborn for more information if necessary.

To post a message you must log in.