All times are UTC-06:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Apr 04, 2013 5:55 am 
Offline

Joined: Fri Feb 17, 2012 11:02 am
Posts: 18
Location: Cambrils , Ca
hello,

I'm trying to backup my debian armhf system from the SSD of the smartbook to a autobootable SD.
I've made two partitions on the SD (one for boot and one for /, as I have on the SSD);
I've copied all from SSD to SD with a cp -rv --preserve=all sentence; I've changed new fstab, and, finally, I've changed boot.scr to start SSD, to the boot.scr to start SD.

The new system in the SD starts perfectly, and all runs well until it arrives the X system login.
When I tried to log with my normal user I get a 'Failed to execute login command'.
If I try to login a tty with the same user and password I login as normally. I also tried to create a new user but I have the same problem. Futhermore If I try to login as root I can login.
I use slim as display manager.

Time ago I had a similar problem in a system I tried to install it using cp --preserve=all methode. I think it maybe a problem with the X login permissions system but I'm completly lost.

Someone can help me to fix it or at least give me some clue?

thanks in advance


Top
   
PostPosted: Fri Apr 05, 2013 6:24 am 
Offline

Joined: Fri Feb 17, 2012 11:02 am
Posts: 18
Location: Cambrils , Ca
After reading this link http://www.debian-administration.org/articles/575 about Making a bootable backup Debian system disk,

I've done the backup to SD with a 'rsync -axv' instead a 'cp -r --preserve=all' command and it works fine!

Now I can install a new system on the ssd without lose nothing of my ancient system!


Top
   
PostPosted: Fri Apr 12, 2013 10:54 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
After reading this link http://www.debian-administration.org/articles/575 about Making a bootable backup Debian system disk,

I've done the backup to SD with a 'rsync -axv' instead a 'cp -r --preserve=all' command and it works fine!

Now I can install a new system on the ssd without lose nothing of my ancient system!
You should also possibly add --numeric-ids to that rsync command, since sometimes on some rsync it is not the default - otherwise it will map the NAMES of the users in the filesystem to the ones on the host system and not the ones for the target (in case you have aleix=1001 on your PC, and aleix=1000 on the Efika MX, it will turn all aleix users into uid 1001 meaning your Efika MX user will no longer "own" any files (including the home directory).

_________________
Matt Sealey


Top
   
PostPosted: Thu May 02, 2013 10:07 am 
Offline

Joined: Fri Feb 17, 2012 11:02 am
Posts: 18
Location: Cambrils , Ca
Quote:
You should also possibly add --numeric-ids to that rsync command, since sometimes on some rsync it is not the default - otherwise it will map the NAMES of the users in the filesystem to the ones on the host system and not the ones for the target (in case you have aleix=1001 on your PC, and aleix=1000 on the Efika MX, it will turn all aleix users into uid 1001 meaning your Efika MX user will no longer "own" any files (including the home directory).
Thanks Neko, I didn't know it and I will add it.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group