Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-12-2006, 03:13 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 10

Rep: Reputation: 0
help: i did a mistake with partitions

i'm desperade.
in the previous installation (with breezy) i had made a partition
for the root, one for the swap and the rest of the disk in a partition for the home. Then i did a big mistake and i had to reinstall everything. I took the occasion to install dapper. Seen that the home was full of important data i didn't format it. I formated instead the root and i installed dapper. The problem is that i hadn't created an new home partition and the installer has put the new home inside the root that is small (10gb). The old home is seen as an partition with name home. Now i moved the important data in the new home, but i filled it completely. Is it possible now ,without formatting the root and reinstalling, turn the old home as it was the new and move the data of the new home to the old in order to have the situation i had before (so 3 partition /, swap and home)?
I wouldn't format the root because i've a 56k modem and i spent the latest 3 weeks to update the system
Old 08-12-2006, 03:38 PM   #2
Registered: Sep 2005
Distribution: Mint 19.2
Posts: 112

Rep: Reputation: 15
Just could just move your files in the new home (folder or partition) back to the old home partition and mount the old home on the /home folder.

to have home autamatically mounted at reboot you have to include a line like this in your /etc/fstab:
/dev/hda7        /home            ext3        defaults         1   2
/dev/hda7 with your old home partition
ext3 with the filesystem you are using

Last edited by pddm; 08-12-2006 at 03:39 PM.
Old 08-12-2006, 03:57 PM   #3
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
And after that you _might_ (or might not) need some work as root to leaving correct users & group permissions, for they to be able to access their directories @ /home. _Something_ like: chown -R john.users /home/john
As you see it's not complicated, it's good administrative fun. Always remember to backup, for your own good.
Old 08-13-2006, 02:20 PM   #4
LQ Newbie
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
i did it, but i have a little problem as predicted by runnerfrog. After inserting user and password
it appears this message (i've translated it in english)

Home/.dmrc of the user is ignored. This avoid the saving of the session and
predefinite language, the file'd have to be of the propriety of the user and havig as permission 644.
The directory $Home of the user must be of the propriety of the user and not writeble by others.

i tried to do "sudo chmod 644 ./dmrc" and "sudo chown -R lillux:lillux /home/lillux" but the problem, if i rebbot, remains.

the new fstab is :

# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 vfat defaults,utf8,umask=007,gid=46 0 1
/dev/hdb5 /media/hdb5 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
/dev/hdb7 /home ext3 defaults 0 2
/dev/hdb6 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 vfat rw,user,noauto 0 0

Old 08-13-2006, 05:13 PM   #5
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
Please, excuse my hurry. You should visit the last three posts of this other thread:
It's solved there, as I see it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting mistake.... adric Linux - Software 2 10-19-2005 01:50 PM
rpm mistake rsarson Linux - Software 2 07-18-2004 08:50 AM
My up2date mistake onewhoknows Linux - Newbie 1 07-14-2004 07:37 PM
bad mistake cxtech Linux - Newbie 3 03-01-2004 08:39 PM
spelling mistake verigoth LQ Suggestions & Feedback 2 06-02-2002 09:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration