Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: tried to move home to other partition, can't boot, asks for password, nothing works< Next Oldest | Next Newest >
eldepeche Offline





Group: Members
Posts: 7
Joined: May 2006
Posted: May 20 2006,05:15 QUOTE

OK, so here goes. I wanted to move my home directory to the second partition, so I copied the contents of /home to hda2, edited fstab, moved home to old_home and recreated the /home directory, and rebooted.

Now, I'm getting this error:
Code Sample
bash: cd: /home/dsl: No such file or directory
su(pam_unix)[45]: session opened for user dsl by (uid=0)
No directory, logging in with HOME=/
-su: cd: /home/dsl: No such file or directory
Password:


My root password doesn't work, my user password doesn't work, just hitting enter doesn't work.

Any ideas?
Back to top
Profile PM 
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: May 21 2006,10:41 QUOTE

Run mount and post the content here

--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: May 21 2006,10:53 QUOTE

How are you running DSL (hd install or frugal )?

I've not used an HD install but for a frugal install you'll need to use the 'cheat code':

dsl home=hda2


to boot & use the home directory now on hda2.

Note that if you have been using hda1 & have been using the backup/restore system to hda1 there will be a 'backup.tar.gz' file in the root directory of hda1 which will be used to by restore. The restore function uses the first 'backup.tar.gz' it comes accross, ,irrespective of where you told 'backup' to save data to. So if you select a backup location on a 'later drive (hda2, hda3,...) you'll need to delete/rename all instances on backup.tzr,gz on earlier drives.
Back to top
Profile PM 
eldepeche Offline





Group: Members
Posts: 7
Joined: May 2006
Posted: May 24 2006,20:01 QUOTE

I redid the HD install but this time I enabled the login on boot. I was able to log in as root and found that the partition with /home on it isn't getting mounted at boot, even though it should, according to fstab. If I login as root and mount the partition manually, then log out and log in as user, it works fine.

So now my question is, why isn't this partition getting mounted at boot?

The relevant entry in fstab is
Code Sample
/dev/hda6 /home ext3 defaults 0 2


I've also tried specifically putting in auto as an option, but no dice.
Back to top
Profile PM 
tedmoore99 Offline





Group: Members
Posts: 67
Joined: Mar. 2006
Posted: May 24 2006,20:17 QUOTE

When you boot next time, stop the boot and edit the boot line.  Make sure that you insert the following on the line: "home=hda6"  This tells the boot loader that the home dir is located on hda6.
Enjoy!
--Ted
Back to top
Profile PM 
7 replies since May 20 2006,05:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: tried to move home to other partition, can't boot

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code